[AIX 진단 서브시스템 2] 운영 환경 — 온라인·독립 실행형·NIM 진단

핵심 정리

  • 온라인 진단은 설치된 AIX에서 실행하며 모드가 셋입니다. 동시(concurrent) 모드는 시스템을 운영하면서 일부 자원을 시험하고, 서비스 모드는 서비스 모드로 부팅해 거의 모든 자원을, 유지 보수 모드는 shutdown -m으로 단일 사용자 상태로 내려 서비스 모드와 같은 범위를 시험합니다.
  • 운영 중에는 페이징·rootvg 디스크와 그 SCSI 어댑터, 창 시스템이 도는 그래픽 장치, 메모리·프로세서는 바로 시험하기 어렵습니다. 메모리와 프로세서는 POST에서만 시험합니다.
  • 독립 실행형 진단은 진단 CD로 서비스 모드 부팅해 RAM 파일 시스템에서 실행합니다. 온라인 진단이 없거나 온라인으로 시험할 수 없는 디스크를 시험할 때 쓰며, CD 드라이브와 그 SCSI 컨트롤러는 시험할 수 없습니다.
  • 콘솔 구성 디스켓(/etc/consdef)으로 다른 비동기 터미널을 콘솔로 쓰거나 고성능 터미널의 화면 주사율을 바꿉니다.
  • NIM 진단은 NIM 서버의 SPOT에서 진단 부트 이미지를 받아 실행합니다. 디스크가 없는 클라이언트는 키를 Service에 두고 네트워크 부팅합니다.
항목 내용
버전 AIX 5.3, AIX 6.1 (내용이 같음)
원문 Understanding the Diagnostic Subsystem for AIX — 5.3판 2장(710쪽), 6.1판 68쪽
파일 /etc/consdef
관련 명령어 diag, shutdown -m, nim

진단을 수행하는 환경의 종류입니다.

영어 원문

Operating Environments

This topic describes the type of environments under which diagnostics are performed.

온라인 진단

온라인 진단을 실행할 수 있는 모드의 종류입니다.

온라인 진단은 세 가지 모드로 실행할 수 있습니다.

영어 원문

Online Diagnostics

This topic describes the types of modes in which online diagnostics can be run.

Online diagnostics can be run in three modes:

동시(concurrent) 모드

선택한 자원을 점검하는 동안에도 정상 시스템 기능이 계속되게 합니다.

동시 모드는 시스템이 정상 작업을 하는 동안 일부 시스템 자원에 온라인 진단을 실행하는 방법입니다. 시스템이 정상 동작 중이므로 다음 같은 장치는 시험하기 전에 사용자나 진단 응용 프로그램이 추가 작업을 해야 할 수 있습니다.

  • 페이징 장치에 연결된 SCSI 어댑터
  • 페이징에 쓰이거나 rootvg에 속한 디스크 드라이브
  • 창 시스템이 실행 중일 때의 LFT 장치와 그래픽 어댑터
  • 메모리
  • 프로세서
영어 원문

Concurrent mode

Allows the normal system functions to continue while selected resources are being checked.

Concurrent mode provides a way to run online diagnostics on some of the system resources while the system is running normal system activity. Because the system is running in normal operation, devices such as the following may require additional actions by the user or diagnostic application before testing can be done.

  • SCSI adapters connected to paging devices

  • Disk drive(s) used for paging, or are part of the rootvg

  • LFT devices and graphic adapters if a Windowing system is active

  • Memory

  • Processor

서비스 모드

대부분의 시스템 자원을 점검할 수 있습니다.

서비스 모드는 시스템 자원을 가장 완전하게 점검합니다. 이 모드에서는 시스템에서 다른 프로그램이 실행되고 있지 않아야 합니다. 페이징에 쓰는 SCSI 어댑터와 디스크 드라이브를 뺀 모든 시스템 자원을 시험할 수 있습니다. 다만 메모리와 프로세서는 전원 켤 때의 자체 시험(POST)에서만 시험합니다.

서비스 모드는 운영 체제를 서비스 모드로 부팅해 들어갑니다.

영어 원문

Service mode

Allows checking of most system resources.

Service mode provides the most complete checkout of the system resources. This mode also requires that no other programs be running on the system. All system resources, except the SCSI adapter and the disk drives used for paging, can be tested. However, note that the memory and processor are only tested during power-on self-test (POST).

Service Mode is entered by booting the operating system in service mode.

유지 보수 모드

대부분의 시스템 자원을 점검할 수 있습니다.

유지 보수 모드는 서비스 모드와 시험 범위가 똑같습니다. 두 모드의 차이는 들어가는 방법입니다. 유지 보수 모드에서는 운영 체제의 모든 활동이 멈춰 있어야 합니다.

