First

There is no guarantee from the author. Use at your own risk. Check the License file.

Infrastructure

You need a *nix (Linux or Unix) with Python >= 2.6 <= 3
To install check the INSTALL file.

HMC

Works with HMC 7 and HMC 8, inluding vCO

Environment to Deploy OS Using a NIM Server


NIM Server

You need a configured and working NIM Server with SUDO installed.
Check the install procedure on INSTALL file.

Using the VMWare vCenter Orchestrator to create LPAR


TIP: The PowerAdm must be configured and running in text mode/ASCII.
  1. Login on the VMware vCenter Orchestrator using the vCenter Orchestrator Client
  2. Change the view from 'Run' to 'Design'
  3. Go to the 'Action'
  4. Create folder 'org.poweradm.basic'
  5. Left clic on folder 'org.poweradm.basic' and click on 'Import action...'.
  6. Select all actions in the vCO folder of PowerAdm package.
    • getVSW
    • getSystemList
    • getAddSSPDisk
    • getNPIV
  7. Go to the 'Workflows' folder
  8. Create on 'Custom' folder a new folder named 'PowerAdm'
  9. Left clic on 'PowerAdm' folder and click on 'Import workflows..'
  10. Left click on workflow PowerAdm and click on 'Edit'
  11. In General, change the Attribute Values:
    • powerAdmAddres [IP address of your server with PowerAdm]
    • powerAdmUser [Username of PowerAdm]
    • powerAdmPassword [Password PowerAdm user]
    • powerAdmPath [path installationz]

For more information visit vCo-forPowerAdm

Optional IDs Structure / Organize your IDs


This is required when you use 'vslot_std = True' on config file.

These IDs are well organized, assisting in the identification of devices, particularly in times of troubleshooting on environments with a large number of LPARs. These IDs also help managing the Live Partition Mobility. Therefore, if well organized, will always remain the same independent of the box.
For this, the following rules were established:
Every LPAR has a maximum number of virtual devices 40 and the following structure:
"VIOS" settings have the following default: Maximum number of virtual devices in the Primary VIO is 3500 and in the Secondary VIO 4500 allowing a total of 500 LPARs on this set of VIOS.
Other sample: If the maximum number of LPAR is 100 the number is changed to 3100 (VIO Primary) and 4100 (VIO Secundary)

Continuing...

Virtual SCSI IDs:
Fiber Channel IDs:

Example:

LPAR AIX1

LPAR AIX2

VIOS1

VIOS2

Maximum number of LPARs

You need to determine the maximum number of LPAR in your environment. Try to determine a an amount of memory and CPUs and the number of frames.
For example in my environment I have about 500 LPARs which I think are relatively many.

Maximum number of Virtual Adapter on VIOs Servers

On HMC select VIO LPAR: Configuration > Manage Profiles > Virtual Adapters check 'Maximum number of Virtual Adapters'

The rule:

On the primary VIO the Virtual Adapter Maximum Number is: 3+ "maximum number of LPARs" On the secundary VIO the Virtual Adapter Maximum Number is: 4+ "maximum number of LPARs".
Remember the Maximum number of LPARs In the example is 500.

Example:

Validate VIOs Adapter ID

In the VIOs Profile (Configuration > Manager Profiles > Virtual Adapters) check de largest Adapter ID.

How the Virtual Adapters in VIO are created by the Power Adm:

The rules are:

  1. 'LPAR ID' to first virtual SCSI on Primary VIO
  2. 'LPAR ID' to second virtual SCSI on Second VIO
  3. 'LPAR ID' to first virtual Fiber Channel (HBA) on Primary VIO
  4. 'LPAR ID' to second virtual Fiber Channel (HBA) on Second VIO

Example:

LPAR ID = 30
!! It is important to understand this in order to know how to adjust your environment to support the PowerAdm !!
You will need to manually create a LPAR with ID greater than its largest existing 'Adapter ID'.
If exists in my environment a LPAR with this ID or largest must get the next one.
It is easier to understand with an example:
  1. On my Primary VIO the largest 'Adapter ID' is 127
  2. On my Secound VIO the largest 'Adapter ID' is 110
  3. I need to manually create an LPAR with ID 28 with this configuration.
  4. If exists in my environment LPARs with IDs 28, 29, 30 will need to use the ID 31
  5. Create Manually LPAR with ID 31

    After creating the LPAR manually (LPAR ID 31), if I use the 'PowerAdm' to create a new she will get the ID 32.

    Its configuration will look like in the VIO:

  1. on the Primary VIO create manually 432
  2. on the Secound VIO create manually 332

on the LPAR use free IDs:

Need help ?

Send me an email: kairo[@]kairo.eti.br