AIX SYSTEM & Device Configuration

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 21
At a glance
Powered by AI
The document discusses device terminology, documenting system configuration, popular device commands, device configuration and control, and interpreting location codes.

The document discusses generic device terminology like physical devices, ports, device drivers etc. and Power-specific terminology like CEC, System planar, RIO etc.

The lscfg command can be used to list device information including physical location codes.

Unit 6

System configuration and devices

Copyright IBM Corporation 2009


Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

5.2

Unit objectives
IBM Power Systems

After completing this unit, you should be able to:


Understand device terminology
Document the system configuration
Use popular device commands
Understand device configuration and control
Identify device locations
Interpret physical and virtual location codes

Copyright IBM Corporation 2009

Device terminology
IBM Power Systems

Generic terminology

Physical devices
Ports
Device drivers
Logical devices
/dev directory
Virtual devices

Power H/W-specific terminology

CEC
System planar
RIO
System ports
GX+
IVE
PCI
Copyright IBM Corporation 2009

System configuration and device overview


IBM Power Systems

Understanding the configuration of the system is important.


The configuration should be documented and updated on a regular
basis.

All devices have attributes, some of which can be changed.


lsattr, lists device attributes
chdev, changes device attributes

Most devices within AIX are self configured, through cfgmgr.


Device states can be controlled using mkdev and rmdev
commands.
Including virtual devices

Remember! An AIX partition does not need to have any


physical devices.

Copyright IBM Corporation 2009

Device commands
IBM Power Systems

prtconf
Lists major system configuration items such as system model,
firmware version, processor type, number of processors, processor
clock speed, cpu type, total memory size, network, filesystem, paging
space, and devices information

lscfg
Lists device information including physical location codes

lsdev
Lists device information including the state of the device

lsslot
Displays all specified hot plug slots and their characteristics

chdev
Changes the characteristics of a device

lsattr
Displays attribute characteristics and possible values of attributes for
devices in the system
Copyright IBM Corporation 2009

System device layout example


IBM Power Systems

All models have a different layout and configuration.


The example below shows a high level look at the device layout of a Power6
p550. You may be using this machine during the lab exercises.
Power 6 p550: U8204.E8A.65BF831
Central Electronic Complex (U78A0.001.DNWGCAH)
GX+ Bus
(I/O Hub)

Memory
DIMMs (mem0)

PCI Bus (X & E)

Processor card(s)
(proc0,1,2 etc)

System planar, P1 (sysplanar0)

(pci1)
|
SAS Adapter (sissas0)
|
SAS Controller (sas0)
|
SAS Planar, P2
|
SAS Enclosure (ses1)

(pci0)

hdisk0

hdisk1

hdisk2

hdisk3

hdisk4

hdisk5

Connection
To I/O Drawer(s)

D3

D4

D5

D6

D7

D8

IVE (lhea0)

L2 Cache
(L2cache0)

PCI Card slots

SATA DVD Drive (cd0)

PCI Card slots


C1

C2

C3

C4

C5

HMC
ports
FSP

Serial
ports
Copyright IBM Corporation 2009

prtconf (1 of 2)
IBM Power Systems

Shell script which collects system information


# prtconf
# prtconf
System Model: IBM,8204-E8A
System Model: IBM,8204-E8A
Machine Serial Number: 652ACD2
Machine Serial Number: 652ACD2
Processor Type: PowerPC_POWER6
Processor Type: PowerPC_POWER6
Number Of Processors: 2
Number Of Processors: 2
Processor Clock Speed: 4204 MHz
Processor Clock Speed: 4204 MHz
CPU Type: 64-bit
CPU Type: 64-bit
Kernel Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 4 sys124_v2
LPAR Info: 4 sys124_v2
Memory Size: 512 MB
Memory Size: 512 MB
Good Memory Size: 2 GB
Good Memory Size: 2 GB
Firmware Version: IBM,EL320_076
Firmware Version: IBM,EL320_076

Some items were


removed for clarity.

