分类:
2006-10-24 20:51:52
从ESX3.0升级到ESX3.01包含3个部分,详细的文档参见Installation and Upgrade Guide-
ESX
他们的顺序为:
1) upgrade VC2 to VC2.01
直接在Virtual Center host上升级就可,VC2.01可以管理ESX3.0的host
2) upgrade each ESX3.0 host to ESX3.01
使用esxupdate –n update是最简单的。使用GUI没有成功,使用tarball需要多次重启,因此没有验证。
3) upgrade VMware tools
上图实际上是1)和2)都完成的情况下,VM的状况为out of date, 而不是OK或Not Running。
升级VM可以有两种方法,第一种就是直接在运行的VM中运行Install VMware Tools来升级。第二种方法则是在Virtual Center服务器中运行vmware-vmupgrade.exe程序。以下为一个例子:
C:\Program Files\VMware\VMware VirtualCenter 2.0>vmware-vmupgrade -u vcadmin -n
/"TEST Datacenter"/"Production VMs"/Prod-LotteryWeb
Enter password for vcadmin:
Connecting to VirtualCenter server on local port 902
Looking for VMs...
Found /TEST Datacenter/Production VMs/Prod-LotteryWeb
/TEST Datacenter/Production VMs/Prod-LotteryWeb: host is VMware ESX Server version
/TEST Datacenter/Production VMs/Prod-LotteryWeb: VM is powered off, checking virtual hardware
/TEST Datacenter/Production VMs/Prod-LotteryWeb: virtual hardware upgrade was not required
/TEST Datacenter/Production VMs/Prod-LotteryWeb: setting up tools upgrade...
/TEST Datacenter/Production VMs/Prod-LotteryWeb: tools upgrade setup complete
/TEST Datacenter/Production VMs/Prod-LotteryWeb: power on requested
/TEST Datacenter/Production VMs/Prod-LotteryWeb: power on task is running
可以看到,这个命令实际上也就是启动VM, 安装VMware Tools,然后Power off VM。只不过一切是自动的。另外,这个命令需要先Power off VM才能运行。这个命令最大的好处是可以升级一个ESX host所有的VM, 不足之处是语法比较复杂,需要通过Virtual Machine and Template(注意不是inventory)中的目录结构来指定VM。