You are on page 1of 11

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

Navigation

HP-UX

Networking

Linux Languages Perl Resources

Software

Hardware BCS AB300 Server Console Solution BCS HP 9000 Servers BCS HP BladeSystem c-Class Enclosures BCS HP Carrier-Grade Blade Server bh Series BCS HP Carrier-Grade cc2300/cc33xx Servers BCS HP Integrity BL Server Blades BCS HP Integrity cx26xx Servers BCS HP Integrity Servers BCS HP Proliant Servers BCS Microsoft Windows Server on HP Integrity Servers Discontinued HP 9000 servers Hardware Compatibility Supported Systems Other Webmaster

From Wiki-UX.info
Wiki-UX / Fibre Channel / How build a depot with all HP-UX Fibre Channel Driver bundles and requisites

How build a depot with all HP-UX Fibre Channel Driver bundles and requisites
Abstract
Installing the latest Fibre Channel Drive bundle for HP-UX usually requires several steps to install all required patches and software dependendencies. Several system reboots to install each dependency level are common. This article explains a method to create a Software Distributor Depot with all HP-UX Fibre Channel Driver bundles for an specific HP-UX release. HP-UX 11i v3 bundles will be use to demonstrate the entire process. This procedure made updating the Fibre Channel driver(s) with a single kernel build and system reboot.

1 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

Contents
1 Abstract 2 Obtain the require Fibre Channel Driver bundles 3 Copy all the bundles together in a depot directory 4 Check the depot directory content 5 Run the installation preview to detect mising dependencies 6 Add required patch prerequesites 7 Check the depot directory content including patches 8 Run the installation preview to detect errors 9 Install the required driver bundle 10 Package the bundle for distribution 11 Reference 12 Authors

Obtain the require Fibre Channel Driver bundles


Download the CommonIO bundle and the three Fibre Channel Driver bundles that will be join together. Save in on a temporary directory, for example /var/tmp. Obtain the following sofware from http://software.hp.com : HP-UX Common IO Bundle (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=CommonIO) FibrChanl-00 (http://h20293.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl00) - HP PCI Tachyon TL/TS/XL2 Fibre Channel Driver FibrChanl-01 (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl-01) - HP-UX Fibre Channel driver for QLogic-based 2Gb, 4Gb, and 8Gb FC HBAs FibrChanl-02 (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl-02) - HP-UX Fibre Channel driver for Emulex-based FC HBAs]
# ls /var/tmp/*.depot -rw-r--r-1 root -rw-r--r-1 root -rw-r--r-1 root -rw-r--r-1 root

sys sys sys sys

604160 1945600 3850240 1402880

Feb Feb Feb Feb

25 25 25 25

15:29 15:29 15:29 15:29

/var/tmp/CommonIO_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot /var/tmp/FibrChanl-00_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot /var/tmp/FibrChanl-01_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot /var/tmp/FibrChanl-02_B.11.31.1003.01_HP-UX_B.11.31_IA.depot

Copy all the bundles together in a depot directory


# swcopy -x enforce_dependencies=false -s /var/tmp/CommonIO_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ /var/tmp/FibrChanl # swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-00_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ /var/tmp/FibrChanl # swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-01_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ /var/tmp/FibrChanl swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-02_B.11.31.1003.01_HP-UX_B.11.31_IA.depot \* @ /var/tmp/FibrChanl

For example:

2 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

# swcopy -x enforce_dependencies=false -s /var/tmp/CommonIO_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ ======= 03/01/10 11:53:19 CST (jobid=delta-1350) BEGIN swcopy SESSION (non-interactive)

* Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl". The software "FC-COMMON" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: TextFormatters.TEXT-FMT,r>=B.11.31.% The software "SAS-COMMON" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: OS-Core.UX-CORE,r>=B.11.31.% * Source: /var/tmp/CommonIO_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot * Targets: delta:/var/tmp/FibrChanl * Software selections: CommonIO,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-COMMON.FC-SNIA,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-COMMON.FC-SNIA,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA SAS-COMMON.SAS-COMMON-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA * Selection succeeded.

NOTE:

NOTE:

* Beginning Analysis and Execution * Session selections have been saved in the file "/root/.sw/sessions/swcopy.last". WARNING: "delta:/var/tmp/FibrChanl": The software dependencies for 3 products or filesets cannot be resolved. * The execution phase succeeded for "delta:/var/tmp/FibrChanl". * Analysis and Execution succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1350 @ delta:/var/tmp/FibrChanl". 03/01/10 11:53:20 CST (jobid=delta-1350) END swcopy SESSION (non-interactive)

=======

# swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-00_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ /var/tmp/FibrChanl ======= 03/01/10 11:50:21 CST (jobid=delta-1347) BEGIN swcopy SESSION (non-interactive)

* Session started for user "root@delta". * Beginning Selection * "delta:/var/tmp/FibrChanl": This target does not exist and will be created. The software "FC-TACHYON-TL" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: FCMassStorage.FCMS-KRN,r>=B.11.31.% PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_IA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_IA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_IA FC-COMMON.FC-SNIA,r>=B.11.31.1003 FCMassStorage.FCMS-RUN,r>=B.11.31.% * Source: /var/tmp/FibrChanl-00_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot * Targets: delta:/var/tmp/FibrChanl * Software selections: FibrChanl-00,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-TACHYON-TL.FC-TL-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-TACHYON-TL.FC-TL-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA FC-TACHYON-TL.FC-TL-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-TACHYON-TL.FC-TL-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA * Selection succeeded.

NOTE:

* Beginning Analysis and Execution * Session selections have been saved in the file "/root/.sw/sessions/swcopy.last". WARNING: "delta:/var/tmp/FibrChanl": The software dependencies for 4 products or filesets cannot be resolved. * The execution phase succeeded for "delta:/var/tmp/FibrChanl". * Analysis and Execution succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1347 @ delta:/var/tmp/FibrChanl". 03/01/10 11:50:25 CST (jobid=delta-1347) END swcopy SESSION (non-interactive)

=======

3 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

# swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-01_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot \* @ /var/tmp/FibrChanl ======= 03/01/10 11:50:50 CST (jobid=delta-1348) BEGIN swcopy SESSION (non-interactive)

* Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl". The software "FC-FCD" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHCO_37483.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_37454.CORE2-KRN,fa=HP-UX_B.11.31_PA PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_IA PHCO_37483.UX2-CORE,fa=HP-UX_B.11.31_IA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_IA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_IA PHKL_37454.CORE2-KRN,fa=HP-UX_B.11.31_IA FC-COMMON.FC-SNIA,r>=B.11.31.% * Source: /var/tmp/FibrChanl-01_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot * Targets: delta:/var/tmp/FibrChanl * Software selections: FibrChanl-01,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_IA * Selection succeeded.

NOTE:

* Beginning Analysis and Execution * Session selections have been saved in the file "/root/.sw/sessions/swcopy.last". WARNING: "delta:/var/tmp/FibrChanl": The software dependencies for 4 products or filesets cannot be resolved. * The execution phase succeeded for "delta:/var/tmp/FibrChanl". * Analysis and Execution succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1348 @ delta:/var/tmp/FibrChanl". 03/01/10 11:50:54 CST (jobid=delta-1348) END swcopy SESSION (non-interactive)

=======

# swcopy -x enforce_dependencies=false -s /var/tmp/FibrChanl-02_B.11.31.1003.01_HP-UX_B.11.31_IA.depot \* @ /var/tmp/FibrChanl ======= 03/01/10 11:51:14 CST (jobid=delta-1349) BEGIN swcopy SESSION (non-interactive)

* Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl". The software "FC-FCLP" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: FCMassStorage.FCMS-RUN,r>=B.11.31 FC-COMMON.FC-SNIA,r>=B.11.31.% * Source: /var/tmp/FibrChanl-02_B.11.31.1003.01_HP-UX_B.11.31_IA.depot * Targets: delta:/var/tmp/FibrChanl * Software selections: FibrChanl-02,r=B.11.31.1003.01,a=HP-UX_B.11.31_IA,v=HP FC-FCLP.FC-FCLP-KRN,r=B.11.31.1003.01,a=HP-UX_B.11.31_IA,v=HP,fr=B.11.31.1003.01,fa=HP-UX_B.11.31_IA FC-FCLP.FC-FCLP-RUN,r=B.11.31.1003.01,a=HP-UX_B.11.31_IA,v=HP,fr=B.11.31.1003.01,fa=HP-UX_B.11.31_IA * Selection succeeded.