Network Information
Network Information
Host Name: sys124_v2
Host Name: sys124_v2
IP Address: 10.6.115.44
IP Address: 10.6.115.44
Sub Netmask: 255.255.255.0
Sub Netmask: 255.255.255.0
Gateway: 10.6.115.254
Gateway: 10.6.115.254
Name Server:
Name Server:
Domain Name:
Domain Name:

Output is
continued on the
next page.

Paging Space Information


Paging Space Information
Total Paging Space: 1536MB
Total Paging Space: 1536MB
Percent Used: 2%
Percent Used: 2%
Volume Groups Information
Volume Groups Information
==============================================================================
==============================================================================
rootvg:
rootvg:
PV_NAME
PV STATE
TOTAL PPs
FREE PPs
FREE DISTRIBUTION
PV_NAME
PV STATE
TOTAL PPs
FREE PPs
FREE DISTRIBUTION
hdisk0
active
273
194
54..09..22..54..55
hdisk0
active
273
194
54..09..22..54..55

Copyright IBM Corporation 2009

prtconf (2 of 2)
IBM Power Systems
INSTALLED RESOURCE LIST
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
+/- = Added or deleted from Resource List.
*
= Diagnostic support not available.
*
= Diagnostic support not available.
Model Architecture: chrp
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
Model Implementation: Multiple Processor, PCI bus
+ sys0
+ sys0
+ sysplanar0
+ sysplanar0
+ L2cache0
+ L2cache0
+ mem0
+ mem0
+ proc0
+ proc0
+ proc2
+ proc2
* vsa0
* vsa0
* vty0
* vty0
* pci1
* pci1
+ fcs0
+ fcs0
* fcnet0
* fcnet0
* fscsi0
* fscsi0
+ fcs1
+ fcs1
* fcnet1
* fcnet1
* fscsi1
* fscsi1
* pci0
* pci0
* pci2
* pci2
+ ent0
+ ent0
+ ent1
+ ent1
* pci3
* pci3
+ sisscsia0
+ sisscsia0
+ scsi0
+ scsi0
+ scsi1
+ scsi1
+ hdisk0
+ hdisk0
+ hdisk1
+ hdisk1
* vscsi0
* vscsi0
* hdisk2
* hdisk2
+ ses0
+ ses0

Device listing
including physical
location codes

Second half
System Object
System Object
System Planar
of the output
System Planar
L2 Cache
is identical to
L2 Cache
Memory
Memory
lscfg
Processor
Processor
Processor
Processor
U8204.E8A.652ACD2-V4-C0
LPAR Virtual Serial Adapter
U8204.E8A.652ACD2-V4-C0
LPAR Virtual Serial Adapter
U8204.E8A.652ACD2-V4-C0-L0
Asynchronous Terminal
U8204.E8A.652ACD2-V4-C0-L0
Asynchronous Terminal
U78A0.001.DNWGGRX-P1
PCI Express Bus
U78A0.001.DNWGGRX-P1
PCI Express Bus
U78A0.001.DNWGGRX-P1-C3-T1
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T1
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T1
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T2
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T2
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
FC SCSI I/O Controller Protocol Device
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1-C01-T1
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T1
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T2
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T2
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1-C04
PCI-XDDR Dual Channel Ultra320 SCSI Adapter
U7311.D20.6516D3C-P1-C04
PCI-XDDR Dual Channel Ultra320 SCSI Adapter
U7311.D20.6516D3C-P1-C04-T1
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T1
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2-L8-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L8-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L9-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L9-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U8204.E8A.652ACD2-V2-C12-T1
Virtual SCSI Client Adapter
U8204.E8A.652ACD2-V2-C12-T1
Virtual SCSI Client Adapter
U8204.E8A.652ACD2-V2-C12-T1-L810000000000 Virtual SCSI Disk Drive
U8204.E8A.652ACD2-V2-C12-T1-L810000000000 Virtual SCSI Disk Drive
U7311.D20.6516D3C-P1-C04-T2-L15-L0
SCSI Enclosure Services Device
U7311.D20.6516D3C-P1-C04-T2-L15-L0
SCSI Enclosure Services Device
Copyright IBM Corporation 2009