shutdown -m 명령으로 운영 체제의 모든 활동을 멈추고 유지 보수 모드로 들어갑니다. 터미널 유형을 설정한 뒤 diag 명령으로 진단을 시작합니다.

영어 원문

Maintenance Mode

Allows checking of most system resources.

Maintenance mode provides the exact same test coverage as Service Mode. The difference between the two modes is the way they are invoked. Maintenance mode requires that all activity on the operating system be stopped.

The shutdown -m command is used to stop all activity on the operating system and put the operating system into maintenance mode. After setting the terminal type, use the diag command to start Diagnostics.

독립 실행형 진단(POWER 프로세서 시스템만)

독립 실행형(standalone) 진단은 온라인 진단이 설치되어 있지 않을 때 시스템을 시험하는 방법이자, 온라인 진단으로 시험할 수 없는 디스크 드라이브를 시험하는 방법입니다.

독립 실행형 진단은 지금은 CD-ROM으로 제공됩니다. 독립 실행형 진단 CD-ROM을 CD-ROM 드라이브에 넣고 시스템을 서비스 모드로 부팅해 실행합니다.

독립 실행형 진단 CD-ROM의 파일 시스템은 RAM 파일 시스템 위에 마운트되어 실행됩니다. 그래서 CD-ROM 드라이브(와 그것을 제어하는 SCSI 컨트롤러)는 독립 실행형 진단으로 시험할 수 없습니다.

진단 CD-ROM에 없는 장치 지원은 진단 보충 매체(Diagnostic Supplemental Media)로 제공해야 합니다.

영어 원문

Standalone diagnostics (POWER® processor-based systems only)

Standalone diagnostics provide a method to test the system when the online diagnostics are not installed and a method of testing the disk drives that cannot be tested by the online diagnostics.

Standalone diagnostics are currently packaged on CDROM. They are run by placing the Standalone Diagnostic CDROM into the cdrom drive, then booting the system in service mode.

The Standalone Diagnostic CDROM file system is mounted over a RAM-file system for execution. Because of this, the CDROM drive (and the SCSI controller that controls it) cannot be tested by the standalone diagnostics.

Device support that is not on the Diagnostic CDROM must be supported by Diagnostic Supplemental Media.

독립 실행형 진단에서 지원하지 않는 작업

일부 작업과 서비스 도구는 독립 실행형 진단에서 지원하지 않습니다. 독립 실행형 진단은 RAM 파일 시스템에서 실행되어 하드 디스크(hardfile)에 직접 접근하지 못하기 때문입니다.

지원하는 작업과 운영 환경 목록은 진단 작업 매트릭스(Diagnostic Task Matrix)를 봅니다.

영어 원문

Tasks not supported in standalone diagnostics

Some tasks and service aids are not supported in standalone diagnostics. This is due to the fact that Standalone diagnostics runs from a RAM-file system, they have no direct access to the hardfile.

See the Diagnostic Task Matrix for the list of supported tasks and their operating environments.

콘솔 구성 디스켓

콘솔 구성 디스켓(Console Configuration Diskette)을 만들고 쓰는 방법입니다.

독립 실행형 진단 패키지에서는 콘솔 구성 디스켓으로 다음 두 가지를 할 수 있습니다.

  • 다른 비동기 터미널을 콘솔로 쓰기
  • 고성능 터미널(High-Function Terminal)의 화면 주사율 정하기

이 디스켓은 Create Customized Configuration Diskette 작업으로 만듭니다.

다른 비동기 터미널을 콘솔로 쓰기

독립 실행형 진단 패키지에서는 RS232나 RS422 어댑터에 붙은 아무 터미널이나 콘솔 장치로 고를 수 있습니다.

기본 장치는 첫 내장 직렬 포트에 붙은 RS232 tty입니다. 그러나 콘솔 장치를 바꿀 수 있는 파일이 제공됩니다. 파일 이름은 /etc/consdef이며 형식은 다음과 같습니다.