NOTE:

* Beginning Analysis and Execution * Session selections have been saved in the file "/root/.sw/sessions/swcopy.last". WARNING: "delta:/var/tmp/FibrChanl": The software dependencies for 1 products or filesets cannot be resolved. * The execution phase succeeded for "delta:/var/tmp/FibrChanl". * Analysis and Execution succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1349 @ delta:/var/tmp/FibrChanl". 03/01/10 11:51:15 CST (jobid=delta-1349) END swcopy SESSION (non-interactive)

=======

Check the depot directory content


# swlist -s /var/tmp/FibrChanl

4 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

For example:
# # # # # # swlist -s /var/tmp/FibrChanl Initializing... Contacting target "delta"... Target: delta:/var/tmp/FibrChanl

# # Bundle(s): # CommonIO FibrChanl-00 FibrChanl-01 FibrChanl-02 B.11.31.1003 Common IO Drivers B.11.31.1003 FibreChannel;HW=A6795A,A5158A B.11.31.1003 FibrChnl;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A,AD300A B.11.31.1003.01 FCLP;HW=AD299A,AD355A,AD221A,AD222A,AD393A,AH402A,AH403A,403621-B21,456972-B21

Run the installation preview to detect mising dependencies


# swinstall -p -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl CommonIO FibrChanl-00 FibrChanl-01 FibrChanl-02

For example:

5 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

# swinstall -p -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl FibrChanl-00 FibrChanl-01 FibrChanl-02 ======= 03/01/10 11:56:23 CST BEGIN swinstall SESSION (non-interactive) (jobid=delta-1351) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/". * Source connection succeeded for "delta:/var/tmp/FibrChanl". NOTE: The software item "FibrChanl-00" is a bundle (or a product, subproduct or fileset contained within a bundle). This item was successfully marked, but difficulties were encountered while marking some items that it depends on. The messages below show which software items encountered difficulties and exactly what these difficulties were: * The software "FC-TACHYON-TL.FC-TL-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fa=HP-UX_B.11.31_PA" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA * The software "FC-TACHYON-TL.FC-TL-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fa=HP-UX_B.11.31_PA" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA NOTE: The software item "FibrChanl-01" is a bundle (or a product, subproduct or fileset contained within a bundle). This item was successfully marked, but difficulties were encountered while marking some items that it depends on. The messages below show which software items encountered difficulties and exactly what these difficulties were: * The software "FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fa=HP-UX_B.11.31_PA" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHCO_37483.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_37454.CORE2-KRN,fa=HP-UX_B.11.31_PA * The software "FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fa=HP-UX_B.11.31_PA" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHCO_37483.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_37454.CORE2-KRN,fa=HP-UX_B.11.31_PA ERROR: Could not apply the software selection "FibrChanl-02" because it refers to a bundle or to a product, subproduct or fileset within a bundle but no compatible bundles meeting the specification were found. * Software selection failed for "delta:/var/tmp/FibrChanl". * Source: /var/tmp/FibrChanl * Targets: delta:/ * Software selections: CommonIO,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FibrChanl-00,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FibrChanl-01,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-COMMON.FC-SNIA,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-TACHYON-TL.FC-TL-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-TACHYON-TL.FC-TL-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA * Selection succeeded.

* Beginning Analysis * Session selections have been saved in the file "/root/.sw/sessions/swinstall.last". * "delta:/": There will be no attempt to mount filesystems that appear in the filesystem table. * "delta:/": 3 filesets have the selected revision already installed. * "delta:/": 2 bundles have the selected revision already installed. * Analysis succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1351 @ delta:/". 03/01/10 11:56:27 CST (jobid=delta-1351) END swinstall SESSION (non-interactive)

=======

6 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

# swjob -a log delta-1351 | grep PH | sort | uniq PHCO_36371.UX2-CORE,fa=HP-UX_B.11.31_PA PHCO_37483.UX2-CORE,fa=HP-UX_B.11.31_PA PHKL_36332.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_36387.CORE2-KRN,fa=HP-UX_B.11.31_PA PHKL_37454.CORE2-KRN,fa=HP-UX_B.11.31_PA

Add required patch prerequesites


