From Wiki-UX.info

SD-UX Overview Troubleshooting
Jump to: navigation, search

SD-UX Overview Troubleshooting

The purpose of this document is to provide a quick overview of HP-UX Software Distributor frequently refer as SD-UX. HP-UX uses SD-UX as the standard tool to install or remove software on HP-UX, including system patches. All current supported versions of HP-UX uses SD-UX as it's software management tool. A general introduction to SD-UX is perform using the standard output of a fresh system installation and the JFS software component. More detailed explanation of usage is provide installing the JFS 3.5 update for HP-UX 11i v1 (11.11) using the software depot available at software.hp.com.

All UNIX and UNIX-like operating system beyond trivial proyects implements a Software Management Tool. Among some of the better known tools are Debian apt-get, Redhat package manager (rpm), FreeBSD Port Manager and Solaris Package Manager.

This tools try to resolve on basic problem: streamline the task of installing, removing and keeping track of software dependencies on a UNIX operating system.

To have of general idea of the importance of this problem on a fresh HP-UX 11.11 MCO installation under the /usr filesystem there are 34000+ files:

# find /usr -type f | wc -l
34425

SD-UX groups files into fileset, filesets into products and product into bundles. This grouping by itself heavily reduce the burden of software administration on HP-UX. on SD-UX the basic unit for dependency checking is the fileset.

SD-UX is "a network enabled software management tool". This means that it can list software on local and remote systems and install or remove software on local and remote system from local or remote software depots. This has one important implication: "SD-UX is directly affected by the network configuration of the system".

Contents

Software Listing

The basic task available on SD-UX is listing the software currently installed in the host. This is done with "swlist" command.

# man swlist
 swlist(1M)                                                       swlist(1M)

 NAME
      swlist - display information about software products

 SYNOPSIS
      swlist [-d|-r] [-i] [-R] [-v] [-a attribute] [-C session_file]
           [-f software_file] [-l level] [-s source] [-S session_file]
           [-t target_file] [-x option=value] [-X option_file]
           [software_selections] [@  target_selections]


By default, without any flags, swlist display every bundle on the local system and every product on the local that don't belong to a bundle:

# swlist
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/
#

