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 Quick Start Guide: Create an Ignite-UX Server and Cold-Install Clients > Chapter 1 Setting up an Ignite-UX Server

Install the Ignite-UX Software and the HP-UX OE Depot on the Server

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

  1. Gain access to the DVD drive on your system. This document assumes the DVD-ROM device is called /dev/dsk/c1t2d0 – substitute your actual device name throughout this document.

    Procedure
    1. Use the ioscan command to get the DVD-ROM device name, for example: /dev/dsk/c1t2d0. You are looking for DVD in the Description column of the ioscan output.

      # ioscan -fnkC disk | more

    2. Create the device directory:

      # mkdir /dvdrom

    3. Put the OE DVD in the drive and mount it onto the new directory as a file system. Note that you must unmount the DVD-ROM with the # umount /dvdrom command before you can extract it from the drive.

      # mount /dev/dsk/c1t2d0 /dvdrom

    Common Errors

    /dev/rdsk/cntndn is an invalid operand

    Diagnosis: The /dev/rdsk device file was used instead of the /dev/dsk device file.

    Correction: Reissue the mount command with the /dev/dsk device file.

    /dev/dsk/cntndn: unrecognized file system

    Diagnosis: The device file name was mistyped.

    Correction: Check that the device file was entered correctly.

    /dev/dsk/cntndn: I/O error

    Diagnosis: The DVD isn't in the drive.

    Correction: Insert the OE DVD into the drive.

    mount: /dev/dsk/cntndn was either ignored or not found in /etc/fstab

    Diagnosis:The mount directory, /dvdrom, was omitted from the mount command.

    Correction: Reissue the mount command with the mount directory.

    The ioscan command lists no devices.

    Diagnosis: If the system is running HP-UX 11i v3, the system might have legacy mode disabled. To find out, issue the following command.

    # insf -Lv

    Correction: If legacy mode is disabled, issue the following command to get the DVD-ROM device name (add an “N” to the ioscan command options). Do not enable legacy mode without talking to the system administrator responsible for the Ignite-UX server.

    # ioscan -fNnkC disk | more
    Explore

    You can navigate the output of the more command, including the ioscan -C disk -f -n -k | more command above, with the following shortcuts:

    • space – Scroll down one page of the listing.

    • j – Scroll down one line of the listing.

    • k – Scroll up one line of the listing.

    • q – Quit.

    See ioscan(1M).

    See mkdir(1).

    See mount(2).

    See mount(1M) by issuing the command

    # man 1M mount

  2. Make sure you are installing a later version of Ignite-UX on the system.

    Procedure
    1. Get the version of Ignite-UX currently installed on the server, if it is already installed:

      # swlist Ignite-UX
    2. Get the version of Ignite-UX from the OE DVD:

      # swlist -s /dvdrom | grep Ignite-UX 
    Common Errors

    ERROR: Software “Ignite-UX” was not found on host “system_name:/”.

    Diagnosis: Depending on the command you issued, Ignite-UX is not currently installed on the server or it's not on the DVD currently in the drive.

    Correction: If Ignite-UX is not installed on the server, continue to the next step. If Ignite-UX is not on the DVD, replace the DVD with another in the media set. Remember to unmount the current DVD in order to extract it from the drive.

    ERROR: The expected depot or root does not exist at “/dvdrom”.

    ERROR: There is currently no depot software on host “hostname” at location “/dvdrom”. Make sure that an absolute pathname is specified for location (beginning with “/”).

    Diagnosis: The DVD is no longer mounted at /dvdrom or you have typed the wrong directory name.

    Correction: Check for typos. You can use bdf to check the name of the DVD mount point. If the DVD is not mounted, mount it as described in the previous step.

    Explore

    For an overview on getting and installing Ignite-UX, see the Ignite-UX Administration Guide available at http://www.docs.hp.com/en/IUX/infolib.html. For detailed information, see the white paper Installing and Updating Ignite-UX, available at http://www.docs.hp.com/en/IUX/infolib.html.

  3. Install the Ignite-UX software using swinstall if the Ignite-UX version on the DVD is later than any currently installed version of Ignite-UX and the HP-UX version on the OE media matches the HP-UX version on the Ignite-UX server.

    Procedure
    # swinstall -s /dvdrom Ignite-UX
    Common Errors

    ERROR: Could not apply the software selection “Ignite-UX”; it is not available from depot or root “server_name:/dvdrom”.

    Diagnosis: The DVD in the drive does not have Ignite-UX on it.

    Correction: Unmount the DVD drive with this command:

    # umount /dvdrom

    Put in another OE DVD and mount it as in step 1c. Then use the swinstall command again.

    ERROR: “server_name:/” 19 filesets have a version with a higher revision number already installed.

    Diagnosis: A higher version of Ignite-UX is already installed on the server system.

    Correction: Proceed to the next step.

    Explore

    You can list all the software bundles on the DVD with

    # swlist -s /dvdrom

  4. Unmount the DVD so you can extract it from the drive.

    Procedure
    # umount /dvdrom
    Common Errors

    # unmount /dvdrom: cannot unmount /dvdrom : Device busy

    Diagnosis: A process is still using files on the DVD, or a process has its current working directory on the DVD.

    Correction:

    1. Run the fuser command to see what processes are using the DVD.

      # fuser /dvdrom /dvdrom: 8553c
    2. To find out what commands are using the DVD device, run the following command for each process id (numbers only, in this case 8553) shown by the fuser command.

      # ps -e | grep -e 8553 root 8553 8552 1 Jul 10 pts/tb 0:00 -sh root 11087 8553 0 14:34:07 pts/tb 0:00 grep -e 8553

      In this case, the shell attempting to run unmount had /dvdrom as its current working directory, and changing to another directory would allow the DVD to be unmounted.

  5. Create the HP-UX OE depot, named core_media, by running make_depots on each of the HP-UX OE DVDs. In this example we are using HP-UX 11i v2, but this process can easily be customized for any HP-UX release by substituting your release information for the HP-UX 11i v2 information. The make_depots command takes a long time to complete. When make_depots completes without errors, no messages are printed to the screen – all messages are printed to the /var/opt/ignite/depots/Rel_B.11.23/swagent.log file (substitute your release directory if it's different from 11.23). If the make_depots command returns quickly with no errors, the depot already exists on the system.

    Procedure

    Run the make_depots command below for all DVDs in the OE set. Remember to substitute your device file name and the appropriate release directory (Rel_B.11.xx) for your version of HP-UX.

    # /opt/ignite/bin/make_depots -s /dev/dsk/c1t2d0 \ -d /var/opt/ignite/depots/Rel_B.11.23/core_media
    Common Errors

    ERROR: swcopy command failed

    Diagnosis: Read the file /var/opt/ignite/depots/Rel_B.11.23/core_media/swagent.log to get a full report of what went wrong.

    make_depots: error — cannot stat source depot /dev/dsk/cntndn

    make_depots: notice — Ending make_depots due to fatal error

    Diagnosis: The wrong device file was used.

    Correction: Reissue the make_depots command with the correct device file.

    Explore

    You can watch the depot creation process by listing the file /var/opt/ignite/depots/Rel_B.11.23/core_media/swagent.log with the following command.

    # tail -f /var/opt/ignite/depots/Rel_B.11.23/core_media/swagent.log

    The depot will be put in the /var/opt/ignite/depots/Rel_B.11.23 directory and will be named core_media.

    This process is described fully in the section on installation configurations using Software Distributor (SD-UX) depots in the Ignite-UX Custom Configuration Files web-only document, available at http://docs.hp.com/en/IUX/infolib.html.

    The depot we're creating is called core_media in order to distinguish it from other depots of the same HP-UX version. (All depots of the same version are kept in the appropriate Rel_B.xx.xx directory.) Consider naming depots with names that indicate what release of HP-UX the depot contains. This will make the depots easier to identify. For instance, if you are creating a depot for the December 2007 HP-UX 11i v2 Mission Critical OE release, you could name the depot core_0712_mc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007, 2008 Hewlett-Packard Development Company, L.P.