The following patches are required dependencies for the installation of the Fibre Channel Driver bundles. All those reported by preview installation are already superseeded Minimal Required Patch PHCO_36371 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHCO_36371) PHCO_37483 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHCO_37483) PHKL_36332 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_36332) PHKL_36387 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_36387) PHKL_37454 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_37454) HP Recommended Patch PHCO_40220 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHCO_40220) PHCO_39626 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHCO_39626) PHKL_39417 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_39417) PHKL_39736 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_39736) PHKL_39624 (http://www11.itrc.hp.com/service /patch/patchDetail.do?patchid=PHKL_39624)

Get the superseeded versions of the required patches and their own dependencies from the ITRC (The total space required for these 35 items is 24087 kb). Add the patches to the depot directory
# # # # cd /var/tmp mkdir patches cd patches /usr/contrib/bin/gzcat /var/tmp/hpux__11.31_02250958.tgz | tar -xf -

# ls -l /var/tmp/patches total 48480 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rw-r--r-1 21164 -rwxr-xr-x 1 21164

12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753 12753

1161633 843728 950674 1384964 81486 541082 3668340 98145 171082 724095 298193 95922 939718 168158 66222 835457 706663 961466 175563 142068 126037 111033 97202 474401 2335613 975257 518398 127791 97940 1162165 947535 2734287 260473 421002 262266 1779 5761

Feb Jul Feb Sep Jul Feb Feb Feb Feb Feb Feb Feb Feb Jul Jul Feb Feb Feb Feb Feb Jul Jul Feb Jul Feb Feb Feb Feb Feb Jul Feb Feb Feb Feb Feb Feb Feb

26 27 4 1 18 4 26 26 26 4 4 4 4 27 27 4 4 4 4 4 27 27 4 27 4 4 4 4 4 27 4 4 4 4 4 16 25

2009 2009 19:21 20:12 2007 19:21 2009 2009 2009 19:21 19:21 19:21 19:21 2009 2009 19:21 19:21 19:21 19:21 19:21 2009 2009 19:21 2009 19:22 19:22 19:22 19:22 19:22 2009 19:22 19:22 19:22 19:22 19:22 09:11 15:58

PHCO_38801 PHCO_39485 PHCO_39626 PHCO_40220 PHKL_36389 PHKL_36620 PHKL_38040 PHKL_38681 PHKL_38691 PHKL_38708 PHKL_38737 PHKL_39028 PHKL_39397 PHKL_39398 PHKL_39399 PHKL_39400 PHKL_39416 PHKL_39417 PHKL_39464 PHKL_39465 PHKL_39476 PHKL_39479 PHKL_39482 PHKL_39606 PHKL_39624 PHKL_39625 PHKL_39736 PHKL_39737 PHKL_39738 PHKL_39740 PHKL_40022 PHKL_40208 PHKL_40218 PHKL_40219 PHKL_40224 README_hp-ux create_depot_hpux.11.31

Use the following script to swcopy each patch on the temporary depot directory. The procedure is similar

7 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

to what the create_depot_hpux.11.31 script usually does to create a patch installation depot.
cd /var/tmp/patches for patch in $(ls /var/tmp/patches/PH*) do sh ${patch} swcopy -x enforce_dependencies=false -s ${patch}.depot \* @ /var/tmp/FibrChanl done

Check the depot directory content including patches


The previous step have provided a comprensive depot that includes all require software dependencies for the Fibre Channel Driver Bundles.
# swlist -s /var/tmp/FibrChanl

For example:
swlist -s /var/tmp/FibrChanl # Initializing... # Contacting target "delta"... # # Target: delta:/var/tmp/FibrChanl # # # Bundle(s): # CommonIO FibrChanl-00 FibrChanl-01 FibrChanl-02 B.11.31.1003 Common IO Drivers B.11.31.1003 FibreChannel;HW=A6795A,A5158A B.11.31.1003 FibrChnl;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A,AD300A B.11.31.1003.01 FCLP;HW=AD299A,AD355A,AD221A,AD222A,AD393A,AH402A,AH403A,403621-B21,456972-B21

# # Product(s) not contained in a Bundle: # PHCO_38801 PHCO_39485 PHCO_39626 PHCO_40220 PHKL_36389 PHKL_36620 PHKL_38040 PHKL_38681 PHKL_38691 PHKL_38708 PHKL_38737 PHKL_39028 PHKL_39397 PHKL_39398 PHKL_39399 PHKL_39400 PHKL_39416 PHKL_39417 PHKL_39464 PHKL_39465 PHKL_39476 PHKL_39479 PHKL_39482 PHKL_39606 PHKL_39624 PHKL_39625 PHKL_39736 PHKL_39737 PHKL_39738 PHKL_39740 PHKL_40022 PHKL_40208 PHKL_40218 PHKL_40219 PHKL_40224 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 ioinit(1M) cumulative patch sfd cumulative patch scsimgr cumulative patch olrad(1M) cumulative patch Firmware interface support for MCA recovery Stack trace support for DLKM modules Kernel debugger cumulative patch Power mgmt and Dynamic P-states support pm clock cumulative patch system call infrastructure cumulative patch Integrity Processor Migration Performance CMC Records, PCIe Error Recovery ACPI CA cumulative patch ACPI cumulative patch SMBIOS cumulative patch TLB,MCA Recovery,HPVM,NUMA,P-State,IPMI Events,OsName WSIO subsystem cumulative patch GIO cumulative patch Local Memory, CPU and memory OLAD support,IPMI Events DynamicNPars, Power Mgmt, Partition ID, OLAD support olstar cumulative patch CEC Common Service Layer, and OLAD Support CPU and memory OLAD support PRM/FSS cumulative patch with LVM enhancement esctl cumulative patch esdisk cumulative patch shutdown cumulative patch EFI support for MCA recovery, Pwr Mgmt, TLB, OsName Error record support for MCA recovery, PCI Express dump cumulative patch kernel threads cumulative patch scheduler cumulative patch dev_config cumulative patch OLA/R/D subsystem cumulative patch Local Memory, PCIe Error, OLAD, vPar Mem OLA

Run the installation preview to detect errors


Run the installation preview with the Fibre Channel Driver Bundle that needs to be tested. In this example, FibrChanl-01 will be tested.
# swinstall -p -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl FibrChanl-01

8 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

For example:
# swinstall -p -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl FibrChanl-01 ======= 02/25/10 16:28:21 CST BEGIN swinstall SESSION (non-interactive) (jobid=delta-1340) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/". * Source connection succeeded for "delta:/var/tmp/FibrChanl". The fileset "PHCO_40220.ADMN-ENG-A-MAN,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHCO_40220.CORE2-SHLIBS,fa=HP-UX_B.11.31_PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHCO_40220.UX-CORE,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHKL_40218.C-INC,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. One or more patch filesets were automatically selected or deselected to maintain patch integrity. Please refer to the swinstall.log logfile for details. * Source: /var/tmp/FibrChanl * Targets: delta:/ * Software selections: FibrChanl-01,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA + PHCO_38801.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_39485.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_39626.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_40220.ADMN-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHCO_40220.CORE2-SHLIBS,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_40220.UX-CORE,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHCO_40220.UX2-CORE,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_36620.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_38040.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39416.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39417.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39624.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39625.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39736.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_40218.C-INC,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHKL_40218.CORE2-KRN,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_40219.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA * A "+" indicates an automatic selection due to dependency or the automatic selection of a patch or reference bundle. * Selection succeeded.

NOTE:

NOTE:

NOTE:

NOTE:

NOTE:

* Beginning Analysis * Session selections have been saved in the file "/root/.sw/sessions/swinstall.last". * "delta:/": There will be no attempt to mount filesystems that appear in the filesystem table. * "delta:/": 10 filesets have the selected revision already installed. * "delta:/": 1 software objects were determined to be skipped in the analysis phase. * "delta:/": 1 bundles have the selected revision already installed. * Analysis succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1340 @ delta:/". 02/25/10 16:28:24 CST (jobid=delta-1340) END swinstall SESSION (non-interactive)

=======

Install the required driver bundle


Run the installation choosing the require Driver Bundle that will be updated. In this example, FibrChanl-01 will be installed.
# swinstall -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl FibrChanl-01

For example:

9 11

2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

# swinstall -x autoreboot=true -x mount_all_filesystems=false \ -s /var/tmp/FibrChanl FibrChanl-01 ======= 02/25/10 16:30:17 CST BEGIN swinstall SESSION (non-interactive) (jobid=delta-1341) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/". * Source connection succeeded for "delta:/var/tmp/FibrChanl". The fileset "PHCO_40220.ADMN-ENG-A-MAN,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHCO_40220.CORE2-SHLIBS,fa=HP-UX_B.11.31_PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHCO_40220.UX-CORE,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. The fileset "PHKL_40218.C-INC,fa=HP-UX_B.11.31_IA/PA:/" has been automatically selected because one or more filesets in the patch was selected. One or more patch filesets were automatically selected or deselected to maintain patch integrity. Please refer to the swinstall.log logfile for details. The software specified contains a kernel fileset or a dynamic_module fileset. The kernel will be modified, and if necessary the system will be rebooted. * Source: /var/tmp/FibrChanl * Targets: delta:/ * Software selections: FibrChanl-01,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP FC-FCD.FC-FCD-KRN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA FC-FCD.FC-FCD-RUN,r=B.11.31.1003,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31.1003,fa=HP-UX_B.11.31_PA + PHCO_38801.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_39485.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_39626.UX2-CORE,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_40220.ADMN-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHCO_40220.CORE2-SHLIBS,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHCO_40220.UX-CORE,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHCO_40220.UX2-CORE,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_36620.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_38040.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39416.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39417.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39624.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39625.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_39736.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_40218.C-INC,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_IA/PA + PHKL_40218.CORE2-KRN,l=/,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA + PHKL_40219.CORE2-KRN,r=1.0,a=HP-UX_B.11.31_IA/PA,v=HP,fr=1.0,fa=HP-UX_B.11.31_PA * A "+" indicates an automatic selection due to dependency or the automatic selection of a patch or reference bundle. * Selection succeeded.

NOTE:

NOTE:

NOTE:

NOTE:

NOTE:

NOTE:

* Beginning Analysis and Execution * Session selections have been saved in the file "/root/.sw/sessions/swinstall.last". * "delta:/": There will be no attempt to mount filesystems that appear in the filesystem table. * "delta:/": 10 filesets have the selected revision already installed. * "delta:/": 1 software objects were determined to be skipped in the analysis phase. * "delta:/": 1 bundles have the selected revision already installed. * "delta:/": 12 software objects were determined to be skipped in the analysis phase. * Analysis and Execution succeeded.

NOTE:

More information may be found in the agent logfile using the command "swjob -a log delta-1341 @ delta:/". 02/25/10 16:31:08 CST (jobid=delta-1341) END swinstall SESSION (non-interactive)

=======

Package the bundle for distribution


use the swpackage command to create a single file depot for easier distribution.
# swpackage -s /var/tmp/FibrChanl -d /var/tmp/ALL-FibrChanl-B.11.31.1003.depot -x target_type=tape

# ls -l /var/tmp/ALL-FibrChanl-B.11.31.1003.depot -rw-r--r-1 root sys 24596480 Mar

1 12:06 /var/tmp/ALL-FibrChanl-B.11.31.1003.depot

Reference
10 11 2011/1/8 23:45

How build a depot with all HP-UX Fibre Channel Driver bu... http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-U...

FibrChanl-01 (fcd) Fibre Channel Mass Storage Driver for HP-UX 11i v3 Release Notes Version Number B.11.31.1003 (http://docs.hp.com/en/J6374-90081_e3/J6374-90081_e3.pdf) HP CommonIO B.11.31.1003 Release Notes: HP-UX 11i v3 (http://docs.hp.com/en/5990-5086 /index.html) HP-UX Common IO Bundle (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=CommonIO) FibrChanl-00 (http://h20293.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl00) - HP PCI Tachyon TL/TS/XL2 Fibre Channel Driver FibrChanl-01 (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl-01) - HP-UX Fibre Channel driver for QLogic-based 2Gb, 4Gb, and 8Gb FC HBAs FibrChanl-02 (https://h20392.www2.hp.com/portal/swdepot /displayProductInfo.do?productNumber=FibrChanl-02) - HP-UX Fibre Channel driver for Emulex-based FC HBAs]

Authors
Alejandro Marin Badilla Retrieved from "http://wiki-ux.info/wiki/How_build_a_depot_with_all_HPUX_Fibre_Channel_Driver_bundles_and_requisites" Categories: Fibre Channel | Software Distributor | Kernel | HP-UX Powered by MediaWiki Design by Paul Gu

11 11

2011/1/8 23:45

You might also like