#
# Bundle(s):
#

  B6848BA                       1.4.gm.46.13   Ximian GNOME 1.4 GTK+ Libraries for HP-UX
  B9073BA                       B.11.11.08.01.00.81 HP-UX iCOD Instant Capacity (iCAP)
  BUNDLE                        B.2008.02.02   Patch Bundle
  BUNDLE11i                     B.11.11.0306.1 Required Patch Bundle for HP-UX 11i, June 2003
  Base-VXVM                     B.03.50.5      Base VERITAS Volume Manager Bundle 3.5 for HP-UX
  CDE-English                   B.11.11.0412   English CDE Environment
  EventMonitoring               A.04.20.11     Event Monitoring Service
  FDDI-00                       B.11.11.02     PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA
  FEATURE11-11                  B.11.11.0209.5 Feature Enablement Patches for HP-UX 11i, Sept 2002
  FIREFOX                       2.0.0.4ar.00   Firefox for HP-UX
  FIREFOXsrc                    1.5.0.00.02    Firefox Source distribution
  FibrChanl-00                  B.11.11.15     PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A
  FibrChanl-01                  B.11.11.13     FibreChannel;HW=A6826A,A9782A,A9784A,AB378A/B,AB379A/B,AB465A,AD193A,AD194A
  GOLDAPPS11i                   B.11.11.0712.475 Applications Patches for HP-UX 11i v1, December 2007
  GOLDBASE11i                   B.11.11.0712.475 Base Patches for HP-UX 11i v1, December 2007
  GTK                           2.6.8.00.01    GTK+ 2.6 The Gnome GUI Runtime  Toolkit
  GTKsrc                        2.6.8.00.01    Gtk Source distribution
  GigEther-00                   B.11.11.19     PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA
  GigEther-01                   B.11.11.23     PCI/PCI-X GigEther;Supptd HW=A6794A/A6825A/A6847A/A9782A/A9784A/A7109A/AB465A
  HPUX11i-OE-MC                 B.11.11.0612   HP-UX Mission Critical Operating Environment Component
  HPUXBase64                    B.11.11        HP-UX 64-bit Base OS
  HPUXBaseAux                   B.11.11.0612   HP-UX Base OS Auxiliary
  HWEnable11i                   B.11.11.0612.458 Hardware Enablement Patches for HP-UX 11i v1, December 2006
  IEther-00                     B.11.11.13     PCI/PCI-X IEther;Supptd HW=A7011/A7012/AB352/AB290/AB545/AD193/AD194/AD331/AD332
  IGNITE                        C.7.4.157      HP-UX Installation Utilities (Ignite-UX)
  ISEEPlatform                  A.03.95.500.41 ISEE Platform
  Ignite-UX-11-11               C.7.4.157      HP-UX Installation Utilities for Installing 11.11 Systems
  J4269AA                       B.04.00.02     LDAP-UX Integration
  Java15JDK                     1.5.0.04.00    Java 1.5 JDK for HP-UX
  Java15JDKadd                  1.5.0.04.00    Java 1.5 JDK -AA addon for HP-UX
  Java15JRE                     1.5.0.04.00    Java 1.5 JRE for HP-UX
  Java15JREadd                  1.5.0.04.00    Java 1.5 JRE -AA addon for HP-UX
  MOZILLA                       1.7.13.01.00   Mozilla for HP-UX
  MOZILLAsrc                    1.7.13.01.00   Mozilla Source distribution
  NParCmds                      A.01.03        Enhanced NPartition Commands
  OfflineDiag                   B.11.50.06.04  Offline Lifload Tools Bundle
  OnlineDiag                    B.11.11.20.03  HPUX 11.11 Support Tools Bundle, December 2007
  OpenSSL                       A.00.09.07m.002 Secure Network Communications Protocol
  ParMgr                        B.12.02.02.02  Partition Manager - HP-UX
  RAID-00                       B.11.11.01     PCI RAID; Supptd HW=A5856A
  RAID-01                       B.11.11.0609   RAID SA; Supptd HW=A7143A/A9890A/A9891A
  SysFaultMgmt                  A.04.00.04.02  HPUX 11.11 System Fault Management
  SysMgmtWeb                    A.2.2.7        HP-UX Web Based System Management User Interfaces
  T1456AA                       1.4.2.11.00    Java2 1.4 SDK for HP-UX
  T1456AAaddon                  1.4.2.11.00    Java2 1.4 SDK -AA addon for HP-UX
  T1457AA                       1.4.2.11.00    Java2 1.4 RTE for HP-UX
  T1457AAaddon                  1.4.2.11.00    Java2 1.4 RTE -AA addon for HP-UX
  T1458AA                       1.4.2.11.00    Java2 1.4 Netscape Plugin for HP-UX
  T1471AA                       A.04.70.003    HP-UX Secure Shell
  T2743AA                       A.02.50.00.04  HP Global Workload Manager Agent
  TBIRD                         2.0.0.6.00     Thunderbird for HP-UX
  TBIRDsrc                      1.5.0.00.02    Thunderbird Source distribution
  UtilProvider                  A.01.04.02.00  HP-UX Utilization Provider
  WBEMSvcs                      A.02.05        HP WBEM Services for HP-UX
  hpuxwsApache                  A.2.0.58.00    HP-UX Apache-based Web Server
  hpuxwsTomcat                  A.5.5.9.03     HP-UX Tomcat-based Servlet Engine
  hpuxwsWebmin                  A.1.070.08     HP-UX Webmin-based Admin
  hpuxwsXml                     A.2.00         HP-UX XML Web Server Tools
  nParProvider                  B.12.01.07.01  nPartition Provider - HP-UX
  perl                          D.5.8.8.B      5.8.8 Perl Programming Language
  scsiU320-00                   B.11.11.0612.01 PCI-X SCSI U320; Supptd HW=A7173A/AB290A
  vParProvider                  B.11.11.01.03  vPar Provider - HP-UX
#
# Product(s) not contained in a Bundle:
#

  HP_LTT45                      4.5.0.0        Library & Tape Tools - HP-UX
  PHCO_36809                    1.0            logins(1M) cumulative patch
  PHNE_35351                    1.0            cumulative ARPA Transport patch
  PHNE_35453                    1.0            Cumulative STREAMS Patch
  PHNE_36185                    1.0            Bind 8.1.2 Patch
  PHSS_37224                    1.0            X Font Server Patch

Unable to run swlist on the local system

Now is a good moment to introduce one of the most frequent SD-UX errors:

# swlist
# Initializing...
# Contacting target "c3650"...
ERROR:   Could not contact host "c3650".  Make sure the hostname is
         correct and an absolute pathname is specified (beginning with
         "/").
ERROR:   More information may be found in the daemon logfile on this
         target (default location is c3650:/var/adm/sw/swagentd.log).

Since no hostname was provied, asumming the working server, looks like that something is wrong with SD-UX. Basic troublehooting practice asks for a more detailed description of the error. According to the error, seams that the swagentd.log error can help to determinate the cause of the error. Let's try to reproduce the error a check that issue:

# date
Sun Feb 10 20:06:59 CST 2008

# swlist
# Initializing...
# Contacting target "c3650"...
ERROR:   Could not contact host "c3650".  Make sure the hostname is
         correct and an absolute pathname is specified (beginning with
         "/").
ERROR:   More information may be found in the daemon logfile on this
         target (default location is c3650:/var/adm/sw/swagentd.log).

# tail -n 24 /var/adm/sw/swagentd.log
=======  02/10/08 10:31:49 CST  END swagentd (pid = 863).


=======  02/10/08 10:32:53 CST  BEGIN swagentd (pid = 2392).

       * Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
       * Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
       * Checking job queue at 1 minute intervals.

=======  02/10/08 16:43:33 CST  BEGIN swagentd (pid = 242).