lscfg
IBM Power Systems

lscfg can be used to display Vital Product Data (VPD) information for
devices.
CEs need this to order and replace failed components
Physical
location code
## lscfg
lscfg -v
-v -l
-l ent0
ent0
ent0
U7311.D20.6516D3C-P1-C01-T1
ent0
U7311.D20.6516D3C-P1-C01-T1 2-Port
2-Port 10/100/1000
10/100/1000 BaseBaseTX
PCI-X
Adapter
(14108902)
TX PCI-X Adapter (14108902)
2-Port
2-Port 10/100/1000
10/100/1000 Base-TX
Base-TX PCI-X
PCI-X Adapter:
Adapter:
VPD
Part
Number.................03N5297
Part Number.................03N5297
information
FRU
FRU Number..................03N5297
Number..................03N5297
EC
EC Level....................H13845
Level....................H13845
Manufacture
Manufacture ID..............YL1021
ID..............YL1021
Network
Network Address.............001A64918678
Address.............001A64918678
ROM
ROM Level.(alterable).......DV0210
Level.(alterable).......DV0210
Hardware
Hardware Location
Location Code......U7311.D20.6516D3C-P1-C01-T1
Code......U7311.D20.6516D3C-P1-C01-T1

Copyright IBM Corporation 2009

lsdev
IBM Power Systems

lsdev displays device information including the device state


Software (AIX) location
codes

# lsdev |grep ent


# lsdev |grep ent
ent0
Available 02-08
ent0
Available 02-08
ent1
Available 02-09
ent1
Available 02-09
ent2
Available
ent2
Available
ent3
Available
ent3
Available
# lsdev -Cc disk
# lsdev -Cc disk
hdisk0
Available 03-08-01-8,0
hdisk0
Available 03-08-01-8,0
hdisk1
Available 01-00-02
hdisk1
Available 01-00-02
hdisk2
Available 00-08-00
hdisk2
Available 00-08-00
# lsdev -Cl proc2
# lsdev -Cl proc2
proc2
Available 00-02
proc2
Available 00-02

2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)


2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
Virtual I/O Ethernet Adapter (l-lan)
Virtual I/O Ethernet Adapter (l-lan)
Shared Ethernet Adapter
Shared Ethernet Adapter
16 Bit LVD SCSI Disk Drive
16 Bit LVD SCSI Disk Drive
MPIO Other FC SCSI Disk Drive
MPIO Other FC SCSI Disk Drive
SAS Disk Drive
SAS Disk Drive
-Cc : list by class
-Cl : list by device name
Processor
Processor

# lsdev -p pci5
# lsdev -p pci5
ent8
Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent8
Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent9
Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent9
Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)

Device state
# lsdev Cl cd1 F parent
# lsdev Cl cd1 F parent
ide0
ide0
# ksh < parent.device cd1
# ksh < parent.device cd1
cd1 ide0 pci1 pci0 sysplanar0 sys0
cd1 ide0 pci1 pci0 sysplanar0 sys0

Locating the
parent device

listing parent
devices recursively
Copyright IBM Corporation 2009

child
devices

lsslot
IBM Power Systems

Displays dynamic reconfigurable slots, such as hot plug slots,


and their characteristics
Lists all logical I/O
slots on the system
## lsslot
lsslot -c
-c slot
slot
## Slot
Slot
U787F.001.DPM0WB8-P1-C1
U787F.001.DPM0WB8-P1-C1
U787F.001.DPM0WB8-P1-C3
U787F.001.DPM0WB8-P1-C3
U787F.001.DPM0WB8-P1-T5
U787F.001.DPM0WB8-P1-T5
U787F.001.DPM0WB8-P1-T10
U787F.001.DPM0WB8-P1-T10
U787F.001.DPM0WB8-P1-T12
U787F.001.DPM0WB8-P1-T12
U9131.52A.063412G-V1-C0
U9131.52A.063412G-V1-C0
## lsslot
lsslot -c
-c pci
pci
## Slot
Slot
U787F.001.DPM0WB8-P1-C1
U787F.001.DPM0WB8-P1-C1
U787F.001.DPM0WB8-P1-C3
U787F.001.DPM0WB8-P1-C3
U787F.001.DPM0WB8-P1-C4
U787F.001.DPM0WB8-P1-C4

