Non-vPars-Specific Section of Chapter - Install HP-UX 11i Operating Environment

   

HP-UX Virtual Partitions
By Marty Poniatowski

Table of Contents
Chapter 1.  Installing HP-UX 11i and Virtual Partitions Software


Installing HP-UX means installing one of the 11i Operating Environments and later building your complete fully functional HP-UX system by installing both HP and non-HP applications. The initial system is loaded from the 11i media, or from another system on the network using Ignite-UX. This chapter covers installing from media. The Ignite-UX chapter covers installing from a server. If you don't now have HP-UX 11i loaded on your system you would complete this procedure and then load the Virtual Partitions software covered earlier.

You can have your system delivered with instant ignition, which means that HP-UX has been loaded on your system and you'll only have to add to it the application software you'll need. I cover the complete installation process from media so you can see the process from start to finish. If you have instant ignition on your system, you may need to install additional software on your system in the future and can, therefore, use some of the techniques described in this section to load that software.

One of the features of moving any version of the 11.x operating system (including 11i) is the option of taking advantage of 64-bit computing. Whereas previous versions of HP-UX supported only the 32-bit processor, with 11.x, you have the option of running either the 32-bit or the 64-bit version. Which version of the operating system you choose is dependent on two things: what hardware you are using and your application requirements. The 64-bit version is not supported on some Series 700 workstations and many of the low-end Series 800s, but it is required for the L-Class, N-Class, V-Class, and Superdome servers. With other Series 800s, most notably the K Class and T Class servers, you have the option to install either the 32-bit or the 64-bit version. But don't worry too much if you are unsure whether your hardware supports 64-bit or not. If your hardware doesn't support the 64-bit version, you won't be prompted as to which version to install. The 32-bit version will be installed automatically. If you have the option to install the 32-bit or 64-bit version, then your hardware supports either.

Your application requirements will also help determine whether you will install the 32-bit or 64-bit operating system. If your applications are 32-bit, then you really have no reason to run the 64-bit version. If, however, you will be running a 64-bit application, then you obviously will need to install the 64-bit operating system. The good news is that if you install the 32-bit operating system and then find that an application you want to install is 64-bit, you can upgrade to the 64-bit operating system, assuming, of course, that your hardware also supports it.

Booting the System and "Advanced Installation"

In order to install HP-UX software, place the core operating system media for HP-UX 11i into the DVD-ROM or CD-ROM drive. At the time of this writing, the CD-ROM was labeled HP-UX Release 11.11.There were two CD-ROMs as part of the core operating system I was working with because I was loading the Mission Critical Operating Environment which was on two CD-ROMs (more about the Operating Environments later.) Be sure to insert the CD-ROM Install media before you begin the installation. As your HP 9000 unit boots, you will see a variety of messages fly by, including information about your processors, buses, boot paths, and so on. See Chapter 3, which covers the boot process, to get more information about booting.

