vSphere环境升级的方法一例

转自:http://bbs.vmsky.com/thread-41936-1-1.html

考虑到就地升级的风险性,建议在对vSphere环境进行升级时,采用迁移、轮转的方式升级

步骤:将虚机迁出 - 备份主机配置(最好记录主机配置) - 重新安装ESXi(如果是U盘引导,那直接换个新U盘然后安装) - 恢复配置 - 迁回虚机 - 观察运行状况后对其他主机重复以上操作


主机的备份和恢复方法参考以下

原文地址: http://professionalvmware.com/2010/05/how-to-backup-esxi-configuration-the-missing-piece/


Backing up your ESXi Configuration:


To backup your ESXi configuration you’ll be using the vicfg-cfgbackup.pl command as follows:


Download either the vMA or vCLI

Launch vicfg-cfgbackup.pl:

C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl �Csave �Cserver 192.168.15.253 �Cusername root �Cpassword password backup.bak

Note: The backup will be stored relative to your user “AppData” path:

C:\Users\Username\AppData\Local\VirtualStore\

Restoring your ESXi Configuration:


Restoring your ESXi config can be done after you have the host up and responding over the network again by using the following:


C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl �Cload �Cserver 192.168.15.253 �Cusername root �Cpassword password backup.bak


Note: You will be asked to reboot the host on restore.


Backing  up multiple hosts! �C There is a script to backup multiple ESXi hosts on the VMware communities site here. Also in PowerCLI here!


你可能感兴趣的:(vmware,升级,esxi)