NOTE:    Could not register RPC protocol "ncacn_ip_tcp" with endpoint
         "2121".  No addresses (dce / rpc).
       * Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
       * Checking job queue at 1 minute intervals.

=======  02/10/08 16:52:42 CST  BEGIN swagentd (pid = 2376).

       * Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
       * Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
       * Checking job queue at 1 minute intervals.
       * Started install agent on "/" for root@c3650.cri.hp.com,
         pid=7364, 02/10/08 19:30:49 CST
       * Agent pid=7364 completed.  02/10/08 19:30:55 CST

The swagentd.log didn't register any information at the time that this error occured. This is self revealing by itself. The swagentd is the SD-UX central coordination daemon. Important SD-UX commands needs to go through that daemon to acomplish it's task. Next step apparently is to check if the daemon is running:

# ps -ef | grep [s]wagentd
    root  2376     1  0 16:52:42 ?         0:00 /usr/sbin/swagentd -r

Since we know that "swagentd" is so important, seems reasonable that something may had happend to that daemon. A sensible approach will be to restart the swagent daemon in case that something had happend to the daemon or is configuration files. This can easily be acomplish looking into the standard HP-UX initialization scripts:

# ls /sbin/init.d/swagentd
/sbin/init.d/swagentd

# /sbin/init.d/swagentd stop
The swagentd daemon is stopped.

# ps -ef | grep [s]wagentd

# /sbin/init.d/swagentd start

# ps -ef | grep [s]wagentd
    root  8072     1  0 20:22:43 ?         0:00 /usr/sbin/swagentd -r

# swlist
# Initializing...
# Contacting target "c3650"...
ERROR:   Could not contact host "c3650".  Make sure the hostname is
         correct and an absolute pathname is specified (beginning with
         "/").
ERROR:   More information may be found in the daemon logfile on this
         target (default location is c3650:/var/adm/sw/swagentd.log). 

Looks like that the daemon was working fine from the begining. Something else seems to be happening. What do you think is the problem? Here is a clue, remember what we already have said about SD-UX: is... "a network enabled software management tool", "SD-UX is directly affected by the network configuration of the system". What do you think of this:

# hostname
c3650

# ping c3650
ping: unknown host c3650

# nsquery hosts c3650

Using "files dns" for the hosts policy.

Searching /etc/hosts for c3650
c3650 was NOTFOUND

Switch configuration: Allows fallback

Searching dns for c3650
c3650 was NOTFOUND

Switch configuration: Allows fallback

All name services have been searched


Seems that we have pinpoint the cause of the problem. This system is unable to resolve it's own hostname!!! A quick verification of the system network configuration should help to determinate the exact point of the problem.

# lanscan
Hardware Station        Crd  Hdw   Net-Interface    NM   MAC       HP-DLPI DLPI
Path     Address        In#  State NamePPA          ID   Type      Support Mjr#
10/0/12/0 0x00306E2B5A39 0    UP    lan0 snap0       1    ETHER       Yes   119
# ifconfig lan0
lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
        inet 192.168.2.151 netmask ffffff00 broadcast 192.168.2.255
# grep "\[0\]=" /etc/rc.config.d/netconf | head -n 6
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="192.168.2.151"
SUBNET_MASK[0]="0xffffff00"
BROADCAST_ADDRESS[0]="192.168.2.255"
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
...
# cat /etc/hosts
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
# <internet address>    <official hostname> <aliases>
#
# For example:
# 192.1.2.34    hpfcrm  loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
#       The format described in this file is the correct format.
#       The original Berkeley manual page contains an error in
#       the format description.
#

192.168.2.101   c3650.cri.hp.com c3650
127.0.0.1       localhost       loopback


Do you see the configuration error? The IP Address on /etc/hosts don't match the system current IP Address. Just vi the file and substitute the wrong address.

vi /etc/hosts
:s/\.101/\.151/g
:wq!
# swlist
# Initializing...
# Contacting target "c3650"...
...


Is important to stop here to review the troubleshooting process. Important time was lost chaising swagentd instead of going first against the system network configuration. What was the purpose of the exercise? To answer this, first answer honestly this question to yourself? Did you know that the problem wasn't swagentd? If you do, why? For those that knew that swagentd wasn't the problem from the begining, congratulations, looks like that you already know some of the insides of SD-UX. For those that didn't, let me tell you that I have given one misleading statement, one that is not false, but didn't help to resolve the problem: "Important SD-UX commands needs to go through that daemon to acomplish it's task." Fair enough, but this is also true: "swlist don't need swagentd to list the current host software." The commands that required swagentd are swcopy, swinstall, swremove and swreg. Since you already know how to stop that daemon, I invite you to test swlist with the daemon down.

Let's analize the troubleshooting process from another perspective. One basic troubleshooting rule is to move from outside to the inside. This is easy to understand on hardware troubleshooting. If you have one hdd drive that is not responding, you first assumes is a problem with the hdd itself, you extract the disk and tested it in another machine, if the disk works fine, it may be backplate, if the backplate is fine, it may be the cable between the controller and backplate and finally, it may be the disk controller itself. The chance that the problem is with the disk controller is small compare to the other components, because more serious problem will happend earlier, system crash for example.