The following example shows several steps that were taken. The example begins at the end of early boot. The early boot is the first part of the load process from media. There were many early boot-related messages that appeared before the point where our example begins. We discontinued the boot process by pressing a key. After discontinuing the boot we run SEArch to find bootable devices. Among the devices shown is the DVD-ROM drive containing our operating system media. We select p0 to boot off of with the bo p0 command. We then choose not to interact with IPL.

 ************ EARLY BOOT VFP *************  End of early boot detected  *****************************************  Firmware Version  39.46  Duplex Console IO Dependent Code (IODC) revision 1  ------------------------------------------------------------------------------    (c) Copyright 1995-1998, Hewlett-Packard Company, All rights reserved  ------------------------------------------------------------------------------   Processor   Speed            State           CoProcessor State  Cache Size    Number                                       State              Inst    Data    ---------  --------   ---------------------  -----------------  ------------       0      440  MHz   Active                 Functional         512 KB   1 MB        3      440  MHz   Idle                   Functional         512 KB   1 MB    Central Bus Speed (in MHz)  :        82    Available Memory            :   2097152  KB    Good Memory Required        :     16908  KB     Primary boot path:    0/0/1/1.2     Alternate boot path:  0/0/2/0.2     Console path:         0/0/4/0.0     Keyboard path:        0/0/4/0.0   WARNING:  The non-destructive test bit was set, so memory was not tested              destructively.  Information only, no action required.  Processor is booting from first available device.  To discontinue, press any key within 10 seconds.  Boot terminated.  ---- Main Menu ---------------------------------------------------------------      Command                           Description       -------                           ----------      BOot [PRI|ALT|<path>]             Boot from specified path       PAth [PRI|ALT] [<path>]           Display or modify a path       SEArch [DIsplay|IPL] [<path>]     Search for boot devices       COnfiguration menu                Displays or sets boot values       INformation menu                  Displays hardware information       SERvice menu                      Displays service commands       DIsplay                           Redisplay the current menu       HElp [<menu>|<command>]           Display help for menu or command       RESET                             Restart the system  ---- Main Menu: Enter command or menu > search  Searching for potential boot device(s)  This may take several minutes.  To discontinue search, press any key (termination may not be immediate).     Path#  Device Path (dec)  Device Path (mnem)  Device Type     -----  -----------------  ------------------  ----------    P0     0/0/1/0.3          extscsi.3           Random access media     P1     0/0/1/1.2          intscsib.2          Random access media     P2     0/0/2/0.2          intscsia.2          Random access media  Main Menu: Enter command or menu > bo P0  Interact with IPL (Y, N, or Cancel)?> n  Booting... 

The SEArch command in the previous listing showed us the bootable devices. There are three possible boot devices. The second two are in the internal disks, one of which would normally be the primary boot device and the other which is normally the alternate boot device. These two disks are on two different SCSI buses internal to the L-Class. The first device was the external DVD-ROM that contains the HP-UX 11i CD-ROM, which is operating system media off of which we want to boot.

In order to boot off of the media and not interact with IPL (for more information on IPL, see Chapter 3), we issued the following command:

 Main Menu: Enter command or menu > bo p0  Interact with IPL (Y or N)?> N 

After booting off of P0, we are given the Welcome to the HP-UX installation/recovery process! menu shown in the following example:

            Welcome to the HP-UX installation/recovery process!  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> 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: 9000/800/L2000-44  +---------------------+----------------+-------------------+ [ Scan Again  ]  | Disks: 2  ( 33.9GB) |  Floppies: 0   | LAN cards:   2    |  | CD/DVDs:        1   |  Tapes:    0   | Memory:   2048Mb  |  | Graphics Ports: 0   |  IO Buses: 8   | CPUs:        2    | [ H/W Details ]  +---------------------+----------------+-------------------+                       [      Install HP-UX      ]                       [   Run a Recovery Shell  ]                       [    Advanced Options     ]            [Reboot  ]                            [ Help ] 

The Welcome to the HP-UX installation/recovery process! menu is the first menu displayed. It gives a summary of the hardware on your system. If you want to see more detail, select the H/W Details option on the right side of the screen. This takes you to a detailed listing of your hardware. It includes items such as hardware paths, disk drive capacities, and LAN addresses. We won't perform any other functions in this example other than our selection of Install HP-UX.

When we select Install HP-UX, we get the User Interface and Media Options menu shown in the following example:

                        User Interface and Media Options    This screen lets you pick from options that will determine if an    Ignite-UX server is used, and your user interface preference.  Source Location Options:    [ * ]  Media only installation    [   ]  Media with Network enabled (allows use of SD depots)    [   ]  Ignite-UX server based installation  User Interface Options:    [   ]  Guided Installation (recommended for basic installs)    [ * ]  Advanced Installation (recommended for disk and filesystem management)    [   ]  No user interface - use all the defaults and go    Hint: If you need to make LVM size changes, or want to set the          final networking parameters during the install, you will          need to use the Advanced mode (or remote graphical interface).    [   OK   ]                  [ Cancel ]                         [ Help ] 