Description
Description
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
I/O
Slot
Logical I/O Slot
Virtual
Virtual I/O
I/O Slot
Slot

Device(s)
Device(s)
pci7
pci7 fcs1
fcs1
pci4
pci4 sisscsia1
sisscsia1
pci5
pci5 ent0
ent0 ent1
ent1
pci3
pci3 sisscsia0
sisscsia0
pci2
ide0
pci2 ide0
vsa0
vsa0

Description
Description
PCI-X
PCI-X capable,
capable, 64
64 bit,
bit, 133MHz
133MHz slot
slot
PCI-X
PCI-X capable,
capable, 32
32 bit,
bit, 66MHz
66MHz slot
slot
PCI-X
PCI-X capable,
capable, 64
64 bit,
bit, 266MHz
266MHz slot
slot

Copyright IBM Corporation 2009

Lists all PCI hot


plug slots

Device(s)
Device(s)
fcs1
fcs1
sisscsia1
sisscsia1
fcs0
fcs0

lsattr and chdev commands


IBM Power Systems

Use lsattr to view and chdev change device attribute data.


Tape example: Changing block size
# lsattr -El rmt0
# lsattr -El rmt0
block_size
1024 BLOCK size (0=variable length)
True
block_size
1024 BLOCK size (0=variable length)
True
compress
yes
Use data COMPRESSION
True
compress
yes
Use data COMPRESSION
True
density_set_1 71
DENSITY setting #1
True
density_set_1 71
DENSITY setting #1
True
density_set_2 38
DENSITY setting #2
True
density_set_2 38
DENSITY setting #2
True
extfm
yes
Use EXTENDED file marks
True
extfm
yes
Use EXTENDED file marks
True
mode
yes
Use DEVICE BUFFERS during writes
True
mode
yes
Use DEVICE BUFFERS during writes
True
ret
no
RETENSION on tape change or reset
True
ret
no
RETENSION on tape change or reset
True
ret_error
no
RETURN error on tape change or reset True
ret_error
no
RETURN error on tape change or reset True
size_in_mb
36000 Size in Megabytes
False
size_in_mb
36000 Size in Megabytes
False

Current block
size = 1KB

True indicates
that the attribute
is user settable

Sometimes with tapes devices, data cannot be read because the tape
device has a different block size than the device that wrote the data.
Changing the value to 0 (variable) can help overcome these problems.
# chdev -l rmt0 -a block_size=0
# chdev -l rmt0 -a block_size=0
rmt0 changed
rmt0 changed

Set block size to 0

# lsattr -El rmt0 |grep block_size


# lsattr -El rmt0 |grep block_size
block_size
0
BLOCK size (0=variable length)
block_size
0
BLOCK size (0=variable length)

True
True

Copyright IBM Corporation 2009

Block size
changed

Device states
IBM Power Systems

Undefined
The device is unknown to the system.

Defined
The device is know to the system but it is unavailable for use.

Available
The device is available and ready for use.

Stopped
The device is unavailable but remains known by its device driver.

The mkdev and cfgmgr commands make devices available


for use.
The rmdev command can make devices unavailable for use
and completely remove them from the system.

Copyright IBM Corporation 2009

/dev directory, device configuration and control


IBM Power Systems

On Unix platforms, access to devices is provided through special device


