esxcli software profile or esxcli software vib?

Command line interface 를 통한 esxi 호스트 업데이트를 할 때 사용할 수 있는 커맨드는 아래와 같이 두가지 종류가 있습니다.

  1. Esxcli software profile update (or install)
  2. Esxcli software vib update (or install)

같은 메이저 버전내에서 빌드가 바뀌는 Update 의 경우는 두가지 커맨드를 다 사용할 수 있고, upgrade (메이저 버전이 바뀌는 경우) 의 경우는 반드시 profile update 만 사용해야 합니다.

http://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vsphere.upgrade.doc/GUID-E51C5DB6-F28E-42E8-ACA4-0EBDD11DF55D.html

https://docs.vmware.com/en/VMware-vSphere/6.0/com.vmware.vsphere.upgrade.doc/GUID-22A4B153-CB21-47B4-974E-2E5BB8AC6874.html

The esxcli software vib update and esxcli software vib install commands are not supported for upgrade operations

두가지 커맨드의 차이점은 다음과 같습니다.

Esxcli software profile update

  • 이미지 프로파일에 있는 모든 vib 을 update 하고 시스템에 없는 vib 이 있을 경우 추가 설치

Updates the host with VIBs from an image profile in a depot. Installed VIBs may be upgraded (or downgraded if –allow-downgrades is specified), but they will not be removed. Any VIBs in the image profile which are not related to any installed VIBs will be added to the host. WARNING: If your installation requires a reboot, you need to disable HA first.

 

Esxcli software vib update

  • 이미지 프로파일에 있는 모든 vib 을 update 만 함. 시스템에 없는 vib 이 프로파일에 있더라도 추가하지 않음.

update installed VIBs to newer VIB packages. No new VIBs will be installed, only updates. WARNING: If your installation requires a reboot, you need to disable HA first.

 

더불어 업데이트 진행시에는 install 과 update 의 차이점을 반드시 숙지하신 후 작업하도록 가이드 부탁드립니다. (대부분은 update 로 작업하게 될 것입니다.)

Install

  • Installs or applies an image profile from a depot to this host. This command completely replaces the installed image with the image defined by the new image profile, and may result in the loss of installed VIBs. To preserve installed VIBs, use profile update instead. WARNING: If your installation requires a reboot, you need to disable HA first.

정리하면 install 로 진행하게 되면 현재 설치되어 있는 vib 의 다운그레이드가 발생할 수 있습니다. 꼭 필요한 상황인지 확인하세요

Update

  • 위의 내용 참고

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다