VIO server using an HMC
This
guide is designed to give instructions on how to build a basic working
IBM VIO server. If like me you find the normally excellent IBM
documentation sometimes lacking on this subject and you have not been on
the IBM P-series Virtualisation seminar (I went after I had to build my
first 24/7 production environment which is kind of too late! -by the
way the seminar is recommended especially if you get it for free) this
might help fill in the gaps! In the example I am using HMC version 6
release 1.2 and an IBM P-Series 550 Model 9133-55A with 4 internal 72 GB
SCSI drives and a external storage array with 6 X 146 GB Hard Drives.
The machine has 16GB of Physical Memory and 8 Physical CPUS.
Step 1. Connect to your HMC management console. In
the left hand pane title navigation area under management environment,
select the server and partition + sign. Choose server management then
click on the P series server you wish to create a VIO server LPAR on. In
the example the P-series is called ERNAX01
Step 2. Create a new VIO Logical Partition. This is done by right clicking in the right hand pane under partitions.
Step 3.
This should kick off the Create Logical Partition Wizard. Enter a
suitable name for the VIO server. I used VIOSERVER01 as this is the
first on the system - you can have more than one. Choose the VIOServer
Radio button so the installer knows this is to be a VIO LPAR and not a
standard AIX/ LINUX lpar.
Step 4.
Next choose a name for the hardware profile. The hardware profile
defines which physical resources from the host machine (disks, memory
CPU). The resources you allocate are divided into two main groups;
resources which the VIO server use to do its job as VIO server such as
it's own system Harddisk, memory and CPU and resources which the VIO
server will share out to the other LPARS such as Hard Drives and Network
Adapters. You can have multiple hardware profiles and each profile can
be configured and re-configured at anytime. I, like a lot of people
just have the one profile which in this example I have called 'general'
Step 5.
Select the memory size you wish to assign the LPAR. It has three
levels, minimum, desired and maximum. This P550 host machine has 16GB
total so I can give it 1G 512MB as a desired and 2GB maximum. Checkout
IBM recommendations for system planning as memory usage will vary on the
size of your machine and what kind of load it will be under.
Step 6.
Choose the CPU model you wish to use. Either Dedicated or Shared. This
is a subject that needs much more explanation than the little coverage I
can give it in this article as CPU usage varies greatly from machine
setup and workload. For this example I have chosen the dedicated
option and just one CPU. I may find that is not enough as my machine is
built and tested. Luckily I can change it later on if required.
Step 7.
Next you choose the hardware components you wish to assign to your VIO
server. In this example I keep it simple and add a DVD-ROM (required to
install the VIO images) and the boot SCSI disk.
I am going to add them as desired. Later on I will add my components
that I wish to share with my other LPARS.
On the example system DVD rom is on BUS 3 SLOT T16 and internal SCSI bay
which controls my 4 internal 72GB harddrives one of which I will use
for my VIO LPARS system disk is on BUS 3 SLOT T14.
Remember this will vary from machine to machine so you will have
to find out for yourself what hardware you should add (trial and error
works fine by the way!)
Step 8.
Simply next through the question about I/O pools. You can revisit this
later. Say no to specify virtual adapters as you will do this when you
build your client lpars. Press next. Next through the power controlling
lpars as you can also revisit this later.
Step 9. Choose normal as a boot mode. This will allow the lpar to boot normally on startup. Click next.
Step 10. You are now presented with a screen which summarises your settings. Press Finish if you are happy with them.
Step 11. After a few seconds the profile will finish
while it builds the lpar. Whilst this is happening Insert your VIO DVD
ROM of your P-Series server.
Step 12. Boot the LPAR for the first time ready for to
install the VIOS. This is done by right clicking on the VIO server LPAR
and clicking 'ACTIVATE'. You will be presented with an activate logical
partition window - Press the 'Open Terminal Window or Console session
box' and presss OK.
Step 13.
You should be presented a with a Vterm Window which is the system
console of your newly created VIO LPAR. Click on this VTERM window and
press 0 to choose it as the system console.
Step 14.
After a moment the LPAR starts and begins to boot from the DVD-ROM. It
will ask you to press 1 to use this terminal window so press 1.
Step 15.
Choose your language (1 for English in my case). The next screen is the
BOS or base operating installatiion screen. In this example I choose 2
to enable me to choose my harddrive and it gives me a chance NOT to
overwrite the default LPAR. I made sure the hard disk I chose to
install the BOS onto was hdisk1 which was the next free drive.
Step 16.
Accept all your settings and press to install. You will now see a
progress bar which will indicate how long you have to wait until the VIO
system is installed
Step 17.
From the VIO server VTERM Console window login for the first time. The
user is padmin. You will immediately be asked to change your password.
Choose a new password. Once this is done you will be taken to the
command prompt. You will need to type license -accept to accept the
VIO license. You could type license -view if you are really bored and
wanted to read the license.
CONGRATULATIONS YOU NOW HAVE A WORKING VIO SERVER!