上次碰Nagios好像是四月份的時候
今天又摸了一下
順帶解決老妖提的"CHECK_NRPE: Error - Could not complete SSL handshake."
問題
因為Nagios預設是走SSL去pooling取得各主機的資訊
記得剛開始的時候我都會下"-n"
的參數來規避SSL
上次碰Nagios好像是四月份的時候
今天又摸了一下
順帶解決老妖提的"CHECK_NRPE: Error - Could not complete SSL handshake."
問題
因為Nagios預設是走SSL去pooling取得各主機的資訊
記得剛開始的時候我都會下"-n"
的參數來規避SSL
為了要把原本在某台ESXi主機中安裝的VM搬移到另外一台ESXi主機上
第一個直覺想到的方法就是利用vSphere中的Browser Datastore的方式
先將要搬移的VM關機,然後下載整個資料夾到本地端電腦中
接著再上傳到準備使用的ESXi主機上
看似很笨的方法,但我想這應該是最簡潔有力的!!!
後來又到網路上稍微找了一下
發現了VM Explorer這套第三方的軟體
據說啦~free for 5 licenses…用看看囉
感覺速度比笨重的vSphere快上許多
在沒有vCenter的情況下,是值得考慮的一個方案
至於搬移效果好嗎?
主要是因為準備要搬移的那台ESXi主機並沒有開啟ssh
所以無法操作,只好繼續下載VM的資料夾在準備搬移了…
一般來說都是會用vSphere內的Browser Datastore去完成上傳iso檔
不知道是不是因為軟體轉換的關係~都有點久
所以爬了一下文
這網頁內就說明了下載跟上傳的方式
跟以往我常使用的ftp client不一樣
需要直接指明要抓取哪個檔案
是linux busybox 內的指令
下載
ftpget -u
上傳則跟下載很像,只是最後兩個相反了
ftpput -u
又學到一步啦
最近在玩vmware esxi, 常常都要安裝vmtools
可是非視窗化的界面都不知道怎麼讀取光碟內的檔案,都會先到視窗內碰一下光碟機再安裝 ( 這樣真的有點蠢 )
只好找一下如何 mount 光碟機
mkdir /media/vmtools
mount /dev/cdrom /media/vmtools
用完之後當然要umount了
umount /media/vmtools
We are currently using an OpenVPN configuration based on the version 1 code. Back then, you had to use one port for every connection. Version 2 implemented a server mode where a single server port could deal with many different clients, authenticated by SSL certificate. The down side of our current setup is that we have to have one OpenVPN daemon running for every client. It also makes it difficult to switch between TCP and UDP.
OpenVPN does include the ability to run over both TCP and UDP. This is nice because TCP tends to work over more firewalls without special configuration. However, the drawback is that TCP doesn’t work very well for tunneling TCP traffic. There are a few pretty serious problems with tunneling TCP over TCP. In short, both the tunnel and the end applications will do packet retransmission, which eventually can lead to a “meltdown”.
Another problem with TCP is that if you lose a packet, all packets sent after it are blocked until that one successfully goes through. If you have many streams of data going on, this means that nothing moves until the logjam is cleared. Also, real-time applications like VoIP can deal much better with a single dropped packet every second, but can’t deal with these sorts of retransmissions. If you’re sending a file, you don’t want it to drop any packets. For VoIP, you can deal with a lossy channel.
UDP corrects this, but some firewalls block UDP for various reasons. UDP is not connection-oriented, so firewalls have to be more clever in how they handle allowing UDP streams. It’s extremely nice to have the choice though. Running OpenVPN on a well-used port like HTTP or SSH or DNS may allow it your VPN to get through where it otherwise would be blocked.
所以選擇UDP吧