• No results found

View shared memory pool configuration and configure paging devices

In document AP254XINST (Page 81-86)

EXempty Exercise 4. Active Memory Sharing

Part 1: View shared memory pool configuration and configure paging devices

You will examine the shared memory pool configuration that is already created on your managed system. The configuration does not include paging devices. You will assign a physical volume to use as a paging space device for your partition.

__ 1. Use your web browser to connect to your assigned HMC. Log in with your HMC ID.

Verify your managed system is AMS capable by looking in the Server properties.

» Go to the Systems Management application on the HMC. Expand the Servers information, then select your managed system.

» Choose Properties from the Tasks menu or from the tasks pad. The Active Memory Sharing Capable capability value should be True. This value is set to True only if the

Command Type Role

amsload C executable

Program used to generate memory load on partitions. The memory to allocate and the rampup period must be specified.

The memory allocation is displayed every second by default.

PowerVM Enterprise Edition is activated. The following example has been reduced to showing only one capability for clarity:

__ 2. Check the shared memory pool configuration from the HMC GUI. This can be done by accessing the Shared Memory Pool Management wizard. What is the size of the current shared memory pool? ______________ GB

» Go to the Systems Management application on the HMC. Expand the Servers information, then select your managed system.

» Select Configuration > Virtual Resources > Shared Memory Pool Management from the Tasks menu or from the tasks pad.

» In the pop-up window, verify the Pool size is set to 4 GB

» Note that on your system the available system memory and available pool memory may be different than the example above.

Course materials may not be reproduced in whole or in part

© Copyright IBM Corp. 2010, 2013 Exercise 4. Active Memory Sharing 4-5

EXempty and list the hdisk devices using the lspv command. You should see rootvg assigned to hdisk0, and other hdisks should be available and not part of any volume group.

Log in to the AMS virtual I/O server and list the hdisk devices.

For the hdisk selection, the highest student number selects the highest hdisk number. The lowest student number selects the lowest hdisk number. Record your hdisk number here ____________.

» Log in to the AMS VIOS and run the lspv command. You should see hdisks devices available. Record your hdisk number.

__ b. To perform this next step you must synchronize with the other students sharing your managed system. Only one student at a time can perform modifications to the shared memory pool (adding a paging space device to the pool). If all of the students perform this step simultaneously, (at least if they select Yes to make changes to the pool), then only the last modifications will be taken into account.

and all the other modifications performed by the other students will be lost.

One student at a time. From the Shared Memory Pool Management wizard, select the Paging Space Device(s) tab, then modify the shared memory pool to add your hdisk device as a paging space device. If you do not see your hdisk, go to the next step. Specify the AMS virtual I/O server (amsvios) as paging VIOS 1.

Do not specify a second paging VIOS.

» Go to the Paging space Device(s) tab. Then click the Add/Remove Paging Space Device(s) button. The Modify Shared Memory Pool wizard should appear. Click Next twice to get to the Paging VIOS screen.

» The amsvios partition should already be listed as the Paging VIOS 1 as shown below.

If it is not already configured, then select it. Do not specify any VIO server in the paging VIOS 2 option. Click Next.

» Answer Yes to the question “Do you wish to make paging space device changes to the pool?” Click Next.

» In the Paging Space Device(s) menu, click Select Device(s).

» Click the Refresh button.

» A device list of available physical drives should appear. Here is an example output with available physical disk drives. The list’s content depends on the available hdisk devices attached to the virtual I/O server.

Course materials may not be reproduced in whole or in part

© Copyright IBM Corp. 2010, 2013 Exercise 4. Active Memory Sharing 4-7

EXempty » The Paging Space Device(s) menu should appear showing your hdisk device name as Paging space device.

» Click Next, then check the Summary of all the selections that you made.

» Click Finish.

__ c. When you have configured your paging device, you should see it in the Pool Properties window.

When done, click OK to close the window. Tell the other students sharing the same shared memory pool that you are done with the paging device

configuration. Then go to Part 2: Configure your LPAR to use the shared memory pool.

__ d. If your disk device did not appear in the Paging Space Device(s) panel, then you need to clear any lingering disk information from previous classes. To clear the disk information, assign it to a new volume group then remove the volume group.

Here is an example using hdisk2:

# mkvg -f -vg myvg1 hdisk2

# reducevg myvg1 hdisk2

Now, return to the previous step 4b above to assign your paging device to the shared memory pool.

In document AP254XINST (Page 81-86)