IBM aix 3장

Download Report

Transcript IBM aix 3장

3장
System startup and shutdown
• startup modes
– normal mode
– system management services(sms) <- 부팅시 f1 or 1
• firm ware에서 동작, 부팅순서를 설정
– maintenance mode <- 부팅시 f5 or 5
• 부팅이 안될 때 수리할 때 사용, root암호 잃어 버렸을 때 사용
– Diagnostics(진단)
• startup process
– power on -> post -> locate os bootstrap image -> find aix boot image
-> load aix boot image -> configuration manager phase 1 -> init
위 부분이 잘 이해가 안 감 특히 책의 bootstrap code 부분이
3장
System startup and shutdown
• bootinfo command
– 컴퓨터 시스템구조 확인 명령어
• bootinfor –p
– 컴퓨터 시스템 비트수 확인 명령어
• bootinfo –y
• alog command
– 사용되어진 log들을 확인하는 명령어
• alog –o –t boot (o는 모니터의미, t는 원하는 타입)
• /etc/inittab
–
–
–
–
–
–
init프로세스가 동작시킬 내용이 기록되어 있음
telinit 명령어는 init가 /etc/inittab 파일을 다시 읽도록 하는 명령어
shutdown –m명령어는 single user mode로 접속하도록 하는 명령어
/etc/inittab 파일내용 추가 : mkitab명령어
/etc/inittab 파일내용 변경 : chitab명령어
/etc/inittab 파일내용 삭제 : rmitab명령어
3장
System startup and shutdown
• system resource controller
– subsystem(프로그램)을 조절함, subsystem의 집합 = susbsystem group
• subserver(데몬)의 집합 = subsystem
• system resource controller 문법
– SRC(system resource controller)상태 보여주는 명령어
• lssrc –g 대상이름
– subsystem 시작 명령어
• startsrc –s 대상이름
– subsystem 재시작 명령어
• refresh –s 대상이름
– subsystem 정지 명령어
• stopsrc –s 대상이름
• stopping processes
– src에 관련된 프로세스 죽이는 명령어
• stopsrc –s 대상이름
– srcmstr(사용자가 만듬)에 관련된 프로세스 죽이는 명령어
• kill pid번호
3장
System startup and shutdown
• system shutdown
–
–
–
–
–
시스템 종료, 로그인되어 있는 유저에게 종료를 알림
-f : 즉시 종료
-r : 재시작
-m : single-user모드로 감
-k : 종료는 안하고 유저에게 종료할 것을 알리기만 함
• Hardware Management Console
– web browser를 통해서 서버에 접속, 관리할 수 있음