In this case, begin troubleshooting from the swagentd is like to start from the disk controller. That daemon may have a problems indeed, but chances that the daemons is stuck, that the binary is damage, the the daemons configuration file is misconfigured are few against the fact that swlist is just unable to contact the system. They happen, but not often. From now on, we will discuse command sintaxis and direct troubleshooting methods, but understand that this guide wouldn't replace product experience. A good start point is the man pages, a better one is you to try the commands that we discuse.

Listing remote software

Listing software by level

The "-l" flag list all objects down to the specified level. The supported software levels are: bundle, product, subproduct, fileset, file. There are some special levels like patch that show all applied patches and depot that show only the depots which exist at the specified target hosts. More information in the swlist man page.


For example, to list information on the JFS product, you may use:

# swlist JFS
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/
#
 
# JFS                           B.11.11        The Base VxFS File System
  JFS.JFS-ENG-A-MAN             B.11.11        JFS-ENG-A-MAN
  JFS.JFS-JPN-E-MAN             B.11.11        JFS-JPN-E-MAN
  JFS.JFS-JPN-S-MAN             B.11.11        JFS-JPN-S-MAN
  JFS.VXFS-BASE-KRN             B.11.11        The Base VxFS File System Kernel files
  JFS.VXFS-BASE-RUN             B.11.11        VXFS-BASE-RUN
  JFS.VXFS-PRG                  B.11.11        Subproduct contains the necessary header files for prog env

When you use swlist and provied the software name, the software filesets that made the software are also displayed.

More detailed information of the JFS software can be obtained addind the -v flag to the command (verbose):

# swlist -v JFS
# Initializing...
# Contacting target "c3650"...
#
# swlist   Installed Software Table of Contents
#
# For host:  c3650:/
#
# Date:  Sun Feb 10 22:10:29 2008
#
 
