Configure New Hardware in HP-UX 11i v3

HP-UX systems have several hardware components:

  • One or more Itanium single-, dual-, or quad-core CPUs for processing data
  • One or more Cell Boards or Blades hosting CPU and memory
  • One or more System/Local Bus Adapters that provide connectivity to expansion buses
  • One or more PCI I/O expansion buses with slots for add-on Host Bus Adapters
  • One or more Host Bus Adapter cards for connecting peripheral devices
  • One or more Core I/O cards with built-in LAN, console, and boot disk connectivity
  • An iLO / Management Processor to provide console access and system management

Determining your Processor Type

On 11i v1 and v2 systems, you can determine your processor type via the SAM system

properties screen.

# sam -> Performance Monitors -> System Properties -> Processor

On Integrity systems, you can determine your processor type and configuration via the

machinfo command.

# machinfo

Online Replacement, Addition, Deletion (Interface Card OL*)

Some of the entry-class servers, and all of the current mid-range and high-end servers, now

support HP’s Interface Card OL* functionality, which makes it possible to add and replace

(11i v1, v2, and v3), or remove (11i v3 only) interface cards without shutting down the

system.

# olrad –q

 

Integrity Server Overview

Rackmount & Cell-Based Integrity Servers

High-End Cell-Based Server:

HP Integrity Superdome (64p/128c)

Mid-Range Cell-Based Servers:

HP Integrity rx8640 (16p/32c)

HP Integrity rx7640 (8p/16c)

 

Entry-Class rackmount Servers:

HP Integrity rx2800 i2 (2p/8c) New!

HP Integrity rx6600 (4p/8c)

HP Integrity rx3600 (2p/4c)

HP Integrity rx2660 (2p/4c)

 

 

Blade-Based Integrity Servers

High-End Server:

HP Integrity Superdome 2 (32p/128c) New!

 

Blade Servers:

Integrity BL890c i2 Blades (8p/32c) New!

Integrity BL870c i2 Blades (4p/16c) New!

Integrity BL860c i2 Blades (2p/8c) New!

Integrity BL870c Blades (4p/8c)

Integrity BL860c Blades (2p/4c)

 

Viewing the System Configuration View the system model string

# model

# uname –a

 

View processor, memory, and firmware configuration information

# machinfo

 

View cell boards, interface cards, peripheral devices, and other components

# ioscan all components

# ioscan –C cell                 :To view cell board class components

# ioscan –C lan                  :To view LAN interface class components

# ioscan –C disk                 :To View disk class devices

# ioscan –C fc                      :To view fibre channel interfaces

# ioscan –C ext_bus          :To view fibre channel interfaces

# ioscan –C processor      :To view processors

# ioscan –C tty                   :To view serial (teletype) class components

 

Hardware Addresses

Legacy vs. Agile View Hardware Addresses

  • 11i v1 and v2 implement a “legacy” mass storage stack and addressing scheme
  • 11i v3 implements a new mass storage stack, with many new enhancements
  • 11i v3 uses new “agile view” addresses, but still supports legacy addresses, too

 

Legacy HBA Hardware Addresses

1/0/0/2/0

Cell /SBA/LBA/device/function

 

Legacy Parallel SCSI Hardware Addresses

1/0/0/2/0.1.0

HBA hardware address/Device/ Target/ LUN ID

 

Legacy FC Hardware Addresses

1/0/2/1/0.6.1.0.0.0.1

HBA hardware address /              SAN domain/area/                port Array LUN ID

 

Viewing Legacy HP-UX Hardware Addresses

# ioscan      //short listing of all devices

# ioscan -f  //full listing of all devices

# ioscan –kf   // full listing, using cached information

# ioscan -kfH 0/0/0/3/0    //full listing of all devices below 0/0/0/3/0

# ioscan -kfC disk    //full listing of “disk” class devices

 

Agile View HBA Hardware Addresses

1/0/0/2/0

Cell/ SBA /LBA /device/function

Agile View Parallel SCSI Hardware Addresses

1/0/0/2/0.0xa.0x0

HBA hardware address/                                   Target LUN ID

 

Agile View FC Lunpath Hardware Addresses

1/0/2/1/0.0x64bits.0x64bits

HBA hardware address                        /WW Port Name                           /LUN Address

 

Agile View FC LUN Hardware Path Addresses

64000/0xfa00/0x4

virtual root node              /virtual bus              /virtual LUN ID

Viewing LUN Hardware Paths via Agile View

Search and list all devices using legacy hardware addresses.

# ioscan

 

Search and list all devices using Agile View addresses.

# ioscan –N

 

Display a kernel-cached full list of devices using Agile View addressing.

# ioscan –kfN

Display a kernel-cached listing of disk class devices using Agile View addressing.

# ioscan –kfNC disk

Display a kernel-cached listing of a device at a specific hardware path.

# ioscan –kfNH 64000/0xfa00/0x4

Viewing LUNs and their lunpaths via Agile View

# ioscan –m lun [-H 64000/0xfa00/0x4]

# ioscan –m lun

Viewing HBAs and their lunpaths via Agile View

# ioscan –kfNH 1/0/2/1/0

Viewing LUN Health via Agile View

Report the health status of all disks/LUNs.

# ioscan –P health –C disk

 

Report the health status of a specific disk/LUN, or fibre channel adapter.

