1 頁 (共 1 頁)

如何更新vSphere 4

文章發表於 : 2012年 6月 25日, 23:02
kaku
方法一.(使用SSH)
1.先將要安裝更新的檔案上傳至Datastore中
2.用vSphere Client登入後,先將該台主機按右鍵改成 Maintenance Mode
3.在主機端(Console端)按F2->Troubleshooting Mode Options->Enable Remote Tech Support (SSH)
4.下載並安裝Putty,打開Putty並連入主機,輸入以下指令
putty-0.62-installer.zip

vmware -l (查詢更新後的版本編號)
vmware -v (查詢更新後的狀態)
esxupdate query (查詢詳細更新狀況)
esxupdate --bundle /vmfs/volumes/Datastore名稱/更新檔案名稱.zip update (安裝更新)
<ex>
esxupdate --bundle /vmfs/volumes/datastore1/upgrade-from-esxi4.0-to-4.1-update02-502767.zip update

方法二.(使用vSphere CLI)
1.下載並安裝VMware vSphere CLI
https://my.vmware.com/web/vmware/details/vcli41/ZHcqYmRoaCpiZHRAag==
2.先將要安裝更新的檔案複製到C:\Program Files (x86)\VMware\VMware vSphere CLI\Bin 中(Windows 7範例)
3.打開CLI,並輸入以下指令
cd bin
vihostupdate.pl -i -server 伺服器IP -b 更新檔案名稱.zip
<ex>
vihostupdate.pl -i -server 192.168.0.231 -b upgrade-from-esxi4.0-to-4.1-update02-502767.zip
vihostupdate.pl -i -server 192.168.0.231 -b ESXi410-201206001.zip

參考網址:
http://blogs.yyes.chc.edu.tw/post/2/2889

Re: 如何更新vSphere 4

文章發表於 : 2012年 6月 25日, 23:09
kaku
記得要先停止所有Guest OS再作啦~~呵 :lol: