Since the introduction of PowerVM Novalink  I have been constantly asked for details on what Novalink is and how to perform basic tasks via Novalink.  There is extensive documentation around Novalink on IBM’s Infocenter however I thought I’d give a brief breakdown of some of the main points around Novalink are the following:

  • Novalink is NOT a replacement for the HMC
    • HMC’s are still required for tasks such as microcode updates as well as call home
  • Novalink is an Openstack controller to use in conjuction with Openstack environments
    • i.e. PowerVC
  • Novalink allows RMC connections via the hypervisor to each LPAR on the system
    • Utilizes a management switch (MGMTSWITCH) on VLAN 4094
    • VSwitch should be configured as a Vepa mode switch to ensure communications can only be established between LPARs and the Novalink server (not in between LPARs)
    • Novalink adapter on MGMTSWITCH is configured as trunk for the vlan
  • Novalink is NOT an appliance,  it is composed of a set of Linux packages that can be installed on a Ubuntu ppc64le LPAR or RedHat  LPAR.
  • No WebUI is available for Novalink
  • Novalink can only perform operations on the frame it is located on.

To help people getting started with Novalink, I have listed a bunch of commands commonly used with Novalink for LPAR management. This is only a small subset of commands. Once you login to Novalink, you can see the rest of the commands by running ‘pvmctl help’ as long as you are a member of the pvm_admin group, only members of the pvm_admin group can run commands on a Novalink host. Again, this is a extremely small subset of commands. You can also see additional help for all the commands by checking the relevant help page for the command, i.e. pvmctl lpar help list will show you the help for the pvmctl lpar list command.


Informational Commands

DescriptionCommand
List LPARs on a systempvmctl lpar list
LPAR VIOS on a systempvmctl vios list
List specific LPAR idpvmctl lpar list -i id=<LPAR ID>
List all details for specific LPARpvmctl lpar list -i id=<LPAR ID> –all-out
List virtual NICs
pvmctl vea list
List virtual switches pvmctl vswitch list

LPAR Power On/Off and console

DescriptionCommand
Power on LPARpvmctl lpar power-on -i id=<LPAR ID>
Power off LPARpvmctl lpar power-off -i id=<LPAR ID>
Hard/immediate power off of LPARpvmctl lpar power-off -i id=<LPAR ID> –hard
Open virtual terminalmkvterm –id <LPAR ID>
Close virtual terminalrmvterm –id <LPAR ID>

VIOS Power On/Off and console

DescriptionCommand
Power on VIO Serverpvmctl vios power-on -i id=<VIOS ID>
Power off VIO Serverpvmctl vios power-off -i id=<VIOS ID>
Hard/immediate power off of VIO serverpvmctl vios power-off -i id=<VIOS ID> –hard
Open virtual terminalmkvterm –id <VIOS  ID>
Close virtual terminalrmvterm –id <VIOS ID>

Create/Update/Delete commands (Dynamic & Offline)

DescriptionCommand
Update allocated CPU pvmctl lpar update –set-fields SharedProcessorConfiguration.desired_units=<Entitled Capacity> SharedProcessorConfiguration.desired_virtual=<VCPU> -i id=<LPAR ID>
Update allocated memory pvmctl lpar update –set-fields PartitionMemoryConfiguration.desired=<MEMORY IN MB> -i id=<LPAR ID>
Create virtual NIC pvmctl vea create –pvid <vlan ID> –vswitch <vswitch Name> -p id=<LPAR ID> –slot=<adapter slot>
Delete virtual NIC pvmctl vea delete -p id=<LPAR ID> -i slot=<SLOT ID>

Note: The above commands can also be used to update CPU or Memory on an lpar while the LPAR is offline. Just like on an HMC managed system, the same limitations apply to DLPAR, updating the min/max values for cpu or memory will require the LPAR to be shutdown however most other commands can be performed dynamically provided you have an active RMC connection. Additional fields like PartitionMemoryConfiguration.max, PartitionMemoryConfiguration.min can also be specified in the same command however min/max can only be updated while the LPAR is offline.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *