msgbartop
Tips and Tricks site for advanced HP-UX Engineers
msgbarbottom

23 Jul 15 HP-UX patch depot tutorial

Patch Depot tutorial

So you downloaded your QPK after doing swainv analysis of what patches your HP-UX server fleet needs. You have a bundle, but you do not want the default name bundle. No problem use the create script to customize:

The following command sets the bundle name (-b ) and the tilte of the bundle ( -t )
./create_depot_hpux.11.31 -b 201510HPUXPATCHMYCOMPANY -t MYCOMPANYFALL2015
… some output

A directory depot is created
cd depot

Check the bundle list. The names should be meaningful
swlist –l bundle –s $PWD
# Initializing…
# Contacting target “myhost”…
#
# Target: myhost:/Depots/tmp/depot
#

201510HPUXPATCHMYCOMPANY B.2015.07.23 MYCOMPANYFALL2015
QPKAPPS B.11.31.1503.411a Applications Patches for HP-UX 11i v3, March 2015
QPKBASE B.11.31.1503.411a Base Quality Pack Bundle for HP-UX 11i v3, March 2015

Next step copy them to a single install point:
swcopy -x enforce_dependencies=FALSE -x reinstall=TRUE -x write_remote_files=TRUE -d -s $PWD \* @ /Depots/B.11.31/2015FY_second

… some output deleted …

PHSS_43882.HVSD-KRN,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
PHSS_43883.HSSN-KRN,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
PHSS_43884.IGSSN-KRN,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
PHSS_43886.GVSD-KRN,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
* Selection succeeded.

* Beginning Analysis and Execution
* Session selections have been saved in the file
“/root/.sw/sessions/swcopy.last”.
WARNING: “myhost:/Depots/B.11.31/2015FY_second”: The software
dependencies for 4 products or filesets cannot be resolved.
* The execution phase succeeded for
“myhost:/Depots/B.11.31/2015FY_second”.
* Analysis and Execution succeeded.

NOTE: More information may be found in the agent logfile using the
command “swjob -a log myhost-2347 @
myhost:/Depots/B.11.31/2015FY_second”.

======= 07/23/15 14:49:03 PDT END swcopy SESSION (non-interactive)
(jobid=myhost-2347)

Next check the destination depot
swlist –l depot –s /Depots/B.11.31/2015FY_second

# Initializing…
# Contacting target “myhost”…
#
# Target: myhost:/Depots/B.11.31/2015FY_second
#

201510HPUXPATCHMYCOMPANY B.2015.07.23 MYCOMPANYFALL2015
QPKAPPS B.11.31.1503.411a Applications Patches for HP-UX 11i v3, March 2015
QPKBASE B.11.31.1503.411a Base Quality Pack Bundle for HP-UX 11i v3, March 2015

Then a problem comes up and you need to add a new patch to your already build depot, say PHSS_44116.depot a fix to issues starting hpvm guests.
swcopy -d -s $PWD/PHSS_44116.depot \* @ /Depots/B.11.31/2015FY_second

======= 07/23/15 14:58:12 PDT BEGIN swcopy SESSION (non-interactive)
(jobid=myhost-2348)

* Session started for user “root@myhost”.

* Beginning Selection
* Target connection succeeded for
“myhost:/Depots/B.11.31/2015FY_second”.
* Source: /Depots/B.11.31/PHSS_44116.depot
* Targets: myhost:/Depots/B.11.31/2015FY_second
* Software selections:
PHSS_44116.HPVM-CORE,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
PHSS_44116.VIRT-PROVIDER,r=1.0,a=HP-UX_B.11.31_IA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA
* Selection succeeded.

* Beginning Analysis and Execution
* Session selections have been saved in the file
“/root/.sw/sessions/swcopy.last”.
* The analysis phase succeeded for
“myhost:/Depots/B.11.31/2015FY_second”.
* The execution phase succeeded for
“myhost:/Depots/B.11.31/2015FY_second”.
* Analysis and Execution succeeded.

NOTE: More information may be found in the agent logfile using the
command “swjob -a log myhost-2348 @
myhost:/Depots/B.11.31/2015FY_second”.

======= 07/23/15 14:58:14 PDT END swcopy SESSION (non-interactive)
(jobid=myhost-2348)

This method can be used to deliver any software built in depot format.
Let’s check the patch became a part of the depot:
myhost:root > swlist -s /Depots/B.11.31/2015FY_second
# Initializing…
# Contacting target “myhost”…
#
# Target: myhost:/Depots/B.11.31/2015FY_second
#

#
# Bundle(s):
#

201510HPUXPATCHMYCOMPANY B.2015.07.23 MYCOMPANYFALL2015
QPKAPPS B.11.31.1503.411a Applications Patches for HP-UX 11i v3, March 2015
QPKBASE B.11.31.1503.411a Base Quality Pack Bundle for HP-UX 11i v3, March 2015
#
# Product(s) not contained in a Bundle:
#

PHSS_44116 1.0 HPVM B.06.30 CORE PATCH
myhost:root >

Tags: , , ,

12 Jul 11 Migrate VXVM booted system to LVM

From the HP-UX Veritas Administration guide, buried on page 106

This example shows how to create an LVM root disk on physical disk c0t1d0
after removing the existing LVM root disk configuration from that disk.

BOOTBG=$(vxdg bootdg)

vxprint -htg $BOOTDG | grep ^dm

dm rootdisk01   disk233_p2   auto     1024     142450592 –
dm rootmirr     disk234_p2   auto     1024     142450592 –

# You get the boot disk from this command. Break off the s2 if you are using legacy devices you can use them or the agile SDF devices.

# You may need to use vxbrk_mirror to break the mirror. Make sure you know which disk you are booted from. Check syslog to be sure. setboot is not a good indicator.

# Due to a wordpress error I’ve been forced to take the path etc vx bin out of the commands. I will fix this when wordpress stops blowing chunks on this data. Where there are spaces there need to be slashes.
#  etc vx bin vxdestroy_lvmroot -v c0t1d0
# etc vx bin vxres_lvmroot -v -b c0t1d0
The -b option to vxres_lvmroot sets c0t1d0 as the primary boot device.
As these operations can take some time, the verbose option, -v, is specified to
indicate how far the operation has progressed.

This command takes care of setboot and all details. Then just boot from the console.

This procedure does not remove VxVM software. The daemon still runs. But your system now boots LVM and that makes using Dynamic Root Disk (DRD) much easier.

 

Tags: , , , , , ,

16 Mar 11 Preparation procedure for hpux boot disk (11.31)

# vi /tmp/idf
3
EFI 500MB
HPUX 100%
HPSP 400MB

Use the idisk command to initialize:

 

idisk -wf /tmp/idf /dev/rdsk/disk8

 

Replace disk with the disk you intend to use.

 

insf -e -C disk

# May need to be used in advance to insure the device is recognized.

Tags: , , , , , ,

20 May 10 clean up procedure after ignite replication of hpvm host

This errror is created by Ignite replication of an hpvm system. The following checks device integrity and cleans up errors created by Ignite replication.

hpvmcreate: ERROR (jdeautp1): Incorrect backing device type.

First check for errors with this script (I may check this in at some point)

#!/usr/bin/sh
#
# Unofficial quick and dirty passthru DSF check script
#
# It walks all /dev/pt/* files and tries to find corresponding /dev/rdisk
# or /dev/rtape files. If they are foudn their minor numbers are compared.
#
# @(#) pt_check.sh v1.1 – stanm@wtec
#

for i in $(ls /dev/pt/*)
do
# ll $i
shortname=${i##*_}
printf “checking $shortname”
minor1=$(ll $i|awk ‘{print $6}’)
# echo minor1=$minor ($i)
if [ -c /dev/rdisk/$shortname ]; then
minor2=$(ll /dev/rdisk/$shortname|awk ‘{print $6}’)
# echo minor2=$minor2 ($/dev/rdisk/$shortname)
if [[ “x$minor1” = “x$minor2″ ]]; then
printf ” – OK\n”
else
printf ” – Minor numbers are probably incorrect\n”
printf “minor1=$minor1 ($i) vs ”
printf “minor2=$minor2 (/dev/rdisk/$shortname)\n”
fi
else
# could be tape
if [ -c /dev/rtape/${shortname}_BEST ]; then
minor2=$(ll /dev/rtape/${shortname}_BEST|awk ‘{print $6}’)
if [[ “x$minor1” = “x$minor2″ ]]; then
printf ” – OK\n”
else
printf ” – Minor numbers are probably incorrect\n”
printf “minor1=$minor1 ($i) vs ”
printf “minor2=$minor2 (/dev/rtape/${shortname}_BEST)\n”
fi
else
printf ” – /dev/rdisk/$shortname or /dev/rtape/${shortname}_BEST not found – check skipped\n”
fi
fi
done

Output indicating problems:

checking disk11 – Minor numbers are probably incorrect
minor1=0x000005 (/dev/pt/pt_disk11) vs minor2=0x000008 (/dev/rdisk/disk11)
checking disk12 – Minor numbers are probably incorrect
minor1=0x000006 (/dev/pt/pt_disk12) vs minor2=0x000009 (/dev/rdisk/disk12)
checking disk13 – Minor numbers are probably incorrect
minor1=0x000007 (/dev/pt/pt_disk13) vs minor2=0x00000a (/dev/rdisk/disk13)
checking disk14 – Minor numbers are probably incorrect
minor1=0x000008 (/dev/pt/pt_disk14) vs minor2=0x00000b (/dev/rdisk/disk14)
checking disk15 – Minor numbers are probably incorrect
minor1=0x000009 (/dev/pt/pt_disk15) vs minor2=0x00000c (/dev/rdisk/disk15)
checking disk17 – OK
checking disk18 – /dev/rdisk/disk18 or /dev/rtape/disk18_BEST not found – check skipped
checking disk19 – Minor numbers are probably incorrect
minor1=0x000017 (/dev/pt/pt_disk19) vs minor2=0x000013 (/dev/rdisk/disk19)
checking disk2 – OK
checking disk22 – Minor numbers are probably incorrect
minor1=0x000018 (/dev/pt/pt_disk22) vs minor2=0x000014 (/dev/rdisk/disk22)
checking disk23 – Minor numbers are probably incorrect
minor1=0x000019 (/dev/pt/pt_disk23) vs minor2=0x000015 (/dev/rdisk/disk23)
checking disk3 – OK
checking disk5 – OK
checking disk8 – /dev/rdisk/disk8 or /dev/rtape/disk8_BEST not found – check skipped
checking disk9 – /dev/rdisk/disk9 or /dev/rtape/disk9_BEST not found – check skipped

Correction procedure:

cd /var/opt/hpvm/common/

rm -f hpvm_devinit
cd /dev/pt
ls
rm -f *
hpvmdevmgmt -I

Consider this a necessary procedure to clean up after ignite replication

Tags: , , , , , , ,

18 May 10 swlist command to provide install date

New trick learned from HP support backline engineer.

swlist -l fileset -a revision -a title -a state -a install_date

———Sample output ——
# vmGuestLib B.04.00 Integrity VM vmGuestLib 200903081306.51
vmGuestLib.GUEST-LIB B.04.00 Integrity VM GUEST-LIB fileset 200903081306.51 configured
# vmProvider B.04.00 WBEM Provider for Integrity VM vmProvider 200903081306.59
vmProvider.VM-PROV-CORE B.04.00 WBEM Provider for Integrity VM VM-PROV-CORE 200903081306.59 configured

Tags: , , , , , , , ,

22 Feb 10 Obtain Fiber card WWN information from HP-UX npar

This was developed jointly by myself and Ted Fisher of Dana. Ted did most of the work, because I had to duck out of the office. The idea is however to take the utility fcmsutil and get it working in the recovery shell was developed jointly.

What follows is a putty log, with certain proprietary network information removed and a procedure.

Connect to the Console that controls the npar.

 

                                Welcome to the

                             Management Processor

                 HP 9000 and Integrity Superdome Server SD64B

 

 

Supported firmware-updateable entity combination: Recipe 8.7e                  

 

 

    MP MAIN MENU:

 

         CO: Consoles

        VFP: Virtual Front Panel

         CM: Command Menu

         CL: Console Logs

         SL: Show Logs

         FW: Firmware Update

         HE: Help

          X: Exit Connection

 

[dome-m1c] MP> co
    Partitions available:

 

     #   Name

    —  —-

     0)  dome-m1-NPAR0

     1)  dome-m1-NPAR1

     2)  dome-m1-NPAR2

     Q)  Quit

 

    Please select partition number: 2
        Connecting to OS Console: dome-m1-NPAR2

        (Use <Ctrl-b> to return to main menu.)

Client MAC Address: 00 22 64 E4 74 B2

Shell> lanboot select -cip 10.91.138.167 -sip 10.91.138.162 -m 255.255.255.0 -b “/
opt/ignite/boot/Rel_B.11.31/nbp.efi”
  01  Acpi(HWP0002,PNP0A03,804)/Pci(1|0)/Pci(6|0)/Mac(002264E47438)
  02  Acpi(HWP0002,PNP0A03,804)/Pci(1|0)/Pci(6|1)/Mac(002264E47439)
  03  Acpi(HWP0002,PNP0A03,805)/Pci(1|0)/Pci(6|0)/Mac(002264E47444)
  04  Acpi(HWP0002,PNP0A03,805)/Pci(1|0)/Pci(6|1)/Mac(002264E47445)
  05  Acpi(HWP0002,PNP0A03,806)/Pci(1|0)/Pci(6|0)/Mac(002264E474A4)
  06  Acpi(HWP0002,PNP0A03,806)/Pci(1|0)/Pci(6|1)/Mac(002264E474A5)
  07  Acpi(HWP0002,PNP0A03,80C)/Pci(1|0)/Pci(6|0)/Mac(002264E474DE)
  08  Acpi(HWP0002,PNP0A03,80C)/Pci(1|0)/Pci(6|1)/Mac(002264E474DF)
  09  Acpi(HWP0002,PNP0A03,80D)/Pci(1|0)/Pci(6|0)/Mac(002264E474B2)
  10  Acpi(HWP0002,PNP0A03,80D)/Pci(1|0)/Pci(6|1)/Mac(002264E474B3)
  11  Acpi(HWP0002,PNP0A03,80E)/Pci(1|0)/Pci(6|0)/Mac(002264E4745C)
  12  Acpi(HWP0002,PNP0A03,80E)/Pci(1|0)/Pci(6|1)/Mac(002264E4745D)
Select Desired LAN: 10

Client MAC Address: 00 22 64 E4 74 B3

LAN Configuration:
    Client MAC Address     : 00 22 64 E4 74 B3
    Client IP Address      : 10.91.138.167
    Subnet Mask            : 255.255.255.0
    Boot Server IP Address : 10.91.138.162
    DHCP Server IP Address : 0.0.0.0

Retrieving File Size.

    Boot file name: /opt/ignite/boot/nbp.efi
    Boot file size: 24576 bytes

Retrieving File (TFTP).

Executing Image: “/opt/ignite/boot/nbp.efi”
Optional Data: NONE
@(#) HP-UX IA64 Network Bootstrap Program Revision 1.0
Downloading HPUX bootloader
Starting HPUX bootloader
Obtaining size of fpswa.efi  / (328192 bytes)
Downloading file  fpswa.efi  -\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\ (328192 bytes)

(C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF  —  Revision 2.036

Booting from Lan
Obtaining size of AUTO  | (226 bytes)
Downloading file  AUTO  /- (226 bytes)
Obtaining size of AUTO  \ (226 bytes)
Downloading file  AUTO  |/ (226 bytes)

 

Obtaining size of AUTO  – (226 bytes)
Downloading file  AUTO  \| (226 bytes)
    1.  target OS is B.11.23 IA
    2.  target OS is B.11.31 IA
    3.  Exit Boot Loader

Choose an operating system to install that your hardware supports:2

Obtaining size of AUTO  / (226 bytes)
Downloading file  AUTO  -\ (226 bytes)
Obtaining size of Rel_B.11.31/IINSTALL  | (50966795 bytes)
Downloading file  Rel_B.11.31/IINSTALL  /-\ (50966795 bytes)
> System Memory = 98106 MB
loading section 0
………………………………………………………………………………………. (complete)
loading section 1
…………….. (complete)
loading symbol table
Obtaining size of Rel_B.11.31/IINSTALLFS  | (61341696 bytes)
Downloading file  Rel_B.11.31/IINSTALLFS  /-\|//-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/- (61341696 bytes)
loading ram disk file (Rel_B.11.31/IINSTALLFS).
………………………………………………………………………………………………………
 (complete)
Launching Rel_B.11.31/IINSTALL
SIZE: Text:50828K + Data:8272K + BSS:23776K = Total:82878K

Console is on Serial Device – via PCDP
Booting kernel…

krs_read_mfs: Error 5 opening MFS.

Loaded ACPI revision 2.0 tables.

krs_read_mfs: Error 5 opening MFS.

 

Memory Class Setup

————————————————————————-

Class     Physmem              Lockmem              Swapmem

————————————————————————-

System :  93316 MB             93316 MB             93316 MB           

Kernel :  93316 MB             93316 MB             93316 MB           

User   :  90509 MB             80238 MB             80553 MB           

————————————————————————-

 

ktracer is off until requested.

Installing Socket Protocol families AF_INET and AF_INET6

Kernel EVM initialized

sec_init(): kernel RPC authentication/security initialization.

secgss_init():  kernel RPCSEC_GSS security initialization.

rpc_init(): kernel RPC initialization.

rpcmod_install(): kernel RPC STREAMS module “rpcmod” installation. …(driver_install)

NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11.

NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12.

iether0: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/4/1/0/6/0

iether1: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/4/1/0/6/1

iether2: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/5/1/0/6/0

iether3: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/5/1/0/6/1

iether4: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/6/1/0/6/0

iether5: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/6/1/0/6/1

iether6: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/12/1/0/6/0

iether7: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/12/1/0/6/1

iether8: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/13/1/0/6/0

iether9: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/13/1/0/6/1

iether10: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/14/1/0/6/0

iether11: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 8/0/14/1/0/6/1

 

    System Console is on the Built-In Serial Interface

iether12: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/4/1/0/6/0

iether13: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/4/1/0/6/1

iether14: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/5/1/0/6/0

iether15: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/5/1/0/6/1

iether16: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/6/1/0/6/0

iether17: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/6/1/0/6/1

iether18: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/12/1/0/6/0

iether19: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/12/1/0/6/1

iether20: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/13/1/0/6/0

iether21: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/13/1/0/6/1

iether22: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/14/1/0/6/0

iether23: INITIALIZING HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter at hardware path 10/0/14/1/0/6/1

AF_INET socket/streams output daemon running, pid 158

afinet_prelink: module installed

Starting the STREAMS daemons-phase 1

    Swap device table:  (start & size given in 512-byte blocks)

        entry 0 – auto-configured on root device; ignored – no room

WARNING: No swap device configured, so dump cannot be defaulted to primary swap.

WARNING: No dump devices are configured.  Dump is disabled.

Create STCP device files

Starting the STREAMS daemons-phase 2

     $Revision: vmunix:    B.11.31_LR FLAVOR=perf nfsauth: lookupname: 2

 

Memory Information:

    physical page size = 4096 bytes, logical page size = 4096 bytes

    Physical: 100461436 Kbytes, lockable: 80228428 Kbytes, available: 90518748 Kbytes

 

       * Preparing to execute init…
=======  02/19/10 13:42:01 EST  HP-UX Installation Initialization. (Fri Feb 19
         13:42:01 EST 2010)
         @(#)Ignite-UX Revision C.7.7.93
         @(#)ignite/launch (opt) Revision:
         /branches/IUX_RA0809/ignite/src@74753 Last Modified: 2008-07-11
         12:27:58 -0600 (Fri, 11 Jul 2008)
       * Configuring RAM filesystems…
       * Scanning system for IO devices…
       * Boot device is: 8/0/13/1/0/6/1
NOTE:    There were no disk devices found during the scan.  Make sure that the
         destination disks are connected and powered on.  You may choose to
         scan for more disk drives from next menu on the console.
NOTE:    Empty primary boot path reported by setboot: Primary bootpath :
        
NOTE:    Primary path not currently set to an existing disk device.
       * Setting keyboard language.
.i
    
i
 ### We poke around and try and get the hardware information and the World Wide Name.
Welcome to Ignite-UX!Use the <tab> key to navigate between fields, and the arrow keys
  within fields.  Use the <return/enter> key to select an item.
  Use the <return/enter> or <space-bar> to pop-up a choices list.  If the
  menus are not clear, select the “Help” item for more information.Hardware Summary:System Model: ia64 hp superdome server SD64B
  +———————-+—————+——————–+[ Scan Again  ]
  | Disks: 0  (    0.0GB)| Floppies: 0   | LAN cards:  24     |
  | CD/DVDs:0    | Tapes:    0   | Memory:    98106Mb |
  | Graphics Ports: 0    | IO Buses: 24  | CPUs:24     |[ H/W Details ]
  +———————-+—————+——————–+[      Install HP-UX       ][   Run an Expert Recovery Shell   ][    Advanced Options][  Reboot  ][  Help  ]     Install HP-UX       Run an Expert Recovery Shell  Networking must be enabled in order to load a shell.
(Press any key to continue.)LAN Interface SelectionMore than one network interface was detected on the system.  Youwill need to select the interface to enable.  Only one interfacecan be enabled, and it must be the one connected to the networkthat can be used in contacting the install and/or SD servers.Use the <tab> and/or arrow keys to move to the desired LAN deviceto enable, then press <Return>.HW Path    Interface   Station Address  Description———————————————————-[ 8/0/4/1/0/6 lan0     0x002264E47438   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/4/1/0/6 lan1     0x002264E47439   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/5/1/0/6 lan2     0x002264E47444   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/5/1/0/6 lan3     0x002264E47445   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/6/1/0/6 lan4     0x002264E474A4   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/6/1/0/6 lan5     0x002264E474A5   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/12/1/0/ lan6     0x002264E474DE   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/12/1/0/ lan7     0x002264E474DF   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/13/1/0/ lan8     0x002264E474B2   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/13/1/0/ lan9     0x002264E474B3   HP_AD194-60001_PCI/PCI-X_1000B ][ 8/0/14/1/0/ lan10    0x002264E4745C   HP_AD194-60001_PCI/PCI-X_1000B ]8/0/13/1/0/ lan9     0x002264E474B3   HP_AD194-60001_PCI/PCI-X_1000B* Searching the network for a DHCP server to supply default networkinginformation….This could take up to 30 seconds if a DHCP server cannot be found. Ifyou wish to cancel the DHCP server search, you may press CTRL-C now.* Could not get DHCP information.  No host specific network defaultswill be supplied.  (dhcpclient returned: 9)NETWORK CONFIGURATIONNETWORK CONFIGURATIONThis system’s hostname:                Internet protocol address (eg. 15.2.56.1) of this host:                Default gateway routing internet protocol address: 10.8.128.1     The subnet mask (eg. 255.255.248.0 or 0xfffff800): 255.255.252.0  IP address of the Ignite-UX server system: 10.8.128.162   Is this networking information only temporary?  [ No  ][   OK   ][ Cancel ][  Help  ]10.8.128.167o No  OK    OK  ancelancelHelp  Help test        <est NETWORK CONFIGURATIONThis system’s hostname:<est            Internet protocol address (eg. 15.2.56.1) of this host:                Default gateway routing internet protocol address: 10.8.128.1     The subnet mask (eg. 255.255.248.0 or 0xfffff800): 255.255.252.0  IP address of the Ignite-UX server system: 10.8.128.162   Is this networking information only temporary?  [ No  ][   OK   ][ Cancel ][  Help  ]10.8.128.167o No  OK    OK  ancelancelHelp  Help testo YesYesYes OK    OK         * Bringing up Network (lan9)
add net default: gateway 10.8.128.1
* Reading configuration information from server…
 
       * Creating disk device files…
       * Loading the recovery commands…

### We arrive at the recovery shell.

                  HP-UX NETWORK SYSTEM RECOVERY

                  WARNING:  YOU ARE SUPERUSER !!

 

 
Checking for required components on the Ignite Server……..

 

Loading some basic commands…
Required files exist … Proceeding
Cannot find the disk referenced by the primary
boot path: “” in /tmp/hw.info or /tmp/io.info.

The default chosen for the root disk may not be correct.
press <return> to continue

                 HP-UX NETWORK SYSTEM RECOVERY
                            MAIN MENU
    

        s.  Search for a file
        b.  Reboot
        l.  Load a file
        r.  Recover an unbootable HP-UX system
        x.  Exit to shell
This menu is for listing and loading the tools contained on the core media.
Once a tool is loaded, it may be run from the shell. Some tools require other
files to be present in order to successfully execute.

Select one of the above: Dead gateway detection can’t ping the last remaining default gateway at 0xa088001 .See ndd -h ip_ire_gw_probe for more info

Dead gateway detection can’t ping the last remaining default gateway at 0xa088001 .See ndd -h ip_ire_gw_probe for more info

l   NOTE: Loading some files may require other files/libraries to be loaded.
       If an attempt is made to load a file, and an error message is
       encountered when the command is invoked, it may be useful to use
       the chatr command (on a system that is up and running) to ensure that
       dependencies are met.  See chatr(1) for more details.
 
       For some commands (vi, ftp, rcp), the dependent files will be
       automatically loaded.  For others, you need to load them manually.

       If you specify a filename of “all” a list of all the files available
       will be displayed.

 

## The recovery shell put the OS into ram based file systems.
Filesystem           kbytes    used   avail %cap iused   ifree iused Mounted on
/                    57892   23319   34573  40%    68   14332   0%   ?
Filesystem           kbytes    used   avail %cap iused   ifree iused Mounted on
/RAMFS1             102400   17835   79393  18%    93   21139   0%   ?
Filesystem           kbytes    used   avail %cap iused   ifree iused Mounted on
/RAMFS2            1572864   24791 1451423   2%   127  387017   0%   ?

## We need tar, so we need to transfer tar to the recovery shell. 

Enter the filename(s) to load:
/usr/bin/tar
********  THE REQUESTED FILE(S): *********** 

./usr/bin/tar

 

 
   Is the above load list correct? [y/(n)] y

 

 ********* downloading the files *******
x ./usr/bin/tar, 146032 bytes, 286 tape blocks

<Press return to continue>

 

                 HP-UX NETWORK SYSTEM RECOVERY
                            MAIN MENU
    

        s.  Search for a file
        b.  Reboot
        l.  Load a file
        r.  Recover an unbootable HP-UX system
        x.  Exit to shell
This menu is for listing and loading the tools contained on the core media.
Once a tool is loaded, it may be run from the shell. Some tools require other
files to be present in order to successfully execute.

Select one of the above: l

    NOTE: Loading some files may require other files/libraries to be loaded.
       If an attempt is made to load a file, and an error message is
       encountered when the command is invoked, it may be useful to use
       the chatr command (on a system that is up and running) to ensure that
       dependencies are met.  See chatr(1) for more details.
 
       For some commands (vi, ftp, rcp), the dependent files will be
       automatically loaded.  For others, you need to load them manually.

       If you specify a filename of “all” a list of all the files available
       will be displayed.
At this point we have on the Ignite server craeted a file called fcms.tar. We have to use tftp to get the file into the Ignite server.

 

cd /opt/fcms

tar -cvf /var/opt/ignite/fcms.tar .

cd /usr/lib/hpux64

tar -cvf /var/opt/ignite/lib64.tar .

tftp <ip of ignite server>

 

tftp> get /var/opt/ignite/fcms.tar
Received 3689985 bytes in 0.7 seconds
tftp> Dead gateway detection can’t ping the last remaining default gateway at 0xa088001 .See ndd -h ip_ire_gw_probe for more info
tftp> quit
# ll
total 385884
-rw-r–r–   1 root       sys        3665920 Feb 19 14:00 fcms.tar
-rw-r–r–   1 root       sys        192040960 Feb 19 13:58 lib64.tar
# pwd
/usr/lib/hpux64
# tar     mv fcms.tar /opt/fcms
# ll
total 375096
-rw-r–r–   1 root       sys        192040960 Feb 19 13:58 lib64.tar
# tar -xvf lib64.tar
x ./libntl.so symbolic link to ./libntl.so.1
x ./libntl.so.1, 91352 bytes, 179 tape blocks
x ./netmgr/libnetmgr.so symbolic link to ./libnetmgr.so.1
x ./netmgr/libnetmgr.so.1, 328256 bytes, 642 tape blocks
x ./netmgr/libncweb_vlan.so symbolic link to ./libnetmgr_vlan.so.1
x ./netmgr/libnetmgr_dlpi.so symbolic link to ./libnetmgr_dlpi.so.1
x ./netmgr/libnetmgr_dlpi.so.1, 84704 bytes, 166 tape blocks
x ./netmgr/libnetmgr_vlan.so symbolic link to ./libnetmgr_vlan.so.1
x ./netmgr/libnetmgr_vlan.so.1, 359816 bytes, 703 tape blocks
x ./netmgr/libncweb_btlan.so symbolic link to ./libncweb_btlan.so.1
x ./netmgr/libncweb_btlan.so.1, 192872 bytes, 377 tape blocks
x ./netmgr/libnetmgr_btlan.so symbolic link to ./libncweb_btlan.so.1
x ./netmgr/libncweb_igssn.so symbolic link to /usr/lib/hpux64/netmgr/libncweb_igssn.so.1
x ./netmgr/libncweb_igssn.so.1, 350936 bytes, 686 tape blocks
x ./netmgr/libnetmgr_igssn.so symbolic link to /usr/lib/hpux64/netmgr/libncweb_igssn.so.1
x ./netmgr/libncweb_gelan.so symbolic link to ./libncweb_gelan.so.1
x ./netmgr/libncweb_gelan.so.1, 351216 bytes, 686 tape blocks
x ./netmgr/libnetmgr_gelan.so symbolic link to ./libncweb_gelan.so.1
x ./netmgr/libncweb_iether.so symbolic link to ./libncweb_iether.so.1
x ./netmgr/libncweb_iether.so.1, 358384 bytes, 700 tape blocks
x ./netmgr/libnetmgr_iether.so symbolic link to ./libncweb_iether.so.1
x ./netmgr/libncweb_igelan.so symbolic link to ./libncweb_igelan.so.1
x ./netmgr/libncweb_igelan.so.1, 354144 bytes, 692 tape blocks
x ./netmgr/libnetmgr_igelan.so symbolic link to ./libncweb_igelan.so.1
x ./netmgr/libncweb_intl100.so symbolic link to ./libncweb_intl100.so.1
x ./netmgr/libncweb_intl100.so.1, 187584 bytes, 367 tape blocks
x ./netmgr/libnetmgr_intl100.so symbolic link to ./libncweb_intl100.so.1
x ./netmgr/libncweb_apa.so symbolic link to ./libnetmgr_apa.so.1
x ./netmgr/libnetmgr_apa.so symbolic link to ./libnetmgr_apa.so.1
x ./netmgr/libnetmgr_apa.so.1, 881408 bytes, 1722 tape blocks
x ./netmgr/libnetmgr_hp_apa.so symbolic link to ./libnetmgr_apa.so.1
x ./libipv6.so symbolic link to ./libipv6.so.1
x ./libipv6.so.1, 76768 bytes, 150 tape blocks
x ./libnm.so symbolic link to ./libnm.so.1
x ./libnm.so.1, 244296 bytes, 478 tape blocks
x ./libxnet.so symbolic link to ./libxnet.so.1
x ./libxnet.so.1, 96464 bytes, 189 tape blocks
x ./libxti.so symbolic link to ./libxti.so.1
x ./libxti.so.1, 298840 bytes, 584 tape blocks
x ./cra/libmscra.so symbolic link to ./libmscra.so.1
x ./cra/libmscra.so.1, 361264 bytes, 706 tape blocks
x ./cra/liblancra.so symbolic link to ./liblancra.so.1
x ./cra/liblancra.so.1, 162048 bytes, 317 tape blocks
x ./cra/libhssn_cra.so symbolic link to /usr/lib/hpux64/cra/libhssn_cra.so.1
x ./cra/libhssn_cra.so.1, 100528 bytes, 197 tape blocks
x ./libIO.so symbolic link to ./libIO.so.1
x ./libIO.so.1, 292384 bytes, 572 tape blocks
x ./libcra.so symbolic link to ./libcra.so.1
x ./libcra.so.1, 196200 bytes, 384 tape blocks
x ./libcres.a, 94982 bytes, 186 tape blocks
x ./libhg.so symbolic link to ./libhg.so.1
x ./libhg.so.1, 76664 bytes, 150 tape blocks
x ./libmxndbg.so symbolic link to ./libmxndbg.so.1
x ./libmxndbg.so.1, 82816 bytes, 162 tape blocks
x ./libolrad.so symbolic link to ./libolrad.so.1
x ./libolrad.so.1, 91656 bytes, 180 tape blocks
x ./libprocsm.so symbolic link to ./libprocsm.so.1
x ./libprocsm.so.1, 74416 bytes, 146 tape blocks
x ./libsec.so symbolic link to ./libsec.so.1
x ./libsec.so.1, 582760 bytes, 1139 tape blocks
x ./libuca.so symbolic link to ./libuca.so.1
x ./libuca.so.1, 85680 bytes, 168 tape blocks
x ./libunalign.so symbolic link to ./libunalign.so.1
x ./libunalign.so.1, 84248 bytes, 165 tape blocks
x ./libvparusr.so symbolic link to ./libvparusr.so.1
x ./libvparusr.so.1, 176000 bytes, 344 tape blocks
x ./milli.a, 52590 bytes, 103 tape blocks
x ./millikern.a, 60144 bytes, 118 tape blocks
x ./libnsl.so symbolic link to ./libnsl.so.1
x ./librpcsec_gss.sl symbolic link to ./librpcsec_gss.so.1
x ./libacps.so symbolic link to ./libacps.so.1
x ./libacps.so.1, 82480 bytes, 162 tape blocks
x ./librbac.so symbolic link to ./librbac.so.1
x ./librbac.so.1, 278936 bytes, 545 tape blocks
x ./libldap.so symbolic link to /opt/ldapux/lib/hpux64/libldap.so.1
x ./libp/libc.so symbolic link to ./libc.so.1
x ./libp/libc.so.1, 5267664 bytes, 10289 tape blocks
x ./libp/libcres.a, 102214 bytes, 200 tape blocks
x ./libp/libdlv_vxfs.so symbolic link to ./libdlv_vxfs.so.1
x ./libp/libdlv_vxfs.so.1, 71664 bytes, 140 tape blocks
x ./unix2003.o, 1848 bytes, 4 tape blocks
x ./unix95.o, 1848 bytes, 4 tape blocks
x ./unix98.o, 1848 bytes, 4 tape blocks
x ./aries64.so, 5164024 bytes, 10086 tape blocks
x ./dld.so, 1091952 bytes, 2133 tape blocks
x ./dpd/libjvm.so.bpd, 12672 bytes, 25 tape blocks
x ./libCsup.so symbolic link to ./libCsup.so.1
x ./libCsup.so.1, 677016 bytes, 1323 tape blocks
x ./libc.so symbolic link to ./libc.so.1
x ./libc.so.1, 4898520 bytes, 9568 tape blocks
x ./libcext.so symbolic link to ./libcext.so.1
x ./libcext.so.1, 70384 bytes, 138 tape blocks
x ./libcl.so symbolic link to ./libcl.so.1
x ./libcl.so.1, 69336 bytes, 136 tape blocks
x ./libcurses.so symbolic link to ./libxcurses.so.1
x ./libdl.so symbolic link to ./libdl.so.1
x ./libdl.so.1, 78488 bytes, 154 tape blocks
x ./libdld.so symbolic link to ./libdl.so.1
x ./libelf.so symbolic link to ./libelf.so.1
x ./libelf.so.1, 336656 bytes, 658 tape blocks
x ./libgen.so symbolic link to ./libgen.so.1
x ./libgen.so.1, 81904 bytes, 160 tape blocks
x ./libgprof.so symbolic link to ./libgprof.so.1
x ./libgprof.so.1, 90696 bytes, 178 tape blocks
x ./libl.so symbolic link to ./libl.so.1
x ./libl.so.1, 82720 bytes, 162 tape blocks
x ./libl_thread.so symbolic link to ./libl_thread.so.1
x ./libl_thread.so.1, 83864 bytes, 164 tape blocks
x ./libm.so symbolic link to ./libm.so.1
x ./libm.so.1, 6465904 bytes, 12629 tape blocks
x ./libnss_files.so.1, 179704 bytes, 351 tape blocks
x ./libpam.so symbolic link to ./libpam.so.1
x ./libpam.so.1, 91528 bytes, 179 tape blocks
x ./libprof.so symbolic link to ./libprof.so.1
x ./libprof.so.1, 79688 bytes, 156 tape blocks
x ./libpsm.so symbolic link to ./libpsm.so.1
x ./libpsm.so.1, 73584 bytes, 144 tape blocks
x ./libpthread.so symbolic link to ./libpthread.so.1
x ./libpthread.so.1, 1535512 bytes, 3000 tape blocks
x ./libpthread_tr.so symbolic link to ./libpthread_tr.so.1
x ./libpthread_tr.so.1, 1780504 bytes, 3478 tape blocks
x ./librt.so symbolic link to ./librt.so.1
x ./librt.so.1, 85568 bytes, 168 tape blocks
x ./librwtool.so symbolic link to ./librwtool.so.1
x ./librwtool.so.1, 3684800 bytes, 7197 tape blocks
x ./librwtool_v2.so symbolic link to ./librwtool_v2.so.1
x ./librwtool_v2.so.1, 3858512 bytes, 7537 tape blocks
x ./libsin.so symbolic link to ./libsin.so.1
x ./libsin.so.1, 77032 bytes, 151 tape blocks
x ./libstd.so symbolic link to ./libstd.so.1
x ./libstd.so.1, 538840 bytes, 1053 tape blocks
x ./libstd_v2.so symbolic link to ./libstd_v2.so.1
x ./libstd_v2.so.1, 3297648 bytes, 6441 tape blocks
x ./libstream.so symbolic link to ./libstream.so.1
x ./libstream.so.1, 660248 bytes, 1290 tape blocks
x ./libunwind.so symbolic link to ./libunwind.so.1
x ./libunwind.so.1, 635200 bytes, 1241 tape blocks
x ./libuseracct.so symbolic link to ./libuseracct.so.1
x ./libuseracct.so.1, 77800 bytes, 152 tape blocks
x ./libxcurses.so.1, 1383776 bytes, 2703 tape blocks
x ./liby.so symbolic link to ./liby.so.1
x ./liby.so.1, 73648 bytes, 144 tape blocks
x ./pa_boot64.so, 160704 bytes, 314 tape blocks
x ./uld.so, 182864 bytes, 358 tape blocks
x ./libcrypto.a symbolic link to /opt/openssl/lib/hpux64/libcrypto.a
x ./libcrypto.so symbolic link to /opt/openssl/lib/hpux64/libcrypto.so
x ./libcrypto.so.0 symbolic link to /opt/openssl/lib/hpux64/libcrypto.so.0
x ./libcrypto.so.1 symbolic link to /opt/openssl/lib/hpux64/libcrypto.so.1
x ./libssl.a symbolic link to /opt/openssl/lib/hpux64/libssl.a
x ./libssl.so symbolic link to /opt/openssl/lib/hpux64/libssl.so
x ./libssl.so.0 symbolic link to /opt/openssl/lib/hpux64/libssl.so.0
x ./libssl.so.1 symbolic link to /opt/openssl/lib/hpux64/libssl.so.1
x ./engines/lib4758cca.so symbolic link to /opt/openssl/lib/hpux64/engines/lib4758cca.so
x ./engines/libaep.so symbolic link to /opt/openssl/lib/hpux64/engines/libaep.so
x ./engines/libatalla.so symbolic link to /opt/openssl/lib/hpux64/engines/libatalla.so
x ./engines/libchil.so symbolic link to /opt/openssl/lib/hpux64/engines/libchil.so
x ./engines/libcswift.so symbolic link to /opt/openssl/lib/hpux64/engines/libcswift.so
x ./engines/libgmp.so symbolic link to /opt/openssl/lib/hpux64/engines/libgmp.so
x ./engines/libnuron.so symbolic link to /opt/openssl/lib/hpux64/engines/libnuron.so
x ./engines/libsureware.so symbolic link to /opt/openssl/lib/hpux64/engines/libsureware.so
x ./engines/libubsec.so symbolic link to /opt/openssl/lib/hpux64/engines/libubsec.so
x ./liblvml.so symbolic link to /opt/lvm/lib/hpux64/liblvml.so.1
x ./libCsup.a, 1450254 bytes, 2833 tape blocks
x ./libdas.a, 520758 bytes, 1018 tape blocks
x ./liblinkmap.a, 101594 bytes, 199 tape blocks
x ./libm.a, 8314252 bytes, 16239 tape blocks
x ./librwtool.a, 6788814 bytes, 13260 tape blocks
x ./librwtool_v2.a, 7375734 bytes, 14406 tape blocks
x ./libstd.a, 746764 bytes, 1459 tape blocks
x ./libstd_v2.a, 6554730 bytes, 12803 tape blocks
x ./libstream.a, 1103494 bytes, 2156 tape blocks
x ./X11R6/libICE.so.1, 364976 bytes, 713 tape blocks
x ./X11R6/libSM.so.1, 169360 bytes, 331 tape blocks
x ./X11R6/libX11.so.1, 4119128 bytes, 8046 tape blocks
x ./X11R6/libXIE.so.1, 269088 bytes, 526 tape blocks
x ./X11R6/libXext.so.1, 357400 bytes, 699 tape blocks
x ./X11R6/libXhp11.so.1, 221336 bytes, 433 tape blocks
x ./X11R6/libXi.so.1, 209912 bytes, 410 tape blocks
x ./X11R6/libXp.so.1, 129632 bytes, 254 tape blocks
x ./X11R6/libXt.so.1, 1396744 bytes, 2729 tape blocks
x ./X11R6/libXtst.so.1, 90520 bytes, 177 tape blocks
x ./X11R6/libICE.so symbolic link to /usr/lib/hpux64/X11R6/libICE.so.1
x ./X11R6/libSM.so symbolic link to /usr/lib/hpux64/X11R6/libSM.so.1
x ./X11R6/libX11.so symbolic link to /usr/lib/hpux64/X11R6/libX11.so.1
x ./X11R6/libXIE.so symbolic link to /usr/lib/hpux64/X11R6/libXIE.so.1
x ./X11R6/libXext.so symbolic link to /usr/lib/hpux64/X11R6/libXext.so.1
x ./X11R6/libXhp11.so symbolic link to /usr/lib/hpux64/X11R6/libXhp11.so.1
x ./X11R6/libXi.so symbolic link to /usr/lib/hpux64/X11R6/libXi.so.1
x ./X11R6/libXp.so symbolic link to /usr/lib/hpux64/X11R6/libXp.so.1
x ./X11R6/libXt.so symbolic link to /usr/lib/hpux64/X11R6/libXt.so.1
x ./X11R6/libXtst.so symbolic link to /usr/lib/hpux64/X11R6/libXtst.so.1
x ./libICE.so.1 symbolic link to ./X11R6/libICE.so.1
x ./libSM.so.1 symbolic link to ./X11R6/libSM.so.1
x ./libX11.so.1 symbolic link to ./X11R6/libX11.so.1
x ./libXIE.so.1 symbolic link to ./X11R6/libXIE.so.1
x ./libXaw.so.1 symbolic link to ../../contrib/X11R6/lib/hpux64/libXaw.so.1
x ./libXext.so.1 symbolic link to ./X11R6/libXext.so.1
x ./libXhp11.so.1 symbolic link to ./X11R6/libXhp11.so.1
x ./libXi.so.1 symbolic link to ./X11R6/libXi.so.1
x ./libXmu.so.1 symbolic link to ../../contrib/X11R6/lib/hpux64/libXmu.so.1
x ./libXp.so.1 symbolic link to ./X11R6/libXp.so.1
x ./libXt.so.1 symbolic link to ./X11R6/libXt.so.1
x ./libXtst.so.1 symbolic link to ./X11R6/libXtst.so.1
x ./libIOmt.so symbolic link to ./libIOmt.so.1
x ./libIOmt.so.1, 365296 bytes, 714 tape blocks
x ./libicod.so, 11300984 bytes, 22073 tape blocks
x ./libnsl.so.1, 1510856 bytes, 2951 tape blocks
x ./libnss_compat.so.1, 89536 bytes, 175 tape blocks
x ./libnss_dns.so.1, 91184 bytes, 179 tape blocks
x ./libnss_nis.so.1, 107248 bytes, 210 tape blocks
x ./librpcsec_gss.so.1, 99792 bytes, 195 tape blocks
x ./librpcsvc.so symbolic link to ./librpcsvc.so.1
x ./librpcsvc.so.1, 109208 bytes, 214 tape blocks
x ./libstraddr.so.1, 76384 bytes, 150 tape blocks
x ./libdcekt.so symbolic link to ./libdcekt.so.1
x ./libdcekt.so.1, 13180696 bytes, 25744 tape blocks
x ./libldap_send.so.1, 243104 bytes, 475 tape blocks
x ./libnss_ldap.so.1, 1971648 bytes, 3851 tape blocks
x ./libldap_send.so symbolic link to /usr/lib/hpux64/libldap_send.so.1
x ./gss/libgssapi_krb5.so symbolic link to ./libgssapi_krb5.so.1
x ./gss/libgssapi_krb5.so.1 symbolic link to /opt/krb5core/lib/hpux64/gss/libgssapi_krb5.so.1
x ./libcom_err.so symbolic link to ./libcom_err.so.1
x ./libcom_err.so.1 symbolic link to /opt/krb5core/lib/hpux64/libcom_err.so.1
x ./libgssapi_krb5.so symbolic link to ./gss/libgssapi_krb5.so
x ./libk5crypto.so symbolic link to ./libk5crypto.so.1
x ./libk5crypto.so.1 symbolic link to /opt/krb5core/lib/hpux64/libk5crypto.so.1
x ./libkrb5.so symbolic link to ./libkrb5.so.1
x ./libkrb5.so.1 symbolic link to /opt/krb5core/lib/hpux64/libkrb5.so.1
x ./libevm.so symbolic link to ./libevm.so.1
x ./libevm.so.1, 485840 bytes, 949 tape blocks
x ./libHBAAPI.so symbolic link to /opt/snia/lib/hpux64/libHBAAPI.so
x ./libhbaapifcd.so symbolic link to /opt/fcms/lib/hpux64/libhbaapifcd.so
x ./libhbaapifclp.so symbolic link to /opt/fcms/lib/hpux64/libhbaapifclp.so
x ./libhbaapihp.so symbolic link to /opt/fcms/lib/hpux64/libhbaapihp.so
x ./libdlv_vxfs.so symbolic link to ./libdlv_vxfs.so.1
x ./libdlv_vxfs.so.1, 71664 bytes, 140 tape blocks
x ./libsascommon.so symbolic link to /opt/sas/lib/libsascommon.so.1
x ./Motif2.1/libMrm.so.1, 486976 bytes, 952 tape blocks
x ./Motif2.1/libXm.so.1, 7007912 bytes, 13688 tape blocks
x ./Motif2.1/libMrm.so symbolic link to /usr/lib/hpux64/Motif2.1/libMrm.so.1
x ./Motif2.1/libXm.so symbolic link to /usr/lib/hpux64/Motif2.1/libXm.so.1
x ./libMrm.so.1 symbolic link to ./Motif2.1/libMrm.so.1
x ./libXm.so.1 symbolic link to ./Motif2.1/libXm.so.1
x ./libcps.a, 516320 bytes, 1009 tape blocks
x ./libcps.so symbolic link to ./libcps.so.1
x ./libcps.so.1, 304720 bytes, 596 tape blocks
x ./libF90.a, 13875552 bytes, 27101 tape blocks
x ./libF90_parallel.a, 15463940 bytes, 30204 tape blocks
x ./libF90.so symbolic link to ./libF90.so.1
x ./libF90.so.1, 10920688 bytes, 21330 tape blocks
x ./libF90_parallel.so symbolic link to ./libF90_parallel.so.1
x ./libF90_parallel.so.1, 12172192 bytes, 23774 tape blocks
x ./libIO77.a, 4147142 bytes, 8100 tape blocks
x ./libIO77.so symbolic link to ./libIO77.so.1
x ./libIO77.so.1, 2912872 bytes, 5690 tape blocks
x ./libomp.a, 129772 bytes, 254 tape blocks
x ./libomp.so symbolic link to ./libomp.so.1
x ./libomp.so.1, 96792 bytes, 190 tape blocks
x ./libU77.a, 573864 bytes, 1121 tape blocks
x ./libgss.so, 296392 bytes, 579 tape blocks
x ./libnss_dce.so.1, 84328 bytes, 165 tape blocks
x ./libJudy.a, 1284862 bytes, 2510 tape blocks
x ./libJudy.so, 973024 bytes, 1901 tape blocks
x ./libbind9stub.so symbolic link to /usr/lib/hpux64/libbind9stub.so.1
x ./libbind9stub.so.1, 91256 bytes, 179 tape blocks
x ./libsys.so symbolic link to ./libsys.so.1
x ./libsys.so.1, 70560 bytes, 138 tape blocks
x ./libMrm.so symbolic link to /usr/lib/hpux64/libMrm.so.1
x ./libXm.so symbolic link to /usr/lib/hpux64/libXm.so.1
x ./libICE.so symbolic link to /usr/lib/hpux64/libICE.so.1
x ./libSM.so symbolic link to /usr/lib/hpux64/libSM.so.1
x ./libX11.so symbolic link to /usr/lib/hpux64/libX11.so.1
x ./libXIE.so symbolic link to /usr/lib/hpux64/libXIE.so.1
x ./libXext.so symbolic link to /usr/lib/hpux64/libXext.so.1
x ./libXhp11.so symbolic link to /usr/lib/hpux64/libXhp11.so.1
x ./libXi.so symbolic link to /usr/lib/hpux64/libXi.so.1
x ./libXp.so symbolic link to /usr/lib/hpux64/libXp.so.1
x ./libXt.so symbolic link to /usr/lib/hpux64/libXt.so.1
x ./libXtst.so symbolic link to /usr/lib/hpux64/libXtst.so.1
x ./libXaw.so symbolic link to /usr/lib/hpux64/libXaw.so.1
x ./libXmu.so symbolic link to /usr/lib/hpux64/libXmu.so.1
x ./libhppac.so symbolic link to ./libhppac.so.1
x ./libhppac.so.1, 159952 bytes, 313 tape blocks
# rm lib64.tar
# cd /opt/fcms
# Dead gateway detection can’t ping the last remaining default gateway at 0xa088001 .See ndd -h ip_ire_gw_probe for more info

ll
total 7160
-rw-r–r–   1 root       sys        3665920 Feb 19 14:00 fcms.tar
# tar -xvf fcms.tar
x ./include/snia_common.h, 16584 bytes, 33 tape blocks
x ./lib/hpux32/libhbaapifcd.so symbolic link to ./libhbaapifcd.so.1
x ./lib/hpux32/libhbaapifcd.so.1, 267904 bytes, 524 tape blocks
x ./lib/hpux32/libhbaapifclp.so symbolic link to ./libhbaapifclp.so.1
x ./lib/hpux32/libhbaapifclp.so.1, 294104 bytes, 575 tape blocks
x ./lib/hpux32/libhbaapihp.so symbolic link to ./libhbaapihp.so.1
x ./lib/hpux32/libhbaapihp.so.1, 263560 bytes, 515 tape blocks
x ./lib/hpux64/libhbaapifcd.so symbolic link to ./libhbaapifcd.so.1
x ./lib/hpux64/libhbaapifcd.so.1, 274096 bytes, 536 tape blocks
x ./lib/hpux64/libhbaapifclp.so symbolic link to ./libhbaapifclp.so.1
x ./lib/hpux64/libhbaapifclp.so.1, 300416 bytes, 587 tape blocks
x ./lib/hpux64/libhbaapihp.so symbolic link to ./libhbaapihp.so.1
x ./lib/hpux64/libhbaapihp.so.1, 269768 bytes, 527 tape blocks
x ./lib/pa20_64/libhbaapifcd.sl symbolic link to ./libhbaapifcd.1
x ./lib/pa20_64/libhbaapifcd.1, 102168 bytes, 200 tape blocks
x ./lib/pa20_64/libhbaapihp.sl symbolic link to ./libhbaapihp.1
x ./lib/pa20_64/libhbaapihp.1, 96176 bytes, 188 tape blocks
x ./lib/libhbaapifcd.sl symbolic link to ./libhbaapifcd.1
x ./lib/libhbaapifcd.1, 102400 bytes, 200 tape blocks
x ./lib/libhbaapihp.sl symbolic link to ./libhbaapihp.1
x ./lib/libhbaapihp.1, 98304 bytes, 192 tape blocks
x ./bin/fcddiag, 13467 bytes, 27 tape blocks
x ./bin/fcdlist, 9494 bytes, 19 tape blocks
x ./bin/fcdutil, 514048 bytes, 1004 tape blocks
x ./bin/fcmsutil, 71652 bytes, 140 tape blocks
x ./bin/fclpdiag, 12525 bytes, 25 tape blocks
x ./bin/fclplist, 6344 bytes, 13 tape blocks
x ./bin/fclputil, 644704 bytes, 1260 tape blocks
x ./bin/tddiag, 12175 bytes, 24 tape blocks
x ./bin/tdlist, 7227 bytes, 15 tape blocks
x ./bin/tdutil, 195656 bytes, 383 tape blocks
x ./config/A6826A, 302 bytes, 1 tape blocks
x ./config/A9782A, 302 bytes, 1 tape blocks
x ./config/A9784A, 302 bytes, 1 tape blocks
x ./config/AB378A, 302 bytes, 1 tape blocks
x ./config/AB379A, 302 bytes, 1 tape blocks
x ./config/AB465A, 302 bytes, 1 tape blocks
x ./config/AD193A, 302 bytes, 1 tape blocks
x ./config/AD194A, 302 bytes, 1 tape blocks
x ./config/AD300A, 302 bytes, 1 tape blocks
x ./config/vendorfcd.conf, 124 bytes, 1 tape blocks
x ./config/vendorfclp.conf, 125 bytes, 1 tape blocks
x ./config/A5158A, 187 bytes, 1 tape blocks
x ./config/A6795A, 195 bytes, 1 tape blocks
x ./config/vendor.conf, 13 bytes, 1 tape blocks
x ./tools/fcd.pl, 18960 bytes, 38 tape blocks
x ./tools/fclp.pl, 16646 bytes, 33 tape blocks
x ./tools/td.pl, 7689 bytes, 16 tape blocks
#
# rm fcms.tar
# /opt    iosca ac n
H/W Path        Class                        Description
========================================================
                root                        
8               cell                        
8/0                 ioa                      System Bus Adapter (12eb)
8/0/0                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/0/1                   slot               PCI Slot
8/0/1                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/1/1                   slot               PCI Slot
8/0/2                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/2/1                   slot               PCI Slot
8/0/4                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/4/1                   slot               PCI Slot
8/0/4/1/0                    ba              PCItoPCI Bridge
8/0/4/1/0/4/0                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/4/1/0/4/1                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/4/1/0/6/0                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/4/1/0/6/1                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/5                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/5/1                   slot               PCI Slot
8/0/5/1/0                    ba              PCItoPCI Bridge
8/0/5/1/0/4/0                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/5/1/0/4/1                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/5/1/0/6/0                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/5/1/0/6/1                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/6                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/6/1                   slot               PCI Slot
8/0/6/1/0                    ba              PCItoPCI Bridge
8/0/6/1/0/4/0                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/6/1/0/4/1                      fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/6/1/0/6/0                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/6/1/0/6/1                      lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/8                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/8/1                   slot               PCI Slot
8/0/9                  ba                    Local PCI-X Bus Adapter (12ee)
8/0/9/1                   slot               PCI Slot
8/0/10                 ba                    Local PCI-X Bus Adapter (12ee)
8/0/10/1                  slot               PCI Slot
8/0/12                 ba                    Local PCI-X Bus Adapter (12ee)
8/0/12/1                  slot               PCI Slot
8/0/12/1/0                   ba              PCItoPCI Bridge
8/0/12/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/12/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/12/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/12/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/13                 ba                    Local PCI-X Bus Adapter (12ee)
8/0/13/1                  slot               PCI Slot
8/0/13/1/0                   ba              PCItoPCI Bridge
8/0/13/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/13/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/13/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/13/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/14                 ba                    Local PCI-X Bus Adapter (12ee)
8/0/14/1                  slot               PCI Slot
8/0/14/1/0                   ba              PCItoPCI Bridge
8/0/14/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/14/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/14/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/0/14/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
8/120               processor                Processor
8/121               processor                Processor
8/122               processor                Processor
8/123               processor                Processor
8/124               processor                Processor
8/125               processor                Processor
8/126               processor                Processor
8/127               processor                Processor
8/250               ba                       Core I/O Adapter
8/250/0                acpi_node             Acpi Hardware
8/250/1                ipmi                  IPMI Controller
8/250/2                tty                   Built-in RS232C
9               cell                        
9/120               processor                Processor
9/121               processor                Processor
9/122               processor                Processor
9/123               processor                Processor
9/124               processor                Processor
9/125               processor                Processor
9/126               processor                Processor
9/127               processor                Processor
9/250               ba                       Core I/O Adapter
9/250/0                acpi_node             Acpi Hardware
10              cell                        
10/0                ioa                      System Bus Adapter (12eb)
10/0/0                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/0/1                  slot               PCI Slot
10/0/1                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/1/1                  slot               PCI Slot
10/0/2                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/2/1                  slot               PCI Slot
10/0/4                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/4/1                  slot               PCI Slot
10/0/4/1/0                   ba              PCItoPCI Bridge
10/0/4/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/4/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/4/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/4/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/5                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/5/1                  slot               PCI Slot
10/0/5/1/0                   ba              PCItoPCI Bridge
10/0/5/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/5/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/5/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/5/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/6                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/6/1                  slot               PCI Slot
10/0/6/1/0                   ba              PCItoPCI Bridge
10/0/6/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/6/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/6/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/6/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/8                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/8/1                  slot               PCI Slot
10/0/9                 ba                    Local PCI-X Bus Adapter (12ee)
10/0/9/1                  slot               PCI Slot
10/0/10                ba                    Local PCI-X Bus Adapter (12ee)
10/0/10/1                 slot               PCI Slot
10/0/12                ba                    Local PCI-X Bus Adapter (12ee)
10/0/12/1                 slot               PCI Slot
10/0/12/1/0                  ba              PCItoPCI Bridge
10/0/12/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/12/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/12/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/12/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/13                ba                    Local PCI-X Bus Adapter (12ee)
10/0/13/1                 slot               PCI Slot
10/0/13/1/0                  ba              PCItoPCI Bridge
10/0/13/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/13/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/13/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/13/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/14                ba                    Local PCI-X Bus Adapter (12ee)
10/0/14/1                 slot               PCI Slot
10/0/14/1/0                  ba              PCItoPCI Bridge
10/0/14/1/0/4/0                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/14/1/0/4/1                     fc        HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/14/1/0/6/0                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/0/14/1/0/6/1                     lan       HP AD194-60001 PCI/PCI-X 1000Base-T 2-port 4Gb FC/2-port 1000B-T Combo Adapter
10/120              processor                Processor
10/121              processor                Processor
10/122              processor                Processor
10/123              processor                Processor
10/124              processor                Processor
10/125              processor                Processor
10/126              processor                Processor
10/127              processor                Processor
10/250              ba                       Core I/O Adapter
10/250/0               acpi_node             Acpi Hardware
#
# ioscan

# ioscan gets you the device of the fiber card, which you can not put into fcmsutil. Bingo, you have WWN
# ioscan -fc  Cfc
H/W Path        Class                      Description
======================================================
8/0/4/1/0/4/0                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/4/1/0/4/1                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/5/1/0/4/0                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/5/1/0/4/1                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/6/1/0/4/0                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/6/1/0/4/1                      fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/12/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/12/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/13/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/13/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
8/0/14/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
8/0/14/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/4/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/4/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/5/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/5/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/6/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/6/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/12/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/12/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/13/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/13/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
10/0/14/1/0/4/0                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 1)
10/0/14/1/0/4/1                     fc      HP AD194-60001      PCI/PCI-X Fibre Channel 2-port 4Gb FC/2-port 1000B-T Combo Adapter (FC Port 2)
# ioscan -Cfc -kn |grep dev
# ioscan -Cfc -f
                            /dev/fcd0
                            /dev/fcd1
                            /dev/fcd2
                            /dev/fcd3
                            /dev/fcd4
                            /dev/fcd5
                            /dev/fcd6
                            /dev/fcd7
                            /dev/fcd8
                            /dev/fcd9
                            /dev/fcd10
                            /dev/fcd11
                            /dev/fcd12
                            /dev/fcd13
                            /dev/fcd14
                            /dev/fcd15
                            /dev/fcd16
                            /dev/fcd17
                            /dev/fcd18
                            /dev/fcd19
                            /dev/fcd20
                            /dev/fcd21
                            /dev/fcd22
                            /dev/fcd23
# /opt/fcms/bin/fcdutil /dev/fcd23

                           Vendor ID is = 0x1077
                           Device ID is = 0x2422
            PCI Sub-system Vendor ID is = 0x103C
                   PCI Sub-system ID is = 0x12DF
                               PCI Mode = PCI-X 133 MHz
                       ISP Code version = 4.2.2
                       ISP Chip version = 3
                      Previous Topology = UNINITIALIZED
                             Link Speed = UNKNOWN
                     Local N_Port_id is = None
                  Previous N_Port_id is = None
            N_Port Node World Wide Name = 0x5001438002a24a3b
            N_Port Port World Wide Name = 0x5001438002a24a3a
            Switch Port World Wide Name = 0
            Switch Node World Wide Name = 0
              N_Port Symbolic Port Name = ttest_fcd23
              N_Port Symbolic Node Name = ttest_HP-UX_B.11.31
                           Driver state = AWAITING_LINK_UP
                       Hardware Path is = 10/0/14/1/0/4/1
                     Maximum Frame Size = 2048
         Driver-Firmware Dump Available = NO
         Driver-Firmware Dump Timestamp = N/A
                         Driver Version = @(#) fcd B.11.31.0809.%319 Jul  7 2008

# for dev in $(ioscan -Fnk -Cfc |grep dev)
> do
> /opt/fcms/bin/fcdutil $dev
> done

##### snipping the output……####

Tags: , , , , , ,

20 Oct 09 HP-UX Integrity Software mirror procedure

This was written by a former colleague. It is better than anything else I have seen. SEP

Mirroring a Boot Disk with LVM on HP-UX 11i for HP Integrity

Servers

The following diagram shows the disk layout of a boot disk. The disk

contains a Master Boot Record (MBR) and Extensible Firmware

Interface (EFI) partition tables that point to each of the partitions. The

idisk

command is used to create the partitions (see idisk (1M)).

Figure 6-5 Example LVM Disk Layout on HP Integrity Server

Before starting the procedure, make sure that add-on product HP

MirrorDisk/UX (B5403BA) is installed. This product is an extra-cost

product available on the HP-UX 11i application release media. For

example:

swlist -l fileset | grep -i mirror

LVM.LVM-MIRROR-RUN B.11.22 LVM Mirror

Step 1.

file.

Partition the disk using the idisk command and a partition description

a.

Create a partition description file. For example:

vi /tmp/idf

In this example the partition description file contains:

3

EFI 500MB

HPUX 100%

HPSP 400MB

NOTE

an EFI partition, an HP-UX partition, and an HP Service partition.

Boot disks of earlier HP Integrity Servers may have an EFI partition

of only 100MB and may not contain the HPSP partition.

The values in the example represent a boot disk with three partitions:

b.

Partition the disk using idisk and your partition description file:

idisk -f /tmp/idf -w /dev/rdsk/c3t1d0

c.

To verify you can run:

idisk /dev/rdsk/c3t1d0

Step 2.

the partitions. For example:

Use the insf command with the -e option to create the device files for all

insf -e -H 0/18/1/2/0.0.1.0

You should now have eight device files for this disk:

/dev/[r]dsk/c?t?d?

(This refers to the entire disk)

/dev/[r]dsk/c?t?d?s1

(This refers to the EFI partition)

/dev/[r]dsk/c?t?d?s2

(This will be the HP-UX partition)

/dev/[r]dsk/c?t?d?s3

(This refers to the Service partition)

Step 3.

disk:

Use pvcreate to make the HP-UX partition of the disk an LVMmanaged

pvcreate -B /dev/rdsk/c3t1d0s2

Step 4.

Add the disk to vg00:

vgextend vg00 /dev/dsk/c3t1d0s2

Step 5.

Place the boot files on the disk using mkboot:

mkboot -e -l /dev/rdsk/c3t1d0

Step 6.

Copy any autoboot file from the original boot disk to this one.

a.

partition to the current directory. Make sure to use the device file

with the

Use efi_cp to copy the AUTO file from the original boot disk’s EFIs1 suffix, as it refers to the EFI partition:

efi_cp -d /dev/rdsk/cntndns1 -u /efi/hpux/auto ./AUTO

b.

partition:

Copy the file from the current directory into the new disk’s EFI

efi_cp -d /dev/rdsk/c3t1d0s1 ./AUTO /efi/hpux/auto

Step 7.

volume group onto the desired physical volume. The logical volumes

must be extended in the same order that they are configured on the

original boot disk. Use the

determine the list of logical volumes and their order. For example:

Use the lvextend command to mirror each logical volume in the rootpvdisplay command with the -v option to

pvdisplay -v /dev/dsk/c0t0d0s2 | grep ’current.*0000$’

00000 current /dev/vg00/lvol1 00000

00038 current /dev/vg00/lvol2 00000

00550 current /dev/vg00/lvol3 00000

00583 current /dev/vg00/lvol4 00000

00608 current /dev/vg00/lvol5 00000

00611 current /dev/vg00/lvol6 00000

00923 current /dev/vg00/lvol7 00000

01252 current /dev/vg00/lvol8 00000

In this example, mirror the logical volumes as follows:

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lv0l4 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c3t1d0s2

lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c3t1d0s2

If

lvextend fails with following message:

“m”: Illegal option

then HP MirrorDisk/UX is not installed.

Step 8.

Update the root volume group information:

lvlnboot -R /dev/vg00

Step 9.

disk and that the boot, root, and swap logical volumes appear to be on

both disks:

Display the BDRA. Verify that the mirrored disk is displayed as a boot

lvlnboot –v

Step 10.

Specify the mirror disk as the alternate boot path in nonvolatile memory:

setboot -a path_to_disk

Step 11.

text editor:

Add a line to /stand/bootconf for the new boot disk using vi or another

vi /stand/bootconf

l /dev/dsk/c3t1d0s2

where

l denotes LVM.

Tags: , , , , , , , ,

30 Sep 09 SD-UX Locked. Diagnostic steps.

Problem: After being Ignited superman lost most sd-ux functionality.

Note: superman (not its real name) is a vpar running on a superdome complex.  Only swlist works, swreg -l depot, swinstall -i, swverify all fail with the same error.

 

 

ERROR:   “spuerman/”:  You do not have the required permissions to
         select this target.  Check permissions using the “swacl”
         command or see your system administrator for assistance.  Or,
         to manage applications designed and packaged for nonprivileged
         mode, see the “run_as_superuser” option in the “sd” man page.
       * Target connection failed for “zrtph0v0:/”.
ERROR:   More information may be found in the daemon logfile on this
         target (default location is
         superman:/var/adm/sw/swagentd.log).
       * Selection had errors.

Standard techniques say check:

/sbin/init.d/swagentd stop

/sbin/init.d/swagentd start

Check /etc/hosts networking is consistent.

Make sure /etc/nsswitch.conf is present and makes sense.

Check permissions on /var/tmp and all the swagent files.

None of this worked.

swlist -i -s $PWD in a depot generated the following error taken from ITRC because the system is already fixed.:

swacl -l host @ superman

 

 

List swacl generates this:

Util_Random internal error:  Read of /dev/urandom failed, rv=-1, size=8, No such device (19).

There were a series of other errors all pointing to /dev/urandom

lsdev showed that /urandom did not load the kernel module rng (Randome Number Generator).
Detail    root      /usr/sam/tui/kc/modulemod.sh rng
Detail    root      /usr/sbin/kcmodule -a -P ALL

This is normal output. Before the system was fixed the system did not show the module running.

lsdev | grep rng

138          -1         rng             pseudo

Fix was to unload the rng module in the kernel (using sam SEP cheats)
Then we loaded it. In spite of being listed as dynamic a reboot was required to restore sd-ux functionality.

Actual source of the problem: Ignite image of supergirl did not exclude the /dev/ “files” This cause the wrong kernel module to be loaded with the /dev/urandom “file” driver. Normally this is not a problem becuase /dev is crecreated but for some reason /dev/udandom was not loading the kernel module rng

Ignite excludes have been updated to exclude these files and the system will be re-ignited to make sure nothing else bad happens.

Tags: , , , , , , ,

09 Sep 09 Case Study: Capacity & Migration planning for a small organization

This is our first case study. The events leading up to it occur between 1998 and 2002. It is a real life case study based on my experience. For legal reasons, I can not identify the organization. It is a charity that raises now around $100 million, 92% of funds raised go to actual charitable work. 8% is overhead. IT infrastructure is overhead, even though it is critical to actually raising funds.

From 1991-2005 I worked at this charity in IT, first as a programmer analyst, then as a dba, finally becoming the backup Unix Admin in 1998 and the full time Unix Admin in 2000. The organization ran its legacy fund raising systems on a pair of D class HP-UX systems. The back end database was Software AG adabas. The user fund raising community wanted to have an sql like ability to look into the database and run queries. they wanted flexible use of strategic data. An attempt was made in early 1997 to install a sql front end, but it did not provide acceptable results.

An internal study was done and it was decided in late 1997 to migrate legacy systems to a web based front end, with Oracle as the back end database, Oracle Application Server using forms and reports to build applications. Initially no plan was made to migrate to stronger hardware, due to the assurance from Oracle that their software would run on the existing infrastructure.

By 2000 it was obvious that this was not true. Though the database server itself ran acceptably, there was not sufficient memory or disk capacity to run the application server. So I was asked to prepare a plan to migrate legacy systems. Here were the guidelines:

  • To run three environments, to be described below, each with a database server, an application server and forms and reports development tools on them.
  • Sandbox was to be used to test OS patches, Oracle patches, and tools upgrades. It was to belong to the systems administrator who was permitted to restart this system on short or no notice.
  • The development environment was to be where the developers were to develop code. It needed to be stable and available 100% during normal development hours 8 a.m. to 6 p.m. Any changes made to his system were first to be vetted on the sandbox system.
  • The production system had the same uptime requirements accept that all changes needed to be vetted first on the other two systems.
  • The hardware was to be the same model for all the systems. This was defined to avoid hardware surprises. Only the production system needed to be at full capacity. the other systems were to be the same to permit realistic load testing.
  • Databases would be hosted on SAN disk with an HBA fiber channel connection. Systems were to boot locally.

Overall, I thought this was a solid foundation. Some of the points were made by management, some were suggested by me.

The following basic technical requirements were developed:

  • Overall database needed to be approximately 5 GB for server. Actual use hit 15 GB by 2005. This growth factor was planned.
  • Oracle Server, one instance had to run on each server.
  • Oracle Application server one instance had to run on each server.
  • Legacy applications Natural/Software AG Adabas needed to run on each server.
  • Server configuration needs to be manged and tracked responsibly.
  • HP-UX bi-annual updates needed to be installed in a timely basis after quality assurance.
  • The replacement cycle on hardware would be 3-5 years to maintain cost savings provided by being under warranty (First three years)

Deployment Diagram

Server Deployment

Other Relevant facts on the decision making process.

  • HP Hardware and Software agreements were running over $30,000 per year on existing infrastructure.
  • Much of the cost was hardware support due to the age and near obsolescence of the hardware.
  • Significant savings could be obtained by using current hardware that was under warranty.
  • Systems would be configured and used to provide a disaster recovery solution.

Three vendors were picked to provide proposals. All ended up recommending HP-9000 L2000(later renamed rp5450) servers. Here are the highlights:

  • rp5450 systems with 2 GB system memory.
  • 146 GB dual disks to server as boot disks with software mirroring.
  • 2 CPU would be installed per server.
  • Memory capacity and purchase was planned to enable an upgrade to 8 GB without replacing exiting memory.
  • Two HBA Fiber channel cards provided per machine to provide redundancy and fail over.
  • A capital budget request was made showing that support cost savings would over the course of 4 years, completely recover the cost of the systems.
  • Systems would each have a Ultirum tape drive, for locally provided backups and Ignite-UX make_tape_recovery backups as part of the DR plan.
  • Systems had two Gigabit Network Interface cards.
  • Systems would have a private network for use in Ignite backup, recovery and system replication.
  • Systems were to be delivered with HP-UX 11.11
  • HP provided RAC and UPS and PDU were specified.

How it went:

  • Systems were delivered in May of 2002.
  • Initial OS install began immediately. Systems were initially delivered with HP-UX 11.00. We delayed start of installation until correct media was provided.
  • All three systems were installed with a base OS to insure that hardware was working.
  • OS patch requirements for Oracle, security and bi-annual updates were installed on the sand box. It was decided that Ignite Golden Image would be used to replicate the sand box configuration, once a stable configuration was found.
  • Significant problems were encountered with the Oracle and Oracle Application Server installations. The version was changed twice. Several major Oracle patch sets had to be installed to deal with “show stopper” bugs that were encountered.
  • After the September 11 attacks in New York City in 2001, a security review was conducted and the deployment plan was modified to include improved security. Several rounds of patching and tools testing occurred on the OS level.
  • In December of 2002, the application development team notified us that they were satisfied with the sandbox and asked that an Ignite image be made and transferred to the development system.
  • In January-February of 2003 Imaging was done and the system was replicated. There were OS problems with the Ignite replication that took several weeks to work out.
  • Several changes were requested by the development staff. They were tested on the sand box and then deployed on the development system.
  • An Ignite central server was built on the sand box to handle images which were shared on NFS and available for use after booting of the sandbox Ignite configuration.
  • In June of 2003 after several change cycles the configuration was approved for deployment.
  • Ignite replication was completed on the production environment using the sandbox, which had been frozen for this purpose as the image template.
  • In August of 2003 all legacy systems were cut over to the rp5450 systems. HR would be migrated 18 months later due to Integration issues.
  • In the early of 2004 due to performance and memory use issues all systems were upgraded to 8 GB of system RAM.
  • For the year 2004 there was no downtime in production systems during normal business hours.
  • Weekly Ignite tape backups were taken on all systems and network based backup to shared NFS was used as a secondary DR method.
  • In February of 2004 a DR test was run at the HP Performance center and we successfully migrated a sandbox image to an rp5470 server in the HP infrastructure. Legacy systems were tested and approved as functional.

Note: This document was designed entirely using the wordpress interface and a Linux system. The diagram was created with a free Linux alternative to visio called dia. The tool is in evaluation, and might be replaced. Still a pretty good start. Cost to produce this environment in licensing fees?: Zero dollars.

Tags: , , , , , , , ,

sidebarbottom
sidebartop
sidebarbottom
WhatsApp chat