This menu gives you the option of installing from the media only, installing from the media combined with the software depots on your network, or the Ignite-UX product. We'll be installing from the media only in our example.

We next select Advanced Installation because this gives us the greatest level of flexibility when installing. Guided Installation leads you through a basic system configuration setup. It allows for only a few system-specific options. Advanced Installation is much more flexible and allows for extensive system-specific parameters to be set. We'll walk through the Advanced Installation steps.

The display that now appears is similar to that used by Ignite-UX. In fact, it is the same except that Ignite-UX uses a graphical user interface (GUI) versus the terminal user interface (TUI.) Figure 1-4 shows this display.

Figure 1-4 Ignite/UX Display Basic Tab Area Using TUI
                         /opt/ignite/bin/itool   /-------\/----------\/--------\/-------------\/----------\   | Basic ||  Software|| System || File System || Advanced |                        ..   \       \-----------------------------------------------/    Configurations: [ HP-UX B.11.11 Default   ->] [ Description... ]    Environments:   [ Mission Critical OE-64bit ->] (HP-UX B.11.11)    [ Root Disk... ] SEAGATE_ST318203LC, 0/0/1/1.2.0, 17366 M    File System:    [ Logical Volume Manager (LVM) with VxFS  ->]    [ Root Swap (MB)... ] 1024  Physical Memory (RAM) = 2048 MB          [  Languages...  ] English  [ Keyboards... ] [ Additional...  ]    --------------------------------------------------------------------   [ Show Summary... ]                          [ Reset Configuration ]    --------------------------------------------------------------------        [ Go!   ]            [ Cancel ]             [Help] 

The Advanced Installation menu lets you choose from among the menu tab areas with the ability of going back and forth among them until you are satisfied with your choices.

Across the top of the menu display are five tab areas: Basic, Software, System, File System, and Advanced. By pressing the tab key, each Tab area can be highlighted. To select the highlighted tab area, press the Enter/Return key. This will cause that tab area's screen to be displayed. Within each of these areas are several parameters that can be modified for your specific system. Listed below are the main features of each tab area:

  • Basic - configuration and environment information.

  • Software - ability to choose optional software to be installed. Mostly the same options that appear under Guided Installation.

  • System - networking parameters. Also configurable via the set_parms command.

  • File System - disk space allocation.

  • Advanced - advanced disk, file system, logical volume, and volume group parameters.

We configure our system beginning with the Basic screen as shown in Figure 1-4.

Items of particular importance are discussed below:

  • Configuration - we use HP-UX B.11.11 Default. HP-UX11i is called by its original name, 11.11, in some cases.

  • Environments - there are four 11i environments to select from at the time of this writing. This is a major change in the software distribution method for HP-UX 11i. The Operating Environments are bundles of software that make installing 11i easier. We'll select the first of the four, which is the top level, or most elaborate, of the Operating Environments as shown in the following example:

     Mission Critical OE-64bit .>] (HP-UX B.11.11)                          Enterprise OE-64bit                          HP-UX 11i OE-64bit                          HP-UX 11i Base OS-64bit 

  • Root Disk - the default selection for the root disk is the first internal disk drive, which is the disk with a path of 0/0/1/1.2.0 in our example.

  • File System - we are given the option of choosing wholedisk (not LVM) with HFS, Logical Volume Manager with HFS, or Logical Volume Manager with VxFS. If you have not reviewed the Logical Volume Manager section of this chapter, you will want to do so before you make this selection (LVM is Logical Volume Manager.) I am a strong advocate of using Logical Volume Manager with VxFS whenever possible.

  • Root Swap - The system automatically selects an amount twice the size of your main memory, or a maximum of 1024 MB. You will want to consider your primary swap space very carefully. The L-Class system in our example has 2GBytes of memory and we'll go with the default of 1 GByte of swap as shown.

  • Languages - We'll install English on our system; however, there are many languages available for 11i systems.

  • Additional - This is the pick at the bottom right corner of the screen, not the tab area. Here is where you can configure such things as a second swap area, adding a second disk drive to the root volume, and disabling DHCP. With 11i, DHCP, Dynamic Host Configuration Protocol, works with an Ignite-UX server that automatically assigns system name, IP address, and so on.

