how build a depot with all hp-ux fibre channel driver bundles and requisites

11
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. 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... 第1页 共11页 2011/1/8 23:45

Upload: seasonchu

Post on 23-Oct-2015

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

Navigation

HP-UX

Networking

LinuxLanguagesPerlResources

Software

HardwareBCS AB300 Server Console Solution BCS HP 9000 Servers BCS HP BladeSystem c-ClassEnclosures BCS HP Carrier-Grade Blade Server bh Series BCS HP Carrier-Grade cc2300/cc33xxServers BCS HP Integrity BL Server Blades BCS HP Integrity cx26xx Servers BCS HP IntegrityServers BCS HP Proliant Servers BCS Microsoft Windows Server on HP Integrity ServersDiscontinued HP 9000 servers Hardware Compatibility Supported SystemsOther

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 ChannelDriver bundles and requisites

Abstract

Installing the latest Fibre Channel Drive bundle for HP-UX usually requires several steps to install allrequired patches and software dependendencies. Several system reboots to install each dependencylevel are common.

This article explains a method to create a Software Distributor Depot with all HP-UX Fibre Channel Driverbundles for an specific HP-UX release. HP-UX 11i v3 bundles will be use to demonstrate the entireprocess. This procedure made updating the Fibre Channel driver(s) with a single kernel build and systemreboot.

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...

第1页 共11页 2011/1/8 23:45

Page 2: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

Contents

1 Abstract2 Obtain the require Fibre Channel Driver bundles3 Copy all the bundles together in a depot directory4 Check the depot directory content5 Run the installation preview to detect mising dependencies6 Add required patch prerequesites7 Check the depot directory content including patches8 Run the installation preview to detect errors9 Install the required driver bundle10 Package the bundle for distribution11 Reference12 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 ChannelDriverFibrChanl-01 (https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=FibrChanl-01) - HP-UX Fibre Channel driver forQLogic-based 2Gb, 4Gb, and 8Gb FC HBAsFibrChanl-02 (https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=FibrChanl-02) - HP-UX Fibre Channel driver forEmulex-based FC HBAs]

# ls /var/tmp/*.depot-rw-r--r-- 1 root sys 604160 Feb 25 15:29 /var/tmp/CommonIO_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot-rw-r--r-- 1 root sys 1945600 Feb 25 15:29 /var/tmp/FibrChanl-00_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot-rw-r--r-- 1 root sys 3850240 Feb 25 15:29 /var/tmp/FibrChanl-01_B.11.31.1003_HP-UX_B.11.31_IA_PA.depot-rw-r--r-- 1 root sys 1402880 Feb 25 15:29 /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/FibrChanlswcopy -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:

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...

第2页 共11页 2011/1/8 23:45

Page 3: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

# 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 BEGIN swcopy SESSION (non-interactive) (jobid=delta-1350) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl".NOTE: 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.%NOTE: 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. * 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 END swcopy SESSION (non-interactive) (jobid=delta-1350)

# 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 BEGIN swcopy SESSION (non-interactive) (jobid=delta-1347) * Session started for user "root@delta". * Beginning Selection * "delta:/var/tmp/FibrChanl": This target does not exist and will be created.NOTE: 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. * 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 END swcopy SESSION (non-interactive) (jobid=delta-1347)

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...

第3页 共11页 2011/1/8 23:45

Page 4: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

# 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 BEGIN swcopy SESSION (non-interactive) (jobid=delta-1348) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl".NOTE: 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. * 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 END swcopy SESSION (non-interactive) (jobid=delta-1348)

# 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 BEGIN swcopy SESSION (non-interactive) (jobid=delta-1349) * Session started for user "root@delta". * Beginning Selection * Target connection succeeded for "delta:/var/tmp/FibrChanl".NOTE: 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. * 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 END swcopy SESSION (non-interactive) (jobid=delta-1349)

Check the depot directory content

# swlist -s /var/tmp/FibrChanl

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...

第4页 共11页 2011/1/8 23:45

Page 5: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

For example:

# swlist -s /var/tmp/FibrChanl# Initializing...# Contacting target "delta"...## Target: delta:/var/tmp/FibrChanl# ## Bundle(s):# CommonIO B.11.31.1003 Common IO Drivers FibrChanl-00 B.11.31.1003 FibreChannel;HW=A6795A,A5158A FibrChanl-01 B.11.31.1003 FibrChnl;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A,AD300A FibrChanl-02 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:

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...

