[AIX 운영 체제와 장치 관리 49] 장치 노드와 위치 코드 — 장치 클래스, 구성 데이터베이스, 장치 상태, 어댑터·tty·SCSI·디스크 위치 코드, iSCSI 오프로드 어댑터 설정
https://archive.horanglab.com/posts/aix-osdev-49
핵심 정리
- 장치는 부모·자식 의존 관계로 이루어진 노드로 묶이며, 시작할 때 위에서 아래로 구성됩니다. MPIO 지원 장치 드라이버가 있으면 장치는 부모를 둘 이상 가질 수 있습니다.
- 장치는 기능 클래스, 기능 서브클래스, 장치 형식으로 계층 분류되며 ODM 장치 구성 데이터베이스(사전 정의, 사용자 정의)에 보관됩니다. MPIO 장치는 UDID로 식별합니다.
- 장치 상태는 Undefined(시스템이 모름), Defined(데이터베이스에 기록됐지만 쓸 수 없음), Available(구성됨), Stopped(쓸 수 없지만 드라이버가 알고 있음, TCP/IP 가상 장치 등) 네 가지입니다.
- 위치 코드는 서랍(AA), 슬롯(BB), 커넥터(CC), 포트나 SCSI 주소(DD) 필드로 된
AA-BB-CC-DD형식이며, SCSI 장치는AA-BB-CC-S,L(SCSI ID와 LUN)입니다. - iSCSI 오프로드 어댑터는
smit iscsi로 구성하며 발견 정책은 file(플랫 파일/etc/iscsi/targetshw), odm, slp(DHCP 발견) 가운데 고릅니다.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 6.1 (5.3판과 거의 같음) |
| 원문 | Operating system and device management — 5.3판 259267쪽, 6.1판 515521쪽 |
| 관련 명령어 | smit iscsi, chiscsi, lsiscsi, mkiscsi, rmiscsi |
| 관련 파일 | /etc/iscsi/targetshw(iSCSI 대상 플랫 파일), ODM 사전 정의·사용자 정의 데이터베이스 |
장치는 노드라는 묶음으로 짜입니다. 각 노드는 장치의 논리적 하위 시스템으로, 부모·자식 관계에서 낮은 수준 장치가 높은 수준 장치에 의존합니다.
예를 들어 system 노드는 모든 노드 가운데 가장 높으며 시스템의 모든 물리 장치로 이루어집니다. system 장치가 노드 맨 위에 있고 그 아래에 높은 수준의 system 장치에 의존하는 버스와 어댑터가 있습니다. 계층 맨 아래에는 다른 장치가 연결되지 않은 장치가 있습니다. 이 장치는 계층에서 자기 위의 모든 장치에 의존합니다.
시작할 때 부모·자식 의존 관계로 노드를 이루는 모든 장치를 구성합니다. 구성은 맨 위 노드에서 아래로 진행하며, 높은 수준 장치에 의존하는 장치는 그 높은 수준 장치가 구성될 때까지 구성되지 않습니다.
AIX 운영 체제는 MPIO(multiple path I/O) 기능을 지원합니다. 장치에 MPIO 지원 장치 드라이버가 있으면 이 계층 안에서 부모를 둘 이상 가질 수 있어, 장치와 주어진 기계나 기계 안 논리 파티션 사이에 여러 통신 경로를 동시에 둘 수 있습니다.
영어 원문
Device nodes
Devices are organized into clusters known as nodes. Each node is a logical subsystem of devices, where lower-level devices have a dependency on upper-level devices in child-parent relationships.
For example, the system node is the highest of all nodes and consists of all the physical devices in the system. The system device is the top of the node and below that are the bus and adapters that have a dependency on the higher-level system device. At the bottom of the hierarchy are devices to which no other devices are connected. These devices have dependencies on all devices above them in the hierarchy.
At startup time, parent-child dependencies are used to configure all devices that make up a node. Configuration occurs from the top node down and any device having a dependency on a higher-level device is not configured until the higher-level device is configured.
The AIX operating system supports the multiple path I/O (MPIO) feature. If a device has an MPIO-capable device driver, it can have more than one parent within this hierarchy, which allows multiple, simultaneous communication paths between the device and a given machine or logical partition within a machine.
장치 클래스
장치를 관리하려면 운영 체제가 어떤 장치 연결이 허용되는지 이해해야 합니다. 운영 체제는 장치를 계층적으로 세 그룹으로 분류합니다.
세 그룹은 다음과 같습니다.
- 기능 클래스
- 기능 서브클래스
- 장치 형식
기능 클래스는 같은 기능을 하는 장치로 이루어집니다. 예를 들어 프린터는 기능 클래스 하나를 이룹니다. 기능 클래스는 장치의 일정한 유사성에 따라 서브클래스로 묶입니다. 예를 들어 프린터에는 직렬이나 병렬 인터페이스가 있습니다. 직렬 프린터가 서브클래스 하나이고 병렬 프린터가 또 다른 서브클래스입니다. 장치 형식은 모델과 제조사에 따라 분류됩니다.
장치 클래스는 운영 체제에서 유효한 부모·자식 연결을 정의합니다. 계층은 가능한 자식 연결 위치마다 연결할 수 있는 서브클래스를 정의합니다. 예를 들어 RS-232 8포트 어댑터라는 용어는 RS-232 서브클래스에 속한 장치만 어댑터의 여덟 포트 어디에든 연결할 수 있다는 뜻입니다.
장치 클래스와 그 계층 의존 관계는 ODM(Object Data Manager) 장치 구성 데이터베이스에 보관됩니다.
영어 원문
Device classes
Managing devices requires the operating system to comprehend what device connections are allowed. The operating system classifies devices hierarchically into three groups.
These groups are:
Functional classes
Functional subclasses
Device types
Functional classes consist of devices that perform the same function. Printers, for example, comprise a functional class. Functional classes are grouped into subclasses according to certain device similarities. For example, printers have a serial or parallel interface. Serial printers are one subclass and parallel printers are another. Device types are classified according to their model and manufacturer.
Device classes define valid parent-child connections for the operating system. The hierarchy defines the possible subclasses that can be connected for each of the possible child connection locations. For example, the term RS-232 8-port adapter specifies that only devices belonging to the RS-232 subclass can be connected to any of the eight ports of the adapter.
Device classes and their hierarchical dependencies are maintained in an Object Data Manager (ODM) Device Configuration database.
장치 구성 데이터베이스와 장치 관리
장치 정보는 장치 구성 데이터베이스를 이루는 사전 정의 데이터베이스나 사용자 정의 데이터베이스에 들어 있습니다.
사전 정의 데이터베이스에는 시스템이 지원하는 모든 가능한 장치의 구성 데이터가 있습니다. 계층적 장치 클래스 정보도 이 데이터베이스에 있습니다. 사용자 정의 데이터베이스에는 시스템에 지금 정의되고 구성된 모든 장치의 구성 데이터가 있습니다. 지금 시스템에 연결된 장치마다 레코드가 유지됩니다.
구성 관리자(Configuration Manager)는 시스템 시작과 실행 중에 시스템의 장치를 자동으로 구성하는 프로그램입니다. 구성 관리자는 이 과정에서 사전 정의와 사용자 정의 데이터베이스의 정보를 쓰고, 그 뒤 사용자 정의 데이터베이스를 갱신합니다.
다중 경로 I/O 기능은 MPIO 지원 장치를 어느 경로로 발견했든 각 장치를 고유 장치 식별자(UDID)로 식별합니다. UDID는 장치 구성 데이터베이스에 저장됩니다. 장치를 발견하면 데이터베이스의 UDID를 확인해 새 장치인지, 기존 장치로 가는 또 다른 경로를 발견한 것인지 정합니다. 장치로 가는 경로가 여럿 발견되면 장치 드라이버나 경로 제어 관리자(Path Control Manager) 커널 확장이 특정 요청에 어느 경로를 쓸지 정합니다.
Web-based System Manager Devices 응용 프로그램, SMIT, 운영 체제 명령으로 장치 삭제, 추가, 구성 같은 장치 관리 작업을 할 수 있습니다.
관련 개념
- MPIO 지원 장치 관리 — MPIO(Multiple Path I/O) 기능으로 장애 조치용 대체 경로를 장치에 정의할 수 있습니다.
관련 작업
- 장치 설치 준비 — 시스템에 장치를 설치하는 일은 장치를 붙일 곳을 정하고, 물리적으로 연결하고, Web-based System Manager, 구성 관리자, SMIT로 장치를 구성하는 것으로 이루어집니다.
영어 원문
Device configuration database and device management
Device information is contained in a predefined database or a customized database that makes up the device configuration database.
The predefined database contains configuration data for all possible devices supported by the system. The hierarchical device class information is contained in this database. The customized database contains configuration data for all currently defined and configured devices in the system. A record is kept of each device currently connected to your system.
The Configuration Manager is a program that automatically configures devices on your system during system startup and run time. The Configuration Manger uses the information from the predefined and customized databases during this process, and updates the customized database afterwards.
The multiple path I/O function uses a unique device identifier (UDID) to identify each MPIO-capable device, regardless of the path on which it was discovered. The UDID is saved in the device configuration database. When a device is discovered, the UDIDs in the database are checked to determine whether the device is new or whether the discovery is another path to an existing device. When multiple paths to a device are detected, the device driver or the Path Control Manager kernel extension decides which path to use for a particular request.
You can use the Web-based System Manager Devices application, SMIT, or operating system commands to perform device management tasks such as deleting, adding, or configuring a device.
Related concepts
MPIO-capable device management The Multiple Path I/O (MPIO) feature can be used to define alternate paths to a device for failover purposes.
Related tasks
Preparing to install a device Installing devices on your system consists of identifying where the device is to be attached, connecting the device physically, and configuring the device with Web-based System Manager, the Configuration Manager, or SMIT.
장치 상태
시스템에 연결된 장치는 네 상태 가운데 하나일 수 있습니다.
시스템에 연결된 장치는 다음 상태 가운데 하나입니다.
| 상태 | 뜻 |
|---|---|
| Undefined | 시스템이 장치를 모릅니다. |
| Defined | 장치의 특정 정보가 사용자 정의 데이터베이스에 기록돼 있지만 시스템이 쓸 수 없습니다. |
| Available | 정의된 장치가 운영 체제에 결합돼 있거나 정의된 장치가 구성돼 있습니다. |
| Stopped | 장치를 쓸 수 없지만 장치 드라이버가 여전히 알고 있습니다. |
tty 장치와 프린터가 같은 tty 커넥터를 번갈아 쓰면 장치 구성 데이터베이스에는 같은 부모와 포트에 tty 장치와 프린터가 모두 정의됩니다. 이 장치 가운데 한 번에 하나만 구성할 수 있습니다. tty 커넥터가 구성되면 프린터 전용 설정 정보는 다시 구성될 때까지 유지됩니다. 장치는 지워지지 않고 Defined 상태에 있습니다. 장치를 Defined 상태로 유지하면 처음 쓸 수 있게 되기 전이나 시스템에서 잠시 빠져 있는 동안처럼 지금 쓰지 않는 장치의 사용자 정의 정보가 보존됩니다.
장치에 장치 드라이버가 있으면 장치 드라이버로 장치를 쓸 수 있게 할 수 있습니다.
일부 장치, 특히 TCP/IP 가상 장치에는 Stopped 상태가 필요합니다.
관련 작업
- 비동기 어댑터 구성 해제 — 비동기 어댑터의 구성을 해제할 수 있습니다.
영어 원문
Device states
Devices that are connected to the system can be in one of four states.
Devices that are connected to the system can be in one of the following states:
- Undefined — The device is unknown to the system.
- Defined — Specific information about the device is recorded in the customized database, but it is unavailable to the system.
- Available — A defined device is coupled to the operating system, or the defined device is configured.
- Stopped — The device is unavailable but remains known by its device driver.
If a tty device and a printer alternately use the same tty connector, both a tty device and a printer are defined on the same parent and port in the device configuration database. Only one of these devices can be configured at a time. When the tty connector is configured, the printer specific setup information is retained until it is configured again. The device is not removed; it is in the defined state. Maintaining a device in defined state retains customized information for a device that is not currently in use, either before it is first made available or while it is temporarily removed from the system.
If a device driver exists for a device, the device can be made available through the device driver.
Some devices, in particular TCP/IP pseudo-devices, need the stopped state.
Related tasks
Unconfiguring async adapters You can unconfigure an async adapter.
장치 위치 코드
위치 코드는 CPU 서랍이나 시스템 장치에서 어댑터, 신호 케이블, (있다면) 비동기 분배 상자를 거쳐 장치나 워크스테이션까지 가는 경로입니다. 이 코드는 물리 장치를 식별하는 또 다른 방법입니다.
위치 코드는 장치 형식에 따라 정보 필드를 넷까지 가집니다. 이 필드는 서랍, 슬롯, 커넥터, 포트를 나타냅니다. 각 필드는 두 글자입니다.
서랍의 위치 코드는 서랍 필드만으로 이루어진 두 글자 코드입니다. 어댑터의 위치 코드는 서랍과 슬롯 필드로 이루어지며 형식은 AA-BB입니다. AA는 서랍 위치, BB는 어댑터가 든 버스와 슬롯입니다. 다른 장치의 위치 코드 형식은 AA-BB-CC나 AA-BB-CC-DD입니다. AA-BB는 장치가 연결된 어댑터의 위치 코드, CC는 장치가 연결된 어댑터의 커넥터, DD는 포트 번호나 SCSI 장치 주소입니다.
관련 정보
- Understanding Location Codes
영어 원문
Device location codes
The location code is a path from the CPU drawer or system unit through the adapter, signal cables, and the asynchronous distribution box (if there is one) to the device or workstation. This code is another way of identifying physical devices.
The location code consists of up to four fields of information depending on the type of device. These fields represent drawer, slot, connector, and port. Each of these fields consists of two characters.
The location code of a drawer consists of only the drawer field and is simply a two-character code. The location code of an adapter consists of the drawer and slot fields and has the format AA-BB, where AA corresponds to the drawer location and BB indicates the bus and slot that contains the adapter. Other devices have location codes of formats AA-BB-CC or AA-BB-CC-DD, where AA-BB is the location code of the adapter to which the device is connected, CC corresponds to the connector on the adapter to which the device is connected, and DD corresponds to a port number or SCSI device address.
Related information
Understanding Location Codes
어댑터 위치 코드
어댑터의 위치 코드는 AA-BB 형식의 숫자 두 쌍입니다. AA는 어댑터가 든 서랍의 위치 코드이고 BB는 카드가 든 I/O 버스와 슬롯입니다.
AA 필드 값 00은 시스템 형식에 따라 어댑터가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. AA 필드가 다른 값이면 카드가 I/O 확장 서랍에 있습니다. 이 경우 AA 값은 비동기 확장 어댑터가 든 CPU 서랍의 I/O 버스와 슬롯 번호입니다. 첫 자리는 I/O 버스로, 0은 표준 I/O 버스, 1은 선택 I/O 버스입니다. 둘째 자리는 해당 I/O 버스의 슬롯 번호입니다.
BB 필드 첫 자리는 어댑터 카드가 든 I/O 보드입니다. 카드가 CPU 서랍이나 시스템 장치에 있으면 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 카드가 I/O 확장 서랍에 있으면 0입니다. 둘째 자리는 카드가 든 해당 I/O 버스의 슬롯 번호(또는 I/O 확장 서랍의 슬롯 번호)입니다.
위치 코드 00-00은 표준 I/O 보드를 식별하는 데 씁니다.
예:
| 위치 코드 | 뜻 |
|---|---|
00-05 |
표준 I/O 보드의 슬롯 5에 있는 어댑터 카드이며, 시스템 형식에 따라 CPU 서랍이나 시스템 장치에 있습니다. |
00-12 |
선택 I/O 버스의 슬롯 2에 있는 어댑터이며 CPU 서랍에 있습니다. |
18-05 |
I/O 확장 서랍의 슬롯 5에 있는 어댑터 카드입니다. 서랍은 CPU 서랍 선택 I/O 버스의 슬롯 8에 있는 비동기 확장 어댑터에 연결돼 있습니다. |
관련 정보
- Understanding Location Codes
영어 원문
Adapter location codes
The location code for an adapter consists of two pairs of digits with the format AA-BB, where AA identifies the location code of the drawer containing the adapter and BB identifies the I/O bus and slot containing the card.
A value of 00 for the AA field means that the adapter is located in the CPU drawer or system unit, depending on the type of system. Any other value for the AA field indicates that the card is located in an I/O expansion drawer. In this case, the AA value identifies the I/O bus and slot number in the CPU drawer that contains the asynchronous expansion adapter. The first digit identifies the I/O bus with 0 corresponding to the standard I/O bus and 1 corresponding to the optional I/O bus. The second digit identifies the slot number on the indicated I/O bus.
The first digit of the BB field identifies the I/O board containing the adapter card. If the card is in the CPU drawer or system unit, this digit is 0 for the standard I/O bus and 1 for the optional I/O bus. If the card is in an I/O expansion drawer, this digit is 0. The second digit identifies the slot number on the indicated I/O bus (or slot number in the I/O expansion drawer) that contains the card.
A location code of 00-00 is used to identify the standard I/O board.
Examples:
00-05— Identifies an adapter card in slot 5 of the standard I/O board and is located in either the CPU drawer or the system unit, depending on the type of system.00-12— Identifies an adapter in slot 2 of the optional I/O bus and is located in the CPU drawer.18-05— Identifies an adapter card located in slot 5 of an I/O expansion drawer. The drawer is connected to the asynchronous expansion adapter located in slot 8 of the optional I/O bus in the CPU drawer.
Related information
Understanding Location Codes
프린터와 플로터 위치 코드
위치 코드 00-00-S1-00이나 00-00-S2-00은 프린터, 플로터, tty 장치가 표준 I/O 보드 직렬 포트 s1이나 s2에 연결돼 있다는 뜻입니다. 위치 코드 00-00-0P-00은 병렬 프린터가 표준 I/O 보드 병렬 포트에 연결돼 있다는 뜻입니다.
그 밖의 위치 코드는 프린터, 플로터, tty 장치가 표준 I/O 보드가 아닌 어댑터 카드에 연결돼 있다는 뜻입니다. 이런 프린터, 플로터, tty 장치의 위치 코드 형식은 AA-BB-CC-DD이며 AA-BB는 제어 어댑터의 위치 코드입니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. 다른 값이면 카드가 I/O 확장 서랍에 있으며, 첫 자리는 I/O 버스, 둘째 자리는 I/O 확장 서랍이 연결된 비동기 확장 어댑터가 든 CPU 서랍 버스의 슬롯 번호입니다. |
| BB | BB 필드 첫 자리는 어댑터 카드가 든 I/O 버스입니다. 카드가 CPU 서랍이나 시스템 장치에 있으면 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 카드가 I/O 확장 서랍에 있으면 0입니다. 둘째 자리는 카드가 든 I/O 버스의 슬롯 번호(또는 I/O 확장 서랍의 슬롯 번호)입니다. |
| CC | 비동기 분배 상자가 연결된 어댑터 카드의 커넥터입니다. 가능한 값은 01, 02, 03, 04입니다. |
| DD | 프린터, 플로터, tty 장치가 붙은 비동기 분배 상자의 포트 번호입니다. |
관련 정보
- Understanding Location Codes
영어 원문
Printer and plotter location codes
Location codes of 00-00-S1-00 or 00-00-S2-00 indicate the printer, plotter, or tty device is connected to the standard I/O board serial ports s1 or s2. A location code of 00-00-0P-00 indicates the parallel printer is connected to the standard I/O board parallel port.
Any other location code indicates that the printer, plotter, or tty device is connected to an adapter card other than the standard I/O board. For these printers, plotters, and tty devices, the location code format is AA-BB-CC-DD, where AA-BB indicates the location code of the controlling adapter.
- AA — A value of
00for the AA field indicates the adapter card is located in the CPU drawer or system unit depending on the type of system. Any other value for the AA field indicates the card is located in an I/O expansion drawer; in which case, the first digit identifies the I/O bus and the second digit identifies the slot number on the bus, in the CPU drawer, that contains the asynchronous expansion adapter to which the I/O expansion drawer is connected. - BB — The first digit of the BB field identifies the I/O bus containing the adapter card. If the card is in the CPU drawer or system unit, this digit is
0for the standard I/O bus and1for the optional I/O bus. If the card is in an I/O expansion drawer, this digit is0. The second digit identifies the slot number on the I/O bus (or slot number in the I/O expansion drawer) that contains the card. - CC — The CC field identifies the connector on the adapter card where the asynchronous distribution box is connected. Possible values are
01,02,03, and04. - DD — The DD field identifies the port number on the asynchronous distribution box where the printer, plotter, or tty device is attached.
Related information
Understanding Location Codes
tty 위치 코드
위치 코드 00-00-S1-00이나 00-00-S2-00은 tty 장치가 표준 I/O 직렬 포트 s1이나 s2에 연결돼 있다는 뜻입니다.
그 밖의 위치 코드는 tty 장치가 표준 I/O 보드가 아닌 어댑터 카드에 연결돼 있다는 뜻입니다. 이런 장치의 위치 코드 형식은 AA-BB-CC-DD이며 AA-BB는 제어 어댑터 카드의 위치 코드입니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. 다른 값이면 카드가 I/O 확장 서랍에 있으며, 첫 자리는 I/O 버스, 둘째 자리는 I/O 확장 서랍이 연결된 비동기 확장 어댑터가 든 CPU 서랍 버스의 슬롯 번호입니다. |
| BB | BB 필드 첫 자리는 어댑터 카드가 든 I/O 버스입니다. 카드가 CPU 서랍이나 시스템 장치에 있으면 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 카드가 I/O 확장 서랍에 있으면 0입니다. 둘째 자리는 카드가 든 I/O 버스의 슬롯 번호(또는 I/O 확장 서랍의 슬롯 번호)입니다. |
| CC | 비동기 분배 상자가 연결된 어댑터 카드의 커넥터입니다. 가능한 값은 01, 02, 03, 04입니다. |
| DD | tty 장치가 붙은 비동기 분배 상자의 포트 번호입니다. |
관련 정보
- Understanding Location Codes
영어 원문
tty location codes
Location codes of 00-00-S1-00 or 00-00-S2-00 indicate the tty device is connected to the standard I/O serial ports s1 or s2.
Any other location code indicates the tty device is connected to an adapter card other than the standard I/O board. For these devices, the location code format is AA-BB-CC-DD, where AA-BB indicates the location code of the controlling adapter card.
- AA — A value of
00for the AA field indicates the adapter card is located in the CPU drawer or system unit depending on the type of system. Any other value for the AA field indicates the card is located in an I/O expansion drawer. In this case, the first digit identifies the I/O bus, and the second digit identifies the slot number on the bus in the CPU drawer that contains the asynchronous expansion adapter where the I/O expansion drawer is connected. - BB — The first digit of the BB field identifies the I/O bus containing the adapter card. If the card is in the CPU drawer or system unit, this digit will be
0for the standard I/O bus and1for the optional I/O bus. If the card is in an I/O expansion drawer this digit is0. The second digit identifies the slot number on the I/O bus (or slot number in the I/O expansion drawer) that contains the card. - CC — The CC field identifies the connector on the adapter card where the asynchronous distribution box is connected. Possible values are
01,02,03, and04. - DD — The DD field identifies the port number on the asynchronous distribution box where the tty device is attached.
Related information
Understanding Location Codes
SCSI 장치 위치 코드
다음은 SCSI 장치의 위치 코드입니다.
이 위치 코드는 다음을 포함한 모든 SCSI 장치에 적용됩니다.
- CD-ROM
- 디스크
- 개시자(initiator) 장치
- 읽기·쓰기 광 드라이브
- 테이프
- 대상 모드
위치 코드 형식은 AA-BB-CC-S,L입니다. AA-BB 필드는 SCSI 장치를 제어하는 SCSI 어댑터의 위치 코드입니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 제어 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. |
| BB | BB 필드는 카드가 든 I/O 버스와 슬롯입니다. 첫 자리는 I/O 버스로 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 둘째 자리는 카드가 든 해당 I/O 버스의 슬롯입니다. BB 필드 값 00은 표준 SCSI 컨트롤러입니다. |
| CC | 장치가 붙은 카드의 SCSI 버스입니다. SCSI 버스가 하나뿐인 카드는 00입니다. 그 밖에는 00이 카드 내부 SCSI 버스에 붙은 장치, 01이 카드 외부 SCSI 버스에 붙은 장치입니다. |
| S,L | SCSI 장치의 SCSI ID와 LUN(논리 장치 번호)입니다. S 값은 SCSI ID, L 값은 LUN입니다. |
관련 정보
- Understanding Location Codes
영어 원문
SCSI device location codes
The following are location codes for SCSI devices.
These location codes apply to all SCSI devices including:
CD-ROMs
Disks
Initiator devices
Read/write optical drives
Tapes
Target mode
The location code format is AA-BB-CC-S,L. The AA-BB fields identify the location code of the SCSI adapter controlling the SCSI device.
- AA — A value of
00for the AA field indicates the controlling adapter card is located in the CPU drawer or system unit, depending on the type of system. - BB — The BB field identifies the I/O bus and slot containing the card. The first digit identifies the I/O bus. It is
0for the standard I/O bus and1for the optional I/O bus. The second digit is the slot on the indicated I/O bus containing the card. A value of00for the BB field indicates the standard SCSI controller. - CC — The CC field identifies the SCSI bus of the card that the device is attached to. For a card that provides only a single SCSI bus, this field is set to
00. Otherwise, a value of00indicates a device attached to the internal SCSI bus of the card, and a value of01indicates a device attached to the external SCSI bus of the card. - S,L — The S,L field identifies the SCSI ID and logical unit number (LUN) of the SCSI device. The
Svalue indicates the SCSI ID and theLvalue indicates the LUN.
Related information
Understanding Location Codes
직접 버스 연결 위치 코드
직접 연결 디스크 장치의 위치 코드 형식은 AA-BB입니다.
AA 필드 값은 00으로 디스크가 시스템 장치에 있다는 뜻입니다. BB 필드는 디스크가 붙은 I/O 버스와 슬롯 번호입니다. 첫 자리는 늘 0으로 디스크가 표준 I/O 버스에 붙어 있다는 뜻입니다. 둘째 자리는 디스크가 붙은 표준 I/O 버스의 슬롯 번호입니다.
관련 정보
- Understanding Location Codes
영어 원문
Direct-bus-attached location codes
For a direct-attached disk device, the location code format is AA-BB.
The AA field is a value of 00, that indicates the disk is located in the system unit. The BB field indicates the I/O bus and slot number where the disk is attached. The first digit is always 0, which indicates the disk is attached to the standard I/O bus. The second digit identifies the slot number on the standard I/O bus to which the disk is attached.
Related information
Understanding Location Codes
직렬 연결 디스크 위치 코드
직렬 연결 디스크 드라이브의 위치 코드 형식은 AA-BB-CC-DD이며 AA-BB는 제어 어댑터 카드의 위치 코드입니다.
각 필드는 다음과 같이 해석합니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 제어 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. |
| BB | BB 필드는 카드가 든 I/O 버스와 슬롯입니다. 첫 자리는 I/O 버스로 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 둘째 자리는 카드가 든 해당 I/O 버스의 슬롯입니다. |
| CC | 컨트롤러 서랍이 붙은 어댑터 카드의 커넥터입니다. 가능한 값은 00, 01, 02, 03입니다. |
| DD | 디스크의 LUN(논리 장치 번호)입니다. 디스크가 있는 서랍의 슬롯에 해당합니다. |
관련 정보
- Understanding Location Codes
영어 원문
Serial-linked disk location codes
The location code for serial-linked disk drives is of the format AA-BB-CC-DD, where AA-BB indicates the location code of the controlling adapter card.
The individual fields are interpreted as follows:
- AA — A value of
00for the AA field indicates the controlling adapter card is located in the CPU drawer or system unit, depending on the type of system. - BB — The BB field identifies the I/O bus and slot containing the card. The first digit identifies the I/O bus. It is
0for the standard I/O bus and1for the optional I/O bus. The second digit is the slot on the indicated I/O bus that contains the card. - CC — The CC field identifies the connector on the adapter card where the controller drawer is attached. Possible values are
00,01,02, and03. - DD — The DD field identifies the logical unit number (LUN) of the disk. This corresponds to the slot in the drawer where the disk resides.
Related information
Understanding Location Codes
디스켓 드라이브 위치 코드
디스켓 드라이브에는 위치 코드가 할당됩니다.
디스켓 드라이브의 위치 코드는 00-00-0D-01이나 00-00-0D-02이며 표준 I/O 플래너 디스켓 포트 0이나 1에 붙어 있다는 뜻입니다.
관련 정보
- Understanding Location Codes
영어 원문
Diskette drive location codes
Diskette drives are assigned location codes.
Diskette drives have location codes of either 00-00-0D-01 or 00-00-0D-02, indicating that they are attached to the standard I/O planar diskette ports 0 or 1.
Related information
Understanding Location Codes
Dials/LPFKeys 위치 코드
그래픽 입력 어댑터에 붙은 Dials/LPFKeys 장치의 위치 코드 형식은 AA-BB-CC입니다.
각 필드는 다음과 같이 해석합니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 제어 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. |
| BB | BB 필드는 카드가 든 I/O 버스와 슬롯입니다. 첫 자리는 I/O 버스로 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 둘째 자리는 카드가 든 해당 I/O 버스의 슬롯입니다. |
| CC | 장치가 붙은 카드 커넥터입니다. 붙은 장치가 카드의 포트 1인지 포트 2인지에 따라 01이나 02입니다. |
참고: 직렬로 붙은 Dials/LPFKeys 장치는 위치 코드를 나타내지 않습니다. 이 장치는 tty 장치에 붙은 것으로 보기 때문입니다. tty 장치는 Dials/LPFKeys를 정의할 때 사용자가 지정합니다.
관련 정보
- Understanding Location Codes
영어 원문
Dials/LPFKeys location codes
For a Dials/LPFKeys device attached to a graphics input adapter, the location code format is AA-BB-CC.
The individual fields are interpreted as follows:
- AA — A value of
00for the AA field indicates the controlling adapter card is located in the CPU drawer or system unit, depending on the type of system. - BB — The BB field identifies the I/O bus and slot containing the card. The first digit identifies the I/O bus. It is
0for the standard I/O bus and1for the optional I/O bus. The second digit is the slot on the indicated I/O bus that contains the card. - CC — The CC field indicates the card connector where the device is attached. The value is either
01or02, depending on whether the attached device is port1or port2on the card. - Note: Serially-attached Dials/LPFKeys devices do not indicate location codes. This is because these
devices are considered to be attached to a tty device. The tty device is specified by the user during Dials/LPFKeys definition.
Related information
Understanding Location Codes
다중 프로토콜 포트 위치 코드
다중 프로토콜 포트의 위치 코드 형식은 AA-BB-CC-DD이며 AA-BB는 다중 프로토콜 어댑터 카드의 위치 코드입니다.
각 필드는 다음과 같이 해석합니다.
| 필드 | 뜻 |
|---|---|
| AA | AA 필드 값 00은 시스템 형식에 따라 다중 프로토콜 어댑터 카드가 CPU 서랍이나 시스템 장치에 있다는 뜻입니다. |
| BB | BB 필드는 카드가 든 I/O 버스와 슬롯입니다. 첫 자리는 I/O 버스로 표준 I/O 버스는 0, 선택 I/O 버스는 1입니다. 둘째 자리는 카드가 든 해당 I/O 버스의 슬롯입니다. |
| CC | 다중 프로토콜 분배 상자가 연결된 어댑터 카드의 커넥터입니다. 값은 늘 01입니다. |
| DD | 다중 프로토콜 분배 상자의 물리 포트 번호입니다. 가능한 값은 00, 01, 02, 03입니다. |
관련 정보
- Understanding Location Codes
영어 원문
Multiprotocol port location codes
The location code for a multiprotocol port is of the format AA-BB-CC-DD where AA-BB indicates the location code of the multiprotocol adapter card.
The individual fields are interpreted as follows:
- AA — A value of
00for the AA field indicates the multiprotocol adapter card is located in the CPU drawer or system unit, depending on the type of system. - BB — The BB field identifies the I/O bus and slot containing the card. The first digit identifies the I/O bus. It is
0for the standard I/O bus and1for the optional I/O bus. The second digit is the slot on the indicated I/O bus that contains the card. - CC — The CC field identifies the connector on the adapter card to which the multiprotocol distribution box is connected. The value is always
01. - DD — The DD field identifies the physical port number on the multiprotocol distribution box. Possible values are
00,01,02, and03.
Related information
Understanding Location Codes
iSCSI 오프로드 어댑터 설정
iSCSI 오프로드 어댑터 설정은 어댑터를 구성하고 대상을 더하거나 갱신하는 일입니다. 이 지침은 iSCSI 오프로드 어댑터에만 적용됩니다. iSCSI 소프트웨어 개시자 구성은 iSCSI 소프트웨어 개시자와 소프트웨어 대상을 봅니다.
영어 원문
Setting up an iSCSI offload adapter
Setting up the iSCSI offload adapter involves configuring the adapter and adding or updating targets. These instructions apply only to the iSCSI offload adapter. For information about configuring the iSCSI software initiator, refer to iSCSI software initiator and software target.
AIX에서 iSCSI 어댑터 구성
iSCSI 어댑터 구성은 아주 간단한 작업입니다.
- AIX 명령 프롬프트에 smit iscsi를 입력합니다. iSCSI 화면이 표시됩니다.
- iSCSI 화면에서 iSCSI Adapter를 고릅니다. iSCSI Adapter 화면이 표시됩니다.
- iSCSI Adapter 화면에서 Change / Show Characteristics of an iSCSI Adapter를 고릅니다. Change / Show Characteristics of an iSCSI Adapter 화면이 표시됩니다.
- 목록에서 구성할 iSCSI 어댑터를 고릅니다. 다음 예와 비슷한 구성 화면이 표시됩니다.
[Entry Fields]
iSCSI Adapter ics0
Description iSCSI Adapter
Status Available
Location 10-60
Max. number of commands to queue to adapter [200] + +#
Maximum Transfer Size [0x100000] +
Discovery Filename [/etc/iscsi/targetshw]
Discovery Policy [file]
Automatic Discovery Secrets Filename [/etc/iscsi/autosecret]
Adapter IP Address [10.1.4.187]
Adapter Subnet Mask [255.255.255.0]
Adapter Gateway Address [10.1.4.1]
Apply change to DATABASE only no +
참고: 특정 필드의 용도가 궁금하면 필드에 커서를 두고 F1을 눌러 도움말을 봅니다.
플랫 파일 발견을 쓰려면 Discovery Policy 필드에 file을 입력합니다. ODM 발견을 쓰려면 Discovery Policy 필드에 odm을 입력합니다. DHCP로 발견하는 iSCSI 대상은 Discovery Policy 필드에 slp를 입력합니다.
영어 원문
Configuring the iSCSI adapter in AIX
iSCSI adapter configuration is a very simple and straightforward task.
Enter smit iscsi at the AIX command prompt. The iSCSI screen displays.
Select iSCSI Adapter from the iSCSI screen. The iSCSI Adapter screen displays.
Select Change / Show Characteristics of an iSCSI Adapter from the iSCSI Adapter screen. The Change / Show Characteristics of an iSCSI Adapter screen displays.
Select the iSCSI adapter that you want to configure from the list. A configuration screen displays, similar to the following example.
(14줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
Note: If you have a question about the purpose of a particular field, place the cursor in the field and press F1 for help.
To use flat file discovery, type file in the Discovery Policy field. To use ODM discovery, type odm in the Discovery Policy field. For DHCP-discovered iSCSI targets, type slp in the Discovery Policy field.
iSCSI 대상 플랫 파일 갱신
플랫 파일은 iSCSI 대상을 구성하는 데 쓰는 정적 구성 파일입니다. 기본 파일 이름은 /etc/iscsi/targetshw입니다.
플랫 파일에 관련된 iSCSI 대상 발견 속성을 모두 명시적으로 지정해야 합니다.
관련 정보
- targets 파일
영어 원문
Updating the flat file of an iSCSI target
The flat file is the static configuration file used to configure iSCSI targets. Its default filename is /etc/iscsi/targetshw.
You must explicitly specify all relevant iSCSI target discovery properties in the flat file.
Related information
targets File
정적으로 발견한 iSCSI 대상을 ODM에 추가
자동 발견을 쓰지 않으면 iSCSI 어댑터는 플랫 파일이나 ODM에서 iSCSI 대상 설명을 얻습니다.
AIX 명령이나 SMIT로 ODM의 iSCSI 대상 정보를 다룰 수 있습니다. chiscsi, lsiscsi, mkiscsi, rmiscsi 명령은 ODM의 iSCSI 대상 정보를 바꾸고, 표시하고, 더하고, 지웁니다.
SMIT로 정적으로 발견한 iSCSI 대상 하나를 ODM에 더하려면 다음을 합니다.
- AIX 명령 프롬프트에 smit iscsi를 입력합니다. iSCSI 화면이 표시됩니다.
- iSCSI 화면에서 iSCSI Target Device Parameters in ODM을 고릅니다. iSCSI Target Device Parameters in ODM 화면이 표시됩니다.
- Add an iSCSI Target Device in ODM을 고릅니다. Add an iSCSI Target Device in ODM 화면이 표시됩니다.
- Add a Statically Discovered iSCSI Target Device in ODM을 고릅니다. Add a Statically Discovered iSCSI Target Device in ODM 화면이 표시됩니다.
- 목록에서 구성할 iSCSI 어댑터를 고릅니다. 고른 iSCSI 어댑터의 Add a Statically Discovered iSCSI Target Device 화면이 표시됩니다.
- 필드에 알맞은 정보를 입력합니다. 다음은 예입니다.
[Entry Fields]
iSCSI Adapter ics0
iSCSI Target Name [iqn.mds9216.emc.sym] +
iSCSI Group static +
IP Address of iSCSI Target [10.1.4.25] +
Port Number of iSCSI Target [3260] +
Password [my password] +
참고: 특정 필드의 용도가 궁금하면 필드에 커서를 두고 F1을 눌러 도움말을 봅니다.
영어 원문
Adding a statically-discovered iSCSI target into ODM
When auto discovery is not used, the iSCSI adapter obtains the iSCSI target descriptions from either a flat file or ODM.
You can use AIX commands or SMIT to manipulate iSCSI target information in ODM. The chiscsi, lsiscsi, mkiscsi, and rmiscsi commands change, display, add, and remove iSCSI target information from ODM.
To add one statically-discovered iSCSI target into ODM using SMIT, do the following:
Enter smit iscsi at the AIX command prompt. The iSCSI screen displays.
Select iSCSI Target Device Parameters in ODM from the iSCSI screen. The iSCSI Target Device Parameters in ODM screen displays.
Select Add an iSCSI Target Device in ODM from the iSCSI screen. The Add an iSCSI Target Device in ODM screen displays.
Select Add a Statically Discovered iSCSI Target Device in ODM from the iSCSI screen. The Add a Statically Discovered iSCSI Target Device in ODM screen displays.
Select the iSCSI adapter that you want to configure from the list. The Add a Statically Discovered iSCSI Target Device screen for the iSCSI adapter that you selected displays.
Enter the appropriate information in the fields. Below is an example.
[Entry Fields]
iSCSI Adapter ics0
iSCSI Target Name [iqn.mds9216.emc.sym] +
iSCSI Group static +
IP Address of iSCSI Target [10.1.4.25] +
Port Number of iSCSI Target [3260] +
Password [my password] +
Note: If you have a question about the purpose of a particular field, place the cursor in the field and press F1 for help.
플랫 파일에서 정적으로 발견한 iSCSI 대상을 ODM에 추가
SMIT로 플랫 파일 정보를 ODM으로 가져올 수 있습니다.
- AIX 명령 프롬프트에 smit iscsi를 입력합니다. iSCSI 화면이 표시됩니다.
- iSCSI 화면에서 iSCSI Target Device Parameters in ODM을 고릅니다. iSCSI Target Device Parameters in ODM 화면이 표시됩니다.
- Add an iSCSI Target Device in ODM을 고릅니다. Add an iSCSI Target Device in ODM 화면이 표시됩니다.
- Add iSCSI Target Device Data in ODM from a File을 고릅니다. Add iSCSI Target Device Data in ODM from a File 화면이 표시됩니다.
- 목록에서 구성할 iSCSI 어댑터를 고릅니다. 고른 iSCSI 어댑터의 Add iSCSI Target Device Data in ODM from a File 화면이 표시됩니다.
- 필드에 알맞은 정보를 입력합니다. 다음은 예입니다.
[Entry Fields]
iSCSI Protocol Device iscsi3
iSCSI Group [static] +
Filename of iSCSI Targets [/etc/iscsi/targetshw] +
참고: 특정 필드의 용도가 궁금하면 필드에 커서를 두고 F1을 눌러 도움말을 봅니다.
영어 원문
Adding statically-discovered iSCSI targets from a flat file into ODM
You can use SMIT to import a flat file's information into ODM.
Enter smit iscsi at the AIX command prompt. The iSCSI screen displays.
Select iSCSI Target Device Parameters in ODM from the iSCSI screen. The iSCSI Target Device Parameters in ODM screen displays.
Select Add an iSCSI Target Device in ODM from the iSCSI screen. The Add an iSCSI Target Device in ODM screen displays.
Select Add iSCSI Target Device Data in ODM from a File from the iSCSI screen. The Add iSCSI Target Device Data in ODM from a File screen displays.
Select the iSCSI adapter that you want to configure from the list. The Add iSCSI Target Device Data in ODM from a File screen for the iSCSI adapter that you selected displays.
Enter the appropriate information in the fields. Below is an example.
[Entry Fields]
iSCSI Protocol Device iscsi3
iSCSI Group [static] +
Filename of iSCSI Targets [/etc/iscsi/targetshw] +
Note: If you have a question about the purpose of a particular field, place the cursor in the field and press F1 for help.