The major difference between the selections just discussed for 11i and earlier releases of 11.x are the Operating Environments. 11i is the first HPUX release for which Operating Environments are available.

Moving to the Software tab area, we find software on the installation CD-ROM for 11i that has been marked for installation. Since we have selected the Mission Critical Operating Environment there is a lot of software automatically selected as part of this installation.

Figure 1-5 shows some of the software we have selected in the Software tab area. We have selected All so that we can see all of the software that has been selected as part of the Mission Critical Operating Environment. We could scroll down to see additional software.

Figure 1-5 Software Tab Area
                     /opt/ignite/bin/itool  /-------\/----------\/--------\/-------------\/----------\  | Basic || Software || System || File System || Advanced |                              ..  \--------/        \------------------------------------/   Category       Marked?    Product        Description  --------------------------------------------------------------  All            Yes       GigEther-00    PCI/HSC/EFF-HSCGigEther   HPUXAdditions  Yes       HPUXBaseAux    HP-UX Base OS Auxilary   OrderedApps    No        HyprFabrc-00   PCI/HSC HyperFabric Driver   Uncategorized  No        J4258BA        Netscape Directory Server                  No        J4274AA        HP WebQoS Peak Packaged Ed                  No        RAID-00        PCI RAID; Supptd HW=A5856A                  No        TermIO-00      PCI MUX; Supptd HW=J3592A   [ Change Depot Location... ]   ---------------------------------------------------------------------  [ Show Summary...  ]                        [ Reset Configuration ]   ---------------------------------------------------------------------       [   Go!  ]           [ Cancel ]            [Help] 

graphics/chic01.gif

Other software you may want to install can be selected from the installation CD. In the example the first two items have automaticallly been selected as part of the Mission Critical Operating Environment. At this point, we could select additional software such as Hyperfabric and Netscape Directory Server in this window. Keep in mind that the software shown in this window is on the core operating system CD-ROM for 11i. You may later want to install application software from the HP-UX Applications CD set. This is done using Software Distributor. An overview of the Software Distributor product used for installing all HP-UX 11i software appears later in this chapter. You may want to take a look at this overview to get a feel for the type of functionality that Software Distributor offers. The swinstall program is the Software Distributor program used to install software. If you have application software to be installed, you will interact with swinstall, and possibly be asked for codeword information for some of the software to be installed. If your software is protected, you will have to enter the codeword information. If you need a codeword, it should be printed on the CD-ROM certificate you received with your software. This codeword is tied to the ID number of a hardware device in your system.

With the software we wish to load on our system having been selected we can move on to the next area.

The System tab area, shown in Figure 1-6, is where system identification-related configuration information can be found. Since we want to configure networking and other related information after the installation is complete, we have changed only the first item on this screen. The options for the first item are:

Final system parameters:

[Set parameters now]

 

[Ask at first boot]

We selected Ask at first boot.

Figure 1-6 System Tab Area
                       /opt/ignite/bin/itool  /-------\/----------\/--------\/-------------\/----------\  | Basic || Software || System || File System || Advanced |                       ..  \------------------------------/            \-----------/      Final System Parameters: [ Ask at first boot     ->]     All of the system parameters will be collected interactively.   during the initial boot of the system.   If you wish to specify these parameters now, please select   "Set parameters now". --------------------------------------------------------------------- [ Show Summary... ]                           [ Reset Configuration ] ---------------------------------------------------------------------      [  Go! ]              [ Cancel ]             [Help]  

When the system first boots, we'll be asked to enter system identification-related information.

