본문 바로가기

욕심쟁이 공부방/AIX

TL/SP 업데이트 TL/SP 업데이트 1. 서버에 파일시스템 하나 생성 후 그 곳에 파일셋 업로드 (ex) /aaa 2. 압축 모두 해제 3. /aaa> inutoc . 수행 4. /aaa> smitty installp 수행 -> Update Installed Software to Latest Level (Update All) [Entry Fields] * INPUT device / directory for software [.] -> INPUT device / directory for software . * SOFTWARE to update _update_all PREVIEW only? (update operation will NOT occur) no COMMIT software updates? no SAVE repla..
uptime이 비정상적으로 큰 경우 uptime이 비정상적으로 큰 경우 Problem: uptime greater than 8000 days If record number 0 is overwritten by anyone (normally a third party program), the uptime shows up as greater than 8000 days. Both types of corruption have many causes because both AIX commands and third party applications write to the utmp file. Solution to fix: 1) remove /etc/utmp and null out /var/adm/wtmp 2) and reboot To correct the ..
mksysb 백업에서 일부 파일만 복구하기 mksysb 백업에서 일부 파일만 복구하기 ex) /etc/hosts만 복구하기 # chdev -l rmt# -a block_size=512 # cd / # restore -s4 -xqdvf /dev/rmt#.1 ./etc/hosts (restore할 파일명) # restore -s4 -xqdvf /dev/rmt#.1 ./dir 또는 # smitty backsys - Restore Files in a System Image
PdDv에 정의된 prefix 기본적으로 LV나 VG 이름은 PdDv(Predefined devices) class에 정의된 prefix를 사용할 수 없다. 아래와 같이 -Y 옵션으로 생성은 가능하지만, 이 방법은 시스템에서 정의된 이름에 덮어쓰기를 해서 사용하는 것이므로 권고하지 않음. 0516-358 getlvname: Illegal name; the prefix of the name is reserved. Choose a different name. 0516-822 mklv: Unable to create logical volume. => 이와 같은 에러가 발생한다면 해당 이름을 피해서 생성해야 한다. # man mklv ...snip... -y newlogicalvolume Specifies the logical volume ..
NTP 업데이트 NTP Version을 V3에서 V4로 업데이트 하기 1. NTP V4 파일셋 다운로드 및 설치 https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=NTPv4&cp=UTF-8 2. NTP V4로 환경 설정 # ln -sf /usr/sbin/ntp4/ntpd4 /usr/sbin/xntpd # ln -sf /usr/sbin/ntp4/ntpdate4 /usr/sbin/ntpdate # ln -sf /usr/sbin/ntp4/ntpdc4 /usr/sbin/xntpdc # ln -sf /usr/sbin/ntp4/ntpq4 /usr/sbin/ntpq # ln -sf /usr/sbin/ntp4/ntptrac..
메모리 사용률 보호되어 있는 글입니다.
system dump에 대하여 AIX에서 예기치 못한 system crash 또는 hang 등의 문제 발생 시, 시스템에 dump를 떨어뜨려 CPU, Memory, Pending I/O, Kernel 등 장애 시점의 상태를 확인/분석할 수 있는 중요한 도구이다. 따라서 sysdump device의 설정 및 /var 파일시스템의 용량 관리는 매우 중요하다.
nmon 사용법 보호되어 있는 글입니다.