srp_check.1m (2011 09)
SRP_CHECK(1M) SRP_CHECK(1M)
NAME
srp_check - displays products and patches that are out of sync with the global system
SYNOPSIS
srp_check container_name private shared
srp_check -h[elp] h ?
DESCRIPTION
The srp_check command displays the
SD (software distributor) products and patches that are out of sync
in the container when compared to the global system. The products and patches in the container are a
subset of the products and patches installed on the global system.
If the container file system subtype is shared, then all software that is in the container must match the
software on the global system.
If the container file system subtype is private, then the software with a kernel component must match the
global system. Other software that contain only user-space commands, libraries, and
GUI can be different
from the global system.
Once a container is detected as being out of sync, it cannot be started until the srp_check detects that
the container is back in sync. The srp_check command is run by the swinstall and swremove com-
mands after each install/remove is performed.
When running srp_check, the container can be in any state, including the stopped state.
OPTIONS
container_name
The container to check for synchronization with global system. The container must be a system con-
tainer.
private shared
Specify the sub-type of the container, either private or shared.
-help, -h, -?
Print help syntax for the srp_check command.
EXAMPLES
To check if any products or patches from container1 are out of sync with the global view, enter:
# /opt/hpsrp/bin/util/srp_check container1 shared
Scanning the products in ‘‘container1’’ please be patient....
The
SRP product ’MY_PRODUCT’ does not match global’s version
SRP has version ’A.01.00’ Global has version ’A.02.00’
The command output shows that container1 has version 1 of MY_PRODUCT, while the global view has
version 2 of MY_PRODUCT installed. To have container1 in sync with the global view, you can do one of
the following:
• Install version 2 of MY_PRODUCT in container1.
• Remove MY_PRODUCT from container1.
• Revert to version 1 of MY_PRODUCT on the global system.
RETURN VALUE
srp_check exits with a return value of 0 if the container is in sync and 1 if the container is out of sync.
AUTHOR
srp_check was developed by Hewlett-Packard Company.
SEE ALSO
swinstall(1M), srp(1M).
HP-UX 11i Version 3: September 2011 − 1 − Hewlett-Packard Company 1