AIX: WPAR start/stop
List all WPAR
[root@lpartest]/root# lswpar
Name State Type Hostname Directory RootVG WPAR
----------------------------------------------------------
wpar01 A S wpar01 /wpars/wpar01 no
wpar02 A S wpar02 /wpars/wpar02 no
wpar03 A S wpar03 /wpars/wpar03 no
wpar04 A S wpar04 /wpars/wpar04 no
wpar05 A S wpar05 /wpars/wpar05 no
wpar06 A S wpar06 /wpars/wpar06 no
wpar07 A S wpar07 /wpars/wpar07 no
wpar08 A S wpar08 /wpars/wpar08 no
wpar09 A S wpar09 /wpars/wpar09 no
wpar10 A S wpar10 /wpars/wpar10 no
Start of only one WPAR
[root@lpartest]/root# startwpar -v wpar1
Starting workload partition wpar1.
Mounting all workload partition file systems.
Mounting /wpars/wpar1
Mounting /wpars/wpar1/home
Mounting /wpars/wpar1/home/oracle
Mounting /wpars/wpar1/opt
Mounting /wpars/wpar1/oracle
Mounting /wpars/wpar1/proc
Mounting /wpars/wpar1/root
Mounting /wpars/wpar1/tmp
Mounting /wpars/wpar1/usr
Mounting /wpars/wpar1/var
Mounting /wpars/wpar1/var/core
Mounting /wpars/wpar1/var/opt/oracle
Loading workload partition.
Exporting workload partition devices.
Starting workload partition subsystem cor_wpar1.
0513-059 The cor_wpar1 Subsystem has been started. Subsystem PID is 12660952.
Verifying workload partition startup.
Return Status = SUCCESS.
Start all WPAR
# /home/scripts/bin/start_stop_wpars.sh start
Stop of only one WPAR
[root@lpartest]/root# stopwpar -t 120 -v wpar1
Stopping workload partition wpar1.
Stopping workload partition subsystem cor_wpar1.
0513-044 The cor_wpar1 Subsystem was requested to stop.
stopwpar: 0960-261 Waiting up to 120 seconds for workload partition to halt.
Shutting down all workload partition processes.
WPAR='wpar1' CID=11
ID=2097163 KEY=0x4107001c UID=0 GID=9 RT=-1
ID=913309753 KEY=0x0102f646 UID=0 GID=0 RT=-1
ID=6291529 KEY=0x4302f539 UID=0 GID=0 RT=-1
Unmounting all workload partition file systems.
Umounting /wpars/wpar1/var/opt/oracle.
Umounting /wpars/wpar1/var/core.
Umounting /wpars/wpar1/var.
Umounting /wpars/wpar1/usr.
Umounting /wpars/wpar1/tmp.
Umounting /wpars/wpar1/root.
Umounting /wpars/wpar1/proc.
Umounting /wpars/wpar1/oracle.
Umounting /wpars/wpar1/opt.
Umounting /wpars/wpar1/home/oracle.
Umounting /wpars/wpar1/home.
Umounting /wpars/wpar1.
Return Status = SUCCESS.
Stop all WPAR
# /home/scripts/bin/start_stop_wpars.sh stop