Professional Documents
Culture Documents
1 on an Integrated Virtualization
Manager LPAR
John Ohle (johnohle@ie.ibm.com)
Software Engineer
IBM
22 July 2013
This tutorial explains to the readers in simple steps (and with an example) how to set up a
virtual server within Integrated Virtualization Manager (IVM), and how to install IBM AIX 7.1
onto the virtual server. This allows users to economically use the available resources within
their IVM.
Concept
I am a big fan of the movie Inception. The idea of a dream-within-a-dream-within-a-dream
is a unique and mind-blowing idea. How is this relevant, you may ask? Well, IBM Integrated
Virtualization Manager allows users to effectively install multiple server instances on a single
hardware blade as long as there are sufficient resources available. Think of it as servers-withina-server and you can see how the two relate. This concept provides IBM customers the ability to
maximize the functionality and performance of their assets, saving customer's time and money.
This tutorial explains the steps to set up a virtual server within the Integrated Virtualization
Manager and install AIX onto the virtual server. It does not document the installation process for
the Integrated Virtualization Manager, but you can refer to that step in the information center.
An example server is set up within this tutorial for reference. Screen captures are used wherever
applicable. At the end, you should have a working virtual server with AIX 7.1 installed within your
IBM IVM. This process can then be repeated for each virtual server that you want to set up.
For this tutorial, the example server is called example_server with the domain name
example_server.mul.ie.ibm.com. We will be working with a hardware server with a resource pool
of 16 dedicated processors, 64 GB RAM, and 10 TB of hard drive space. From this pool, we will
create a virtual server with seven dedicated processors and 30 GB RAM, with a modest 8 GB hard
drive space.
Copyright IBM Corporation 2013
Installing IBM AIX 7.1 on an Integrated Virtualization Manager
LPAR
Trademarks
Page 1 of 20
developerWorks
ibm.com/developerWorks/
2. In the right pane, click * Create Partition.... The Create Partition wizard is displayed. Using
this wizard, you can create the LPAR partition to install our AIX OS.
3. On the Name page, enter the name of your partition and click Next.
Tip:
In this tutorial, we are using example_server.mul.ie.ibm.com as the example server. While
you can name the partition anything you like without consequence, it is a good practice to
name it after the server host name that will be installed on it.
From the Environment drop-down list, it is important to make sure that AIX or Linux is
selected. The partition ID can be set to any value you like. In this example, the partition ID
value is set to 4.
Page 2 of 20
ibm.com/developerWorks/
developerWorks
4. On the next page, you can set the memory size that need to be exclusively available for the
partition.
5. Set a value in the Assigned memory field and click Next.
Note:
Memory allocated to this partition cannot be dynamically altered while the server is running,
but it can be changed later (if necessary) while the server is deactivated. In fact, most of
the partition parameters can be changed at a later stage if necessary. See Part 3 - Further
reading section for more details on this.
6. Next, we need to set the amount of processors we want to use with our partition. Using
dedicated processors generally gives a better, more stable performance for your virtual server
than using shared processors. However, for obvious reasons, this value must be set based
on the available resources. There is no difference in this tutorial if you choose shared over
dedicated processors.
Installing IBM AIX 7.1 on an Integrated Virtualization Manager
LPAR
Page 3 of 20
developerWorks
ibm.com/developerWorks/
In this example, we have eight dedicated processors available, from which can use seven for
our partition. After selecting the processing mode, click Next.
7. On the Ethernet page, the attached Ethernet adapters are listed. Select your values and click
Next.
Next, the Storage Type page is displayed. However, as we have not defined an exclusive
storage area for this partition yet, we are unable to proceed with defining further parameters
for our partition for the moment.
Page 4 of 20
ibm.com/developerWorks/
developerWorks
8. At this point, older versions of the IVM software might not provide any storage type options
here. In this case, you can proceed no further with setting the partition parameters. So, click
Finish to create the partition definition. You should now be able to see your newly created
partition on the partition overview page. Users experiencing this scenario should now proceed
to step 1.2 - Creating the virtual storage space.
Users with newer IBM updated software would find the storage type options, and they can
create a virtual disk from this page and continue. In this case, select the Create virtual disk
option and then click Next.
9. Enter your disk requirement and then click Next. In this example, we have chosen to create
an 8 GB partition on the rootvg storage pool.
10. Next, enter you Virtual Fiber Channel options. Click Add and then select your available virtual
Fiber Channels from the drop-down lists. When ready to proceed, click Next.
Page 5 of 20
developerWorks
ibm.com/developerWorks/
11. Under the Virtual Optical Devices section, click Create to create the vitual optical drive.
Within this virtual optical drive, we will place our AIX ISO file to install AIX on our partition.
Select your AIX ISO file from the and click OK. Repeat this process and add your second AIX
ISO file. To add your ISO files to your IVM, refer to the 1.3 - Adding virtual installation discs to
the virtual server section. This can be done without restarting the create partition process on
the original IVM browser window. When you are ready to proceed, click Next.
Page 6 of 20
ibm.com/developerWorks/
developerWorks
12. Finally, on the Summary page, review the options (and if necessary, click Back to return to
a section where you need to alter your choices). If all the options are correct, click Finish to
create your partition.
Page 7 of 20
developerWorks
ibm.com/developerWorks/
After completing these steps, proceed with the steps in the 1.3 - Adding virtual installation
discs to the virtual server section.
Page 8 of 20
ibm.com/developerWorks/
developerWorks
You should now see your newly created virtual storage in the overview window.
2. Under the Virtual Optical Media section, note that thesize of the media library is displayed.
The combined size of the two AIX .iso files is approximately just under 6 GB. So, make sure
Installing IBM AIX 7.1 on an Integrated Virtualization Manager
LPAR
Page 9 of 20
developerWorks
ibm.com/developerWorks/
that the size of your media library is set to a high enough value. If required, click Extend
Library and add the required size to your media library.
3. After this is set, click Add Media.... The Add Media dialog box is displayed.
4. Because the upload limit is set to 2 GB, the best option is to connect directly with your
Integrated Virtualization Manager system and use FTP to send the AIX .iso files over to it. For
this example, I have copied the AIX .iso files to the Integrated Virtualization Manager through
FTP to the location: /home/padmin/.
5. As the .iso files are now on the LPAR server, select Add existing file and enter the location
and file name of the AIX .iso files. Then click OK. This step needs to be done twice, once for
each of the AIX v7.1 .iso files, if needed.
Note that it can take a minute or two to load in the .iso files.
Page 10 of 20
ibm.com/developerWorks/
developerWorks
3. Under the Virtual Optical Devices section, click Create Device. This creates the virtual
optical drive for us to load our AIX .iso files. From the created device that is created when you
click Create Device, click Modify under Current Media and set the value to be your AIX Disc
1 ISO. When done, click OK.
You should now be able to see your AIX ISO file loaded into your Virtual Optical Drives
section (as shown in the following figure).
Tip:
If you need to install elements from disc 2, come back here after AIX has been installed and
change this value to your AIX disc 2 and restart the virtual server. The restart process will load
up from the AIX disc 2 ISO on launch.
Page 11 of 20
developerWorks
ibm.com/developerWorks/
1. First of all, connect to the Integrated Virtualization Manager through SSH or Remote Desktop
Client. This depends on the OS of the server on which your Integrated Virtualization Manager
is installed. For this example, we use SSH to connect to the Integrated Virtualization Manager.
2. We want to connect to the partition ID we created in Part 1. To do this, from the Integrated
Virtualization Manager SSH session, we use the mkvt command with the -id flag. So for our
server example, we use: mkvt -id 2
Nothing happens yet in the SSH session as our partition is still down. However, it is now
listening for input from the partition. So, when we start it up, we can see this terminal
populating with data.
3. Next, return to the Integrated Virtualization Manager in your browser and start up your created
partition.
4. On the partitions overview page, select the check box corresponding to your partition and
then click Activate.
6. While your partition is starting, click the terminal you have created.
Page 12 of 20
ibm.com/developerWorks/
developerWorks
Soon, the on-screen prompts appear and guide you through the rest of the setup.
You should install AIX v7.1 as per your requirement and allowances, based on the licence
type you have attained from your IBM vendor (Express, Standard or Enterprise). The
installation process can take upwards of an hour.
3. As soon as this is complete, set the input to xterm (or a different choice if you so prefer) and
accept the licence agreements.
Tip:
To access the on-screen options, use the Esc key plus the corresponding number instead
of the indicated Function keys (with the exception of the F10 key). For example, instead of
pressing the F3 key to cancel an action, press Esc+3.
Page 13 of 20
developerWorks
ibm.com/developerWorks/
4. Press Tab to change the value from no to yes and press Enter.
The COMMAND STATUS screen (as shown in the following figure) is displayed.
Page 14 of 20
ibm.com/developerWorks/
developerWorks
7. If necessary, press Tab to change the value from no to yes, and press Enter.
The COMMAND STATUS screen (as shown in the following figure) is displayed.
Page 15 of 20
developerWorks
ibm.com/developerWorks/
10. Select Tasks Completed Exit to Login after configuring the options.
You have now successfully installed AIX v7.1 on your virtual server.
Page 16 of 20
ibm.com/developerWorks/
developerWorks
Under the Virtual Fibre Channel section, click Add and select a physical port.
If more physical ports are available, add those from the drop-down as well
Then click OK to save these changes.
3. Allowing communication to and from the server
Though your AIX server is set up, it is likely that it is invisible to other computers on the
network. Do not forget to configure your new virtual server in accordance with your network
Page 17 of 20
developerWorks
ibm.com/developerWorks/
security protocols and compliancy checks. You can use the smitty tool to easily configure the
server to your network parameters.
A good starting point is to use the mktcpip command. You can use this with the smitty tool to
easily configure this command's arguments:
smitty mktcpip
You can contact your network administrator if you are facing issues with connecting your
virtual server to your network.
After it is down, the partition should also be deactivated within the Integrated Virtualization
Manager browser. If not, select the partition check box and click Shutdown.
Installing IBM AIX 7.1 on an Integrated Virtualization Manager
LPAR
Page 18 of 20
ibm.com/developerWorks/
developerWorks
After completing the shutdown procedure, click the partition name to open the Partition Properties
window.
From here, you can click any tab and alter the parameters. However, if you change any value
within a tab, you need to click OK at the bottom before changing tabs, as otherwise, the change
will not be saved. After making the changes, start the partition again. (Starting the partition will also
start the OS.)
Resources
Recommended reading:
IBM Systems Director Virtualization Manager information center
AIX 7.1 information center
Page 19 of 20
developerWorks
ibm.com/developerWorks/
Page 20 of 20