178 Exploiting IBM AIX Workload Partitions
Figure 8-10 Associating relocation domain with relocation policy (2 of 2)
6. After the policy has been associated with a relocation domain, click OK to complete the
wizard for policy creation (Figure 8-11).
Figure 8-11 Relocation policy created
8.13.3 Manual relocation
Using WPAR Manager, you can initiate a manual relocation of a WPAR using static or live
relocation methods. Before attempting a manual relocation of a WPAR to a manually selected
server, you must ensure that your environment meets the requirements to support relocation.
After you decide which WPAR to relocate, you can use the WPAR Manager to help you select
the best possible system to which to move the WPAR, based on system compatibility. While
selecting a fully compatible system is the preferred option, you can override the compatibility
recommendation at your own risk and select any system regardless of compatibility.
To start the relocation, first select the WPAR that you want to relocate, and then choose
Relocate from the Actions menu or from the right-click options, as illustrated in Figure 8-12
on page 179.
Chapter 8. Workload partition mobility and WPAR Manager 179
Figure 8-12 Initiate manual WPAR relocation
The Relocate Workload Partition dialog then prompts you to choose a destination system.
The dialog lists the results summary of the critical compatibility tests for each of the
WPAR-capable systems, as shown in Figure 8-13.
Figure 8-13 Critical compatibility test results
After clicking Next, you are prompted to select the type of relocation to perform, as displayed
in Figure 8-14 on page 180. In our example, we selected Live.
180 Exploiting IBM AIX Workload Partitions
Figure 8-14 Select relocation method
After selecting the relocation method and clicking Next, the WPAR relocation job is submitted
and the relocation process starts. The WPAR’s state changes to
Transitional, as shown in
Figure 8-15.
Figure 8-15 WPAR relocation job started
You can view the details about the WPAR relocation job by clicking Display Properties. On the
General tab, the current status and progress indicator for the job are displayed, as shown in
Figure 8-16 on page 181.
Chapter 8. Workload partition mobility and WPAR Manager 181
Figure 8-16 WPAR relocation job properties
Job logs for the relocation job are viewable from the Logs tab, as shown in Figure 8-17.
Figure 8-17 WPAR relocation job log
Individual job steps and their progress are shown on the Job Steps tab, as shown in
Figure 8-18 on page 182.
182 Exploiting IBM AIX Workload Partitions
Figure 8-18 WPAR relocation job steps
On the departure or source server, while the WPAR relocation task is running, you can see
the WPAR’s state changing from transitional to moving to defined to being removed and not
there by viewing the results of running the lswpar command, as shown in Example 8-40.
Example 8-40 lswpar command results during WPAR relocation (source or departure server)
root@750_2_LPAR_7 / #
root@750_2_LPAR_7 / # lswpar
Name State Type Hostname Directory RootVG WPAR
------------------------------------------------------------
wp01 A S wp01 /wpars/wp01 no
wpsan61 T S wpsan61 /wpars/wpsan61 yes
root@750_2_LPAR_7 / #
root@750_2_LPAR_7 / # lswpar
Name State Type Hostname Directory RootVG WPAR
------------------------------------------------------------
wp01 A S wp01 /wpars/wp01 no
wpsan61 M S wpsan61 /wpars/wpsan61 yes
root@750_2_LPAR_7 / #
root@750_2_LPAR_7 / # lswpar
Name State Type Hostname Directory RootVG WPAR
------------------------------------------------------------
wp01 A S wp01 /wpars/wp01 no
wpsan61 D S wpsan61 /wpars/wpsan61 yes
root@750_2_LPAR_7 / #
root@750_2_LPAR_7 / # lswpar
Name State Type Hostname Directory RootVG WPAR
------------------------------------------------------------
wp01 A S wp01 /wpars/wp01 no
root@750_2_LPAR_7 / #
Similarly, on the destination or the arrival node during the relocation task, you can see the
WPAR appear and then change state from transitional to active as the relocation task

Get Exploiting IBM AIX Workload Partitions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.