Category Archives: VMware

vCenter: Could not allocate space for object …

最近 vCenter 會出現某台 ESXi 主機的 “主機連線和電源狀態” 警告… 所以根據 Host connection and Power state in ESXi 5.0 的說明 把 vCenter 上的防火牆設定 開啟 902, 5989, 80,443,623, 8000, 8001, 6500, 514,8080 這幾各 Port 然後觀察一下 vCenter 那台的系統日誌發現了幾個錯誤… 1. Could not allocate space for object … Continue reading

Posted in MSSQL, VMware | Leave a comment

安裝Ubuntu在VMware環境出現 Host SMBus controller not enabled!

修改/etc/modprobe.d/blacklist.conf

Posted in Ubuntu, VMware | Leave a comment

VMware esxi command : esxcli

esxcli hardware ipmi sdr list //取得感應器資訊 esxcli system process stats load get //取得目前負載狀況 參考

Posted in VMware | Leave a comment

VMware vCenter 的 Hardware Status Tab消失或是無法取得硬體資訊

有幾個做法 1. 確認 vCenter 的 Plug-ins Plug-ins 工具列 => Manage Plug-ins 確認 (1) vCenter Hardware Status 的狀態是否為 Enable,若沒有就啟動他吧 (2) vCenter Service Status 的狀態是否為 Enable,若沒有就啟動他吧 檢查 host 上的 sfcbd-watch 服務是否正常 /etc/init.d/sfcbd status 若沒有,可試著重啟 hosts 的 service /sbin/services.sh restart 重啟 CIM 服務 … Continue reading

Posted in VMware | Leave a comment

VMware Player 設定NAT

確認VMware Player版本資訊 ex: 6.0.3 build-1895310 其中 6.0.3 就是最需要注意的 下載 VMware Workstation,因為VMware player是新版的,所以下載新版尾碼是.3的版本 ex 10.0.3 build-1895310 進cmd執行 “VMware-workstation-full-10.0.3-1895310.exe /e .extact” 此舉會將程式解壓縮至extact資料夾內 解壓縮extact內的core.cab,將其中的 “_vmnetcfglib.dll” 及 “vmnetcfg.exe” 複製到 VMware Player的安裝目錄下 並將”_vmnetcfglib.dll”更名為”vmnetcfglib.dll”

Posted in VMware | Leave a comment

Resize Virtual Disk – VMware ESXi 4.1 & CentOS 5.5 x86

使用vSphere Client登入調整硬體的設定,將硬碟空間增大 (由20G -> 80G) 將VM Guest重開機 以ssh登入VM Guest 輸入fdisk -l取得目前磁碟資訊

根據4回傳的資訊,輸入fdisk /dev/sda

[備註] Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known … Continue reading

Posted in CentOS, VMware | Leave a comment

vsphere client 語系調整

God…….繁中的文字都看不懂啦…….. 只是把簡體中文直接轉成繁體中文…… 還好他有提供了多語系環境可供使用 修改VMware vSphere Client捷徑參數在”C:Program Files (x86)VMwareInfrastructureVirtual Infrastructure ClientLauncherVpxClient.exe” -locale zh_US 即可啟動該語系環境。 語系和對應參數 vxclient -locale en_US 英語 vpxclient -locale zh_CN 簡體中文 vpxclient -locale ja 日語 vpxclient -locale de 德語

Posted in VMware | Leave a comment

VMware esxi 5.5 install will fail after first reboot

主機板: ASUS z97-c 當安裝完後reboot會跳回bios畫面, 但實際上是已經安裝了 問了一下Google…. ESXi boots after install but Drops to BIOS next reboot No bootable device” after successful ESXi 5 installation on Intel DG35EC desktop motherboard 要作的事情有下列幾項 1. 關閉UFEI, 只選用傳統的Legacy模式 2. 安裝時在第一個選單按下”Shift + O” 3. 在文字後方加入 ” … Continue reading

Posted in VMware | Leave a comment

Mac OS X in VMware ESXi 5.1

如果要把 Mac OS X 裝到 VMware ESXi 虛擬環境中 建議 ESXi 版本盡量還是要升到 5.1 比較好 (經驗談…..) 而 Mac OS X 的映象檔找 ISO 檔比較不會在安裝的過程中增加一些難度 這次測試的共用兩個版本 ( 10.8 及 10.7.3 ),都可以正常安裝 而在安裝的過程中需要注意的地方有 VM Guest OS 組態設定要選擇 Apple Mac OS X 的版本   安裝過程中記得先使用 OS … Continue reading

Posted in VMware | Leave a comment

VMware vSphere ESXi 5.0 to 5.1

下載 VMware-ESXi-5.1.0-799733-depot.zip VMware官方網站下載網頁 將下載的檔案放置於ESXi檔案目錄中

關閉所有 Guest VM 啟動維護模式 (Maintenance Mode) 執行 esxcli software vib install -d 完整路徑/VMware-ESXi-5.1.0-799733-depot.zip

看到VIBs Skipped後面沒有東西,代表沒有檔案被略過,恭喜更新成功   reboot 這時候vSphere Client會被要求更新到版本5.1,更新完後才可以正常使用 且這時候有設定自動啟動的VM Guest會因為還在維護模式下無法自行完成啟動 需要重新登入解除再手動啟動Guest

Posted in VMware | Leave a comment