files that reside in /dev directory.
## lsdev
lsdev -Cc
-Cc tape;
tape; ls
ls -l
-l /dev/*rmt0*
/dev/*rmt0*
/dev/*rmt0*
not
found
/dev/*rmt0* not found

Tape drive will be configured


by loading the device into
the kernel (/unix)

## cfgmgr
cfgmgr

## lsdev
lsdev -Cc
-Cc tape
tape
rmt0
Available
rmt0 Available 04-08-01-2,0
04-08-01-2,0 LVD
LVD SCSI
SCSI 4mm
4mm Tape
Tape Drive
Drive
## ls
ls -l
-l /dev/*rmt0*
/dev/*rmt0*
crw-rw-rw11 root
system
crw-rw-rwroot
system
crw-rw-rw1
root
system
crw-rw-rw1 root
system
.
. Removed
Removed rmt0.2
rmt0.2 through
through rmt0.6
rmt0.6
crw-rw-rw11 root
system
crw-rw-rwroot
system

37,
37, 00 13
13 Oct
Oct 14:43
14:43 /dev/rmt0
/dev/rmt0
37,
1
13
Oct
14:43
37, 1 13 Oct 14:43 /dev/rmt0.1
/dev/rmt0.1
37,
37, 77 13
13 Oct
Oct 14:43
14:43 /dev/rmt0.7
/dev/rmt0.7

## rmdev
rmdev -l
-l rmt0
rmt0
rmt0
Defined
rmt0 Defined
## mkdev
mkdev -l
-l rmt0
rmt0
rmt0
rmt0 Available
Available
## rmdev
rmdev -l
-l rmt0
rmt0 -d
-d
rmt0
deleted
rmt0 deleted

The Kernel will


reference the tape
device through the
major number (37)

Copyright IBM Corporation 2009

Minor number.
Certain devices like
tapes can behave in
different ways.

Device addressing
IBM Power Systems

The address of a device allows you to identify its location.


There are two types of Device addressing.
Physical location codes refer to a specific component.
Assigned by the system firmware
Example. hdisk0:

U78A0.001.DNWGGRX-P2-D5 (SAS Drive)

Operating system location codes also refer to components but use a


different convention, assigned by AIX.
Not as useful or meaningful as Physical codes on POWER5 or
POWER6 systems
Virtual devices do not have AIX location codes.
Note: Address conventions differ between models and types
(adapters, SCSI, non-SCSI)
Example. hdisk0:

00-08-00 (SAS Drive)

Both physical and AIX codes can be seen side by side with:
lsdev CHF name, status, physloc, location
Copyright IBM Corporation 2009

Physical location code examples


IBM Power Systems

Physical location code format


Unit_type.Model_no.Serial_no-additional device information

Examples:
hdisk0
hdisk0

U78A0.001.DNWGGRX-P2-D5
U78A0.001.DNWGGRX-P2-D5

SAS
SAS Disk
Disk Drive
Drive

SAS
SAS Planar
Planar (P2),
(P2), Device
Device slot
slot reference
reference 5,
5, disk
disk is
is in
in the
the CEC
CEC
ent1
ent1

U78A0.001.DNWGGRX-P1-C4-T2
U78A0.001.DNWGGRX-P1-C4-T2

2-Port
2-Port 10/100/1000
10/100/1000 PCI-X
PCI-X Adapter
Adapter

nd
System
System planar
planar (P1),
(P1), Card
Card slot
slot No
No 4,
4, 22nd port,
port, Adapter
Adapter is
is in
in the
the CEC
CEC

hdisk0
hdisk0

U7311.D20.6516D3C-P1-C04-T2-L8-L0
U7311.D20.6516D3C-P1-C04-T2-L8-L0 16
16 Bit
Bit LVD
LVD SCSI
SCSI Disk
Disk

nd
Planar
Planar 11 (P1),
(P1), PCI
PCI slot
slot No
No 4,
4, 22nd port,
port, SCSI
SCSI ID
ID 8,0,
8,0, Disk
Disk is
is in
in an
an
attached
SCSI
7311-D
20
I/O
Drawer.
attached SCSI 7311-D 20 I/O Drawer.

hdisk5
hdisk5

U78A0.001.DNWGGRX-P1-C3-T1-W500507630E801223-L4011402700000000
U78A0.001.DNWGGRX-P1-C3-T1-W500507630E801223-L4011402700000000 FC
FC SCSI
SCSI Disk
Disk

System
System planar
planar (P1),
(P1), Card
Card slot
slot No
No 3,
3, Port
Port 1,
1, WW == WW
WW unique
unique name
name of
of an
an
FC
adapter
(where
the
FC
adapter
is
in
a
remote
storage
subsystem),
FC adapter (where the FC adapter is in a remote storage subsystem), LL ==
LUN
LUN ID.
ID. The
The disk
disk is
is aa logical
logical device
device (identified
(identified by
by the
the LUN
LUN ID)
ID) in
in
the
remote
storage
subsystem.
the remote storage subsystem.
Copyright IBM Corporation 2009

Virtual location codes example


IBM Power Systems

Client (AIX) partition

Virtual devices are easily recognized


by the virtual ID reference. This
value is the LPAR ID as shown with
the uname command.

## uname
uname L
L
22 sys124_v1_T1
sys124_v1_T1
vscsi0
vscsi0
hdisk1
hdisk1

U8204.E8A.652ACD2-V2-C12-T1
U8204.E8A.652ACD2-V2-C12-T1
U8204.E8A.652ACD2-V2-C12-T1-L810000000000
U8204.E8A.652ACD2-V2-C12-T1-L810000000000

Virtual
Virtual SCSI
SCSI Client
Client Adapter
Adapter
Virtual
Virtual SCSI
SCSI Disk
Disk Drive
Drive

Virtual
Virtual client
client disk,
disk, Virtual
Virtual (LPAR)
(LPAR) ID
ID 2,
2, virtual
virtual card
card slot
slot 12.
12.

VIOS HMC profile


Virtual SCSI adapter definition

Note: In this example, the HMC profile is required to


show the client server virtual disk relationship.

VIOS partition

vhost0
vhost0

U8204.E8A.652ACD2-V1-C12
U8204.E8A.652ACD2-V1-C12

Virtual
Virtual SCSI
SCSI Server
Server Adapter
Adapter

Virtual
Virtual Server
Server adapter,
adapter, Virtual
Virtual (LPAR)
(LPAR) ID
ID 1,
1, virtual
virtual card
card slot
slot (Adapter
(Adapter ID)
ID) 12
12

Copyright IBM Corporation 2009

Checkpoint
IBM Power Systems

1.

What does the following location code mean?

fcs0
fcs0

U78A0.001.DNWGGRX-P1-C3-T1
U78A0.001.DNWGGRX-P1-C3-T1

4Gb
4Gb FC
FC PCI
PCI Express
Express Adapter
Adapter

2.

What is the purpose of a device major number? How would you


locate the major number of a disk, hdisk18?

3.

True or False: cfgmgr is a binary executable that runs at system


initialization time to configure devices on the system.

4.

What commands can you run on AIX to document the system


configuration?

Copyright IBM Corporation 2009

Checkpoint solutions
IBM Power Systems

1.

What does the following location code mean?

fcs0
fcs0

U78A0.001.DNWGGRX-P1-C3-T1
U78A0.001.DNWGGRX-P1-C3-T1

4Gb
4Gb FC
FC PCI
PCI Express
Express Adapter
Adapter

Port 1 of a 4Gb Fibre Card, connected to planar 1, card slot 3, in Power


550 CEC (U78A0)

2.

What is the purpose of a device major number? How would you


locate the major number of a disk, hdisk18?
The AIX Kernel can determine the actual driver and device to be
accessed for a user-level request.
Perform a long directory list of the /dev directory.

3.

True or False: cfgmgr is a binary executable that runs at system


initialization time to configure devices on the system.

4.

What commands can you run on AIX to document the system


configuration? prtconf, lsdev, lscfg, lsslot, lssattr
Copyright IBM Corporation 2009

Exercise 6
IBM Power Systems

System configuration
and devices

Copyright IBM Corporation 2009

Unit summary
IBM Power Systems

Having completed this unit, you should be able to:


Understand device terminology
Document the system configuration
Use popular device commands
Understand device configuration and control
Identify device locations
Interpret physical and virtual location codes

Copyright IBM Corporation 2009

You might also like