Skip to main content

Scheduling LPAR resource moves

The new LPAR scheduling support provides the ability to schedule moves of memory, processors, interactive performance, and I/O processors. The new LPAR function works with the new V5R1 LPAR GUI and Management Central task scheduling support.

The following information explains how to install and use the new LPAR scheduling support. Three typical scenarios are described. Because there are unique aspects of scheduling resource moves, reading the scenario about scheduling a memory move is strongly recommended, particularly the memory move for Monday. There are also several security requirements that must be met before scheduled resource moves will run successfully.

For more information about LPAR, see the IBM i Information Center.

Installation and prerequisites

Prerequisites for installing this function are V5R1 Navigator for i with Logical Systems and Configuration and Service components installed, and service pack SI01907 or later. See the Client Access Service Packs page for the latest service pack information.

Note! There are server PTFs that must be applied in order to use this function with SI01907. Refer to APAR SE02365. This prerequisite PTF information is also in the service pack readmesp.txt (TXT, 56.8KB).

Security requirements

There are several Dedicated Service Tools (DST) and IBM i (i5/OS) security requirements that must be met before scheduled LPAR moves will work successfully.

Scheduling support uses the QYHCHCOP API.

Schedule a memory move

You want to schedule a memory move from the primary partition to a secondary on Friday night and schedule another move to return the memory to the primary partition on Monday morning. You want to do this because the secondary partition has the highest work load on weekends but the primary partition has highest load on weekdays. In this example, the Primary partition currently has 768 MB of memory and the Secondary partition has 256 MB. You want to move 64 MB of memory for the weekend.

Scheduling the memory move for Friday

The first step is to schedule the move for Friday night.

  1. Open the Configure Logical Partitions window
  2. Select the Primary partition in the partition list on the left so the resources assigned to the Primary are displayed on the right
  3. Right mouse click on the Memory and select the Move menu choice
  4. Specify 64 in the "Memory to move" field.
  5. Click Schedule instead of OK
  6. Specify that you want the Move to occur every Friday and the time for the move
  7. Click OK
  8. Go to the Scheduled Tasks folder under Management Central and select Logical Partitions to see the task you just scheduled.

When this schedule move runs it will make the Primary partition memory 704 MB and the Secondary partition memory 320 MB.

Scheduling the memory move for Monday

On Monday morning you want to set the memory back to its original configuration. This step is the will seem a little odd for two reasons:

  1. Open the Configure Logical Partitions window
  2. Select the Secondary partition in the partition list on the left so the resources assigned to the Secondary are displayed on the right
  3. Right mouse click on the Memory and select the Move menu choice
  4. Specify 0 in the "Memory to move" field.
  5. Click Schedule instead of OK
  6. Specify that you want the Move to occur every Monday and the time for the move
  7. Click OK
  8. Go to the Scheduled Tasks folder under Management Central and select Logical Partitions to see the task you just scheduled.

Schedule a processor or interactive performance move

Scheduling processor and interactive performance moves are the same as scheduling memory moves. Again, note that the scheduled tasks are doing an absolute set for each partition rather than the delta which is implied by the user interface. Because there are some unique aspects of scheduling resource moves, reading about scheduling a memory move is strongly recommended, particularly the memory move for Monday.

Schedule an I/O processor move

In this example, you want to schedule the move of an I/O Processor that owns a tape device so you can back up your Secondary partition on the weekend. Scheduled I/O processor moves are successful only if the LPAR configuration does not generate any "In Use" or "Unknown State" warnings for the I/O processor. You must make sure that all I/O adapters under this I/O processor are varied off before the scheduled task runs. You can also schedule the vary off of the I/O adapters by creating and scheduling a Command Definition in the Management Central folder.

Scheduling the I/O processor move for Friday

The first step is to schedule the move for Friday night.

  1. Open the Configure Logical Partitions window
  2. Select the Primary partition in the partition list on the left so the resources assigned to the Primary are displayed on the right
  3. Right mouse click on the I/O processor you want to move and select the Move menu choice
  4. Select the partition you want to move the I/O processor to.
  5. Click Schedule instead of OK
  6. Specify that you want the Move to occur every Friday and the time for the move
  7. Click OK
  8. Go to the Scheduled Tasks folder under Management Central and select Logical Partitions to see the task you just scheduled.

Scheduling the I/O processor move for Monday

On Monday morning you want to move the I/O processor back to the Primary partition.

Just like moving memory on Monday, it is important to remember when scheduling this I/O processor move that the partition owning the I/O processor will be different when the move runs than when the move was scheduled. This means you need to focus on the "To logical partition" field when scheduling. Because you want the I/O processor to be owned by the Primary partition after the move runs, select "Primary" as the value for the "To logical partition" field (even though the "From logical partition" field currently says Primary, the field will be different when the scheduled task runs).

Use caution when selecting "Remove hardware resource information from source partition" for a scheduled I/O process move because this removes hardware resource information from the partition that owns the I/O processor when the move runs.

  1. Open the Configure Logical Partitions window
  2. Select the Primary partition in the partition list on the left so the resources assigned to the Secondary are displayed on the right or whatever partition currently owns the I/O processor.
  3. Right mouse click on the I/O processor you want to move and select the Move menu choice
  4. Select the partition you want to move the I/O processor to.
  5. Click Schedule instead of OK
  6. Specify that you want the Move to occur every Monday and the time for the move
  7. Click OK
  8. Go to the Scheduled Tasks folder under Management Central and select Logical Partitions to see the task you just scheduled.

We're here to help

Easy ways to get the answers you need.


or call us at
1-866-883-8901
Priority code:
101AR13W

Presentations

View and download COMMON and IBM i Technical Conference presentations.