Synchronizes software between a global system and a workload partition.
Shared WPAR synchronization
/usr/sbin/syncwpar [ [ -a ] [ -i ] | [ -F ] [ -r ] ] [ -p ] [ -v ] [ -X ] { -A | -f wparnamesfile | wparname }
Detached WPAR synchronization
/usr/sbin/syncwpar -D [ -d device ] [ -p ] [ -v ] [ -X ] { -A | -f wparnamesfile | wparname }
Detached WPAR interim fix operations
/usr/sbin/syncwpar -D { -E <path to fix> | -R <ifix label>} { -A | -f wparnamesfile | wparname }
The syncwpar command synchronizes the software that is installed in the global shared parts (usually the /usr and /opt) with the workload partition's root part.
If you specify the -D flag, the syncwpar command recovers the system software that is in a detached workload partition (WPAR) with writable /usr directory, and that has diverged from the system software in the global environment. If you do not specify the -D flag, the syncwpar command runs only on shared WPARs that have a read-only /usr directory.
The syncwpar command operates on a single WPAR when you specify the wparname parameter, on a list of WPARs when you specify the wparname parameter with the -f wparnamesfile parameter, or on all system WPARs when you specify the -A flag.
Item | Description |
---|---|
-a | Performs additional installation only. Does not downlevel the installp filesets (that is, uninstall, reject, force overwrite). Not valid with the -r flag. |
-D | Synchronizes software in the detached system workload partitions that have a writable /usr directory. The default is to synchronize software in only shared system workload partitions that have a read-only /usr directory. |
-i | Only updates the installp filesets. Not valid with the -r flag. |
-F | Forces the RPM files to be copied. Not valid with the -i flag. |
-r | Updates only the RPM files. Not valid with the -i flag. |
-p | Previews the operation. Does not actually perform the synchronization. |
-v | Specifies the verbose mode. |
-X | Expands file systems if necessary and possible. |
-A | Synchronizes all of the available system workload partitions with the global system. |
-f | Specifies the file containing a list of workload partitions in the wparnamesfile parameter. |
-d | Synchronizes the software in a detached WPAR wpar,
using the specific software installation directories. The -d flag
is valid only when used along with -D.
|
-R | Removes the specified interim fix from the WPARs. The argument is the label of the ifix parameter that must to be removed. The flag is valid only for detached system workload partitions. |
-E | Installs the specified interim fix into the detached system workload partitions. The argument is the full path to the ifix parameter. The flag is valid only for detached system workload partitions. |
Item | Description |
---|---|
wparnamesfile | Specifies the file that contains a list of workload partition names. |
wparname | Specifies the name of a workload partition. |
device | Specifies the name of a device. |
Access Control: Only the root user can run this command.
syncwpar mywpar
# syncwpar -A
# syncwpar -X mywpar
# syncwpar -D -d /mysw privatewpar
# syncwpar -D -E /tmp/myfix.epkg.Z -A
# syncwpar -D -R myfix -A