Under Construction

Creating an LPAR for a POWER based vHMC

The minimum requirements for a vHMC are the following:

    • 4 virtual processors (with an entitlement of at least 1.0)
    • 16GB RAM (minimum 8GB)
    • 1 500GB hard drive (minimum 160GB)
    • 2 network interfaces (maximum 4)

See: Installing the HMC virtual appliance – IBM Documentation

First, we create the LPAR with the command “lpar create” on the desired managed system (here ms01):

$ lpar -m ms01 create vhmc01 \
> min_procs=4 desired_procs=4 max_procs=8 \
> min_proc_units=1.0 desired_proc_units=1.0 max_proc_units=8.0 \
> min_mem=8G desired_mem=16G max_mem=32G
    > vhmc01
$

For the public network (open network) we create a virtual Ethernet adapter with VLAN 900 in slot 2:

$ lpar -p standard addeth vhmc01 2 900
$

Note: Since the LPAR is not active, the adapter can only be created in the profile! (The profile name “standard” is the default for the LPAR tool.)

For the private network with the managed systems, we create another virtual Ethernet adapter with VLAN 901 in slot 3:

$ lpar -p standard addeth vhmc01 3 901
$

Next, a virtual SCSI adapter is created in slot 4 for access to a disk and a virtual CD drive:

$ lpar -p standard addscsi vhmc01 ms01-vio1
vhmc01: slot 4 -> ms01-vio1/22 added to current profile (standard)
ms01-vio1: slot 22 -> vhmc01/4 added by DLPAR operation
$

In this example, we create a disk for the vHMC directly in the storage pool rootvg. Since the available capacity is limited here, we only use the minimum of 160 GB:

$ vios mkbdsp ms01-vio1 rootvg vhmc01_hd01 160G
$

The created backing device vhmc01_hd01 with 160 GB must then be assigned to the vHMC:

$ vios map ms01-vio1 vhmc01_hd01 vhmc01
$

Finally, a virtual CD drive must be created for installing the virtual HMC. For this you need the information about which vhost adapter on the virtual I/O server belongs to the LPAR:

$ vios lsvscsi ms01-vio1
SVSA SLOT CLIENT CLSLOT LUNS
vhost0 22 vhmc01(3) 4 1
$

The virtual SCSI server adapter for the vHMC is vhost0. The virtual CD drive can now be created with “vios mkvopt”:

$ vios mkvopt ms01-vio1 vhost0
$

The LPAR for the vHMC is now ready and can be started and installed.