[VMWARE] VCSA 6.7 patch 방법

2021.03.11 15:56

ischo 조회 수:506

원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

 

1. 현재버전 : VCSA 6.7

 

2. 목표버전 : VCSA 6.7 U3l

 

3. 다운로드

VMware-vCenter-Server-Appliance-6.7.0.46000-17138064-patch-FP.iso

 

4. ISO파일을 데이터스토어에 업로드

 

5. 패치ISO파일을 VCSA가 동작중인 VM에 마운트

 

6. VCSA shell (SSH) 로그인

 

7. 패치

 

> software-packages install --iso  명령어로 패치 시작

 

Command> software-packages install --iso
 [2021-03-11T06:03:33.070] : ISO mounted successfully
 [2021-03-11T06:03:34.070] : Appliance (OS) root password expired. Please change appliance (OS) root password before attempting an update
 [2021-03-11T06:03:34.070] : ISO unmounted successfully
 [2021-03-11T06:03:34.070] :
        Mismatch:
                summary: Appliance (OS) root password expired.
                description: Appliance (OS) root password expired.
                resolution: Please change appliance (OS) root password before attempting an update

 

--> root 패스워드가 만료되어 패치시 에러

 

 

root 만료기간 설정 및 패스워드 변경

Command> shell.set --enable true
Command>
Command> shell
Shell access is granted to root
root@vcenter [ ~ ]#
root@vcenter [ ~ ]# chage -I -1 -m 0 -M 99999 -E 1 root
You are required to change your password immediately (root enforced)
chage: PAM: Authentication token is no longer valid; new one required
root@vcenter [ ~ ]#
root@vcenter [ ~ ]#
root@vcenter [ ~ ]# passwd
New password:
Retype new password:
passwd: password updated successfully
root@vcenter [ ~ ]#
 

 

VMWARE END USER LICENSE AGREEMENT

PLEASE NOTE THAT THE TERMS OF THIS END USER LICENSE AGREEMENT SHALL GOVERN YOUR
USE OF THE SOFTWARE, REGARDLESS OF ANY TERMS THAT MAY APPEAR DURING THE
INSTALLATION OF THE SOFTWARE.

IMPORTANT-READ CAREFULLY:   BY DOWNLOADING, INSTALLING, OR USING THE SOFTWARE,
YOU (THE INDIVIDUAL OR LEGAL ENTITY) AGREE TO BE BOUND BY THE TERMS OF THIS END
USER LICENSE AGREEMENT ("EULA").  IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA,
YOU MUST NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE, AND YOU MUST DELETE OR
RETURN THE UNUSED SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED IT WITHIN
(중략)


12.11  Contact Information.  Please direct legal notices or other
correspondence to VMware, Inc., 3401 Hillview Avenue, Palo Alto, California
94304, United States of America, Attention: Legal Department.
Do you accept the terms and conditions?  [yes/no] yes
 

 [2021-03-11T06:13:12.070] : Evaluating packages to stage...
 [2021-03-11T06:13:12.070] : Verifying staging area
 [2021-03-11T06:13:12.070] : ISO unmounted successfully
 [2021-03-11T06:13:13.070] : Validating software update payload
 [2021-03-11T06:13:13.070] : Validation successful
 [2021-03-11 06:13:13,351] : Copying software packages  [2021-03-11T06:13:13.070] : ISO mounted successfully
235/235
 [2021-03-11T06:13:45.070] : ISO unmounted successfully
 [2021-03-11 06:13:45,600] : Running test transaction ....
 [2021-03-11 06:13:52,661] : Running pre-install script.....
 [2021-03-11 06:17:36,119] : Upgrading software packages ....
 [2021-03-11T06:25:10.070] : Setting appliance version to 6.7.0.46000 build 17138064
 [2021-03-11 06:25:10,323] : Running pre-patch script.....
 [2021-03-11 06:25:11,335] : Running post-patch script.....
 [2021-03-11T06:25:50.070] : Packages upgraded successfully, Reboot is required to complete the installation.
Command>
Command> shutdown reboot -r "patch reboot"
 

8. 재부팅후 패치결과 확인


Command> shell
Shell access is granted to root
root@vcenter [ ~ ]# vpxd -v
VMware VirtualCenter 6.7.0 build-17137327

 

서버에 요청 중입니다. 잠시만 기다려 주십시오...