[VMWARE] VCSA 6.7 patch 방법

2021.03.11 15:56

ischo 조회 수:45

원문 : 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

 

 

번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 29990
97 [VMWARE] Vsphere ESXi 6.7 patch 방법 ischo 2021.03.22 29
» [VMWARE] VCSA 6.7 patch 방법 ischo 2021.03.11 45
95 Multi Putty Manager file ischo 2020.10.08 233
94 CentOS 7에 Apache2, php7.3, MariaDB 설치하기 ischo 2019.09.02 1352
93 리눅스에서 Windows Filesystem(NTFS) 마운트하기 ischo 2018.12.20 2110
92 SFTP로 자동 업로드/다운로드 스크립트 ischo 2018.04.04 6123
91 CIDR Conversion Table ischo 2018.03.08 2745
90 (스크립트) 오라클 DB서버에서 매일 원격지 FTP로 export 파일 업로드 하기 ischo 2017.11.04 3885
89 shell script를 cron으로 동작시킬때 .bashrc .bash_profile의 변수가 적용되지 않는다 ischo 2017.09.08 11228
88 재부팅 없이 SCSI device를 rescan하기 ischo 2017.03.16 14777
87 apache 404 에러에 OS 또는 apache버전을 표시하는 취약점 없애기 ischo 2016.10.25 7294
86 RHEL/CentOS 7 환경에서 자동업데이트 disable 시키기 ischo 2016.07.02 9398
85 NTP 서버 설정 ischo 2016.03.03 10376
84 read/write test of Storage Filesystem ischo 2015.12.16 9914
83 RHEL/CentOS 7 에서 Network 설정하기 ischo 2015.08.31 16769
82 RHEL 6.x 에서 multipath 설정 ischo 2015.07.31 25756
81 copy 시 I/O error 발생한 파일을 dd로 복사하기 ischo 2015.07.27 9595
80 OpenSSL 다중취약점 보안업데이트 ischo 2015.04.02 12777
79 HP DL/ML 시리즈용 SmartArray CLI 유틸리티 사용 설명서 ischo 2015.02.11 10362
78 XDMCP 연결시 필요한 port 번호 ischo 2014.12.24 16883
서버에 요청 중입니다. 잠시만 기다려 주십시오...