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. Chapter 9 covers installing from a server. 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 new systems. With other Series 800s, most notably the very old 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 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 1, which covered 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 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 [PRIALT<path>] Boot from specified path PAth [PRIALT] [<path>] Display or modify a path SEArch [DIsplayIPL] [<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 busses internal to the rp54xx (formerly know as 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 which we want to boot. In order to boot off the media and not interact with IPL (for more information on IPL, see Chapter 1), we issued the following command: Main Menu: Enter command or menu > bo p0 Interact with IPL (Y or N)?> N After booting off 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 +---------------------+----------------+-------------------+ [ S c an 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 D etails ] +---------------------+----------------+-------------------+ [ I nstall HP-UX ] [ R un a Recovery Shell ] [ A dvanced Options ] [ Re b oot ] [ H elp ] 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: [ * ] M edia only installation [ ] Media with N etwork enabled (allows use of SD depots) [ ] I gnite-UX server based installation User Interface Options: [ ] G uided Installation (recommended for basic installs) [ * ] A dvanced Installation (recommended for disk and filesystem management) [ ] No u ser 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). [ O K ] [ C ancel ] [ H elp ] This menu gives you the option of installing from the media only, from the media combined with the software depots on your network, or from 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 2-1 shows this display. Figure 2-1 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 ->] [ D escription... ] Environments: [ Mission Critical OE-64bit ->] (HP-UX B.11.11) [ R oot 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 [ L anguages... ] English [ K eyboards... ] [ A dditional... ] --------------------------------------------------------------------- [ Show S ummary... ] [ Reset Configuration ] --------------------------------------------------------------------- [ G o! ] [ C ancel ] [ H elp] 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:
We configure our system beginning with the Basic screen as shown in Figure 2-1. Items of particular importance are discussed below:
The major difference between the selections just discussed for 11i and earlier releases of 11.x are the Operating Environments. 11i is the first HP-UX 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 2-2 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 2-2 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 D epot Location... ] --------------------------------------------------------------------- [ Show S ummary... ] [ Reset Configuration ] --------------------------------------------------------------------- [ G o! ] [ C ancel ] [ H elp]
We'll select some additional software components so we can view them after installation has completed. 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 2-3, is where system identification-related configuration information can be found. Since we want to configure networking and related information after the installation is complete, we have changed only the first item on this screen. The options for the first item are:
We selected Ask at first boot . Figure 2-3 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 S ummary... ] [ Reset Configuration ] --------------------------------------------------------------------- [ G o! ] [ C ancel ] [ H elp] When the system first boots, we'll be asked to enter system identification-related information. The File System tab area, shown in Figure 2-4, 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 2-4 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 2-4 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 ^ [ A dd ] primary SWAP+D 1024 0 vg00 R [ M odify ] / VxFS 400 9 vg00 F v [ R emove ] Usage: [ VxFS ->] Group: [ vg ->] Mount Dir: / Size: [ Fixed MB ->] 400 Avail: 13360 MB [ Add/Remove D isks... ] [ ---- Additional Tasks ---- ->] --------------------------------------------------------------------- [ Show S ummary... ] [ Reset Configuration ] --------------------------------------------------------------------- [ G o! ] [ C ancel ] [ H elp] 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 2-5 shows the General Summary screen. Figure 2-5 General Summary ScreenSummary 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 ------------------------------------------------------------------ [ O K ] [ H elp ] This screen provides information on the software we have selected to load and information on our logical volumes. Figure 2-6 shows the Hardware Inventory Summary screen. Figure 2-6 Hardware Inventory Summary ScreenSummary 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 ----------------------------------------------------------------- [ O K ] [ H elp ] 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 2-7 appears: Figure 2-7 Go! Screenitool 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. -------------------------------------------------------------- [ G o! ] [ C ancel ] [ H elp] 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. Let's now move to the next section, in which we'll specify the system-related information we have put off during our installation. After we specify the system-related information, we'll come back to the software we just loaded so that you can see what was loaded and the components of which the Mission Critical Operating Environment is comprised. |