반응형

****************** IBM bundles install. ****************************
#vi /usr/sys/inst.data/user_bundles/MyBundle.bnd
I:sysmgt.websm.security. // write the file which you want to install.
#smitty easy_install
// select Mybundle which you've made and Enter.
lslpp -Lb Mybundle   // verify whethere bundle was installed successfully.
smitty list_installed   // verify what is installed in server.

******************** AIX 용량 확장하기 ******************************
# lsvg rootvg
# chfs -a size=+100M /
******************** AIX 
네트워크 설정하기 **************************
# smit chgenet
# smitty mktcpip -> N/W interface 
선택

******************** 파일셋  fix(AIX) 설치 여부 확인 **************
# lslpp -l bos.adt.base  // 
파일  인스톨 여부 체크
# instfix -i 
설치된 패치 정보
# instfix -i -k "IY4390"  // fix 
설치 여부 체크

******************** AIX 데몬 재시작 ********************************
refresh -s inetd
startsrc -g inetd

IBM filesets 설치
#oslevel -r       // OS 
레벨 확인
#instfix -i|grep ML   // 
파일셋 버전별 설치 현황
#instfix -icqk 5300-02_AIX_ML|grep :-:  // 
업데이트가 필요한 filesets
download site.
www.ibm.com/servers/eserver/support/pseries/aixfixes.html

***************************** cd mount ************************************
#mount -vcdrfs -oro /dev/cd0 /mnt
#geninstall -d/dev/cd0 bos.alt_disk_install.rte  // install fileset in cd.
lspv   // see hard-drive information.
#bootlist -m normal hdisk1 hdisk13  // select which disk you want to boot
# bootlist -m normal -o            // see which disk is on.
hdisk13

************** ML 확인 **************
### ML 
확인 ###
# oslever -s  or  oslevel -r

### Fix 확인 ###
# instfix -ik IY96283
### 
파라미터값 변경 ###

************** Memory 파라미터값 변경 **************
1.
확인방법
  # vmo -a
  # vmo -L  <== 
리부팅 여부 학인

2.적용방법
smitty tuning
Tuning Virtual Memory Manager, File System and Logical Volume Manager Params
Change / Show Current Parameters
행당값 수정
ESC + 3
Save Current Parameters Fomr Next Boot

************** AIX maxper 확인법 **************
# vmo -a | grep maxperm

************** HACMP 상태 확인 **************
# lssrc -s clinfoES
미기동 상태면 아래 명령으로 기동
# startsrc -s clinfoES
# /usr/es/sbin/cluster/clstat -a
lssrc -g cluster HACMP 
상태 정보
lslpp -L all 
설치된 패키지 정보

************** 온도 확인 **************
-------------------------------------------------------------------
 
명령어   메세지 확인  권고온도(위험온도)
-------------------------------------------------------------------
# booinfo -p  /var/adm/ras/errlog less than 35 degrees C or 95 degrees F
 -> chrp 
나오는것 
 -> uesensor 
명령어 사용

************** Fan 장애 확인 **************
# errpt    /var/adm/ras/errlog  Operator Panel 
확인
 (
) fan error

************** Power Supply 장애 확인**************
# errpt    crontab
(
) power problem  Power Supply LED Check

************** disk 장애 **************
확인방법 : # errpt
메시지   : /var/adm/ras/errlog () > disk operation error

************** log 확인 **************
errpt : System 
에서 발생된 기본적인 로그를 확인하고 Class:H(Hardware) type:P(PEND, PERF, PERM)부분의 발생여부 중점으로 점검
syslog : /etc/syslog.conf 
파일에 설정된 정보에 따른 로그파일을 분석하여 문제점 여부 파악

alog : console Display 오류 정보나 booting  문제 되었던 부분, dump 정보에 대한 부분등을 점검
/var/adm/syslog/syslog.log
/var/adm/ras/errlog.log

************** 유저및 그룹 생성**************
# mkgroup 
그룹명
# mkuser 
유저명
# mkuser user_name   : 
유저 생성.
# mkgroup group_name
# passwd user_name   : 
암호 설정.
# rmuser -p user_name  : 
유저 삭제.
# rmgroup group_name
# who /var/adm/wtmp or /var/adm/utmp  : 
사용자 접속 확인.
# who /etc/security/failedlogin : 
접속 실패 확인.
# more /var/adm/sulog  : su
 사용한 사용자 확인.
# last root, last reboot

************** shutdown **************
shutdown -Fr
shutdown -F

************** 부팅 순서 확인 ****************************
bosboot -ad hdisk1                
부트 레코드및 장치 초기화(부트이미지 등록)
bootlist -m normal hdisk0 hdisk1   
부트 리스트를 초기화(부트순서 등록)
bootlist -m normal -o              
부트순서 확인

************** jdk 확인 ****************************
일단은 jdk1.4 설치가 되었는지 확인하는 방법은
lslpp -L | grep Java14

jdk 설치되는 위치는 버전별
-------------------------------------------------------
- Java 1.4.x 32-bit    /usr/java14
- Java 1.4.x 64-bit    /usr/java14_64
- Java 1.3.1 32-bit    /usr/java131
- Java 1.3.1 64-bit    /usr/java13_64
- Java 1.3.0             /usr/java130
- Java 1.2.2             /usr/java_dev2
- Java 1.1.8             /usr/jdk_base

************** 기타 확인 ****************************
# /usr/spool/cron/crontabs  : 
사용자별 클론 설정 위치
# /var/adm/cron/cron.deny, allow : 
사용자별 클론 접근허용  거부 설정
# lsps -a : 
페이징 스페이스 정보 보기.
# fsck -y /dev/hd1 : 
파일 시스템 체크
# export TERM=vt100 : display 
 화면모드 전환, smitty  F1,F2.. 키를 먹도록 한다.
# compress 
압축 -> compress 파일 / uncompress 압축해제 -> uncompress 파일.z

 

참조 :

IBM AIX admin 교육과정

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

AIX 명령어  (0) 2022.07.05

+ Recent posts