-
IBM AIX HACMP V7 설치 및 업데이트 하는 방법System of Infra/Unix System 2021. 4. 20. 22:26728x90반응형
IBM AIX HACMP V7 설치 및 업데이트하는 방법
[root@test_svr1:/ptf/PowerHA7.2.2]# ls -al | grep -i PowerHA_SystemMirror_v7.2.2_Std_Ed_122017.tar.gz -rw-r----- 1 root system 89148016 Dec 27 2018 PowerHA_SystemMirror_v7.2.2_Std_Ed_122017.tar.gz
-> 설치를 진행하기 전에 사전에 준비해둔 PowerHA 7.2.2 BASE 파일을 준비합니다.
[root@test_svr1:/ptf/PowerHA7.2.2]# gzip -dc PowerHA_SystemMirror_v7.2.2_Std_Ed_122017.tar.gz | tar xvf - x . x ./installp x ./installp/ppc x ./installp/ppc/cluster.adt.es_722, 145408 bytes, 284 media blocks. x ./installp/ppc/cluster.doc.en_US.assist_722, 5120 bytes, 10 media blocks. x ./installp/ppc/cluster.doc.en_US.es_722, 6144 bytes, 12 media blocks. x ./installp/ppc/cluster.es.assist_722, 3944448 bytes, 7704 media blocks. x ./installp/ppc/cluster.es.client_722, 6823936 bytes, 13328 media blocks. x ./installp/ppc/cluster.es.cspoc_722, 5552128 bytes, 10844 media blocks. x ./installp/ppc/cluster.es.migcheck_722, 55296 bytes, 108 media blocks. x ./installp/ppc/cluster.es.nfs_722, 90112 bytes, 176 media blocks. x ./installp/ppc/cluster.es.server_722, 42520576 bytes, 83048 media blocks. x ./installp/ppc/cluster.es.smui_722, 78530560 bytes, 153380 media blocks. x ./installp/ppc/cluster.license_722, 1401856 bytes, 2738 media blocks. x ./installp/ppc/cluster.man.en_US.es.data_722, 423936 bytes, 828 media blocks. x ./installp/ppc/cluster.msg.Ja_JP.assist_722, 308224 bytes, 602 media blocks. ...(생략) tar: ./usr/sys/inst.images/cluster.adt.es_722 is linked to ./installp/ppc/cluster.adt.es_722. tar: ./usr/sys/inst.images/cluster.doc.en_US.assist_722 is linked to ./installp/ppc/cluster.doc.en_US.assist_722. tar: ./usr/sys/inst.images/cluster.doc.en_US.es_722 is linked to ./installp/ppc/cluster.doc.en_US.es_722. tar: ./usr/sys/inst.images/cluster.es.assist_722 is linked to ./installp/ppc/cluster.es.assist_722. tar: ./usr/sys/inst.images/cluster.es.client_722 is linked to ./installp/ppc/cluster.es.client_722. tar: ./usr/sys/inst.images/cluster.es.cspoc_722 is linked to ./installp/ppc/cluster.es.cspoc_722. tar: ./usr/sys/inst.images/cluster.es.migcheck_722 is linked to ./installp/ppc/cluster.es.migcheck_722. tar: ./usr/sys/inst.images/cluster.es.nfs_722 is linked to ./installp/ppc/cluster.es.nfs_722. ...(생략)
-> TAR.GZ 파일을 한번에 압축 풀기 위해 해당 명령어를 통해서 파일 압축을 풀도록 합니다.
[root@test_svr1:/ptf/PowerHA7.2.2]# ls -al drwxr-x--- 5 4000 4000 256 Nov 17 2017 . drwxr-xr-x 7 root system 256 Dec 27 2018 .. -rw-r----- 1 root system 89148016 Dec 27 2018 PowerHA_SystemMirror_v7.2.2_Std_Ed_122017.tar.gz drwxrwxr-x 3 4000 4000 256 Nov 17 2017 installp drwxrwxr-x 2 4000 4000 256 Nov 17 2017 smui_server drwxrwxr-x 3 4000 4000 256 Nov 17 2017 usr
-> 준비된 PowerHA 파일의 압축을 풀게 되면 installp, smui_server, usr과 같은 파일이 생기게 됩니다.
[root@test_svr1:/ptf/PowerHA7.2.2/usr/sys/inst.images]# ls -al drwxrwxr-x 2 4000 4000 4096 Nov 17 2017 . drwxrwxr-x 3 4000 4000 256 Nov 17 2017 .. -rw-r--r-- 2 4000 4000 145408 Nov 17 2017 cluster.adt.es_722 -rw-r--r-- 2 4000 4000 5120 Nov 17 2017 cluster.doc.en_US.assist_722 -rw-r--r-- 2 4000 4000 6144 Nov 17 2017 cluster.doc.en_US.es_722 -rw-r--r-- 2 4000 4000 3944448 Nov 17 2017 cluster.es.assist_722 -rw-r--r-- 2 4000 4000 6823936 Nov 17 2017 cluster.es.client_722 ...(생략) -rw-r--r-- 2 4000 4000 423936 Nov 17 2017 cluster.man.en_US.es.data_722 -rw-r--r-- 2 4000 4000 308224 Nov 17 2017 cluster.msg.Ja_JP.assist_722 -rw-r--r-- 2 4000 4000 1158144 Nov 17 2017 cluster.msg.Ja_JP.es_722 -rw-r--r-- 2 4000 4000 248832 Nov 17 2017 cluster.msg.en_US.assist_722 -rw-r--r-- 2 4000 4000 691200 Nov 17 2017 cluster.msg.en_US.es_722 -rw-r--r-- 2 4000 4000 302080 Nov 17 2017 cluster.msg.ja_JP.assist_722 -rw-r--r-- 2 4000 4000 1122304 Nov 17 2017 cluster.msg.ja_JP.es_722
-> /usr/sys/inst.image의 경로에 HA를 설치하게 될 파일이 보이게 됩니다.
[root@test_svr1:/ptf/PowerHA7.2.2/usr/sys/inst.images]# smit installp Install Software--->선택 Update Installed Software to Latest Level (Update All) Install Software Bundle Update Software by Fix (APAR) Install and Update from ALL Available Software -> Install Software의 항목을 선택합니다. INPUT device / directory for software [.] *INPUT device / directory for software . *SOFTWARE to install[_all_latest] PREVIEW only? (install operation will NOT occur) yes COMMIT software updates? yes SAVE replaced files? yes AUTOMATICALLY install requisite software? yes EXTEND file systems if space needed? yes OVERWRITE same or newer versions? no VERIFY install and check file sizes? no Include corresponding LANGUAGE filesets? yes DETAILED output? no Process multiple volumes? yes ACCEPT new license agreements? yes Preview new LICENSE agreements? no Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below.
-> 현재 디렉토리 경로인 inutoc. 의 경로에서 preview를 통해 설치가 가능한지 확인 후 설치를 진행합니다.
[root@test_svr1:/ptf/PowerHA7.2.2/usr/sys/inst.images]# lslpp -l | grep -i cluster bos.cdat 7.1.0.15 COMMITTED Cluster Data Aggregation Tool bos.cluster.rte 7.1.4.33 COMMITTED Cluster Aware AIX cluster.doc.en_US.es.pdf 7.2.2.0 COMMITTED PowerHA SystemMirror PDF cluster.es.assist.common 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.db2 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.dhcp 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.dns 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.domino 7.2.2.0 COMMITTED PowerHA SystemMirror cluster.es.assist.filenet 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.ihs 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.maxdb 7.2.2.0 COMMITTED PowerHA SystemMirror Smart ...(생략) cluster.es.assist.wmq 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.client.clcomd 7.2.2.0 COMMITTED Cluster Communication cluster.es.client.lib 7.2.2.0 COMMITTED PowerHA SystemMirror Client cluster.es.client.rte 7.2.2.0 COMMITTED PowerHA SystemMirror Client cluster.es.client.utils 7.2.2.0 COMMITTED PowerHA SystemMirror Client cluster.es.cspoc.cmds 7.2.2.0 COMMITTED CSPOC Commands cluster.es.cspoc.rte 7.2.2.0 COMMITTED CSPOC Runtime Commands cluster.es.migcheck 7.2.2.0 COMMITTED PowerHA SystemMirror Migration cluster.es.nfs.rte 7.2.2.0 COMMITTED NFS Support cluster.es.server.diag 7.2.2.0 COMMITTED Server Diags cluster.es.server.events 7.2.2.0 COMMITTED Server Events cluster.es.server.rte 7.2.2.0 COMMITTED Base Server Runtime
-> PowerHA가 설치되면 해당 버전의 파일셋들이 설치가 되어 있는지 확인할 수 있습니다.
[root@test_svr1:/usr/es/sbin/cluster/utilities]# halevel -s 7.2.2 GA
-> /usr/es/sbin/cluster/utilities의 경로에서 해당 명령어를 통해서 HA의 레벨을 확인할 수 있습니다.
[root@test_svr1:/ptf/PowerHA7.2.2_SP03]# ls -al drwxr-xr-x 2 root system 4096 Apr 19 23:22 . drwxr-xr-x 8 root system 256 Apr 19 23:17 .. -rw-r--r-- 1 root system 4096 Apr 19 23:17 cluster.doc.en_US.assist.smartassists.pdf_7.2.2.1.bff -rw-r--r-- 1 root system 4096 Apr 19 23:17 cluster.doc.en_US.es.pdf_7.2.2.1.bff -rw-r--r-- 1 root system 4096 Apr 19 23:17 cluster.doc.en_US.glvm.pdf_7.2.2.1.bff -rw-r--r-- 1 root system 4096 Apr 19 23:17 cluster.doc.en_US.pprc.pdf_7.2.2.1.bff -rw-r--r-- 1 root system 252928 Apr 19 23:17 cluster.es.assist.common_7.2.2.1.bff -rw-r--r-- 1 root system 269312 Apr 19 23:17 cluster.es.assist.db2_7.2.2.1.bff -rw-r--r-- 1 root system 575488 Apr 19 23:17 cluster.es.assist.maxdb_7.2.2.1.bff -rw-r--r-- 1 root system 377856 Apr 19 23:17 cluster.es.assist.oracle_7.2.2.1.bff -rw-r--r-- 1 root system 508928 Apr 19 23:17 cluster.es.assist.sap_7.2.2.3.bff -rw-r--r-- 1 root system 75776 Apr 19 23:17 cluster.es.assist.wmq_7.2.2.2.bff -rw-r--r-- 1 root system 88064 Apr 19 23:17 cluster.es.client.clcomd_7.2.2.1.bff ...(생략) -rw-r--r-- 1 root system 13580288 Apr 19 23:18 cluster.es.server.rte_7.2.2.3.bff -rw-r--r-- 1 root system 20088832 Apr 19 23:19 cluster.es.server.utils_7.2.2.3.bff -rw-r--r-- 1 root system 13315072 Apr 19 23:19 cluster.es.smui.agent_7.2.2.3.bff -rw-r--r-- 1 root system 67612672 Apr 19 23:22 cluster.es.smui.common_7.2.2.1.bff -rw-r--r-- 1 root system 44780544 Apr 19 23:21 cluster.es.smui.server_7.2.2.3.bff -rw-r--r-- 1 root system 150528 Apr 19 23:22 cluster.es.sr.cmds_7.2.2.2.bff -rw-r--r-- 1 root system 195584 Apr 19 23:22 cluster.es.sr.rte_7.2.2.1.bff -rw-r--r-- 1 root system 202752 Apr 19 23:22 cluster.es.svcpprc.rte_7.2.2.2.bff -rw-r--r-- 1 root system 157696 Apr 19 23:22 cluster.es.tc.rte_7.2.2.1.bff -rw-r--r-- 1 root system 113664 Apr 19 23:22 cluster.msg.en_US.es.server_7.2.2.1.bff -rw-r--r-- 1 root system 321536 Apr 19 23:22 cluster.xd.glvm_7.2.2.1.bff -rw-r--r-- 1 root system 31562 Apr 19 23:22 ha722sp3.fixinfo.html
-> PowerHA의 7.2.2D의 서비스 팩이 없는 베이스파일이기 때문에 해당 경로에 PowerHA7.2.2_SP03를 업로드하고 파일 셋을 확인합니다.
[root@test_svr1:/ptf/PowerHA7.2.2_SP03]# smit update_all * INPUT device / directory for software [.] * INPUT device / directory for software . * SOFTWARE to update _update_all PREVIEW only? (install operation will NOT occur) yes COMMIT software updates? yes SAVE replaced files? yes AUTOMATICALLY install requisite software? yes EXTEND file systems if space needed? yes OVERWRITE same or newer versions? no VERIFY install and check file sizes? no Include corresponding LANGUAGE filesets? yes DETAILED output? no Process multiple volumes? yes ACCEPT new license agreements? yes Preview new LICENSE agreements? no Command: OK stdout: yes stderr: no Before command completion, additional instructions may appear below.
-> update 또한 install과 마찬가지로 preview 후에 업데이트를 진행하도록 합니다.
[root@test_svr1:/ptf/PowerHA7.2.2_SP03]# lslpp -l | grep -i cluster bos.cdat 7.1.0.15 COMMITTED Cluster Data Aggregation Tool bos.cluster.rte 7.1.4.33 COMMITTED Cluster Aware AIX cluster.es.assist.sap 7.2.2.3 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.tds 7.2.2.0 COMMITTED PowerHA SystemMirror Smart cluster.es.assist.wmq 7.2.2.2 COMMITTED PowerHA SystemMirror Smart cluster.es.client.clcomd 7.2.2.1 COMMITTED Cluster Communication cluster.es.client.rte 7.2.2.2 COMMITTED PowerHA SystemMirror Client cluster.es.client.utils 7.2.2.2 COMMITTED PowerHA SystemMirror Client cluster.es.cspoc.cmds 7.2.2.2 COMMITTED CSPOC Commands cluster.es.cspoc.rte 7.2.2.2 COMMITTED CSPOC Runtime Commands cluster.es.migcheck 7.2.2.0 COMMITTED PowerHA SystemMirror Migration cluster.es.nfs.rte 7.2.2.0 COMMITTED NFS Support cluster.es.server.diag 7.2.2.3 COMMITTED Server Diags cluster.es.server.events 7.2.2.3 COMMITTED Server Events cluster.es.server.rte 7.2.2.3 COMMITTED Base Server Runtime cluster.es.server.testtool 7.2.2.0 COMMITTED Cluster Test Tool cluster.es.server.utils 7.2.2.3 COMMITTED Server Utilities cluster.es.smui.agent 7.2.2.3 COMMITTED SystemMirror User Interface cluster.es.smui.common 7.2.2.1 COMMITTED SystemMirror User Interface
-> 기존의 7.2.2의 파일셋들이 3으로 업데이트된 것을 확인할 수 있습니다.
[root@test_svr1:/usr/es/sbin/cluster/utilities]# halevel -s 7.2.2 SP3
-> 기존의 7.2.2의 베이스에서 SP3으로 서비스팩이 업데이트된 것을 확인할 수 있습니다.
[root@test_svr1:/]# cat .profile PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/usr/es/sbin/cluster/utilities PS1="[$LOGNAME@`hostname`:\$PWD]# " TERM=vt100 export PATH PS1 TERM set -o vi stty erase ^? if [ -s "$MAIL" ] # This is at Shell startup. In normal then echo "$MAILMSG" # operation, the Shell checks fi # periodically.
-> 해당 프로파일에 HA PATH를 등록하여 어떤 경로에서든지 명령어를 출력할 수 있도록 설정을 합니다.
PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.
포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.
728x90반응형'System of Infra > Unix System' 카테고리의 다른 글
IBM AIX 메모리 부하에 의한 프로세스 확인하는 방법 (0) 2021.07.08 IBM AIX GPFS 설치하는 방법 (0) 2021.07.08 IBM AIX HACMP V6 구축 하는 방법[3] (3) 2021.04.03 IBM AIX HACMP V6 구축 하는 방법[2] (0) 2021.04.01 IBM AIX HACMP V6 구축 하는 방법[1] (0) 2021.03.30