text
# COMPONENT_NAME: (cfgmeth) Device Configuration Methods
#
# FUNCTIONS: consdef
#
# ORIGINS: 27, 28
#
# (C) COPYRIGHT International Business Machines Corp. YYYY,YYYY
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp
#
#
# The console definition file is used for defining async terminal
# devices, which are the console candidates at system boot. During
# system boot,all natively attached graphic displays, any async
# terminal on native serial port s1, and async terminals defined in
# this file will display the "Select System Console" message. Only
# one terminal may be selected as console. If the terminal
# attributes are not specified in this file, default values from the
# odm database are assumed. However, the location and connection
# attributes are mandatory. The location value may be displayed with
# the lsdev command.
#
# The entries must be in the following format:
#
#ALTTTY:
#       connection=value
#       location=nn-nn-ss-nn
#       attribute=value
#       .
#       .
#ALTTTY:
#       connection=value
#       location=nn-nn-ss-nn
#       attribute=value
#       .
#       .
# Lines in this file must not exceed 80 characters. All comments
# must be preceded by a pound sign (#) in the first column.
#
# For backward compatibility, the "ALTTTY:" keyword is not required
# for the first entry.
#
#
# For example, to display the console selection message on the ttys
# attached to the S1 and S2 ports, uncomment the following stanzas:
#
#ALTTTY:
#       connection=rs232
#       location=00-00-S1-00
#       speed=9600
#       bpc=8
#       stops=1
#       xon=yes
#       parity=none
#       term=ibm3163
#ALTTTY:
#       connection=rs232
#       location=00-00-S2-00
#       speed=9600
#       bpc=8
#       stops=1
#       xon=yes
#       parity=none
#       term=ibm3151

고성능 터미널의 60/77MHz 주사율

일부 고성능 터미널은 다른 주사율로 동작하도록 설정할 수 있습니다. 콘솔로 쓰는 터미널에 맞는 주사율을 설정해 콘솔 구성 디스켓을 만들 수 있습니다.

독립 실행형 진단 패키지는 기본 60MHz를 씁니다. Create Customized Configuration Diskette 작업으로 이 값을 바꿔 새 콘솔 구성 디스켓을 만들 수 있습니다.

영어 원문

Console configuration diskette

This topic describes the way to create and use Console Configuration Diskette.

The Standalone Diagnostic Package allows the use of a Console Configuration Diskette to accomplish two tasks:

  • Use a Different Async Terminal as the Console

  • Set the Refresh rate on a High-Function Terminal

The Create Customized Configuration Diskette task allows this diskette to be created.

Different async terminal for console

The Standalone Diagnostic Package allows a terminal attached to any RS232 or RS422 adapter to be selected as a console device.

The default device is an RS232 tty attached to the first native serial port. However, a file is provided allowing the console device to be changed. The file name is /etc/consdef. The format of the file is:

(67줄짜리 예는 위 한글 본문에 그대로 실었습니다.)

High function terminals 60/77-Mhz refresh rate

Certain high-function terminals might be set to run at a different refresh rate. The Console Configuration Diskette might be created setting the appropriate refresh rate for the terminal used as the console.

The Standalone Diagnostic Package uses the default 60-Mhz rate. The Create Customized Configuration Diskette task allows this value to be changed, and a new Console Configuration Diskette to be created.

NIM 진단

착탈식 매체나 하드 디스크로 부팅하는 대신 NIM 서버의 진단 부트 이미지로 모든 NIM 클라이언트에서 하드웨어 진단을 할 수 있습니다.

로컬 하드 디스크에 진단을 설치하지 않아도 되므로 독립(standalone) 클라이언트에 유용합니다. 진단 지원은 SPOT 자원에서 옵니다.

또 디스크 없는(diskless) 클라이언트와 데이터 없는(dataless) 클라이언트는 네트워크에서 진단을 적재하는 다른 방법이 있습니다. 평소처럼 네트워크로 부팅하되 시스템의 키 모드 스위치를 Service 위치에 둡니다. 부팅이 끝날 때 키 모드 스위치가 Service 위치에 있으면 서버 SPOT의 하드웨어 진단이 적재됩니다. 독립 클라이언트가 키를 Service 위치에 두고 부팅하면 (설치되어 있을 때) 하드 디스크의 진단이 적재됩니다.

NIM 환경에서 진단을 실행하는 것은 독립 실행형 모드에서 실행하는 것과 아주 비슷합니다.

NIM 환경은 Installing AIX를 봅니다.

영어 원문

NIM Diagnostics

Hardware diagnostics can be performed on all NIM clients using a diagnostic boot image from a NIM server, rather than booting from removable media or hard disk.

This is useful for standalone clients, because the diagnostics do not have to be installed on the local hardfile. Diagnostic support comes from a SPOT resource.

In addition, diskless and dataless clients have another way of loading diagnostics from the network. You can boot a diskless or dataless client from the network the same way you do for normal use, but with the machine's key mode switch in the Service position. If the client's key mode switch is in the Service position at the end of the boot process, hardware diagnostics from the server's SPOT are loaded. If a standalone client boots with the key in the Service position, the diagnostics (if installed) are loaded from the hard disk.

Running diagnostics in a NIM environment is very similar to running in Standalone mode.

See Installing AIX for more information on the NIM environment.