[AIX 운영 체제와 장치 관리 51] SAN 복제 속성과 어댑터 구성 해제 — san_rep_cfg·san_rep_device, 이더넷·WAN·ATM·저장·비동기 어댑터 구성 해제, I/O 장치 문제 해결
https://archive.horanglab.com/posts/aix-osdev-51
핵심 정리
- SAN 복제 속성은 AIX MPIO와 AIX PCM을 쓰는 장치에만 해당합니다.
san_rep_cfg는 PPRC 동기 장치를 하나의 논리 디스크로 정의할지 정하며 none·new·new_and_existing은 chdef로 같은 ODM 고유 형식 전체에,migrate_disk·revert_disk는 chdev로 장치 하나에 설정합니다. VIOS에서는 바꿀 수 없습니다. - 통신 어댑터 구성 해제 순서는 슬롯 확인(
lsslot -c pci), 어댑터 목록 확인, 응용 프로그램 종료와 네트워크 덤프 위치 해제,netstat -i로 인터페이스 확인,ifconfig 인터페이스 detach,rmdev -l 어댑터입니다. rmdev -d는 장치 정의까지 지우므로 같은 어댑터로 교체하는 핫 플러그 작업에는 쓰지 않습니다.rmdev -R은 어댑터와 자식을,rmdev -p는 자식만 구성 해제합니다.- ATM 어댑터는 에뮬레이션 인터페이스(en, et, tr), 에뮬레이션 클라이언트(ent, tok), MPOA(mpc), 물리 어댑터(atm) 순서로 구성 해제합니다.
- 장치 문제는 오류 로그,
lsdev -C, 상태,lsattr -E -l,chdev, 다른 응용 프로그램 시험,mkdev, 연결·준비 상태, 하드웨어 진단 순으로 확인합니다. rmdev가 장치가 열려 있다고 하면 TCP/IP, SNA, Streams 같은 사용 중 응용 프로그램을 닫습니다.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 6.1 (SAN 복제 속성 절이 새로 실림) |
| 원문 | Operating system and device management — 5.3판 278288쪽, 6.1판 535548쪽 |
| 관련 명령어 | chdef, chdev, lsdev, lsattr, lsslot -c pci, netstat -i, ifconfig ... detach, rmdev -l, rmdev -R, rmdev -p, smit dump, entstat, umount, mkdev |
| 관련 SMIT 빠른 경로 | smit lsdenet, smit lsdtok, smit ls_atm, smit listall_atmle, smit listall_mpoa, smit 331121b9_ls, smit riciophx_ls |
AIX MPIO(Multiple Path I/O)가 설치돼 있고 장치가 AIX PCM(경로 제어 모듈)을 쓰고 있어야 합니다. 이 속성은 저장 하위 시스템이 제공하는 설정과 기능에 의존합니다.
다음 AIX 속성은 저장 하위 시스템으로 복제되는 LUN(논리 장치 번호)의 동작에 관한 것입니다. 모든 저장 하위 시스템이나 마이크로코드 수준이 이 속성을 지원하는 것은 아닙니다. 클러스터의 노드에 걸친 SAN(storage area network) 복제 관리를 조정하도록 PowerHA SystemMirror 같은 클러스터링이나 고가용성 소프트웨어가 설치됩니다. 다음 속성은 VIOS(Virtual I/O Server)에서 바꿀 수 없습니다.
san_rep_cfg
PPRC(Peer-to-Peer Remote Copy)를 쓰는 동기 장치를 AIX 운영 체제에서 어떻게 정의하고 구성할지 정합니다. 디스크 인스턴스의 unique_id 값은 이 속성의 영향을 받으며 속성 값을 바꾸면 바뀔 수 있습니다. san_rep_cfg 속성은 저장 하위 시스템에서 PPRC 장치의 상태를 바꾸지 않습니다. 값은 다음과 같습니다.
| 값 | 뜻 |
|---|---|
| none(기본값) | PPRC를 쓰는 동기 장치의 LUN을 별도 논리 디스크 인스턴스로 구성합니다. |
| new | PPRC를 쓰는 동기 장치를 단일 논리 인스턴스로 정의하고 구성합니다. PPRC 장치의 어느 LUN과도 맞는 기존 디스크 인스턴스가 없을 때만 정의하고 구성합니다. |
new_and_existing |
PPRC를 쓰는 동기 장치를 단일 논리 인스턴스로 정의하고 구성합니다. PPRC 장치를 나타내는 논리 디스크 인스턴스가 없으면 새 디스크 인스턴스를 정의합니다. |
migrate_disk |
PPRC를 쓰는 동기 장치를 단일 hdisk 인스턴스로 정의하고 구성하며, 고른 논리 디스크 인스턴스를 장치에 씁니다. san_rep_device 속성이 supported나 detected인 장치에서만 지원합니다. 대상 장치의 san_rep_device가 supported이면 디스크를 마지막으로 구성한 뒤 저장 장치에 SAN 복제가 설정된 경우에만 동작합니다. 장치가 클러스터 저장소 디스크로 쓰이지 않으면 AIX 운영 체제가 열어 쓰고 있는 디스크에서도 지원합니다. 해당 디스크의 unique_id 값은 PPRC 장치의 ID를 반영하도록 갱신됩니다. |
revert_disk |
PPRC를 쓰는 기존 동기 장치 논리 디스크 인스턴스를 PPRC가 아닌 hdisk 인스턴스로 구성합니다. san_rep_device 속성이 yes인 장치에서만 지원합니다. 대상 디스크 인스턴스의 논리 장치 이름과 특수 파일은 그대로입니다. 되돌린 hdisk 인스턴스에는 SAN 복제 장치의 1차(원본) LUN을 씁니다. 1차 LUN을 찾을 수 없거나 호스트가 모르면 2차(대상) LUN을 씁니다. 장치가 클러스터 저장소 디스크로 쓰이지 않으면 열어 쓰고 있는 디스크에서도 지원합니다. 해당 디스크의 unique_id 값은 LUN ID를 반영하도록 갱신됩니다. |
none, new, new_and_existing 값은 같은 ODM(Object Data Manager) 고유 형식의 모든 장치 동작을 갱신하는 용도입니다. none, new, new_and_existing 값은 chdef 명령으로 설정합니다. chdef 명령은 지정한 ODM 고유 형식의 모든 장치에 대해 속성 기본값을 갱신합니다. 이미 정의된 기존 장치 인스턴스의 속성 값도 갱신합니다. chdef 명령을 실행할 때 이미 구성된 장치는 시스템을 다시 부팅하거나 그 장치를 구성 해제했다가 다시 구성할 때까지 변경이 적용되지 않습니다. chdef 명령에는 속성의 class, subclass, type이 필요합니다. san_rep_cfg 속성의 ODM 고유 형식을 알려면 lsattr -l hdisk# -F class,subclass,type 명령을 씁니다. 예:
lsdev -l hdisk0 -F class,subclass,type
disk,fcp,aixmpiods8k
chdef -a san_rep_cfg=none -c disk -s fcp -t aixmpiods8k
chdef -a san_rep_cfg=new -c disk -s fcp -t aixmpiods8k
chdef -a san_rep_cfg=new_and_existing -c disk -s fcp -t aixmpiods8k
migrate_disk와 revert_disk 값은 지정한 장치 인스턴스 하나의 동작을 갱신하는 용도입니다. 지정한 장치에 migrate_disk나 revert_disk 값을 설정하려면 chdev 명령을 써야 합니다. chdev 명령은 지정한 장치의 값만 갱신합니다. 예:
chdev -a san_rep_cfg=migrate_disk -l hdisk0
chdev -a san_rep_cfg=revert_disk -l hdisk0
san_rep_device
논리 디스크 인스턴스가 SAN 복제 장치로 정의돼 있음을 나타냅니다. 이 속성은 디스크를 구성할 때 설정되며, 디스크를 구성한 뒤 장치 상태가 바뀌었으면 낡은 값일 수 있습니다. 값은 다음과 같습니다.
| 값 | 뜻 |
|---|---|
| no | 장치가 AIX 운영 체제에서 SAN 복제 장치로 구성돼 있지 않습니다. SAN 복제 장치로 구성될 요건을 갖추지 않았습니다. |
| supported | 장치가 AIX 운영 체제에서 SAN 복제 장치로 구성돼 있지 않습니다. SAN 복제 장치로 구성될 요건은 갖췄지만 저장 하위 시스템에서 지금 SAN 복제 장치로 설정돼 있지 않습니다. |
| detected | 장치가 AIX 운영 체제에서 SAN 복제 장치로 구성돼 있지 않습니다. AIX 운영 체제는 이 장치가 SAN 복제 장치로 구성될 요건을 갖췄고 저장 하위 시스템에서 지금 SAN 복제 장치로 설정돼 있음을 찾아냈습니다. |
| yes | 장치가 AIX 운영 체제에서 SAN 복제 장치로 구성돼 있습니다. |
관련 정보
- chdef 명령
- chdev 명령
- lsdev 명령
영어 원문
SAN replication attributes
The AIX Multiple Path I/O (MPIO) must be installed and the device must be using the AIX path control module (PCM). These attributes have dependencies on settings and features that are provided by the storage subsystem.
The following AIX attributes pertains to the behavior of the logical unit numbers (LUNs), which are replicated through the storage subsystems. All storage subsystems or microcode levels might not support these attributes. Clustering or high availability software, such as PowerHA® SystemMirror® is installed to coordinate management of the storage area network (SAN) replication across nodes in a cluster. The following attributes cannot be changed on a Virtual I/O Server (VIOS).
san_rep_cfg
Determines how a synchronous device that is using Peer-to-Peer Remote Copy (PPRC) is defined and configured in the AIX operating system. The unique_id value of the disk instance is affected by this attribute, and might change if the attribute value is altered. The san_rep_cfg attribute does not alter the state of the PPRC device on the storage subsystem. The attribute has the following values:
none [Default]
Configures LUNs in a synchronous device that is using PPRC as separate logical disk instances.
new Defines and configures the synchronous device that is using PPRC as a single logical instance. The device is defined and configured only when no existing disk instances match any LUNs in the PPRC device.
new_and_existing
Defines and configures the synchronous device that is using PPRC as a single logical instance. If no logical disk instance represents the PPRC device, a new disk instance is defined.
migrate_disk
Defines and configures the synchronous device that is using PPRC as a single hdisk instance, and uses the selected logical disk instance for the device. The operation is only supported on devices that have the san_rep_device attribute set to either supported or
detected. If the targeted device has the san_rep_device attribute set to supported, the operation works only if the SAN replication was set up on the storage since the last time the disk was configured. This operation is supported on disks that are opened and in use by the AIX operating systems if the device is not used as a repository disk within a cluster. The unique_id value for the affected disk is updated to reflect the ID of the PPRC device.
revert_disk
Configures an existing synchronous device that is using PPRC logical disk instance to a non-PPRC device hdisk instance. This operation is supported only on devices that have the san_rep_device attribute set to yes. The logical device name and special file of the targeted disk instance remains unchanged. The primary (source) LUN for a SAN replication device is used for the reverted hdisk instance. If the primary (source) LUN is not found or is unknown to the host, the secondary (destination) LUN is used for the reverted hdisk instance. This operation is supported on disks that are opened and in use by the AIX operating systems if the device is not used as a repository disk within a cluster. The unique_id value for the affected disk is updated to reflect the LUN ID.
The none, new, and new_and_existing values are meant to update the behavior for all devices of the same Object Data Manager (ODM) unique type. The chdef command is used to set the none, new, and new_and_existing values. The chdef command updates the default value for an attribute for all devices of the specified ODM unique type. The chdef command also updates the attribute value for the existing device instances that are already defined. For devices that are already configured when the chdef command is running, the change does not take effect until the system reboots or those devices are unconfigured and reconfigured. The chdef command requires the class, subclass, and type of the attribute. To determine the ODM unique type of the san_rep_cfg attribute, use the lsattr –l hdisk# -F class,subclass,type command. For example:
lsdev -l hdisk0 -F class,subclass,type
disk,fcp,aixmpiods8k
chdef -a san_rep_cfg=none -c disk -s fcp -t aixmpiods8k
chdef -a san_rep_cfg=new -c disk -s fcp -t aixmpiods8k
chdef -a san_rep_cfg=new_and_existing -c disk -s fcp -t aixmpiods8k
The migrate_disk and revert_disk values are meant to update behavior for a single and specified device instance. The chdev command must be used to set either the migrate_disk or revert_disk value for a specified device. The chdev command updates the value for only the specified device. For example:
chdev -a san_rep_cfg=migrate_disk -l hdisk0
chdev -a san_rep_cfg=revert_disk -l hdisk0
san_rep_device
Indicates that the logical disk instance is defined as a SAN replication device. This attribute is set during disk configuration, and might be stale if the state of the device is changed since the disk was configured. The attribute has the following values:
no The device is not configured in the AIX operating system as a SAN replication device. This device does not meet the requirements to be configured as a SAN replication device.
supported
The device is not configured in the AIX operating system as a SAN replication device. This device meets the requirements to be configured as a SAN replication device. However, it is not currently set up as a SAN replication device on the storage subsystem.
detected
The device is not configured in the AIX operating system as a SAN replication device. The AIX operating system has detected that this device meets the requirements to be configured as a SAN replication device and is currently set up as a SAN replication device on the storage subsystem.
yes The device is configured in the AIX operating system as a SAN replication device.
Related information
chdef command chdev command lsdev command
통신 어댑터 제거
핫 플러그 어댑터를 빼거나 바꾸려면 먼저 그 어댑터의 구성을 해제해야 합니다.
통신 어댑터 구성 해제에는 다음 작업이 포함됩니다.
- 빼거나 바꿀 어댑터를 쓰는 모든 응용 프로그램 닫기
- 어댑터에 연결된 모든 장치를 식별하고 멈추기
- 지금 쓰고 있는 모든 슬롯이나 특정 어댑터가 차지한 슬롯 나열
- 어댑터의 슬롯 위치 식별
- 네트워크 인터페이스 목록에서 인터페이스 정보 표시와 제거
- 어댑터를 쓸 수 없게 만들기
다음 절차로 통신 어댑터 구성을 해제하려면 root로 로그인해야 합니다.
관련 개념
- PCI 핫 플러그 관리 — 운영 체제가 실행 중일 때 쓸 수 있는 PCI 슬롯에 새 PCI 핫 플러그 어댑터를 넣을 수 있습니다.
관련 작업
- PCI 통신 어댑터 구성 해제 — 이더넷, 토큰링, FDDI, ATM 어댑터를 포함한 PCI 통신 어댑터 구성 해제 과정의 개요입니다.
- PCI 핫 플러그 어댑터 제거와 교체 — 운영 체제를 종료하거나 시스템 전원을 끄지 않고 PCI 핫 플러그 어댑터를 빼거나 바꿀 수 있습니다.
이더넷, 토큰링, FDDI, ATM 어댑터 구성 해제
이더넷, 토큰링, FDDI, ATM 어댑터의 구성을 해제하려면 다음 단계를 따릅니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.다음 예처럼 알맞은 SMIT 명령을 입력해 설치된 어댑터를 나열하고 시스템 장치의 모든 장치의 현재 상태를 표시합니다.
- smit lsdenet — 이더넷 어댑터 나열
- smit lsdtok — 토큰링 어댑터 나열
- smit
ls_atm— ATM 어댑터 나열
어댑터 형식마다 다음 이름 규칙을 씁니다.
- atm0, atm1, ... — ATM 어댑터
- ent0, ent1, ... — 이더넷 어댑터
- tok0, tok1, ... — 토큰링 어댑터
구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다. 응용 프로그램을 닫고, 이 절차를 계속하려면 시스템의 네트워크 덤프 위치를 꺼야 합니다. 네트워크 덤프 위치를 찾아 끄려면 다음을 합니다.
- 명령행에 다음을 입력합니다.
smit dump
- Show Current Dump Devices를 고릅니다. 3. 구성된 덤프 장치 가운데 네트워크 위치를 보이는 것이 있는지 확인합니다. 없으면 SMIT를 나가 다음 단계로 갑니다. 덤프 장치를 로컬 위치로 바꾸려면 Cancel을 고르거나 F3을 누르고 다음 단계를 계속합니다. 4. 1차 덤프 장치가 네트워크 위치를 보이면 Change the Primary Dump Device를 고르고 Primary dump device 필드에 로컬 위치를 입력해 바꿉니다. 5. 2차 덤프 장치가 네트워크 위치를 보이면 Change the Secondary Dump Device를 고르고 Secondary dump device 필드에 로컬 위치를 입력해 바꿉니다. 6. 마치면 OK를 누르거나 Enter를 누릅니다.
netstat -i를 입력해 구성된 모든 인터페이스 목록을 표시하고 어댑터가 TCP/IP용으로 구성됐는지 확인합니다. 다음과 비슷한 출력이 나옵니다.
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16896 link#1 076 0 118 0 0
lo0 16896 127 127.0.0.1 076 0 118 0 0
lo0 16896 ::1 076 0 118 0 0
tr0 1492 link#2 8.0.5a.b8.b.ec 151 0 405 11 0
tr0 1492 19.13.97 19.13.97.106 151 0 405 11 0
at0 9180 link#3 0.4.ac.ad.e0.ad 0 0 0 0 0
at0 9180 6.6.6 6.6.6.5 0 0 0 0 0
en0 1500 link#5 0.11.0.66.11.1 212 0 1 0 0
en0 1500 8.8.8 8.8.8.106 212 0 1 0 0
토큰링 어댑터에는 인터페이스가 하나뿐입니다. 이더넷 어댑터에는 인터페이스가 둘 있을 수 있습니다. ATM 어댑터에는 인터페이스가 여럿 있을 수 있습니다. 5. 다음 예처럼 알맞은 ifconfig 명령을 입력해 네트워크 인터페이스 목록에서 인터페이스를 지웁니다.
ifconfig en0 detach— 표준 이더넷 인터페이스 제거ifconfig et0 detach— IEEE 802.3 이더넷 인터페이스 제거ifconfig tr0 detach— 토큰링 인터페이스 제거ifconfig at0 detach— ATM 인터페이스 제거
다음 예처럼 알맞은 rmdev 명령을 입력해 어댑터 구성을 해제하고 장치 정의는 Customized Devices 객체 클래스에 남깁니다.
rmdev -l ent0— 이더넷 어댑터 구성 해제rmdev -l tok1— 토큰링 어댑터 구성 해제rmdev -l atm1— ATM 어댑터 구성 해제rmdev -p pci1— PCI 버스의 자식과 그 아래 모든 장치의 장치 정의를 Customized Devices 객체 클래스에 남긴 채 구성 해제
참고: 어댑터 구성을 해제하고 Customized Devices 객체 클래스의 장치 정의도 지우려면 rmdev 명령에
-d플래그를 쓸 수 있습니다. 주의: 어댑터를 교체하지 않고 아예 뺄 의도가 아니면 핫 플러그 작업에서 rmdev 명령에-d플래그를 쓰지 않습니다.
관련 작업
- ATM 어댑터 구성 해제 — 어댑터를 빼기 전에 LAN 에뮬레이션 장치를 모두 구성 해제해야 합니다.
WAN 어댑터 구성 해제
WAN 어댑터의 구성을 해제할 수 있습니다.
WAN 어댑터의 구성을 해제하려면 다음을 합니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.다음 예처럼 알맞은 SMIT 명령을 입력해 설치된 어댑터를 나열하고 시스템 장치의 모든 장치의 현재 상태를 표시합니다.
smit 331121b9_ls— 2포트 다중 프로토콜 WAN 어댑터 나열smit riciophx_ls— ARTIC WAN 어댑터 나열
어댑터 형식마다 다음 이름 규칙을 씁니다.
- dpmpa — 2포트 다중 프로토콜 어댑터
- riciop — ARTIC960 어댑터
lsdev -C -c port를 입력해 호스트의 X.25 포트를 나열합니다. 다음과 비슷한 메시지가 표시됩니다.
sx25a0 Available 00-05-01-00 X.25 Port
x25s0 Available 00-05-01-00-00 V.3 X.25 Emulator
- 구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다.
응용 프로그램을 닫고, 이 절차를 계속하려면 시스템의 네트워크 덤프 위치를 꺼야 합니다. 네트워크 덤프 위치를 찾아 끄려면 다음을 합니다.
- 명령행에 다음을 입력합니다.
smit dump
- Show Current Dump Devices를 고릅니다. 3. 구성된 덤프 장치 가운데 네트워크 위치를 보이는 것이 있는지 확인합니다. 없으면 SMIT를 나가 다음 단계로 갑니다. 덤프 장치를 로컬 위치로 바꾸려면 Cancel을 고르거나 F3을 누르고 다음 단계를 계속합니다. 4. 1차 덤프 장치가 네트워크 위치를 보이면 Change the Primary Dump Device를 고르고 Primary dump device 필드에 로컬 위치를 입력해 바꿉니다. 5. 2차 덤프 장치가 네트워크 위치를 보이면 Change the Secondary Dump Device를 고르고 Secondary dump device 필드에 로컬 위치를 입력해 바꿉니다. 6. 마치면 OK를 누르거나 Enter를 누릅니다.
- 다음 명령으로 이 어댑터의 장치 드라이버와 에뮬레이터 포트를 구성 해제하고 지웁니다.
smit rmhdlcdpmpdd— 장치 구성 해제smit rmsdlcscied— SDLC COMIO 에뮬레이터 구성 해제smit rmtsdd— 장치 드라이버 구성 해제smit rmtsdports— MPQP COMIO 에뮬레이션 포트 제거
IBM 4포트 10/100 Base-TX 이더넷 PCI 어댑터 구성 해제
4포트 10/100 Base-TX 이더넷 PCI 어댑터에는 이더넷 포트가 넷 있으며, 어댑터를 빼기 전에 포트마다 구성을 해제해야 합니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.smit lsdenet을 입력해 PCI 서브클래스의 모든 장치를 나열합니다. 다음과 비슷한 메시지가 표시됩니다.
ent1 Available 1N-00 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 1)
ent2 Available 1N-08 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 2)
ent3 Available 1N-10 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 3)
ent4 Available 1N-18 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 4)
- 구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다.
응용 프로그램을 닫고, 이 절차를 계속하려면 시스템의 네트워크 덤프 위치를 꺼야 합니다. 네트워크 덤프 위치를 찾아 끄려면 다음을 합니다.
- 명령행에 다음을 입력합니다.
smit dump
- Show Current Dump Devices를 고릅니다. 3. 구성된 덤프 장치 가운데 네트워크 위치를 보이는 것이 있는지 확인합니다. 없으면 SMIT를 나가 다음 단계로 갑니다. 덤프 장치를 로컬 위치로 바꾸려면 Cancel을 고르거나 F3을 누르고 다음 단계를 계속합니다. 4. 1차 덤프 장치가 네트워크 위치를 보이면 Change the Primary Dump Device를 고르고 Primary dump device 필드에 로컬 위치를 입력해 바꿉니다. 5. 2차 덤프 장치가 네트워크 위치를 보이면 Change the Secondary Dump Device를 고르고 Secondary dump device 필드에 로컬 위치를 입력해 바꿉니다. 6. 마치면 OK를 누르거나 Enter를 누릅니다.
netstat -i를 입력해 구성된 모든 인터페이스 목록을 표시하고 어댑터가 TCP/IP용으로 구성됐는지 확인합니다. 다음과 비슷한 출력이 나옵니다.
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16896 link#1 076 0 118 0 0
lo0 16896 127 127.0.0.1 076 0 118 0 0
lo0 16896 ::1 076 0 118 0 0
tr0 1492 link#2 8.0.5a.b8.b.ec 151 0 405 11 0
tr0 1492 19.13.97 19.13.97.106 151 0 405 11 0
at0 9180 link#3 0.4.ac.ad.e0.ad 0 0 0 0 0
at0 9180 6.6.6 6.6.6.5 0 0 0 0 0
en0 1500 link#5 0.11.0.66.11.1 212 0 1 0 0
en0 1500 8.8.8 8.8.8.106 212 0 1 0 0
이더넷 어댑터에는 인터페이스가 둘 있을 수 있습니다. 예를 들어 et0과 en0입니다.
5. ifconfig 명령으로 네트워크 인터페이스 목록에서 인터페이스를 하나씩 지웁니다. 예를 들어 표준 이더넷 인터페이스를 지우려면 ifconfig en0 detach를, IEEE 802.3 인터페이스를 지우려면 ifconfig et0 detach를 입력합니다.
6. rmdev 명령으로 어댑터 구성을 해제하고 장치 정의는 Customized Devices 객체 클래스에 남깁니다. 예: rmdev -l ent0
참고: 어댑터 구성을 해제하고 Customized Devices 객체 클래스의 장치 정의도 지우려면 rmdev 명령에 -d 플래그를 쓸 수 있습니다. 주의: 어댑터를 교체하지 않고 아예 뺄 의도가 아니면 핫 플러그 작업에서 rmdev 명령에 -d 플래그를 쓰지 않습니다.
ATM 어댑터 구성 해제
어댑터를 빼기 전에 LAN 에뮬레이션 장치를 모두 구성 해제해야 합니다.
ATM 어댑터 위에서 Classic IP와 LAN 에뮬레이션 프로토콜을 실행할 수 있습니다. LAN 에뮬레이션 프로토콜은 ATM 네트워크 위에 에뮬레이션 LAN을 구현하게 합니다. 에뮬레이션 LAN은 이더넷/IEEE 802.3, 토큰링/IEEE 802.5, MPOA(MultiProtocol Over ATM)일 수 있습니다.
LAN 인터페이스를 지우려면 다음을 합니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.smit ls_atm을 입력해 모든 ATM 어댑터를 나열합니다. 다음과 비슷한 메시지가 표시됩니다.
.
.
atm0 Available 04-04 IBM PCI 155 Mbps ATM Adapter (14107c00)
atm1 Available 04-06 IBM PCI 155 Mbps ATM Adapter (14104e00)
smit listall_atmle을 입력해 어댑터의 모든 LAN 에뮬레이션 클라이언트를 나열합니다. 다음과 비슷한 메시지가 표시됩니다.
ent1 Available ATM LAN Emulation Client (Ethernet)
ent2 Available ATM LAN Emulation Client (Ethernet)
ent3 Available ATM LAN Emulation Client (Ethernet)
tok1 Available ATM LAN Emulation Client (Token Ring)
tok2 Available ATM LAN Emulation Client (Token Ring)
모든 ATM 어댑터에서 에뮬레이션 클라이언트가 여럿 실행될 수 있습니다.
4. smit listall_mpoa를 입력해 어댑터의 모든 LAN 에뮬레이션 클라이언트를 나열합니다. 다음과 비슷한 메시지가 표시됩니다.
mpc0 Available ATM LAN Emulation MPOA Client
atm0과 atm1은 물리 ATM 어댑터입니다. mpc0은 MPOA 에뮬레이션 클라이언트입니다. ent1, ent2, ent3, tok1, tok2는 LAN 에뮬레이션 클라이언트입니다.
5. entstat를 입력해 클라이언트가 어느 어댑터에서 실행 중인지 알아냅니다. 다음과 비슷한 메시지가 표시됩니다.
-------------------------------------------------------------
ETHERNET STATISTICS (ent1) :
Device Type: ATM LAN EmulationATM Hardware Address: 00:04:ac:ad:e0:ad
.
.
.
ATM LAN Emulation Specific Statistics:
--------------------------------------
Emulated LAN Name: ETHelan3
Local ATM Device Name: atm0
Local LAN MAC Address:
.
.
- 구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다.
응용 프로그램을 닫고, 이 절차를 계속하려면 시스템의 네트워크 덤프 위치를 꺼야 합니다. 네트워크 덤프 위치를 찾아 끄려면 다음을 합니다.
- 명령행에 다음을 입력합니다.
smit dump
- Show Current Dump Devices를 고릅니다. 3. 구성된 덤프 장치 가운데 네트워크 위치를 보이는 것이 있는지 확인합니다. 없으면 SMIT를 나가 다음 단계로 갑니다. 덤프 장치를 로컬 위치로 바꾸려면 Cancel을 고르거나 F3을 누르고 다음 단계를 계속합니다. 4. 1차 덤프 장치가 네트워크 위치를 보이면 Change the Primary Dump Device를 고르고 Primary dump device 필드에 로컬 위치를 입력해 바꿉니다. 5. 2차 덤프 장치가 네트워크 위치를 보이면 Change the Secondary Dump Device를 고르고 Secondary dump device 필드에 로컬 위치를 입력해 바꿉니다. 6. 마치면 OK를 누르거나 Enter를 누릅니다.
- rmdev -l device 명령으로 다음 순서대로 인터페이스 구성을 해제합니다.
- 에뮬레이션 인터페이스 = en1, et1, en2, et2, tr1, tr2 ...
- 에뮬레이션 인터페이스 = ent1, ent2, tok1, tok2 ...
- MPOA(Multiprotocol Over ATM) = mpc0
- ATM 어댑터 = atm0
- SCSI 어댑터
scsi1과 그 모든 자식의 장치 정의를 Customized Devices 객체 클래스에 남긴 채 구성을 해제하려면 다음을 입력합니다.
rmdev -R scsi1
시스템은 다음과 비슷한 메시지를 표시합니다.
rmt0 Defined
hdisk1 Defined
scsi1 Defined
- 어댑터 자체는 빼고 SCSI 어댑터
scsi1의 자식만 장치 정의를 Customized Devices 객체 클래스에 남긴 채 구성을 해제하려면 다음을 입력합니다.
rmdev -p scsi1
시스템은 다음과 비슷한 메시지를 표시합니다.
rmt0 Defined
hdisk1 Defined
- PCI 버스
pci1의 자식과 그 아래 모든 장치의 장치 정의를 Customized Devices 객체 클래스에 남긴 채 구성을 해제하려면 다음을 입력합니다.
rmdev -p pci1
시스템은 다음과 비슷한 메시지를 표시합니다.
rmt0 Defined
hdisk1 Defined
scsi1 Defined
ent0 Defined
관련 작업
- 이더넷, 토큰링, FDDI, ATM 어댑터 구성 해제
영어 원문
Communications adapter removal
Before you can remove or replace a hot-plug adapter, you must unconfigure that adapter.
Unconfiguring a communications adapter involves the following tasks:
Closing all applications that are using the adapter you are removing or replacing
Ensuring that all devices connected to the adapter are identified and stopped
Listing all slots that are currently in use or a slot that is occupied by a specific adapter
Identifying the adapter's slot location
Displaying and removing interface information from the network interface list
Making the adapter unavailable
To unconfigure communications adapters with the following procedures you must log in as root:
Related concepts
PCI hot plug management You can insert a new PCI hot plug adapter into an available PCI slot while the operating system is running.
Related tasks
Unconfiguring PCI communications adapters The following is an overview of the process for unconfiguring PCI communications adapters. This includes Ethernet, Token-ring, FDDI, and ATM adapters. Removing or replacing a PCI hot plug adapter You can remove or replace a PCI hot plug adapter from the system unit without shutting down the operating system or turning off the system power. Removing an adapter makes the resources provided by that adapter unavailable to the operating system and applications.
Unconfiguring Ethernet, Token-ring, FDDI, and ATM adapters
To unconfigure an Ethernet, Token-ring, FDDI, or ATM Adapter, perform the following steps:
Type
lsslot -c pcito list all the hot-plug slots in the system unit and display their characteristics.Type the appropriate SMIT command, shown in the following examples, to list installed adapters and show the current state of all the devices in the system unit:
- smit lsdenet — To list Ethernet adapters
- smit lsdtok — To list token-ring adapters
- smit
ls_atm— To list ATM adapters
The following naming convention is used for the different type of adapters:
- atm0, atm1, ... — ATM adapter
- ent0, ent1, ... — Ethernet adapter
- tok0, tok1, ... — Token Ring adapter
- Close all applications that are using the adapter you are unconfiguring. To continue with this procedure, network dump locations must be disabled on the system. To look for and disable network dump locations, do the following: a. Type the following from a command line:
smit dump
- Select Show Current Dump Devices. c. Check whether any configured dump device shows a network location. If not, exit SMIT and you are ready for step 4. To change a dump device to a local location, select Cancel or press F3 and continue with the following step. d. If the primary dump device shows a network location, change to a local location by selecting Change the Primary Dump Device and then enter the local location in the Primary dump device field. e. If the secondary dump device shows a network location, change to a local location by selecting Change the Secondary Dump Device and then enter the local location in the Secondary dump device field. f. When finished, click OK or press Enter.
- Type
netstat -ito display a list of all configured interfaces and determine whether your adapter is configured for TCP/IP. Output similar to the following displays:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16896 link#1 076 0 118 0 0
lo0 16896 127 127.0.0.1 076 0 118 0 0
lo0 16896 ::1 076 0 118 0 0
tr0 1492 link#2 8.0.5a.b8.b.ec 151 0 405 11 0
tr0 1492 19.13.97 19.13.97.106 151 0 405 11 0
at0 9180 link#3 0.4.ac.ad.e0.ad 0 0 0 0 0
at0 9180 6.6.6 6.6.6.5 0 0 0 0 0
en0 1500 link#5 0.11.0.66.11.1 212 0 1 0 0
en0 1500 8.8.8 8.8.8.106 212 0 1 0 0
Token-ring adapters can have only one interface. Ethernet adapters can have two interfaces. ATM adapters can have multiple interfaces.
- Type the appropriate ifconfig command, shown in the following examples, to remove the interface from the network interface list.
ifconfig en0 detach— To remove the standard Ethernet interfaceifconfig et0 detach— To remove the IEEE 802.3 Ethernet interfaceifconfig tr0 detach— To remove a token-ring interfaceifconfig at0 detach— To remove an ATM interface
- Type the appropriate rmdev command, shown in the following examples, to unconfigure the adapter and keep its device definition in the Customized Devices Object Class:
rmdev -l ent0— To unconfigure an Ethernet adapterrmdev -l tok1— To unconfigure a token-ring adapterrmdev -l atm1— To unconfigure an ATM adapterrmdev -p pci1— To unconfigure the children of a PCI bus and all other devices under them while retaining their device definitions in the Customized Devices object class.- Note: To unconfigure the adapter and remove the device definition in the Customized Devices object
class, you can use the rmdev command with the -d flag. Attention: Do not use the -d flag with the rmdev command for a hot-plug operation unless your intent is to remove the adapter and not replace it.
Related tasks
Unconfiguring ATM adapters You must unconfigure each LAN-emulated device before you can remove the adapter.
Unconfiguring WAN adapters
You can unconfigure a WAN adapter.
To unconfigure a WAN Adapter:
Type
lsslot -c pcito list all the hot-plug slots in the system unit and display their characteristics.Type the appropriate SMIT command, shown in the following examples, to list installed adapters and show the current state of all the devices in the system unit:
smit 331121b9_ls— To list 2-Port Multiprotocol WAN adapterssmit riciophx_ls— To list ARTIC WAN adapters
The following naming convention is used for the different type of adapters:
- dpmpa — 2-Port Multiprotocol Adapter
- riciop — ARTIC960 Adapter
- Type
lsdev -C -c portto list X.25 ports on your host. A message similar to the following displays:
sx25a0 Available 00-05-01-00 X.25 Port
x25s0 Available 00-05-01-00-00 V.3 X.25 Emulator
- Close all applications that are using the adapter you are unconfiguring. To continue with this procedure, network dump locations must be disabled on the system. To look for and disable network dump locations, do the following: a. Type the following from a command line:
smit dump
Select Show Current Dump Devices. c. Check whether any configured dump device shows a network location. If not, exit SMIT and you are ready for step 5 below. To change a dump device to a local location, select Cancel or press F3 and continue with the following step. d. If the primary dump device shows a network location, change to a local location by selecting Change the Primary Dump Device and then enter the local location in the Primary dump device field. e. If the secondary dump device shows a network location, change to a local location by selectingChange the Secondary Dump Device and then enter the local location in the Secondary dump device field.
When finished, click OK or press Enter.
- Use the commands in the following table to unconfigure and remove the device drivers and emulator ports for these adapters:
smit rmhdlcdpmpdd— To unconfigure the devicesmit rmsdlcscied— To unconfigure the SDLC COMIO emulatorsmit rmtsdd— To unconfigure the device driversmit rmtsdports— To remove an MPQP COMIO emulation port- Unconfiguring IBM 4-Port 10/100 Base-TX Ethernet PCI adapters:
The 4-Port 10/100 Base-TX Ethernet PCI adapter has four ethernet ports and each port must be unconfigured before you can remove the adapter.
Type
lsslot -c pcito list all the hot-plug slots in the system unit and display their characteristics.Type
smit lsdenetto list all the devices in the PCI subclass. A message similiar to the following displays:
ent1 Available 1N-00 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 1)
ent2 Available 1N-08 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 2)
ent3 Available 1N-10 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 3)
ent4 Available 1N-18 IBM 4-Port 10/100 Base-TX Ethernet PCI Adapter (23100020) (Port 4)
- Close all applications that are using the adapter you are unconfiguring. To continue with this procedure, network dump locations must be disabled on the system. To look for and disable network dump locations, do the following: a. Type the following from a command line:
smit dump
- Select Show Current Dump Devices. c. Check whether any configured dump device shows a network location. If not, exit SMIT and you are ready for step 4. To change a dump device to a local location, select Cancel or press F3 and continue with the following step. d. If the primary dump device shows a network location, change to a local location by selecting Change the Primary Dump Device and then enter the local location in the Primary dump device field. e. If the secondary dump device shows a network location, change to a local location by selectingChange the Secondary Dump Device and then enter the local location in the Secondary dump device field. f. When finished, click OK or press Enter.
- Type
netstat -ito display a list of all configured interfaces and determine whether your adapter is configured for TCP/IP. Output similar to the following displays:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16896 link#1 076 0 118 0 0
lo0 16896 127 127.0.0.1 076 0 118 0 0
lo0 16896 ::1 076 0 118 0 0
tr0 1492 link#2 8.0.5a.b8.b.ec 151 0 405 11 0
tr0 1492 19.13.97 19.13.97.106 151 0 405 11 0
at0 9180 link#3 0.4.ac.ad.e0.ad 0 0 0 0 0
at0 9180 6.6.6 6.6.6.5 0 0 0 0 0
en0 1500 link#5 0.11.0.66.11.1 212 0 1 0 0
en0 1500 8.8.8 8.8.8.106 212 0 1 0 0
Ethernet adapters can have two interfaces, for example, et0 and en0.
Use the ifconfig command to remove each interface from the network interface list. For example, type
iconfig en0 detachto remove the standard Ethernet interface, and typeiconfig et0to remove the IEEE 802.3 interface.Use the rmdev command to unconfigure the adapter amd retain its device definition in the Customized Devices Object Class. For example,
rmdev -l ent0.
Note: To unconfigure the adapter and remove the device definition in the Customized Devices object class, you can use the rmdev command with the -d flag. Attention: Do not use the -d flag with the rmdev command for a hot-plug operation unless your intent is to remove the adapter and not replace it.
Unconfiguring ATM adapters
You must unconfigure each LAN-emulated device before you can remove the adapter.
Classic IP and LAN emulation protocols can run over ATM adapters. LAN emulation protocol enables the implementation of emulated LANs over an ATM network. Emulated LANs can be Ethernet/IEEE 802.3, Token-ring/IEEE 802.5, and MPOA (MultiProtocol Over ATM).
To remove a LAN interface, do the following:
Type
lsslot -c pcito list all the hot-plug slots in the system unit and display their characteristics.Type
smit ls_atmto list all the ATM adapters. A message similiar to the following displays:
.
.
atm0 Available 04-04 IBM PCI 155 Mbps ATM Adapter (14107c00)
atm1 Available 04-06 IBM PCI 155 Mbps ATM Adapter (14104e00)
- Type
smit listall_atmleto list all the LAN-emulated clients on the adapters. A message similiar to the following displays:
ent1 Available ATM LAN Emulation Client (Ethernet)
ent2 Available ATM LAN Emulation Client (Ethernet)
ent3 Available ATM LAN Emulation Client (Ethernet)
tok1 Available ATM LAN Emulation Client (Token Ring)
tok2 Available ATM LAN Emulation Client (Token Ring)
All ATM adapters can have multiple emulated clients running on them.
- Type
smit listall_mpoato list all the LAN-emulated clients on the adapters. A message similar to the following displays:
mpc0 Available ATM LAN Emulation MPOA Client
atm0 and atm1 are the physical ATM adapters. mpc0 is an MPOA-emulated client. ent1, ent2, ent3, tok1, and tok2 are LAN-emulated clients.
- Type
entstatto determine on which adapter the client is running. A message similiar to the following displays:
(13줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
- Close all applications that are using the adapter you are unconfiguring. To continue with this procedure, network dump locations must be disabled on the system. To look for and disable network dump locations, do the following: a. Type the following from a command line:
smit dump
- Select Show Current Dump Devices. c. Check whether any configured dump device shows a network location. If not, exit SMIT and you are ready for step 7. To change a dump device to a local location, select Cancel or press F3 and continue with the following step. d. If the primary dump device shows a network location, change to a local location by selecting Change the Primary Dump Device and then enter the local location in the Primary dump device field. e. If the secondary dump device shows a network location, change to a local location by selectingChange the Secondary Dump Device and then enter the local location in the Secondary dump device field. f. When finished, click OK or press Enter.
- Use the rmdev -l device command to unconfigure the interfaces in the following order:
Emulated interface = en1, et1, en2, et2, tr1, tr2 ...
Emulated interface = ent1, ent2, tok1, tok2 ...
Multiprotocol Over ATM (MPOA) = mpc0
ATM adapter = atm0
- To unconfigure the SCSI adapter
scsi1and all of its children while retaining their device definitions in the Customized Devices object class, type:
rmdev -R scsi1
The system displays a message similar to the following:
rmt0 Defined
hdisk1 Defined
scsi1 Defined
- To unconfigure just the children of the SCSI adapter
scsi1, but not the adapter itself, while retaining their device definitions in the Customized Devices object class, type:
rmdev -p scsi1
The system displays a message similar to the following:
rmt0 Defined
hdisk1 Defined
- To unconfigure the children of PCI bus
pci1and all other devices under them while retaining their device definitions in the Customized Devices object class, type:
rmdev -p pci1
The system displays a message similar to the following:
rmt0 Defined
hdisk1 Defined
scsi1 Defined
ent0 Defined
Related tasks
Unconfiguring Ethernet, Token-ring, FDDI, and ATM adapters To unconfigure an Ethernet, Token-ring, FDDI, or ATM Adapter, perform the following steps:
저장 어댑터 구성 해제
저장 어댑터를 빼거나 바꾸려면 먼저 그 어댑터의 구성을 해제해야 합니다.
이 작업을 하려면 root 사용자로 로그인해야 합니다.
다음 단계는 SCSI와 파이버 채널 저장 어댑터의 구성을 해제합니다.
저장 어댑터 구성 해제에는 다음 작업이 포함됩니다.
- 빼거나 바꾸거나 옮길 어댑터를 쓰는 모든 응용 프로그램 닫기
- 파일 시스템 마운트 해제
- 어댑터에 연결된 모든 장치를 식별하고 멈추기
- 지금 쓰고 있는 모든 슬롯이나 특정 어댑터가 차지한 슬롯 나열
- 어댑터의 슬롯 위치 식별
- 부모와 자식 장치를 쓸 수 없게 만들기
- 어댑터를 쓸 수 없게 만들기
SCSI와 파이버 채널 어댑터 구성 해제
저장 어댑터는 보통 디스크나 테이프 드라이브 같은 매체 장치의 부모 장치입니다. 부모를 지우려면 붙은 모든 자식 장치를 지우거나 Defined 상태로 두어야 합니다.
SCSI와 파이버 채널 어댑터의 구성을 해제하려면 다음 단계를 따릅니다.
- 구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.lsdev -C를 입력해 시스템 장치의 모든 장치의 현재 상태를 나열합니다.umount를 입력해 이 어댑터를 쓰는, 앞서 마운트한 파일 시스템, 디렉터리, 파일을 마운트 해제합니다. 자세한 내용은 JFS나 JFS2 마운트를 봅니다.rmdev -l adapter -R을 입력해 어댑터를 쓸 수 없게 만듭니다. 주의: 핫 플러그 작업에서 rmdev 명령에-d플래그를 쓰면 구성이 지워지므로 쓰지 않습니다.
관련 개념
- PCI 핫 플러그 관리 — 운영 체제가 실행 중일 때 쓸 수 있는 PCI 슬롯에 새 PCI 핫 플러그 어댑터를 넣을 수 있습니다.
관련 작업
- PCI 핫 플러그 어댑터 제거와 교체 — 운영 체제를 종료하거나 시스템 전원을 끄지 않고 PCI 핫 플러그 어댑터를 빼거나 바꿀 수 있습니다.
영어 원문
Unconfiguring storage adapters
Before you can remove or replace a storage adapter, you must unconfigure that adapter.
To perform these tasks, you must log in as root user.
The following steps unconfigure SCSI and Fibre Channel storage adapters.
Unconfiguring a storage adapter involves the following tasks:
Closing all applications that are using the adapter you are removing, replacing, or moving
Unmounting file systems
Ensuring that all devices connected to the adapter are identified and stopped
Listing all slots that are currently in use or a slot that is occupied by a specific adapter
Identifying the adapter's slot location
Making parent and child devices unavailable
Making the adapter unavailable
Unconfiguring SCSI and Fibre Channel adapters
Storage adapters are generally parent devices to media devices, such as disk or tape drives. Removing the parent requires that all attached child devices either be removed or placed in the define state.
To unconfigure SCSI and Fibre Channel adapters, perform the following steps:
Close all applications that are using the adapter you are unconfiguring.
Type
lsslot-c pcito list all the hot plug slots in the system unit and display their characteristics.Type
lsdev -Cto list the current state of all the devices in the system unit.Type
umountto unmount previously mounted file systems, directories, or files using this adapter. For additional information, see Mount a JFS or JFS2.Type
rmdev -l adapter -Rto make the adapter unavailable. Attention: Do not use the-dflag with the rmdev command for hot plug operations because this will cause your configuration to be removed.
Related concepts
PCI hot plug management You can insert a new PCI hot plug adapter into an available PCI slot while the operating system is running.
Related tasks
Removing or replacing a PCI hot plug adapter You can remove or replace a PCI hot plug adapter from the system unit without shutting down the operating system or turning off the system power. Removing an adapter makes the resources provided by that adapter unavailable to the operating system and applications.
비동기 어댑터 구성 해제
비동기 어댑터의 구성을 해제할 수 있습니다.
이 작업을 하려면 root 사용자로 로그인해야 합니다.
다음은 비동기 어댑터 구성 해제 단계입니다.
비동기 어댑터를 빼거나 바꾸려면 먼저 그 어댑터의 구성을 해제해야 합니다. 비동기 어댑터 구성 해제에는 다음 작업이 포함됩니다.
- 빼거나 바꾸거나 옮길 어댑터를 쓰는 모든 응용 프로그램 닫기
- 어댑터에 연결된 모든 장치를 식별하고 멈추기
- 지금 쓰고 있는 모든 슬롯이나 특정 어댑터가 차지한 슬롯 나열
- 어댑터의 슬롯 위치 식별
- 부모와 자식 장치를 쓸 수 없게 만들기
- 어댑터를 쓸 수 없게 만들기
절차
비동기 어댑터를 바꾸거나 빼려면 먼저 어댑터와 그 어댑터가 제어하는 모든 장치의 구성을 해제해야 합니다. 장치 구성을 해제하려면 그 장치를 쓰는 모든 프로세스를 끝내야 합니다. 다음 단계를 따릅니다.
- 구성을 해제할 어댑터를 쓰는 응용 프로그램을 모두 닫습니다.
lsslot -c pci를 입력해 시스템 장치의 모든 핫 플러그 슬롯을 나열하고 특성을 표시합니다.lsdev -C -c tty를 입력해 쓸 수 있는 모든 tty 장치와 시스템 장치의 모든 장치의 현재 상태를 나열합니다.lsdev -C -c printer를 입력해 어댑터에 연결된 모든 프린터와 플로터 장치를 나열합니다.- rmdev 명령으로 어댑터를 쓸 수 없게 만듭니다. 주의: 핫 플러그 작업에서 rmdev 명령에
-d플래그를 쓰면 구성이 지워지므로 쓰지 않습니다.
관련 개념
- PCI 핫 플러그 관리 — 운영 체제가 실행 중일 때 쓸 수 있는 PCI 슬롯에 새 PCI 핫 플러그 어댑터를 넣을 수 있습니다.
- 장치 상태 — 시스템에 연결된 장치는 네 상태 가운데 하나일 수 있습니다.
관련 작업
- PCI 핫 플러그 어댑터 제거와 교체
관련 정보
- 인쇄 관리
영어 원문
Unconfiguring async adapters
You can unconfigure an async adapter.
To perform these tasks, you must log in as root user.
The following are the steps for unconfiguring async adapters.
Before you can remove or replace an async adapter, you must unconfigure that adapter. Unconfiguring an async adapter involves the following tasks:
Closing all applications that are using the adapter you are removing, replacing, or moving
Ensuring that all devices connected to the adapter are identified and stopped
Listing all slots that are currently in use or a slot that is occupied by a specific adapter
Identifying the adapter's slot location
Making parent and child devices unavailable
Making the adapter unavailable
Procedure
Before you can replace or remove an async adapter, you must unconfigure the adapter and all the devices controlled by that adapter. To unconfigure the devices, you must terminate all the processes using those devices. Use the following steps:
Close all applications that are using the adapter you are unconfiguring.
Type
lsslot-c pcito list all the hot plug slots in the system unit and display their characteristics.Type
lsdev -C -c ttyto list all available tty devices and the current state of all the devices in the system unit.Type
lsdev -C -c printerto list all printer and plotter devices connected to the adapter.Use the rmdev command to make the adapter unavailable. Attention: Do not use the
-dflag with the rmdev command for hot plug operations because this will cause your configuration to be removed.
Related concepts
PCI hot plug management You can insert a new PCI hot plug adapter into an available PCI slot while the operating system is running. Device states Devices that are connected to the system can be in one of four states.
Related tasks
Removing or replacing a PCI hot plug adapter You can remove or replace a PCI hot plug adapter from the system unit without shutting down the operating system or turning off the system power. Removing an adapter makes the resources provided by that adapter unavailable to the operating system and applications.
Related information
Printing administration
I/O 장치 문제 해결
장치 문제의 원인을 알아낼 수 있습니다.
장치 소프트웨어 점검
다음으로 장치 소프트웨어 문제를 바로잡습니다.
- 오류 로그 확인
- 모든 장치 나열
- 장치 상태 확인
- 장치 속성 확인
- 장치 속성 변경
- 다른 응용 프로그램으로 장치 사용
- 새 장치 정의
오류 로그 확인
장치, 그 어댑터, 장치를 쓰는 응용 프로그램에 기록된 오류가 있는지 오류 로그를 확인합니다. 이 확인 방법은 오류 기록 기능(Error Logging Facility)을 봅니다. 절차를 마친 뒤 이 단계로 돌아옵니다.
장치 문제를 바로잡았습니까?
앞의 방법으로 문제를 바로잡지 못했으면 다음 단계(장치 나열)로 가서 모든 장치를 나열합니다.
장치 나열
lsdev -C 명령으로 정의되거나 쓸 수 있는 모든 장치를 나열합니다. 이 명령은 시스템의 모든 장치의 특성을 보여 줍니다.
장치가 목록에 있으면 다음 단계(장치 상태 확인)로 가서 장치 상태를 확인합니다.
장치가 목록에 없으면 새 장치를 정의합니다(아래 새 장치 정의 참조).
장치 상태 확인
lsdev -C 명령이 만든 목록에서 장치를 찾습니다. 장치가 Available 상태인지 확인합니다.
장치가 Available 상태이면 다음 단계(장치 속성 확인)로 가서 장치 속성을 확인합니다.
장치가 Available 상태가 아니면 새 장치를 정의합니다(아래 새 장치 정의 참조).
장치 속성 확인
lsattr -E -l DeviceName 명령으로 장치 속성을 나열합니다.
lsattr 명령은 시스템 장치의 속성 특성과 가능한 속성 값을 보여 줍니다. 올바른 설정은 해당 장치 문서를 봅니다.
장치 속성이 올바르게 설정돼 있으면 아래 다른 응용 프로그램으로 장치 사용을 봅니다.
장치 속성이 올바르게 설정돼 있지 않으면 다음 단계, 장치 속성 변경으로 갑니다.
장치 속성 변경
chdev -l Name -a Attribute=Value 명령으로 장치 속성을 바꿉니다. 이 명령을 실행하기 전에 Commands Reference, Volume 1을 봅니다.
chdev 명령은 -l Name 플래그로 지정한 장치의 특성을 바꿉니다.
속성을 바꿔도 장치 문제가 바로잡히지 않으면 다음 단계, 다른 응용 프로그램으로 장치 사용으로 갑니다.
다른 응용 프로그램으로 장치 사용
다른 응용 프로그램으로 장치를 써 봅니다. 다른 응용 프로그램에서 장치가 바르게 동작하면 처음 응용 프로그램에 문제가 있을 수 있습니다.
다른 응용 프로그램에서 장치가 바르게 동작했으면 처음 응용 프로그램에 문제가 있을 수 있습니다. 소프트웨어 서비스 담당자에게 문제를 알립니다.
다른 응용 프로그램에서도 장치가 바르게 동작하지 않았으면 다음 단계, 새 장치 정의로 갑니다.
새 장치 정의
참고: mkdev 명령을 쓰려면 root 사용자 권한이 있거나 security 그룹 구성원이어야 합니다.
mkdev 명령으로 시스템에 장치를 더합니다.
mkdev 명령은 새 장치를 정의하고 쓸 수 있게 하거나, 이미 정의된 장치를 쓸 수 있게 할 수 있습니다. -c, -s, -t 플래그를 어떻게 조합하든 사전 정의 장치를 고유하게 식별할 수 있습니다. 이 명령을 실행하기 전에 Commands Reference, Volume 3을 봅니다.
장치를 정의해도 문제가 바로잡히지 않으면 멈추고 서비스 담당자에게 문제를 알리거나, 진단 프로그램으로 장치를 시험할 수 있습니다.
장치 연결 확인
장치 연결을 확인하려면 다음 단계를 따릅니다.
- 전기 콘센트에 전원이 들어오는지 확인합니다.
- 장치 전원 케이블이 장치와 전기 콘센트에 바르게 연결됐는지 확인합니다.
- 장치 신호 케이블이 장치와 시스템 장치의 올바른 연결부에 바르게 연결됐는지 확인합니다.
- SCSI 장치는 SCSI 종단기가 바르게 붙어 있고 SCSI 주소 설정이 올바른지 확인합니다.
- 통신 장치는 장치가 통신 회선에 바르게 연결됐는지 확인합니다.
- 장치 전원이 켜져 있는지 확인합니다.
케이블 연결과 구성 절차, 더 많은 문제 해결 정보는 해당 장치 문서를 봅니다.
이 단계로 문제가 바로잡히지 않으면 다음 단계로 갑니다.
어댑터 제거 문제 해결
rmdev 명령으로 어댑터 구성을 해제할 때 장치가 열려 있으면 오류 메시지를 받을 수 있습니다.
rmdev 명령으로 어댑터 구성을 해제할 때 다음 같은 메시지가 표시되면 장치가 열려 있다는 뜻이며, 빼거나 바꾸려는 어댑터에 응용 프로그램이 아직 접근하려 하기 때문일 수 있습니다.
#rmdev -l ent0
Method error (/usr/lib/methods/ucfgent):
0514-062
Cannot perform the requested function because the
specified device is busy.
문제를 해결하려면 아직 어댑터를 쓰는 응용 프로그램을 찾아 닫아야 합니다. 이런 응용 프로그램은 다음과 같을 수 있습니다.
- TCP/IP
- SNA
- OSI
- IPX/SPX
- Novell NetWare
- Streams
- GDLC(generic data link control)
- IEEE 이더넷 DLC
- 토큰링 DLC
- FDDI DLC
SNA(Systems Network Architecture) 응용 프로그램
어댑터를 쓰고 있을 수 있는 SNA 응용 프로그램은 다음과 같습니다.
- DB2
- TXSeries(CICS와 Encina)
- DirectTalk
- MQSeries
- HCON
- ADSM
Streams 응용 프로그램
어댑터를 쓰고 있을 수 있는 Streams 기반 응용 프로그램은 다음과 같습니다.
- IPX/SPX
- Novell NetWare V4와 Novell NetWare Services 4.1
- 이 운영 체제용 Connections와 NetBios
WAN 어댑터에서 실행되는 응용 프로그램
WAN 어댑터를 쓰고 있을 수 있는 응용 프로그램은 다음과 같습니다.
- SDLC
- Bisync
- X.25
- ISDN
- X.25용 QLLC
TCP/IP 응용 프로그램
인터페이스 계층을 쓰는 모든 TCP/IP 응용 프로그램은 ifconfig 명령으로 분리할 수 있습니다. 그러면 TCP/IP를 쓰는 응용 프로그램은 시간 초과가 나고 사용자에게 인터페이스가 내려갔다고 경고합니다. 어댑터를 더하거나 바꾼 뒤 ifconfig 명령으로 인터페이스를 붙이면 응용 프로그램이 재개됩니다.
장치 준비 상태 확인
장치가 준비 상태인지 확인할 수 있습니다.
장치가 준비 상태인지 알아보려면 다음을 합니다.
- 장치의 Ready 표시등이 켜져 있는지 확인합니다.
- 테이프, 디스켓, 광 장치 같은 이동식 매체가 바르게 들어 있는지 확인합니다.
- 프린터와 플로터는 리본, 용지, 토너를 확인합니다.
- 장치에 쓰려고 하면 쓰기 매체가 쓰기 가능 상태인지 확인합니다.
확인으로 장치 문제가 바로잡혔습니까? 장치 준비 상태를 확인해도 문제가 바로잡히지 않으면 다음 단계로 갑니다.
장치 진단
장치에 결함이 있는지 알아보려면 하드웨어 진단을 실행합니다.
하드웨어 진단으로 장치 문제를 찾지 못하면 장치 소프트웨어를 확인합니다. 장치가 진단 시험을 통과하면 장치가 시스템 소프트웨어와 동작하는 방식에 문제가 있을 수 있습니다. 그런 문제가 있을 수 있으면 소프트웨어 서비스 조직에 문제를 알립니다.
영어 원문
Troubleshooting I/O devices
You can determine the cause of device problems.
Device software check
Correct a device software problem by: • Checking the Error Log • Listing All Devices • Checking the State of a Device • Checking the Attributes of a Device • Changing the Attributes of a Device • Using a Device with Another Application • Defining a New Device
Error log check
Check the error log to see whether any errors are recorded for either the device, its adapter, or the application using the device. Go to Error Logging Facility for information about performing this check. Return to this step after completing the procedures.
Did you correct the problem with the device?
If you were not able to correct the correct the problem using the previous method, go to the next step (Device listing) to list all of the devices.
Device listing
Use the lsdev -C command to list all defined or available devices. This command shows the characteristics of all the devices in your system.
If the device is in the list of devices, go to the next step (Device state check) to check the state of the device.
If the device is not in the list of devices, define a new device (see New device definition, below).
Device state check
Find the device in the list generated from the lsdev -C command. Check whether the device is in the Available state.
If the device is in the Available state, go to the next step (Device attribute check) to check the device attributes.
If the device is not in the Available state, define a new device (see New device definition, below).
Device attribute check
Use the lsattr -E -l DeviceName command to list the attributes of your device.
The lsattr command shows attribute characteristics and possible values of attributes for devices in the system. Refer to the documentation for the specific device for the correct settings.
If the device attributes are set correctly, see Device use with another application, below.
If the device attributes are not set correctly, go to the next step, Device attribute change.
Device attribute change
Use the chdev -l Name -a Attribute=Value command to change device attributes. Before you run this command, refer to Commands Reference, Volume 1.
The chdev command changes the characteristics of the device you specify with the -l Name flag.
If changing the attributes did not correct the problem with the device, go to the next step, Device use with another application.
Device use with another application
Try using the device with another application. If the device works correctly with another application, there might be a problem with the first application.
If the device worked correctly with another application, you might have a problem with the first application. Report the problem to your software service representative.
If the device did not work correctly with another application, go to the next step, New device definition.
New device definition
Note: You must either have root user authority or be a member of the security group to use the mkdev command.
Use the mkdev command to add a device to the system.
The mkdev command can either define and make available a new device or make available a device that is already defined. You can uniquely identify the predefined device by using any combination of the -c, -s, and -t flags. Before you run this command, refer to the Commands Reference, Volume 3.
If defining the device did not correct the problem, You can either stop and report the problem to your service representative or use a diagnostics program to test your device.
Checking the device connections
To check your device connections, perform the following steps:
Check that power is available at the electrical outlet.
Check that the device power cable is correctly attached to the device and to the electrical outlet.
Check that the device signal cable is attached correctly to the device and to the correct connection on the system unit.
For SCSI devices, check that the SCSI terminator is correctly attached and the SCSI address setting is correct.
For communications devices, check that the device is correctly attached to the communications line.
Check that the device is turned on.
Refer to the documentation for the specific device for cabling and configuring procedures and for further troubleshooting information.
Go to the next step if the steps in this topic have not corrected the problem.
Adapter removal problem resolution
You may receive error messages if the device is open when you use the rmdev command to unconfigure an adapter.
If the following type of message displays when you use the rmdev command to unconfigure an adapter, this indicates that the device is open, possibly because applications are still trying to access the adapter you are trying to remove or replace.
#rmdev -l ent0
Method error (/usr/lib/methods/ucfgent):
0514-062
Cannot perform the requested function because the
specified device is busy.
To resolve the problem, you must identify any applications that are still using the adapter and close them. These applications can include the following:
TCP/IP
SNA
OSI
IPX/SPX
Novell NetWare
Streams
The generic data link control (GDLC) – IEEE Ethernet DLC – Token-ring DLC – FDDI DLC
Systems Network Architecture applications
Some SNA applications that may be using your adapter include:
DB2®
TXSeries® (CICS® & Encina)
DirectTalk
MQSeries®
HCON
ADSM
Streams applications
Some of the streams-based applications that may be using your adapter include:
IPX/SPX
Novell NetWare V4 and Novell NetWare Services 4.1
Connections and NetBios for this operating system
Applications running on WAN adapters
Applications that may be using your WAN adapter include:
SDLC
Bisync
X.25
ISDN
QLLC for X.25
TCP/IP applications
All TCP/IP applications using the interface layer can be detached with the ifconfig command. This causes the applications using TCP/IP to time out and warn users that the interface is down. After you add or replace the adapter and run the ifconfig command to attach the interface, the applications resume.
Checking the ready state of a device
You can check to see if a device is in a ready state.
To determine whether the device is in a ready state, do the following:
Check that the device's Ready indicator is on.
Check that removable media, such as tape, diskette, and optical devices, are inserted correctly.
Check the ribbon, the paper supply, and the toner supply for printers and plotters.
Check that the write medium is write-enabled if you are trying to write to the device.
Did your checks correct the problem with the device? If your check of the device's ready state did not correct the problem, go to the next step.
Device diagnostics
To determine if a device is defective, run your hardware diagnostics.
If running hardware diagnostics fails to find a problem with your device, check the device software. If your device passes the diagnostic tests, you might have a problem with the way your device works with your system software. If it is possible that the preceding problem exists, report the problem to your software service organization.