Figure 2-21. Software Distributor Objects
You can look at the bundle in Figure 2-21 as a group of software. This can be products, subproducts , and filesets, as shown in the diagram. The concept here is to organize software in such a way that it is easy to manage. The diagram shows that some filesets are shared between different bundles and products. This hierarchical organization and sharing makes managing software with Software Distributor flexible. Here are some of the common software management- related tasks you can perform with Software Distributor. Installing and Updating Software (Command Line or GUI)
Copying Software to a Depot (Command Line or GUI)The swcopy command is used to copy software from one depot to another. The depot used in the upcoming examples is a CD-ROM. By setting up depots, you can quickly install or update software to other nodes simultaneously with SD-OV. This command can be run at the command line or with the Graphical User Interface. Removing Software from a System (Command Line or GUI)
List Information about Installation SoftwareThe swlist command provides information about the depots that exist on a system, the contents of a depot, or information about installed software. Examples of using this command are provided shortly. This command can be run at the command line or with the Graphical User Interface. Configure Installed SoftwareThe swconfig command configures or unconfigures installed software. Configuration of software normally takes place as part of swinstall, but configuration can be deferred until a later time. Verify SoftwareThe swverify command confirms the integrity of installed software or software stored in a depot. Package Software That Can Later Be Installed (Local Sys Only)You may want to produce "packages" of software that you can later put on tape or in a depot with the swpackage command. This packaged software can then be used as a source for swinstall and be managed by other Software Distributor commands. Control Access to Software Distributor ObjectsYou may want to apply restricted access to Software Distributor objects such as packaged software. Using the swacl command, you can view and change the Access Control List (ACL) for objects. Modify Information about Loaded Software (Local System Only)The Installed Products Database (IPD) and associated files are used to maintain information about software products you have loaded. swmodify can be run at the command line to modify these files. Register or Unregister a DepotA software depot can be registered or unregistered with swreg . This means you don't have to remove a depot; if you temporarily don't want it used, you can unregister it. Manage Jobs (Command Line or GUI, this is SD-OV only)
Listing SoftwareAlthough I like the Graphical User Interface of swinstall, you can also issue Software Distributor commands at the command line. One example is the swlist command. The swlist command is useful for viewing the software you have loaded on your system, viewing the software you have loaded in a depot, or producing a list of depots. A Graphical User Interface to the swlist command can be invoked with the -i option and is also available in SAM. With the swlist command, you perform many functions, including the following:
Levels are delineated by "." so you will see bundle.[product].[subproduct].[fileset] . You can get all kinds of useful information out of swlist and use this for other purposes. Some of the things you can do with swlist are:
When you run swlist with no options, you get a list of the software products installed on your system. Let's try a few swlist commands with the -l option to view software installed on a system (by default, swlist will list installed products; you can use the -s option to specify a software depot or other source). The following example shows listing software at the bundle level. $ swlist -l bundle # various header information # . B2491BA B.11.00 MirrorDisk/UX B3701AA_TRY B 11.00.31 Trial HP GlancePlus/UX Pak s800 B3929BA B11.00 HP OnLineJFS (Advanced VxFS) B3947BA B.11.00 HP Process Resource Manager B5725AA B.1.4 HP-UX Installation Utilities (Ignite-UX) HPUXEng32RT B 11.00 English HP-UX 32-bit Runtime Environment This system has the HP-UX runtime environment, GlancePlus/UX trial software, HP OnLineJFS, and MirrorDisk/UX. If we run swlist at the product level, the following is produced for GlancePlus/UX trial software: $ swlist -l product B3701AA_TRY # various header information # . # . # . B3701AA_TRY B.11.00.31 Trial HP GlancePlus/UX Pak for s800 11.00 B3701AA_TRY.MeasurementInt B.11.00.31 HP-UX Measurement Interface for 11.00 B3701AA_TRY.MeasureWare B.11.00.31 MeasureWare Software/UX B3701AA_TRY.Glance B.11.00.31 HP GlancePlus/UX (bundle) (product) GlancePlus/UX is comprised of the two products shown in this example. Are there any subproducts of which GlancePlus/UX is comprised? The following example will help us determine the answer. $ swlist -l subproduct B3701AA_TRY # various header information # . # . # . B3701AA_TRY B.11.00.31 Trial HP GlancePlus/UX Pak for s800 11.00 B3701AA_TRY.MeasurementInt B.11.00.31 HP-UX Measurement Interface for 11.00 B3701AA_TRY.MeasureWare B.11.00.31 MeasureWare Software/UX B3701AA_TRY.Glance B.11.00.31 HP GlancePlus/UX (bundle) (product) The output of the products and subproducts levels is the same; therefore, there are no subproducts in GlancePlus/UX. We can go one step further and take this to the fileset level, as shown in the following example: $ swlist -l fileset B3701AA_TRY # various header information # . # . # . B3701AA_TRY B.11.00.31 Trial HP GlancePlus/UX Pak for s800 11.00 B3701AA_TRY.MeasurementInt B.11.00.31 HP-UX Measurement Interface for 11.00 B3701AA_TRY.MeasurementInt.ARM B.11.00.31 HP-UX Application Response Measurement for 11.00 B3701AA_TRY.MeasurementInt.MI B.11.00.31 HP-UX Measurement Interface for 11.00 B3701AA_TRY.MeasureWare B.11.00.31 MeasureWare Software/UX B3701AA_TRY.MeasureWare.MWA B.11.00.31 MeasureWare Software files B3701AA_TRY.MeasureWare.MWANO B.11.00.31 MeasureWare NOS Connectivity Module Software files B3701AA_TRY.MeasureWare.PERFDSI B.11.00.31 HP PCS Data Source Integration B3701AA_TRY.Glance B.11.00.31 HP GlancePlus/UX B3701AA_TRY.Glance.GLANC B.11.00.31 HP GlancePlus files B3701AA_TRY.Glance.GPM B.11.00.31 HP GlancePlus Motif interface files (bundle) (product) (fileset)
Table 2-4 shows some of the -l options to swlist that I use: Table 2-4. List of Some swlist -l Options
$ swlist -l subproduct -a size NETWORKING Another attribute I often view is revision, which you can view with the following command: $ swlist -l subproduct -a revision NETWORKING Sometimes, the brief descriptions of filesets that are given are insufficient to really understand the fileset. The title attribute provides a descriptive title, which you can see with the following command for the fileset level: $ swlist -l fileset -a title NETWORKING Table 2-5 is a list of some attributes that you may find of interest. Table 2-5. List of Some Attributes of Interest
The other Software Distributor commands listed earlier can also be issued at the command line. You may want to look at the manual pages for these commands as you prepare to do more advanced Software Distributor work than loading software from DVD, CD-ROM, or tape.
|