User Tools

Site Tools


aix:wpar_error

syncwpar problem

One package pending

[root@wpar1]/root# lppchk -vm3
lppchk:  The following filesets need to be installed or corrected to bring
         the system to a consistent state:

  Java8_64.jre 8.0.0.70                   (usr: COMMITTED, root: not installed)
  Java8_64.jre 8.0.0.120                  (usr: APPLIED, root: not installed)

Exclude a package from synchronization and at the end include it again

[root@lpar]/root # swvpdmgr -p Java8_64.jre
[root@lpar]/root # syncwpar -v wpar1
[root@lpar]/root # swvpdmgr -s Java8_64.jre
[root@lpar]/root # syncwpar -v wpar1

WPAR syncwpar Errors when migrate to AIX 7.1

ALL syncwpar operations are always done from Global LPAR.

When running syncwpar after a migration AIX 6.1 to 7.1, then migwpar doesn't complete, and the next syncwpar is like:

[root@lpar1]/root# syncwpar wpar1
*******************************************************************************
Synchronizing workload partition wpar1 (1 of 1).
*******************************************************************************
Mounting all workload partition file systems.
Loading workload partition.
COMMAND START, ARGS: wpar1.
Shared /usr WPAR list:
wpar1
Detached WPAR list: none
WPAR wpar1 mount point:
/wpars/wpar1
WPAR wpar1 loading, called from syncwpar
WPAR wpar1 is not migratable.
        wpar1 version = 7
        Global version = 7.
Cleaning up ...
Shutting down all workload partition processes.
Unloading workload partition.
Unmounting all workload partition file systems.
Workload partition wpar1 synchronized successfully.

Return Status = SUCCESS.

The WPAR doesn't start, the only way is to start in maintenance mode (startwpar -m wpar_name).

Solution

Delete the ODM entry from lpp ODM database and redo a syncwpar:

# stopwpar wpar1
# mount /wpars/wpar1
# ODMDIR=/wpars/wpar1/etc/objrepos odmdelete -q name=bos.rte -o lpp
# umount /wpars/wpar1
# syncwpar wpar1
# startwpar wpar1

WPAR syncwpar debug mode

# script /tmp/wpar1.syncwpar.out
# syncwpar -T wpar1
# exit
aix/wpar_error.txt · Last modified: 2021/01/01 21:21 (external edit)