第5页 共11页 2011/1/8 23:45

Page 6: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

# 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_PANOTE: 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_PAERROR: 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 END swinstall SESSION (non-interactive) (jobid=delta-1351)

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...

第6页 共11页 2011/1/8 23:45

Page 7: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

# 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 HP Recommended Patch

PHCO_36371 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_36371)

PHCO_40220 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_40220)

PHCO_37483 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_37483)

PHCO_39626 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_39626)

PHKL_36332 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_36332)

PHKL_39417 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_39417)

PHKL_36387 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_36387)

PHKL_39736 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_39736)

PHKL_37454 (http://www11.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_37454)

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 (Thetotal 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/patchestotal 48480-rw-r--r-- 1 21164 12753 1161633 Feb 26 2009 PHCO_38801-rw-r--r-- 1 21164 12753 843728 Jul 27 2009 PHCO_39485-rw-r--r-- 1 21164 12753 950674 Feb 4 19:21 PHCO_39626-rw-r--r-- 1 21164 12753 1384964 Sep 1 20:12 PHCO_40220-rw-r--r-- 1 21164 12753 81486 Jul 18 2007 PHKL_36389-rw-r--r-- 1 21164 12753 541082 Feb 4 19:21 PHKL_36620-rw-r--r-- 1 21164 12753 3668340 Feb 26 2009 PHKL_38040-rw-r--r-- 1 21164 12753 98145 Feb 26 2009 PHKL_38681-rw-r--r-- 1 21164 12753 171082 Feb 26 2009 PHKL_38691-rw-r--r-- 1 21164 12753 724095 Feb 4 19:21 PHKL_38708-rw-r--r-- 1 21164 12753 298193 Feb 4 19:21 PHKL_38737-rw-r--r-- 1 21164 12753 95922 Feb 4 19:21 PHKL_39028-rw-r--r-- 1 21164 12753 939718 Feb 4 19:21 PHKL_39397-rw-r--r-- 1 21164 12753 168158 Jul 27 2009 PHKL_39398-rw-r--r-- 1 21164 12753 66222 Jul 27 2009 PHKL_39399-rw-r--r-- 1 21164 12753 835457 Feb 4 19:21 PHKL_39400-rw-r--r-- 1 21164 12753 706663 Feb 4 19:21 PHKL_39416-rw-r--r-- 1 21164 12753 961466 Feb 4 19:21 PHKL_39417-rw-r--r-- 1 21164 12753 175563 Feb 4 19:21 PHKL_39464-rw-r--r-- 1 21164 12753 142068 Feb 4 19:21 PHKL_39465-rw-r--r-- 1 21164 12753 126037 Jul 27 2009 PHKL_39476-rw-r--r-- 1 21164 12753 111033 Jul 27 2009 PHKL_39479-rw-r--r-- 1 21164 12753 97202 Feb 4 19:21 PHKL_39482-rw-r--r-- 1 21164 12753 474401 Jul 27 2009 PHKL_39606-rw-r--r-- 1 21164 12753 2335613 Feb 4 19:22 PHKL_39624-rw-r--r-- 1 21164 12753 975257 Feb 4 19:22 PHKL_39625-rw-r--r-- 1 21164 12753 518398 Feb 4 19:22 PHKL_39736-rw-r--r-- 1 21164 12753 127791 Feb 4 19:22 PHKL_39737-rw-r--r-- 1 21164 12753 97940 Feb 4 19:22 PHKL_39738-rw-r--r-- 1 21164 12753 1162165 Jul 27 2009 PHKL_39740-rw-r--r-- 1 21164 12753 947535 Feb 4 19:22 PHKL_40022-rw-r--r-- 1 21164 12753 2734287 Feb 4 19:22 PHKL_40208-rw-r--r-- 1 21164 12753 260473 Feb 4 19:22 PHKL_40218-rw-r--r-- 1 21164 12753 421002 Feb 4 19:22 PHKL_40219-rw-r--r-- 1 21164 12753 262266 Feb 4 19:22 PHKL_40224-rw-r--r-- 1 21164 12753 1779 Feb 16 09:11 README_hp-ux-rwxr-xr-x 1 21164 12753 5761 Feb 25 15:58 create_depot_hpux.11.31

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

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...

第7页 共11页 2011/1/8 23:45

Page 8: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

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/FibrChanldone

Check the depot directory content including patches

The previous step have provided a comprensive depot that includes all require software dependencies forthe 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 B.11.31.1003 Common IO Drivers FibrChanl-00 B.11.31.1003 FibreChannel;HW=A6795A,A5158A FibrChanl-01 B.11.31.1003 FibrChnl;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A,AD300A FibrChanl-02 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 1.0 ioinit(1M) cumulative patch PHCO_39485 1.0 sfd cumulative patch PHCO_39626 1.0 scsimgr cumulative patch PHCO_40220 1.0 olrad(1M) cumulative patch PHKL_36389 1.0 Firmware interface support for MCA recovery PHKL_36620 1.0 Stack trace support for DLKM modules PHKL_38040 1.0 Kernel debugger cumulative patch PHKL_38681 1.0 Power mgmt and Dynamic P-states support PHKL_38691 1.0 pm clock cumulative patch PHKL_38708 1.0 system call infrastructure cumulative patch PHKL_38737 1.0 Integrity Processor Migration Performance PHKL_39028 1.0 CMC Records, PCIe Error Recovery PHKL_39397 1.0 ACPI CA cumulative patch PHKL_39398 1.0 ACPI cumulative patch PHKL_39399 1.0 SMBIOS cumulative patch PHKL_39400 1.0 TLB,MCA Recovery,HPVM,NUMA,P-State,IPMI Events,OsName PHKL_39416 1.0 WSIO subsystem cumulative patch PHKL_39417 1.0 GIO cumulative patch PHKL_39464 1.0 Local Memory, CPU and memory OLAD support,IPMI Events PHKL_39465 1.0 DynamicNPars, Power Mgmt, Partition ID, OLAD support PHKL_39476 1.0 olstar cumulative patch PHKL_39479 1.0 CEC Common Service Layer, and OLAD Support PHKL_39482 1.0 CPU and memory OLAD support PHKL_39606 1.0 PRM/FSS cumulative patch with LVM enhancement PHKL_39624 1.0 esctl cumulative patch PHKL_39625 1.0 esdisk cumulative patch PHKL_39736 1.0 shutdown cumulative patch PHKL_39737 1.0 EFI support for MCA recovery, Pwr Mgmt, TLB, OsName PHKL_39738 1.0 Error record support for MCA recovery, PCI Express PHKL_39740 1.0 dump cumulative patch PHKL_40022 1.0 kernel threads cumulative patch PHKL_40208 1.0 scheduler cumulative patch PHKL_40218 1.0 dev_config cumulative patch PHKL_40219 1.0 OLA/R/D subsystem cumulative patch PHKL_40224 1.0 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 thisexample, FibrChanl-01 will be tested.

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

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...

第8页 共11页 2011/1/8 23:45

Page 9: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

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".NOTE: 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.NOTE: 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.NOTE: 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.NOTE: 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.NOTE: 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. * 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 END swinstall SESSION (non-interactive) (jobid=delta-1340)

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:

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...

第9页 共11页 2011/1/8 23:45

Page 10: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

# 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".NOTE: 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.NOTE: 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.NOTE: 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.NOTE: 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.NOTE: One or more patch filesets were automatically selected or deselected to maintain patch integrity. Please refer to the swinstall.log logfile for details.NOTE: 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. * 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 END swinstall SESSION (non-interactive) (jobid=delta-1341)

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

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...

第10页 共11页 2011/1/8 23:45

Page 11: How Build a Depot With All HP-UX Fibre Channel Driver Bundles and Requisites

FibrChanl-01 (fcd) Fibre Channel Mass Storage Driver for HP-UX 11i v3 Release Notes VersionNumber 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 ChannelDriverFibrChanl-01 (https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=FibrChanl-01) - HP-UX Fibre Channel driver forQLogic-based 2Gb, 4Gb, and 8Gb FC HBAsFibrChanl-02 (https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=FibrChanl-02) - HP-UX Fibre Channel driver forEmulex-based FC HBAs]

Authors

Alejandro Marin Badilla

Retrieved from "http://wiki-ux.info/wiki/How_build_a_depot_with_all_HP-UX_Fibre_Channel_Driver_bundles_and_requisites"Categories: Fibre Channel | Software Distributor | Kernel | HP-UX

Powered by MediaWikiDesign by Paul Gu

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...

第11页 共11页 2011/1/8 23:45