2012년 3월 20일 화요일

Upgrading vSphere 5.0 Update 1 with CLI interface

 

2012.03.20-vs5u1-status

 

vSphere 5.0 Update 1 패치 적용과정을 정리함

 

  • 업데이트 파일을 vSphere Host 에 업로드해 두었다고 가정 (winscp 이용)
    /vmfs/volumes/datastore1/update-from-esxi5.0-5.0_update01.zip

 

  • vSphere Host를 Maintenance 모드로 변경
C:\> vicfg-hostops.pl --server giseong-pc03 --username=root --password=암호 --operation enter
Host giseong-pc03 entered into maintenance mode successfully.
 


  • esxcli 명령으로 Update

C:\> esxcli --server=giseong-pc03 --username=root --password=암호 software vib update
--depot=/vmfs/volumes/datastore1/update-from-esxi5.0-5.0_update01.zip

Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.500.1.11.623860.................
 


  • vSphere Host를 Reboot 한다.

C:\> vicfg-hostops.pl --server giseong-pc03 --username=root --password=암호 --operation reboot
Host giseong-pc03 rebooted successfully.
 


  • reboot 완료된 vSphere Host를 Maintenance 모드에서 일반 모드로 변경한다.

C:\> vicfg-hostops.pl --server giseong-pc03 --username=root --password=암호 --operation exit
Host giseong-pc03 exited from maintenance mode successfully.
 

 


참고자료


댓글 없음:

댓글 쓰기