跳到主要內容

發表文章

目前顯示的是 8月, 2012的文章

三大伺服器虛擬化技術比較

這一年來我試用了Hyper-V、XenServer以及VMware vSphere ESXi,現在將測試結果列表如下: ESXi XenServer Hyper-V 執行速度 快 最快 普通 iSCSI 存取速度 快 快 普通 細部設定 可 否 可 作業系統相容性 最高 普通 普通 Windows相容性 最高 高 高 Linux相容性 最高 高 少 FreeBSD相容性 有 差 有(2012年8月新增) HA價格 高 低 普通 Cluster價格 $ Free Free Live Migration價格 $ Free Free SmbFS 儲存 無 有 有 * Hyper-V可以在未安裝VM Tools的狀況下Live Migrate,非常強大! ** VMware可以將硬體不相同的伺服器加入HA cluster,Hyper-V和XenServer都需要相同的CPU、RAM甚至於完全相同的網路。 Hyper-V的IO實在太慢了,我個人覺得是敗在NTFS的效能差,我現在查不到 WinFS 的時程,所以就暫時不考慮在公司使用。另一個在下覺得比較重大的缺點是在未安裝vm tools的情況下不能在console使用mouse,許多boot cd都變得很難用或不能用。 以企業使用,若不介意不容易修改細部設定,又缺乏第三方備份軟體支援的情況,XenServer是不錯的選擇。個人使用測試的話,Hyper-V Server功能完整,又有廣泛支援,值得考慮。在銀彈充足的情況下,就別想太多,衝VMware ESXi吧! P.S. 最後我選擇的是 VMware vSphere Essentials Plus Kit ,比起CPU定價,算是小公司可以負擔,而且也足以撐起全公司的Server。 Update :參加完 Tech Days 2012後,我要說當初太不瞭解Server 2012。若要真實測試Hyper-V 3.0,請準備『符合Server 2012的硬體』,再啟用SMB 3.0當做共用儲存空間,雖然說Server 2012不需要共用儲存空間也行,但有還是比較好。 至於我的比較,大家就當做我在放屁就好,非客觀第三方測試! 對此有興趣的朋友請參考 Microsoft Windows Server 2012 Hyper-V compare

How to install VMware ESXi 5 tools for FreeBSD 9

There are some problems while install FreeBSD 9 vmware tools on VMware ESXi 5 update 1, after searching a few hours, I got the solution.  You will make the new binary from source, thus no more COMPACT 6 in kernel configuration. 在VMware ESXi 5 update 1安裝vmware tools有不少問題,經過幾個小時的奮戰,終於找到答案。 首先要強調,不需要在Kernel設COMPACT 6,但是需要裝compact6x的package。以下用藍色標明需要key的指令: Install compact6x package # cd /usr/ports/misc/compat6x # make install clean Mount the cdrom image from vCenter/vSphere Client to guest vm. # mount -t cd9660 -o ro /dev/cd0 /mnt 若你已經試著裝過,cd0 可能會變成acd0,就改成 # mount  -t cd9660 -o ro /dev/acd0 /mnt Extract the source code. # cd /root && tar xzf /mnt/vmware-freebsd-tools.tar.gz  # cd vmware-tools-distriblib/modules/source # tar xf vmblock.tar && tar xf vmmemctl.tar && tar xf vmxnet.tar && tar xf vmxnet3.tar Compile the vmblock module. # cd vmblock-only # make && make install & cd .. Compile the vmmemctl module # cd vmmemctl-onl

Why I moved to VMWare 為何我換成VMWare

I installed XenServer last year (2011/07), because it is fast and free. Before that, I had tried Hyper-V 2.0 Server,it's slower than XenServer. Last month, I wanted to add a FreeBSD vm and got bad experience. Another problem, it is very hard to modify vm setting on XenServer. My boss asked me to do server 100% virtualized, I had to search better solution. After googling a few hours, I decided to move to VMWare vSphere. Why? Because I need FreeBSD vm tools installed to get more control, besides I found VMWare Essentials Plus Kits ,it's not as expensive as I thought. Then I installed a test vm server, it's amazing! ESXi 5 Server gave me a whole new experience. It's fast and powerful, with so many APIs and 3rd party tools. Now, I got very good vm hosts, a stable and fast environment.  Thanks VMWare, I can work easier. 去年評估虛擬化Server後採用XenServer,使用一年也沒有什麼大事,但是支援的作業系統太少始終是個遺憾。會採用XenServer而不用Hyper-V 2.0除了Hyper-V的Linux支援度差外,另一個重要原因是效能不夠好。 主管和我說要讓伺服器100%虛擬化,包括我目前使用