# JFS
vendor
tag                    HP
uuid
title                  "Hewlett-Packard Company"
description            "Hewlett-Packard Company
@(#)B.11.11_LR"
end
product
tag                    JFS
software_spec          JFS,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP
data_model_revision    2.40
instance_id            1
control_directory      JFS
size                   9275820
revision               B.11.11
title                  The Base VxFS File System
description            "Vendor Name         Hewlett-Packard Company
 
Product Name        The Base VxFS File System
@(#)B.11.11_LR
 
Text:
 
      The Base VxFS File System product is a file system which
      provides the following features: fast file system recovery,
      extent-based file system for better performance, support of file
      names up to 255 characters in length, and UFS style quotas are
      supported.
 
      This product will run on all supported HP-UX machines.
 
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
install_type           physical
is_patch               false
supersedes
category_tag
vendor_tag             HP
directory              /
qualifier
postkernel
layout_version         1.0
all_filesets           JFS-ENG-A-MAN JFS-JPN-E-MAN JFS-JPN-S-MAN VXFS-BASE-KRN VXFS-BASE-KRN VXFS-BASE-RUN VXFS-PRG
is_locatable           false
location               /
copyright              "(c)Copyright 1983-2000 Hewlett-Packard Co.,  All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2000 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1991-2000 Isogon Corporation, All Rights Reserved.
 
 
                           RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
 
                           Hewlett-Packard Company
                           3000 Hanover Street
                           Palo Alto, CA 94304 U.S.A.
 
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
 
Veritas is a trademark of VERITAS Software Corporation
"
share_link
readme                 <README
job_file
number                 B_11_11_%27
 
  JFS.JFS-ENG-A-MAN
fileset
tag                    JFS-ENG-A-MAN
software_spec          JFS.JFS-ENG-A-MAN,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_32/64
data_model_revision    2.40
instance_id            1
control_directory      JFS-ENG-A-MAN
size                   140457
revision               B.11.11
title                  JFS-ENG-A-MAN
description            "Vendor Name                             Hewlett-Packard Company
 
Product Name                            JFS
Fileset Name                            JFS-ENG-A-MAN
 
Text:
 
        English-language reference pages for the HP-UX
        Journal File System product (VxFS package).
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              false
is_reboot              false
is_secure              false
ancestor               JFS.JFS-ENG-A-MAN
ancestor               JournalFS.JFS-ENG-A-MAN,r<=B.11.10
ancestor               AdvJournalFS.AJFS-ENG-A-MAN,r<=B.11.10
media_sequence_number
corequisites           TextFormatters.TEXT-FMT,r>=B.11.11.%27
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches        PHCO_33236.JFS-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
applied_patches        PHCO_33237.JFS-ENG-A-MAN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
is_locatable
location               /
dynamic_module
is_drd_safe
 
  JFS.JFS-JPN-E-MAN
fileset
tag                    JFS-JPN-E-MAN
software_spec          JFS.JFS-JPN-E-MAN,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_32/64
data_model_revision    2.40
instance_id            1
control_directory      JFS-JPN-E-MAN
size                   158398
revision               B.11.11
title                  JFS-JPN-E-MAN
description            "Vendor Name                             Hewlett-Packard Company
 
Product Name                            JFS
Fileset Name                            JFS-JPN-E-MAN
 
Text:
 
        Japanese-language (eucJP codeset) reference pages for the HP-UX
        Journal File System product (VxFS package).
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              false
is_reboot              false
is_secure              false
ancestor               JFS.JFS-JPN-E-MAN
ancestor               JournalFS.JFS-JPN-E-MAN,r<=B.11.10
ancestor               AdvJournalFS.AJFS-JPN-E-MAN,r<=B.11.10
media_sequence_number
corequisites           TextFormatters.TEXT-FMT,r>=B.11.11.%27
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches
is_locatable
location               /
dynamic_module
is_drd_safe
 
  JFS.JFS-JPN-S-MAN
fileset
tag                    JFS-JPN-S-MAN
software_spec          JFS.JFS-JPN-S-MAN,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_32/64
data_model_revision    2.40
instance_id            1
control_directory      JFS-JPN-S-MAN
size                   158802
revision               B.11.11
title                  JFS-JPN-S-MAN
description            "Vendor Name                             Hewlett-Packard Company
 
Product Name                            JFS
Fileset Name                            JFS-JPN-S-MAN
 
Text:
 
        Japanese-language (SJIS codeset) reference pages for the HP-UX
        Journal File System product (VxFS package).
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              false
is_reboot              false
is_secure              false
ancestor               JFS.JFS-JPN-S-MAN
ancestor               JournalFS.JFS-JPN-S-MAN,r<=B.11.10
ancestor               AdvJournalFS.AJFS-JPN-S-MAN,r<=B.11.10
media_sequence_number
corequisites           TextFormatters.TEXT-FMT,r>=B.11.11.%27
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches
is_locatable
location               /
dynamic_module
is_drd_safe
 
  JFS.VXFS-BASE-KRN
fileset
tag                    VXFS-BASE-KRN
software_spec          JFS.VXFS-BASE-KRN,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_64
data_model_revision    2.40
instance_id            1
control_directory      VXFS-BASE-KRN
size                   2258648
revision               B.11.11
title                  The Base VxFS File System Kernel files
description            "# $Revision: 1.1.106.2 $        $Author: jax $
# $State: Exp $         $Locker:  $
# $Date: 97/09/17 12:55:16 $
# @(#)B.11.11_LR
 
Vendor Name                             Hewlett-Packard Company
 
Product Name                            JFS
Fileset Name                            VXFS-BASE-KRN
 
Text:
 
        This fileset has the necessary library for the
        Base VxFS File System product for HP-UX.
 
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:00:38 CST 2008
create_time            1201986038
install_date           200802021621.00
architecture           HP-UX_B.11.11_64
machine_type           *:*64
os_name                HP-UX:*64
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              true
is_reboot              true
is_secure              false
ancestor               JFS.VXFS-BASE-KRN
ancestor               JFS.JFS-BASE2-KRN,r<B.11.11
ancestor               JournalFS.VXFS-BASE-KRN,r<=B.11.00
media_sequence_number
prerequisites          OS-Core.CORE-KRN,r>=B.11.11.%27
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches        PHKL_24026.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_26104.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_27734.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_28185.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_29045.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_29115.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_29335.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_30366.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_30582.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_31212.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_33377.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_34805.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_35329.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
applied_patches        PHKL_35933.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
is_locatable
location               /
dynamic_module
is_drd_safe
 
  JFS.VXFS-BASE-RUN
fileset
tag                    VXFS-BASE-RUN
software_spec          JFS.VXFS-BASE-RUN,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_32/64
data_model_revision    2.40
instance_id            1
control_directory      VXFS-BASE-RUN
size                   6512822
revision               B.11.11
title                  VXFS-BASE-RUN
description            "Vendor Name: Hewlett-Packard Company
 
Product Name: JFS
Fileset Name: VXFS-BASE-RUN
@(#)B.11.11_LR
 
Text: Journal File System bundled utilities.
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              false
is_reboot              false
is_secure              false
ancestor               JFS.VXFS-BASE-RUN
ancestor               JFS.JFS-BASE-KRN,r<B.11.11
ancestor               AdvJournalFS.VXFS-ADV-RUN,r<=B.11.00
ancestor               JournalFS.VXFS-BASE-RUN,r<=B.11.00
media_sequence_number
prerequisites          JFS.VXFS-BASE-KRN,r>=B.11.11.%27
prerequisites          OS-Core.UX-CORE,r>=B.11.11.%27
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches        PHCO_26701.VXFS-BASE-RUN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
applied_patches        PHCO_29310.VXFS-BASE-RUN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
applied_patches        PHCO_33226.VXFS-BASE-RUN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
applied_patches        PHCO_33236.VXFS-BASE-RUN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
applied_patches        PHCO_33237.VXFS-BASE-RUN,l=/,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
is_locatable
location               /
dynamic_module
is_drd_safe
 
  JFS.VXFS-PRG
fileset
tag                    VXFS-PRG
software_spec          JFS.VXFS-PRG,l=/,r=B.11.11,a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11,fa=HP-UX_B.11.11_32/64
data_model_revision    2.40
instance_id            1
control_directory      VXFS-PRG
size                   46693
revision               B.11.11
title                  Subproduct contains the necessary header files for prog env
description            "# @(#)B.11.11_LR
 
Vendor Name                             Hewlett-Packard Company
 
Product Name                            The Base VxFS File System
Fileset Name                            VXFS-PRG
 
Text:
 
        This fileset contains the necessary header files for
        the programming environment.
 
"
mod_date               Sat Feb  2 15:21:00 CST 2008
mod_time               1201987260
create_date            Sat Feb  2 15:02:45 CST 2008
create_time            1201986165
install_date           200802021621.00
architecture           HP-UX_B.11.11_32/64
machine_type           *
os_name                HP-UX
os_release             B.11.11
os_version             *
install_source         16.90.48.69:/depot/oscores/11.11/Dec06.MCO
is_patch               false
supersedes
category_tag
state                  configured
is_kernel              false
is_reboot              false
is_secure              false
ancestor               JFS.VXFS-PRG
ancestor               JournalFS.VXFS-PRG,r<=B.11.00
media_sequence_number
partial_file
partial_pipe_size
partial_state_path
is_sparse              false
applied_patches
is_locatable
location               /
dynamic_module
is_drd_safe

Listing from a depot

SD-UX software are distributed on depots. Depots contain the required software files and filesets and script to handle software install, fixing and removal. SD-UX depots are normally distributed in two forms:

  • tar stream archives: you can recognized tar stream archives because the files normally use the .depot extension. They are basically SD-UX depots encoded inside a tar file.
  • software depots: these are just filesystems that contains the software organized as a depot archive.

To check the content of a stream archive, you need to add the "-s" flag to the swlist command to point to the depot archive:

# ls -l /software/BaseVxFS.depot
-rw-rw-r--   1 amarin     users      14264320 Feb 10 18:38 /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
# swlist -l product -s /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
#

  PHCO_23578    1.0            Software Distributor Cumulative Patch
  PHCO_27120    1.0            umount(1M) cumulative patch
  PHKL_27800    1.0            getmount_entry;rename;creat;[u]mount;fs-dlkm
  VRTSvlic      3.00.007e      VERITAS License Utilities
  VRTSvxfs      3.5-ga15       VERITAS File System with CFS Support

To check depot on a fileset level, just change the "-l" flag:

# swlist -l fileset -s /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
#

# PHCO_23578                    1.0            Software Distributor Cumulative Patch
  PHCO_23578.SD-AGENT           1.0            SW-DIST.SD-AGENT
  PHCO_23578.SD-CMDS            1.0            SW-DIST.SD-CMDS
  PHCO_23578.SD-HELP            1.0            SW-DIST.SD-HELP
# PHCO_27120                    1.0            umount(1M) cumulative patch
  PHCO_27120.CORE-ENG-A-MAN     1.0            OS-Core.CORE-ENG-A-MAN
  PHCO_27120.UX-CORE            1.0            OS-Core.UX-CORE
# PHKL_27800                    1.0            getmount_entry;rename;creat;[u]mount;fs-dlkm
  PHKL_27800.CORE2-KRN          1.0            OS-Core.CORE2-KRN
  PHKL_27800.CORE2-KRN          1.0            OS-Core.CORE2-KRN
# VRTSvlic                      3.00.007e      VERITAS License Utilities
  VRTSvlic.VLIC-RUN             3.00.007e      VERITAS License Utilities Fileset0
# VRTSvxfs                      3.5-ga15       VERITAS File System with CFS Support
  VRTSvxfs.VXFS-ENG-A-MAN       3.5-ga15       VERITAS File System manual pages
  VRTSvxfs.VXFS-KRN             3.5-ga15       VERITAS File System kernel files
  VRTSvxfs.VXFS-PRG             3.5-ga15       VERITAS File System header files for application developers
  VRTSvxfs.VXFS-RUN             3.5-ga15       VERITAS File System commands

To verify that a tar stream archive is basically a tar file, you can use "tar" to check the content of the depot:

# tar tvf /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
rw-r--r--   0/3  15314 Mar 31 15:38 2003 catalog/INDEX
rw-r--r--   0/3   1711 Mar 31 15:38 2003 catalog/dfiles/INDEX
rw-r--r--   0/3    139 Mar 31 15:38 2003 catalog/dfiles/INFO
...
r-xr--r--   2/2 234928 Jun 13 11:00 2002 VRTSvlic/VLIC-RUN/usr/sbin/vxlicinst
r-xr-xr-x   2/2 252478 Jun 13 11:00 2002 VRTSvlic/VLIC-RUN/usr/sbin/vxlicrep
r-xr-xr-x   2/2 224893 Jun 13 11:00 2002 VRTSvlic/VLIC-RUN/usr/sbin/vxlictest

Verified installed patches

You can see that the JFS 3.5 includes the patches in the bundle. If you want, you can verified if the patches are already installed ont the system. Check by patch number is fine, but may be misleading, because you may already have superseeded versions of the patches already install those superseeded patches will not be display. Using the patch description may be more accurate. Let compare both outputs:

# swlist -l patch PHCO_23578 PHCO_27120 PHKL_27800
# Initializing...
# Contacting target "c3650"...
ERROR:   Software "PHCO_23578" was not found on host "c3650:/".
ERROR:   Software "PHKL_27800" was not found on host "c3650:/".
#
# Target:  c3650:/
#

# PHCO_27120                            1.0            umount(1M) cumulative patch
# PHCO_27120.CORE-ENG-A-MAN                1.0               OS-Core.CORE-ENG-A-MAN    applied
# PHCO_27120.UX-CORE                       1.0               OS-Core.UX-CORE    applied
# swlist -l patch | grep -e "Software Distributor Cumulative Patch" \
-e "umount(1M) cumulative patch" \
-e "getmount_entry;rename;creat;[u]mount;fs-dlkm"

# PHCO_27120                            1.0            umount(1M) cumulative patch
# PHCO_35587                            1.0            Software Distributor Cumulative Patch

The system have the same patch number PHCO_27120 for umount man page and a superseeded version of the Software Distribution Cumulative Patch. The first command was not informative enough.

Creating a software depot

Creating a software depot use swcopy to install the software to an alternate root. After that, the alternate root is register to the system software depots using the swreg on the background. The main advantage of a software depot is that in can access by other hosts in the network, without the need to copy the depot stream archive to every single one. For example, to create a software depot on /var/tmp/jfs-35 that contains all the product on the stream archive, use these commands:


# swlist -l depot
# Initializing...
# Target "c3650" has the following depot(s):
  /var/opt/mx/depot11
# mkdir /var/tmp/jfs-35
# swcopy -s /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot \* @ /var/tmp/jfs-35
 
=======  02/10/08 22:57:59 CST  BEGIN swcopy SESSION (non-interactive)
         (jobid=c3650-0037)
 
       * Session started for user "root@c3650".
 
       * Beginning Selection
       * "c3650:/var/tmp/jfs-35":  This target does not exist and will
         be created.
       * Source:
         /software/BaseVxFS_B.03.50.0_HP-UX_B.11.11_64.depot
       * Targets:                c3650:/var/tmp/jfs-35
       * Software selections:
             BaseVxFS,r=B.03.50.0,a=HP-UX_B.11.11_64,v=HP
             PHCO_23578.SD-AGENT,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_23578.SD-CMDS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_23578.SD-HELP,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_27120.CORE-ENG-A-MAN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_27120.UX-CORE,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHKL_27800.CORE2-KRN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32
             PHKL_27800.CORE2-KRN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
             VRTSvlic.VLIC-RUN,r=3.00.007e,a=HP-UX_B.11.00_32/64,v=HP,fr=3.00.007e,fa=HP-UX_B.11.00_32/64
             VRTSvxfs.VXFS-ENG-A-MAN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-KRN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-PRG,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-RUN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
       * Selection succeeded.
 
 
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/root/.sw/sessions/swcopy.last".
       * The analysis phase succeeded for "c3650:/var/tmp/jfs-35".
       * The execution phase succeeded for "c3650:/var/tmp/jfs-35".
       * Analysis and Execution succeeded.
 
 
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log c3650-0037 @ c3650:/var/tmp/jfs-35".
 
=======  02/10/08 22:58:03 CST  END swcopy SESSION (non-interactive)
         (jobid=c3650-0037)
 
# swlist -l depot
# Initializing...
# Target "c3650" has the following depot(s):
  /var/opt/mx/depot11
  /var/tmp/jfs-35
 
# swlist -l product -s /var/tmp/jfs-35
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/var/tmp/jfs-35
#
 
  PHCO_23578    1.0            Software Distributor Cumulative Patch
  PHCO_27120    1.0            umount(1M) cumulative patch
  PHKL_27800    1.0            getmount_entry;rename;creat;[u]mount;fs-dlkm
  VRTSvlic      3.00.007e      VERITAS License Utilities
  VRTSvxfs      3.5-ga15       VERITAS File System with CFS Support

Since PHCO_27120 and PHCO_23578 are not really required on your system because you already have them or their superseeded version install, you can use swremove command to remove them from the software depot. The -x enforce_dependencies=false special flag is required so the internal patch self dependencies are not enforce.

# swremove -x enforce_dependencies=false PHCO_27120 PHCO_23578 @ /var/tmp/jfs-35
 
=======  02/10/08 23:08:32 CST  BEGIN swremove SESSION
         (non-interactive) (jobid=c3650-0046)
 
       * Session started for user "root@c3650".
 
       * Beginning Selection
       * Target connection succeeded for "c3650:/var/tmp/jfs-35".
       * Software selections:
             PHCO_23578.SD-AGENT,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_23578.SD-CMDS,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_23578.SD-HELP,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_27120.CORE-ENG-A-MAN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
             PHCO_27120.UX-CORE,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64
       * Selection succeeded.
 
 
       * Beginning Analysis
       * Session selections have been saved in the file
         "/root/.sw/sessions/swremove.last".
WARNING: "c3650:/var/tmp/jfs-35":  The software dependencies for 1
         products or filesets cannot be resolved.
       * Analysis succeeded.
 
 
       * Beginning Execution
       * The execution phase succeeded for "c3650:/var/tmp/jfs-35".
       * Execution succeeded.
 
 
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log c3650-0046 @ c3650:/var/tmp/jfs-35".
 
=======  02/10/08 23:08:32 CST  END swremove SESSION (non-interactive)
         (jobid=c3650-0046)
 
# swlist -l product -s /var/tmp/jfs-35
# Initializing...
# Contacting target "c3650"...
#
# Target:  c3650:/var/tmp/jfs-35
#
 
  PHKL_27800    1.0            getmount_entry;rename;creat;[u]mount;fs-dlkm
  VRTSvlic      3.00.007e      VERITAS License Utilities
  VRTSvxfs      3.5-ga15       VERITAS File System with CFS Support


Installing the software depot

You can try to proceed to install the software. The swinstall command is straigh forward. The \* told swinstall to install all the software component contained on the /var/tmp/jfs-35. The backslash is required to escape the * character to avoid shell expansion.

# swinstall -s /var/tmp/jfs-35 \* @
 
=======  02/10/08 23:12:13 CST  BEGIN swinstall SESSION
         (non-interactive) (jobid=c3650-0047)
 
       * Session started for user "root@c3650".
 
       * Beginning Selection
       * Target connection succeeded for "c3650:/".
       * Source connection succeeded for "c3650:/var/tmp/jfs-35".
NOTE:    The software "PHKL_27800" was successfully marked, but it
         depends on the following software items which could not be
         found in the source. However, these items may already be in
         the target. This will be checked during the Analysis Phase:
         PHCO_27120.UX-CORE,fa=HP-UX_B.11.11_32/64
ERROR:   Installation of software requiring a reboot is, by default,
         not allowed from the command line.  You must specify "-x
         autoreboot=true" on the command line to change the default for
         this session.
ERROR:   Cannot continue the "swinstall" task.
       * Selection had errors.
 
 
 
=======  02/10/08 23:12:18 CST  END swinstall SESSION (non-interactive)
         (jobid=c3650-0047)

The NOTE can be ignore because we already know that the correct patches are installed on the system. The error is self explanatory. The software needs to reboot the system so is asking to add confirmation that this can be done at this moment by adding the -x autoreboot=true extend option. This is false by default.

# swinstall -x autoreboot=true -s /var/tmp/jfs-35 \* @
 
=======  02/10/08 23:18:39 CST  BEGIN swinstall SESSION
         (non-interactive) (jobid=c3650-0048)
 
       * Session started for user "root@c3650".
 
       * Beginning Selection
       * Target connection succeeded for "c3650:/".
       * Source connection succeeded for "c3650:/var/tmp/jfs-35".
NOTE:    The software "PHKL_27800" was successfully marked, but it
         depends on the following software items which could not be
         found in the source. However, these items may already be in
         the target. This will be checked during the Analysis Phase:
         PHCO_27120.UX-CORE,fa=HP-UX_B.11.11_32/64
NOTE:    The software specified contains a kernel fileset or a
         dynamic_module fileset.  The kernel will be modified, and if
         necessary the system will be rebooted.
       * Source:                 /var/tmp/jfs-35
       * Targets:                c3650:/
       * Software selections:
             BaseVxFS,r=B.03.50.0,a=HP-UX_B.11.11_64,v=HP
             PHKL_27800.CORE2-KRN,r=1.0,a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_64
             VRTSvlic.VLIC-RUN,r=3.00.007e,a=HP-UX_B.11.00_32/64,v=HP,fr=3.00.007e,fa=HP-UX_B.11.00_32/64
             VRTSvxfs.VXFS-ENG-A-MAN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-KRN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-PRG,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
             VRTSvxfs.VXFS-RUN,r=3.5-ga15,a=HP-UX_B.11.11_64,v=HP,fr=3.5-ga15,fa=HP-UX_B.11.11_64
       * Selection succeeded.
 
 
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/root/.sw/sessions/swinstall.last".
       * "c3650:/":  1 filesets have the selected revision already
         installed.
       * "c3650:/":  1 filesets were determined to be skipped in the
         analysis phase.
       * Analysis and Execution succeeded.
 
 
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log c3650-0048 @ c3650:/".
 
=======  02/10/08 23:20:14 CST  END swinstall SESSION (non-interactive)
         (jobid=c3650-0048)
This page was last modified on 29 April 2008, at 18:46. This page has been accessed 3,107 times.