The File System tab area, shown in Figure 1-7, is of particular importance. Here is where you can change file system sizes. You will not normally be satisfied with the default sizes of some of the logical volumes. I normally spend some time in this tab area increasing the sizes of some of the logical volumes. Figure 1-7 also shows the layout of the File System screen and the values of three of the logical volumes with their updated sizes. Root is highlighted in this example, so the parameters related to it appear under Usage, Size, and so on.

Figure 1-7 File System Tab Area
                       /opt/ignite/bin/itool  /-------\/----------\/--------\/-------------\/----------\  | Basic || Software || System || File System || Advanced |                       ..  \------------------------------/            \-----------/   Mount Dir    Usage   Size(MB)  % Used Group   S   /stand       HFS     300       7      vg00    F ^ [ Add    ]   primary      SWAP+D  1024      0      vg00    R   [ Modify ]   /            VxFS    400       9      vg00    F v [ Remove ]   Usage:  [ VxFS      ->]   Group:  [ vg ->]  Mount Dir:  /   Size:  [ Fixed MB      ->]  400    Avail: 13360 MB   [ Add/Remove Disks... ]    [  ---- Additional Tasks ---- ->]   --------------------------------------------------------------------  [ Show Summary... ]                           [ Reset Configuration ]   --------------------------------------------------------------------       [ Go!    ]           [ Cancel ]              [Help] 

To make logical volume size changes, you select the mount directory of the logical volume, tab down to Size, and enter the desired new size. In addition to Size, there are several other parameters related to the logical volume that you can change.

You will notice that Avail shows you how much disk space is left to be allocated on your disk drive. It is perfectly all right to leave some disk space unallocated. This will give you a cushion for when you need to increase disk space down the road.

After making all the volume size-related modifications, we are ready to go ahead and install the system. However, first we want to choose the Show Summary option toward the bottom of the screen. This option will show us a summary of all the changes we made. This gives us a chance to make sure that we didn't forget something. Figure 1-8 shows the General Summary screen.

Figure 1-8 General Summary Screen
                        Summary View  /---------------\/---------------------\  |General Summary ||Hardware Inventory |                       ..  \               \---------------------/                                    Operating System: HP-UX B.11.11  Product                    Description  -------                    ----------- CDE-English                English CDE Environment             ^  FDDI-00                    PCI FDDI;Supported HW=A3739A/A3739B  GigEther-00                PCI/HSC/EFF-HSC GigEther,Supptd HW= v  ----------------------------------------------------------------- Grp Name  Usage     Size(MB)  % Used  Mount Dir  --------  -----     --------  - ----  --------- vg00      HFS       300       7       /stand                   ^  vg00      SWAP+D    1024      0       primary  vg00      VxFS      400       9       /  vg00      VxFS      64        0       /tmp                     v  ------------------------------------------------------------------  [   OK   ]                                             [  Help  ] 

This screen provides information on the software we have selected to load and information on our logical volumes.

Figure 1-9 shows the Hardware Inventory Summary screen.

Figure 1-9 Hardware Inventory Summary Screen
                        Summary View  /---------------\/---------------------\  |General Summary ||Hardware Inventory |                       ..  \---------------/\                     \  Hardware Summary:           System Model: 9000/800/L2000-44     ^  +----------------------+-----------------+-------------------+  | Disks: 2  ( 33.9GB)  |   Floppies: 0   | LAN cards:   2    |  | CD/DVDs:        1    |   Tapes:    0   | Memory:   2048Mb  |  | Graphics Ports: 0    |   IO Buses: 8   | CPUs:        2    |  +----------------------+-----------------+-------------------+  Disk Drives:  H/W Path               Capacity(Mb)      Model  0/0/1/1.2.0             17366           SEAGATE_ST318203LC  0/0/2/0.2.0             17366           SEAGATE_ST318203LC                                                                  v  F<                                                          >G  ----------------------------------------------------------------  [   OK   ]                                             [  Help  ] 

The Hardware Inventory Summary screen information provides a short summary of system hardware.

