본문으로 바로가기

AIX OS 패치 하기

category OS/AIX 2019. 9. 20. 21:56

===========================
 1)  AIX 미설치 파일셋  확인 설치   
===========================



1. File set  확인 
AIX1_choi:/#instfix -i |grep  ML
    All filesets for 7.2.0.0_AIX_ML were found.
    All filesets for 7200-00_AIX_ML were found.
    Not all filesets for 7200-01_AIX_ML were found.
    Not all filesets for 7200-02_AIX_ML were found.
    All filesets for 7200-03_AIX_ML were found.


2. 누락된 File 찾기  

방법1)   

AIX1_choi:/#instfix -ivk 7200-02_AIX_ML |grep not |grep ':'
    Fileset Java6_64.sdk:6.0.0.650 is not applied on the system.
    Fileset Java8.jre:8.0.0.410 is not applied on the system.
    Fileset Java8.sdk:8.0.0.410 is not applied on the system.
    Fileset Java8_64.jre:8.0.0.410 is not applied on the system.
    Fileset Java8_64.sdk:8.0.0.410 is not applied on the system.
 
 
 방법2)  TL 만 검색 가능 
 
AIX1_choi:/#oslevel -rl 7200-02
Fileset                                 Actual Level           Recommended ML
-----------------------------------------------------------------------------
Java6_64.sdk                            6.0.0.455              6.0.0.650
Java8.jre                               8.0.0.130              8.0.0.410
Java8.sdk                               8.0.0.130              8.0.0.410
Java8_64.jre                            8.0.0.130              8.0.0.410
Java8_64.sdk                            8.0.0.130              8.0.0.410


 
 3. 파일셋 다운로드 
 http://www-933.ibm.com/support/fixcentral/
  System p -> AIX -> 7.2 -> Fix search 누른 후 파일명 ex) Java6_64.sdk:6.0.0.650 search 
  파일 Mapping 정보 확인후, ftp 로 필요한  파일 다운로드 
  
  
  4. 누락 패치적용 
  
  다운 받은 파일 서버에 Upload 후 
  Smitty installp > Install and Update from ALL Available Software >

              INPUT device /directory for software [ . ] "현재디렉토리 의미"

 

2 번째 항목에서 F4를 눌러서 선택, 아래과 같은 옵션으로 설치진행 
  

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * INPUT device / directory for software               .
  * SOFTWARE to install                                [파일선택  지정]                           > +
  PREVIEW only? (install operation will NOT occur)    no                                             +
  COMMIT software updates?                            no                                            +
  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                                             +
  DETAILED output?                                    no                                             +
  Process multiple volumes?                           yes                                            +
  ACCEPT new license agreements?                      yes                                             +
  Preview new LICENSE agreements?                     no                                           
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  5. 설치 후 확인 
  IX1_choi:/#instfix -i |grep  ML
    All filesets for 7.2.0.0_AIX_ML were found.
    All filesets for 7200-00_AIX_ML were found.
    All filesets forfor 7200-01_AIX_ML were found.
    All filesets for for 7200-02_AIX_ML were found.
    All filesets for 7200-03_AIX_ML were found.



===========================
 2)  AIX OS 패치하기    
===========================

1. oslevel -sq 확인 

2. lslpp -l |grep APPL   / 기존 APPLY 되어 있던 파일 확인 

3. smitty > Software Installation and Maintenance -> Software Maintenance and Utilities 

  -> Commit Applied Software Updates (Remove Saved Files)
    
단축키 :   smitty maintain_software    APPLY 되어 있는 것을 COMMIT 시킴 
파일셋 위치에서 inutoc .  실행  -> 인스톨을 위한 리스트 제작 

 

4. smitty installp 
      ~~~~~~~      [. ] 경로 지정 후  업데이트 진행   누락패치 적용할때 와 같음 
  
5. 파일셋 적용 확인 

lppchk -v  설치파일  이상유무 확인  (문제 있을경우, 표기 됨.) 
lslpp -l | grep APPL  --> APPLY 된 파일이 있는지 확인.



- END - 


'OS > AIX' 카테고리의 다른 글

IBM Snap Log 받기  (0) 2019.09.27
VIOS 에서 네트워크 Link 상태확인  (0) 2019.08.20
Error code B7006A72  (0) 2019.07.15
NFS port ranges  (0) 2019.07.15
AIX Dump Size 계산 및 LV 용량 증설 하기.  (0) 2019.07.12