Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Ignite-UX Administration Guide: HP Computers with HP-UX 10.x, 11.0 or 11i > Chapter 6 Installing Patches with Ignite-UX

Creating a Patch Depot

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Follow these steps to create a patch depot on an HP-UX system.

  1. Obtain the set of patches you want to place and manage in an SD depot. For example:

    PHCO_7891 PHCO_9348 PHKL_9361 PHSS_7726 PHSS_8966 PHSS_9400
    PHCO_8353 PHKL_8376 PHKL_9569 PHSS_8667 PHSS_9201

    HP patches delivered by the Response Center or the web are shar files consisting of a serial depot and a ReadMe file.

  2. Unshar the patches using:

    for i in PH*
    do
    sh $i
    done

  3. Combine the separate depots into one depot:

    1. Create the directory to store the patches:

      mkdir /var/opt/ignite/Patches

    2. Copy the individual patch depots into the target depot:

      for i in PH*.depot
      do
      swcopy -s ${PWD}/$i \* @ /var/opt/ignite/Patches
      done
  4. Verify the contents of the depot:

    swlist -d @ /var/opt/ignite/Patches

    Here's the output for the example list of patches above:

    Initializing...
    Contacting target "interop1"...
    Target: interop1:/var/opt/ignite/Patches
    No Bundle(s) on interop1:/var/opt/ignite/Patches
    Product(s):
    PHCO_7891 B.10.00.00.AA allows mount to turnon hfs-specific opts
    PHCO_8353 B.10.00.00.AA cumulative awk(1) patch
    PHCO_9348 B.10.00.00.AA cron(1M) and at(1) patch
    PHKL_8376 B.10.00.00.AA Fix vmtrace bug.
    PHKL_9361 B.10.00.00.AA Fix panic caused by MP race
    PHKL_9569 B.10.00.00.AA NFS and VxFS (JFS) cumulative patch
    PHSS_7726 B.10.00.00.AA CDE Dtterm August 96 patch
    PHSS_8667 B.10.00.00.AA CDE Runtime Nov96 Patch
    PHSS_8966 B.10.00.00.AA LIBCL cumulative patch
    PHSS_9201 B.10.00.00.AA fix for aC++ dld.sl
    PHSS_9400 B.10.00.00.AA ld(1) cumulative patch

    The output shows that the depot has "No Bundles." HP-UX Patches are SD "products", but Ignite-UX can only manage SD "Bundles."

  5. Convert the individual patches into a single bundle and put the bundle in the Patches depot:

    make_bundles -B -n Misc_Patches \
    -t "HP-UX 11.00 Patches" /var/opt/ignite/Patches

  6. Rerun swlist on this depot to verify that the bundle has been created:

    swlist -d @ /var/opt/ignite/Patches

    Here's the output assuming the example patches:

    Initializing...
    Contacting target "interop1"...
    Target: interop1:/var/opt/ignite/Patches
    Bundle(s):
    Misc_Patches HP-UX 11.00 Patches

    By default, swlist shows only the higher level software bundles. This command shows the patch "products" contained in the bundle:

    swlist -l product -d @ /var/opt/ignite/Patches

    NOTE: If you need to add additional patches to the depot in the future, simply unshar the patches as described above, swcopy them into the Patches depot, and rerun make_bundles. This will repackage the depot.

    If you would like to remove a patch from the depot, simply use the swremove command. You can either run swremove and use its friendlier user-interface, or run swremove in command-line mode. This example removes the PHKL_8376 patch from the depot:

    swremove -d Misc_Patches.PHKL_8376 @ \ /var/opt/ignite/Patches

  7. If you inadvertently create a bundle of a bundle (for example, if you add an HP product you want distributed with the patch depot), use swremove interactively to examine and delete the extra bundle.

  8. Create a config file for the newly-created Misc_Patches bundle. Follow the steps outlined in "Adding a SD Bundle to the Archive Environment" in Chapter 8. Use /var/opt/ignite/Patches for your source depot and specify a new configuration file:

    make_config -s /var/opt/ignite/Patches -a 700 \
    -c /var/opt/ignite/data/Rel_B.11.00/misc_patch_bundle_cfg

  9. Modify the /var/opt/ignite/INDEX file to include the new bundle in our "HP-UX B.11.0 archive" configuration:

    cfg "HP-UX B.11.00 archive" {
    description "The ARCHIVE B.11.00 release with patches."
    "/opt/ignite/data/Rel_B.11.00/config"
    "/var/opt/ignite/data/Rel_B.11.00/core_700_archive_cfg"
    "/var/opt/ignite/data/Rel_B.11.00/patch_bundle_cfg"
    "/var/opt/ignite/data/Rel_B.11.00/misc_patch_bundle_cfg"
    "/var/opt/ignite/config.local" }
  10. To force the installation of the new Misc_Patches bundle with the golden-image archive, add this line to the sw_sel clause for the patch bundle in /var/opt/ignite/data/Rel_B.11.00/misc_patch_bundle_cfg:

    load_with_any = "golden image"

    (This file was created with make_config in Step 8.)

    IMPORTANT: Most software distributed by HP, such as applications on DART CDs, are already bundles and will not need (and should not be) bundled again!
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.