Since we are satisfied with all of the modifications we have made, we are ready to load the operating system. We choose Go! which appears at the bottom of all the tab area screens and the screen in Figure 1-10 appears:

Figure 1-10 Go! Screen
                     itool Confirmation  All data will be destroyed on the following disks:  Addr         Disk Size(MB)  Description  ----         -------------  ----------- 0/0/1/1.2.0  17366 MB       SEAGATE_ST318203LC  The results of the pre-install analysis are:  WARNING: The disk at: 0/0/1/1.2.0 (SEAGATE_ST318203LC)  appears to contain a file system and boot area. Continuing  the installation will destroy any existing data on this  disk.  ---------------------------------------------------------------     [  Go!  ]          [ Cancel ]           [Help] 

This screen warns us that there is an operating system already present on our target disk, but we want to proceed with the installation anyway and select Go!. The load of the HP-UX is automatic at this point and you can come back in an hour or so to check the log file and see if loading the operating system completed successfully.

It may be that your HP-UX 11i Operating Environment requires a second CD-ROM to complete the installation, as is the case with our Mission Critical Operating Environment. As shown in the upcoming listing, you'll be prompted to load the second CD-ROM:

 =======================================================================                       USER INTERACTION REQUIRED:  To complete the installation you must now insert the  "MC_OE" CD.  Once this is done, press the <Return> key to continue:         * Starting swinstall of the source (MC_OE).         * Running command: "/usr/sbin/swinstall -s/tmp/ign_configure/SD_CDROM           -f/tmp/ign_configure/software_file -x os_release=B.11.11 -x           os_name=HP-UX:64 " 

When the operating system load is complete, we're asked for the system identification-related information we did not earlier enter. The following listing shows the first of these screens:

 _______________________________________________________________________________                         Welcome to HP-UX!  Before using your system, you will need to answer a few questions.  The first question is whether you plan to use this system on a network.  Answer "yes" if you have connected the system to a network and are ready  to link with a network.  Answer "no" if you:       * Plan to set up this system as a standalone (no networking).       * Want to use the system now as a standalone and connect to a       network later.  _______________________________________________________________________________  Are you ready to link this system to a network?  Press [y] for yes or [n] for no, then press [Enter] 

If you choose to connect your system network, you'll be asked a variety of questions about the networking configuration. You don't have to enter this information now because there is a command called set_parms that we'll cover in the next section which is an alternative way of entering system identification-related information. We'll cover this command in the next section.

Now that our Mission Critical Operating Environment installation is complete, we'll check the operating system revision with uname -a and software bundles that have been loaded on the system with swlist in the following listing:

 # uname -a  HP-UX l3 B.11.11 U 9000/800 143901527 unlimited-user license  # swlist  # Initializing...  # Contacting target "l3"...  #  # Target: l3:/  #  #  # Bundle(s):  #    CDE-English            B.11.11.%20A  English CDE Environment    FDDI-00               B.11.11.%20   PCI FDDI;Supported HW=A3739A/A3739B;SW=J3 626AA    GigEther-00            B.11.11.11.08 PCI/HSC/EFF-HSC GigEther,Supptd HW=A4926A                                       ,A4929A,A4924A,A4925A;SW=J1642AA    HPUX11i-OE-MC          B.11.11.%20A  HP-UX Mission Critical Operating                                       Environment Component    HPUXBase64             B.11.11.%20A  HP-UX 64-bit Base OS    HPUXBaseAux            B.11.11.%20A  HP-UX Base OS Auxilary        # 

This listing shows that HP-UX 11i has indeed been loaded, shown as 11.11 in the listing, and that several software bundles have been loaded as well, including the Mission Critical Operating Environment.

Let's now move to the next section, in which we'll specify the system-related information we have put off during our installation.


       
    Top
     



    HP-UX Virtual Partitions
    HP-UX Virtual Partitions
    ISBN: 0130352128
    EAN: 2147483647
    Year: 2002
    Pages: 181

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net