HP-UX 11i Systems Administration Handbook and Toolkit (2nd Edition)
| Before we load additional software, let's take a look at the software that was loaded as part of our initial installation. We loaded the Mission Critical Operating Environment and some additional software products. 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: [View full width]
[View full width] # uname -a HP-UX l3 B.11.11 U 9000/800 104911547 unlimited-user license # swlist # Initializing... # Contacting target "l3"... # # Target: l3:/ # # # Bundle(s): # 100BaseT-01 B.11.11.01 HP-PB 100BaseT;Supptd HW=A3495A;SW=J2759BA B5725AA B.3.5.89 HP-UX Installation Utilities (Ignite-UX) BUNDLE11i B.11.11.0102.2 Required Patch Bundle for HP-UX 11i Base-VXVM B.03.20.1 Base VERITAS Volume Manager 3.2 for HP-UX CDE-English B.11.11 English CDE Environment FDDI-00 B.11.11.02 PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA FibrChanl-00 B.11.11.09 PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A GigEther-00 B.11.11.14 PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A49 GigEther-01 B.11.11.01 PCI/PCI-X GigEther;Supptd HW=A6794A HPUX11i-OE-MC B.11.11.0112 HP-UX Mission Critical Operating EnvironmentThis listing shows that HP-UX 11i has indeed been loaded, shown as 11.11 in the listing, and that several software bundles that we selected have been loaded as well, including the Mission Critical Operating Environment . There are many products loaded as part of the Mission Critical Operating Environment . The following swlist shows the components of which Mission Critical Operating Environment is comprised at the time of this writing: [View full width]
[View full width] # swlist -l product HPUX11i-OE-MC # Initializing... # Contacting target "l3"... # # Target: dem4415f:/ # # HPUX11i-OE-MC B.11.11.0112 HP-UX Mission Critical Operating Environment Component HPUX11i-OE-MC.ATS-CORE A.11.13 Service Guard Advanced Tape Services HPUX11i-OE-MC.Workload-Mgr A.01.02 HP-UX Workload Manager HPUX11i-OE-MC.WLM-Toolkits A.01.00 HP-UX Workload Manager Toolkits HPUX11i-OE-MC.ServiceGuard A.11.13 Service Guard HPUX11i-OE-MC.ServControlMgr A.02.05 HP-UX ServiceControl Manager HPUX11i-OE-MC.SG-Sybase-Tool B.01.07 MC/ServiceGuard Sybase Script Templates HPUX11i-OE-MC.SG-Sgosb-Tool B.01.07 C. Cluster intgrtn w/ Oracle Standby DB HPUX11i-OE-MC.SG-Progress-Tool B.01.07 MC/ServiceGuard Progress Script Templates HPUX11i-OE-MC.SG-Oracle-Tool B.01.07 MC/ServiceGuard Oracle ScriptThe initial swlist output was deceiving in that the Mission Critical Operating Environment was shown as only one entry. You can see from the display of the product level details of Mission Critical Operating Environment in the last listing that many products included in this operating environment, including MC/ServiceGuard, Process Resource Manager, GlancePlus/UX, CIFS/9000, and many other products covered in this book.
Software Distributor can be invoked using the commands described in this section, by using SAM (covered in Chapter 10), or by installing software for the first time as described earlier in this chapter. The following are the four phases of software installation performed with Software Distributor:
The example of Software Distributor in this section describes the process of loading software from CD-ROM or DVD to the local system. What I show here only begins to scratch the surface of functionality you have with Software Distributor, but since I want to get you up and running quickly, this overview should be helpful. You can load software from a variety of media as well as across the network. You can run swinstall through the graphical interface used throughout this section, the character user interface, or the command line. You can use the swinstall command from the command line specifying source, options, target, and so on. I would recommend using the character or graphical user interface because they are so much easier. If, however, you like to do things the "traditional UNIX" way, you can issue the swinstall command with arguments. You can look at the manual page for swinstall to understand its arguments and options and use this command from the command line. The graphical user interface of Software Distributor works with the sd (this is an SD-OV command and may also be invoked with swjob -i ), swcopy , swremove, swlist , and swinstall commands. There is also an interactive terminal user interface for these commands if you don't have a graphics display.
Figure 2-11. Specify Source Software Distributor Screen
Figure 2-12. Software Selection Software Distributor Screen
After accepting the information shown in the figure, I proceeded to select (Step 1 - Selection) the software from the list that I wanted to load by "marking" it. When selecting software to load, you may receive a "Yes" in the " Marked ?" column or a "Partial." "Yes" means all of the filesets associated with your selection will be loaded, and "Partial" means only some will be loaded. Figure 2-12 shows "Yes" in the "Marked?" column for software that has been selected. A bundle of software you select to install may be composed of products, subproducts , and filesets. You can select any item you have "Marked" for loading to see of what filesets it is comprised. I have done this for a Java products for 11i. I selected this bundle to see the software of which it is comprised in Figure 2-13: Figure 2-13. Components of a Software Product
Figure 2-13 shows that the Java software is indeed composed of many components. To go back to the top, we select (go up) . Selecting Install runs analysis (Step 2 - Analysis) on the software you have selected to load. After the analysis has been completed, you can take a look at the logfile, view the disk space analysis, and perform other tasks. I normally take a look at the disk space analysis just to see the impact the software I am loading is having on free disk space, as shown in Figure 2-14: Figure 2-14. Disk Space Analysis Software Distributor Screen
I also look at the products to ensure that I'm loading the software I expect to load, as shown in Figure 2-15 for the products earlier marked for installation: Figure 2-15. Product Summary Software Distributor Screen
After you are satisfied with the analysis, you can proceed with the installation (Step 3 - Load.) Figure 2-16 shows the type of status you are provided as software is loaded on the system: Figure 2-16. Install Window Software Distributor Screen Showing Status
In this case, we have loaded about 37% of the total software we have selected. The software currently being loaded is Netscape Directory Server . We could view the logfile to see the status of what has been loaded thus far. After the load of your software is complete, you can either exit the session or you will be given a message indicating that a reboot will be required to complete the configuration (Step 4 - Configuration). Not all software requires a reboot in order for configuration to take place. Most software will run configuration routines after the software is loaded without the need for a reboot. If a reboot is required, you will be asked if you wish to reboot; but it could be a bad time to reboot, so you may want to wait, or delay the reboot. The process of loading software from media using Software Distributor is easy and thorough. The user interface to Software Distributor makes it easy to select and load software from media. |