# ioscan –P health –H 64000/0xfa00/0x4

 

Report the status of all fibre channel adapters.

# ioscan –P health –C fc

 

Report the health status of a specific fibre channel adapter and its lunpaths.

# ioscan –P health –H 1/0/2/1/0

Viewing LUN Attributes via Agile View

Use a LUN hardware path to determine a disk’s WWID

 

# scsimgr get_attr -a wwid [all_lun]|[-H 64000/0xfa00/0x4]

name = wwid

current = 0x600508b400012fd20000a00000250000

default =

saved =

 

Use one of the LUN’s lunpath hardware addresses to determine a disk’s LUNID

# scsimgr get_attr \

-a lunid \

-H 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

name = lunid

current =0x4001000000000000 (LUN # 1, Flat Space Addressing)

default =

saved =

Obtaining LUN IDs

# scsimgr get_attr \

-a lunid \

-H 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

name = lunid

current =0x4001000000000000 (LUN # 1, Flat Space Addressing)

default =

saved =

Enabling and Disabling lunpaths via Agile View

Disable a lunpath

# scsimgr -f disable

–H 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

LUN path 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

disabled successfully

 

Determine lunpath status

# ioscan -P health -H 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

Class I H/W Path health

===================================================================

lunpath 5 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000 disabled

 

Reenable a lunpath

# scsimgr enable

-H 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

LUN path 1/0/2/1/0.0x50001fe15003112c.0x4001000000000000

enabled successfully

 

Slot Address Overview

  • HP-UX hardware addresses are useful when managing devices, but …
  • HP-UX slot addresses identify an interface card’s physical location on the system
  • Interface cards slot addresses provide the following information:

− The slot’s cabinet

− The slot’s I/O bay

− The slot’s I/O chassis

− The slot’s slot number

Viewing Slot Addresses

# olrad -q

Driver(s) Capable

Slot Path Bus Max Spd Pwr Occu Susp OLAR OLD Max Mode

Num Spd Mode

0-0-1-1 1/0/8/1 396 133 133 Off No N/A N/A N/A PCI-X PCI-X

0-0-1-2 1/0/10/1 425 133 133 Off No N/A N/A N/A PCI-X PCI-X

0-0-1-3 1/0/12/1 454 266 266 Off No N/A N/A N/A PCI-X PCI-X

0-0-1-4 1/0/14/1 483 266 66 On Yes No Yes Yes PCI-X PCI

0-0-1-5 1/0/6/1 368 266 66 On Yes No Yes Yes PCI-X PCI

0-0-1-6 1/0/4/1 340 266 266 On Yes No Yes Yes PCI-X PCI-X

0-0-1-7 1/0/2/1 312 133 133 On Yes No Yes Yes PCI-X PCI-X

0-0-1-8 1/0/1/1 284 133 133 On Yes No Yes Yes PCI-X PCI-X

# rad -q

Slot Path Bus Speed Power Occupied Suspended Capable

0-0-0-1 0/0/8/0 64 66 On Yes No Yes

0-0-0-2 0/0/10/0 80 66 On Yes No Yes

0-0-0-3 0/0/12/0 96 66 On Yes No Yes

Managing Card and Devices

Installing Interface Cards w/out OL* (11i v1, v2, v3)

1)Verify card compatibility

2)Verify that the required driver is configured in the kernel

3)Properly shutdown and power off the system

4)Install the interface card

5)Power up

6)Run ioscan to verify that the card is recognized

 

Installing Interface Cards with OL* (11i v1)

  • Installing a new interface card with OL* in 11i v1:
  • Verify card compatibility
  • Verify that the required driver is configured in the kernel
  • Go to the SAM “Peripheral Devices -> Cards” screen
  • Select an empty slot from the object list
  • Select “Actions -> Light Slot LED” to identify the card slot
  • Select “Actions -> Add” to analyze the slot
  • Insert the card as directed
  • Wait for SAM to power on, bind, and configure the card

Check ioscan to verify that the card is recognized

Installing Interface Cards with OL* (11i v2, v3)

1) Installing a new interface card with OLAR:

2) Verify card compatibility

3) Verify that the required driver is configured in the kernel

4) Go to the SMH “Peripheral Device Tool -> OLRAD Cards” screen

5) Select an empty slot

6) Click “Turn On/Off Slot LED”

7) Click “Add Card Online”

8) Click “Run Critical Resource Analysis”

9) Click “Power Off” to power-off the slot

10) Insert the new card

11) Click “Bring Card Online”

Check ioscan to verify that the card is recognized

 

Installing New Devices (11i v1, v2, v3)

 

Configuring a new LUN or hot-pluggable device

  • Verify device compatibility
  • Verify that the required driver is configured in the kernel
  • Connect or configure the device
  • Run ioscan to add the device to the kernel I/O tree (not necessary in 11i v3)
  • Run insf to create device files (not necessary in 11i v3)
  • Run ioscan –kfn or ioscan –kfnN to verify the configuration

 

 

 

 

Configuring a new non-hot-pluggable device

  • Verify device compatibility
  • Verify that the required driver is configured in the kernel
  • Shutdown and power off the system
  • Connect the device

5)   Power-on and boot the system

6)   Run ioscan –kfn or ioscan –kfnN to verify the configuration

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s