HP-UX Containers (SRP) A.03.00 Administrator's Guide

79
To remove a product from the system and all the configured system containers, execute the
swremove command in the global view as follows:
# swremove MY_PRODUCT
15.5.1.4 Configure, unconfigure, or reconfigure installed software
The swconfig command is used to configure, unconfigure or reconfigure installed software. The
operation is first performed in the global view and repeated in each system container on the system.
If you attempt to run the swinstall, swremove, or swconfig command in a system container, you will
get the following error as these operations are not supported in system containers:
# srp_su myContainer_A
# swinstall -s /tmp/myproduct.depot MY_PRODUCT
ERROR: The command "swinstall" is not supported in local SRP.
15.5.1.5 Software management behavior for file system subtypes
The following table shows the differences in update requirements and behavior for a system container
with a shared file system subtype and a private file system subtype:
Description System container
(shared FS)
System container
(private FS)
Restriction on the container
state to perform SD software
maintenance
Must be stopped
No restriction
(either started or stopped)
Varying software All software in container must
match global
Software that has a kernel
component must match global
Filesystem paths that are not
updated during the install
and remove commands
/usr, /sbin, /stand
(LOFS mounts)
/stand
(LOFS mount)
Filesystem paths that are
updated
/opt, /etc, /var, and
/sbin/rc[1-4].d/
/opt, /etc, /var,
/sbin,
and
/usr
15.5.2 Remote network registered depots
Remote network registered SD depots are not supported for software installation.
You will see the following error if a remote depot location is specified with the swintall command:
# swinstall -s remote_machine:/depots/remote.depot PRODUCT
ERROR: The source depot specified using a host target selection
(host:/path). Installing from a remote source is not supported
in SRP environment. To install from a remote source, either
mount it locally or copy the software locally using swcopy.
To solve this problem, follow these steps:
1. Use the swcopy command to copy the depot to the local system.
2. Copy the remote directory locally using other HP-UX tools.
3. Use NFS to mount the depot on the local filesystem.
4. If the depot is on media, physically place it in a local drive.