Novalink P9eig
Novalink P9eig
Novalink P9eig
PowerVM NovaLink
IBM
Note
Before using this information and the product it supports, read the information in “Notices” on page
53.
This edition applies to IBM® PowerVM® NovaLink Version 2.0.0.0, to IBM AIX® Version 7.2, to IBM AIX Version 7.1, to IBM
AIX Version 6.1, to IBM i 7.5 (product number 5770-SS1), to IBM Virtual I/O Server Version 3.1.3, and to all subsequent
releases and modifications until otherwise indicated in new editions.
© Copyright International Business Machines Corporation 2018, 2023.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
Contents
PowerVM NovaLink................................................................................................1
What's new in PowerVM NovaLink...............................................................................................................2
PowerVM NovaLink system requirements...................................................................................................4
Resource Monitoring Control (RMC) and PowerVM NovaLink.....................................................................5
Installing PowerVM NovaLink...................................................................................................................... 5
Adding the Virtual I/O Server installation files to the PowerVM NovaLink installer............................. 6
Setting up network installation of PowerVM NovaLink .........................................................................8
Installing the PowerVM NovaLink environment on a new managed system......................................10
Installing the PowerVM NovaLink software on a system that is managed by an HMC.......................15
Installing the PowerVM NovaLink software on a Red Hat Enterprise Linux partition........................ 18
Installing the PowerVM NovaLink software by using the PowerVM NovaLink Installer 2.0.............. 25
Installing Ubuntu 20.04 LTS on a PowerVM NovaLink partition......................................................... 26
Updating RSCT packages for PowerVM NovaLink............................................................................... 32
Updating PowerVM NovaLink.................................................................................................................... 33
Updating PowerVM NovaLink from an online repository.....................................................................34
Updating PowerVM NovaLink from a cloned repository......................................................................34
Updating the firmware on a system that is managed by PowerVM NovaLink.................................... 36
Upgrading PowerVM NovaLink software to version 2.0.2.........................................................................37
Upgrading PowerVM NovaLink software from version 2.0.3.1 to version 2.1.1 on an Ubuntu
partition ................................................................................................................................................40
PowerVM NovaLink API............................................................................................................................. 40
PowerVM NovaLink command-line interface............................................................................................41
Recovering the PowerVM NovaLink partition............................................................................................ 46
Accessing recovery tools from the PowerVM NovaLink installer........................................................ 47
PowerVM NovaLink system backup and restoration........................................................................... 48
Resetting a PowerVM NovaLink-managed system to an HMC-managed system.................................... 50
PowerVM NovaLink Access Control Framework ...................................................................................... 50
Notices................................................................................................................53
Accessibility features for IBM Power Systems servers............................................................................ 54
Privacy policy considerations ................................................................................................................... 55
Programming interface information.......................................................................................................... 56
Trademarks................................................................................................................................................ 56
Terms and conditions.................................................................................................................................56
iii
iv
PowerVM NovaLink
PowerVM NovaLink is a software interface that is used for virtualization management. You can install
PowerVM NovaLink on a PowerVM server. PowerVM NovaLink enables highly scalable modern cloud
management and deployment of critical enterprise workloads. You can use PowerVM NovaLink to
provision large numbers of virtual machines on PowerVM servers quickly and at a reduced cost.
PowerVM NovaLink runs on a Linux® logical partition on a POWER8 or POWER9 processor-based server
that is virtualized by PowerVM. You can manage the server through a representational state transfer
application programming interface (REST API) or through a command-line interface (CLI). You can also
manage the server by using PowerVC or other OpenStack solutions. PowerVM NovaLink is available at no
additional charge for servers that are virtualized by PowerVM.
PowerVM NovaLink can be installed only on POWER8 or POWER9 processor-based servers.
After you have completed your tasks on the HMC, run the following command from the HMC command
line to make PowerVM NovaLink the controller again.
Note: When a server is co-managed by the HMC and PowerVM NovaLink, partition profiles and system
plans are not supported, regardless of whether the HMC is set to the controller mode. Use the Enhanced
UI on the HMC to modify the current configuration of a partition. Use PowerVC or another OpenStack
solution to manage the flavors (resource profiles) for your PowerVM NovaLink servers.
The HMC retains its hardware and service management roles in a co-managed environment, even when
the HMC is not in controller mode. However, you must set the HMC to controller mode to perform any
operations that change the system state. Operations that change the system state include firmware
update, repair and verify, power on, or power off.
For more information about OpenStack, see the OpenStack documentation (http://docs.openstack.org/).
For more information about PowerVC, see the PowerVC Standard Edition information in IBM Knowledge
Center (https://www.ibm.com/support/knowledgecenter/SSXK2N).
August 2023
The following topic was removed:
• Installing Ubuntu 18.04 LTS in a PowerVM NovaLink partition
The following topic was added:
• “Installing Ubuntu 20.04 LTS on a PowerVM NovaLink partition” on page 26
The following topics were updated:
• “PowerVM NovaLink system requirements” on page 4
July 2022
The following topics were updated:
• “Installing the PowerVM NovaLink environment on a new managed system” on page 10
August 2021
The following topics were updated:
• “PowerVM NovaLink” on page 1
• “PowerVM NovaLink system requirements” on page 4
• “Setting up network installation of PowerVM NovaLink ” on page 8
• “Installing the PowerVM NovaLink environment on a new managed system” on page 10
• “Installing the PowerVM NovaLink software on a Red Hat Enterprise Linux partition” on page 18
• “Installing the PowerVM NovaLink software by using the PowerVM NovaLink Installer 2.0” on page 25
• Installing Ubuntu 18.04 LTS in a PowerVM NovaLink partition
• “Updating PowerVM NovaLink from a cloned repository” on page 34
• “Upgrading PowerVM NovaLink software to version 2.0.2” on page 37
• “PowerVM NovaLink Access Control Framework ” on page 50
March 2021
The following topics were updated:
• “Installing the PowerVM NovaLink software on a Red Hat Enterprise Linux partition” on page 18
• “Installing the PowerVM NovaLink software by using the PowerVM NovaLink Installer 2.0” on page 25
• Installing Ubuntu 18.04 LTS in a PowerVM NovaLink partition
• “PowerVM NovaLink command-line interface” on page 41
November 2020
The following topics were added:
• “Installing the PowerVM NovaLink software by using the PowerVM NovaLink Installer 2.0” on page 25
• Installing Ubuntu 18.04 LTS in a PowerVM NovaLink partition
• “Upgrading PowerVM NovaLink software to version 2.0.2” on page 37
The following topics were updated:
• “Installing the PowerVM NovaLink software on a Red Hat Enterprise Linux partition” on page 18
• “PowerVM NovaLink command-line interface” on page 41
May 2020
• A partition cannot be set as a Time Reference Partition (TRP) from PowerVM NovaLink. The command to
set up as TRP is not supported in PowerVM NovaLink.
• For information on the latest update on PowerVM NovaLink Version 1.0.016, see PowerVM Novalink
Readme.
PowerVM NovaLink 3
• A new warning message is displayed when the Virtual I/O Server partition is powered-off. For more
information, see “Updating the firmware on a system that is managed by PowerVM NovaLink” on page
36.
December 2019
You can specify the license key of IBM i logical partitions by using the PowerVM NovaLink CLI. For more
information, see “PowerVM NovaLink command-line interface” on page 41.
June 2018
PowerVM NovaLink supports storage redundancy in the PowerVM Open I/O mode as a Technology
Preview.
Server requirements
PowerVM NovaLink can be installed on POWER8 processor-based servers with firmware level FW840, or
later and POWER9 processor-based servers with firmware level FW910, or later. For systems that are
co-managed by a Hardware Management Console (HMC), firmware level FW840.11, or later, is required
for POWER8 servers and firmware level FW910, or later, is required for POWER9™ servers. If the server
does not have the required firmware level you must update the server firmware before you install
PowerVM NovaLink. If you are planning to use Software Defined Networking (SDN) Technology Preview
with PowerVM NovaLink, firmware level FW860, or later is required or POWER8 servers and firmware level
FW910, or later, is required for POWER9™ servers.
If you install the PowerVM NovaLink environment on a new managed system, the PowerVM NovaLink
installer creates the PowerVM NovaLink partition automatically. When the PowerVM NovaLink installer
creates the PowerVM NovaLink partition on a new managed system, the PowerVM NovaLink installer
always uses virtualized storage that is provisioned from the Virtual I/O Server. The installer creates logical
volumes from the VIOS rootvg for the PowerVM NovaLink partition. If you set the PowerVM NovaLink
Reliable Scalable Cluster Technology (RSCT) for Resource Monitoring Control (RMC)
connections
To enable IPv6 link-local address support for Resource Monitoring Control (RMC) connections, update the
Reliable Scalable Cluster Technology (RSCT) packages on AIX and Linux logical partitions to be at version
3.2.1.0 or later.
For information about updating RSCT packages, see “Updating RSCT packages for PowerVM NovaLink” on
page 32.
PowerVM NovaLink 5
managed by a Hardware Management Console (HMC), create a Linux logical partition, and use the
PowerVM NovaLink installer to prepare and install the Linux operating system and the PowerVM NovaLink
(and related) software.
Adding the Virtual I/O Server installation files to the PowerVM NovaLink
installer
The downloaded PowerVM NovaLink installer contains a copy of the Ubuntu Linux operating system and
the PowerVM NovaLink software. To install the entire PowerVM NovaLink environment on new servers,
add the Virtual I/O Server (VIOS) installation files to the PowerVM NovaLink installer.
Procedure
1. Access the command-line interface on the Linux PC or notebook.
2. Insert the first Virtual I/O Server installation disc and extract the disc image to your home directory
by entering the following command. Replace /dev/srx with the device name (for example, /dev/
sr0).
3. Insert the second Virtual I/O Server installation disc and extract the disc image to your home
directory by entering the following command. Replace srx with the device name (for example, sr0).
4. Copy the PowerVM NovaLink installer to the home directory on the Linux PC or notebook.
5. Copy the installation files from the Virtual I/O Server installation images by entering the following
commands.
6. Open the /vios_files/bosinst.data file in a text editor and set the SIZE_MB entry in the
target_disk_data section to be SIZE_MB=61140.
7. Copy the files from the PowerVM NovaLink installer by entering the following commands. Ensure that
the hidden .disk directory is copied to the new directory.
8. Copy the Virtual I/O Server installation files to the vios/inst.images directory by entering the
following command.
9. Regenerate the PowerVM NovaLink installer with the Virtual I/O Server installation files by entering
the following command on one line.
10. To create a bootable USB drive by using the PowerVM NovaLink image, complete the following steps.
If you plan to install PowerVM NovaLink from a netboot server, you do not need to complete this step.
a) Insert a USB drive into the PC or notebook. The USB drive must have at least 6 GB of free space.
b) Use the dmesg command to show the device name of the USB drive (for example, sdc).
c) Enter the mount command to check for partitions on the USB drive. If partitions exist, enter the
umount command as a root user to unmount all partitions from the USB drive.
For example, if the device name is /dev/sdc, run the mount command and check for any mount
points with /dev/sdcx (for example, /dev/sdc1). Enter the umount /dev/sdcx command for
all such mount points that you find.
d) Copy the image to the USB drive by entering the following command. Replace /dev/sdx with the
device name.
Related information
Customizing and using the bosinst.data file
PowerVM NovaLink 7
Setting up network installation of PowerVM NovaLink
For easier installation of PowerVM NovaLink to multiple servers, you can choose to install PowerVM
NovaLink from a network by using netboot.
Procedure
1. Access the command line of an Ubuntu Linux logical partition.
2. Install the bootp protocol on the Ubuntu Linux logical partition by entering the following command.
3. Create the netboot (bootp) server database file /etc/bootptab by entering the
command sudo vi /etc/bootptab. Enter the following text in the /etc/bootptab
file. Replace HOST_IP_ADDRESS, SUBNET MASK, GATEWAY_IP_ADDRESS, DOMAIN_NAME,
NAME_SERVER_IP_ADDRESS, and BOOT_SERVER_IP_ADDRESS with the values for your network.
neo-dev-19:\
bf=core.elf:\
ip=HOST_IP_ADDRESS:\
sm=SUBNET_MASK:\
gw=GATEWAY_IP_ADDRESS:\
dn=DOMAIN_NAME:\
ns=NAME_SERVER_IP_ADDRESS:\
sa=BOOT_SERVER_IP_ADDRESS:
4. Install the tfptd-hpa and tftp-hpa packages on the Linux logical partition. After installation of the
packages, the tftp server starts in a secure mode and uses /var/lib/tftpboot as the root
directory.
5. Create a grub /var/lib/tftpboot/core.elf file that supports network booting by entering
the following command in one line: grub-mkimage --output=/var/lib/tftpboot/core.elf
--format=powerpc-ieee1275 boot configfile echo elf http ieee1275_fb linux
loadenv ls net normal ofnet reboot regexp serial sleep tftp time true date
-p /
6. Create a /var/lib/tftpboot/grub.cfg file.
Alternatively, you can create a /var/lib/tftpboot/grub.cfg file by entering the command
sudo vi /var/lib/tftpboot/grub.cfg and by entering the following text in the /var/lib/
tftpboot/grub.cfg file. Replace GATEWAY_ADDRESS, SUBNET MASK, GATEWAY_IP_ADDRESS,
and HOST_NAME with the values for your network.
To get the exact GRand Unified Bootloader (GRUB) file for Ubuntu 2004, refer to the Green Field
Installation (GFI) procedure of Ubuntu (Installing Ubuntu 20.04 LTS on a PowerVM NovaLink partition
by using the autoinstall config).
7. Create a /tftpboot/grub.cfg/var/www/html/novalink-vios directory and then copy the
Virtual I/O Server installation files to this directory. Complete the following steps:
a) Insert the first Virtual I/O Server installation disc and extract the disc image to your home
directory by entering the following command. Replace /dev/srx with the device name (for
example, /dev/sr0).
b) Insert the second Virtual I/O Server installation disc and extract the disc image to your home
directory by entering the following command. Replace srx with the device name (for example,
sr0).
c) Copy the installation files from the Virtual I/O Server installation images by entering the following
commands.
PowerVM NovaLink 9
d) Open the /var/www/html/novalink-vios/bosinst.data file in a text editor and set the
SIZE_MB entry in the target_disk_data section to be SIZE_MB=61140.
e) Concatenate the mksysb files into a single file by entering the following commands.
8. Copy the PowerVM NovaLink installer ISO file to your netboot (bootp) server at the following location:
$HOME/novalink.iso.
9. Create a /var/www/html/novalink and /var/lib/tftpboot/novalink directory. Mount the
PowerVM NovaLink image over it by entering the following commands.
Procedure
1. If you are installing PowerVM NovaLink from a bootable USB drive, plug the drive into a USB port
on the managed system. If you want to network install PowerVM NovaLink, connect an Ethernet port
(other than the service processor ports) to the network in which the netboot server resides. Also, you
must use a grub file for the network install. An example grub file follows:
set default=0
set timeout=10
PowerVM NovaLink 11
{hostname}::none nameserver=${domainnameserver} inst.repo=http://${net_default_server}/
novacentos8 BOOTIF=${net_default_mac}\
pkgsel/language-pack-patterns= \
pkgsel/install-language-support=false \
netcfg/disable_dhcp=true \
netcfg/choose_interface=auto \
netcfg/get_ipaddress=${ipaddr} \
netcfg/get_netmask=${netmask} \
netcfg/get_gateway=${gateway} \
netcfg/get_nameservers=${nameserver} \
netcfg/get_hostname=${hostname} \
netcfg/get_domain=${domain} \
debian-installer/locale=en_US.UTF-8 \
debian-installer/country=US \
pvm-repo=http://${serveraddress}/novalink_dev_test/repo \
pvm-viosdir=http://9.114.254.135/vios/31314/2211A_72X/ \
pvm-install-other-os=RHEL \
pvm-os-install-source=http://9.47.68.254/rhel84_new/ \
pvm-ks-file=http://9.47.68.254/novalink_install_cfgs/rhel8/novalink-arch-finalRHEL84-ks.cfg
initrd //novacentos8/ppc/ppc64/initrd.img
}
2. Prepare the system for PowerVM NovaLink installation by using the Advanced System Management
Interface (ASMI) by completing the following steps.
a) If you have already configured the IP address of the FSP of the managed system, access the ASMI
by using the administrator account by using a browser on another system. Otherwise, access the
ASMI by using the PC or notebook.
For information about how to connect to ASMI by using the PC or notebook, see Accessing the
ASMI using a PC or notebook and web browser.
b) If the system is powered on, power off the system from the ASMI by clicking Power/Restart
Control > Power On/Off System.
c) If the system was used earlier, you must clear the system firmware configuration by clicking
System Service Aids > Factory Configuration.
Ensure that you select only Reset server firmware settings.
d) If the system is found connected to an Hardware Management Console HMC, disconnect the
system by clicking System Configuration > Hardware Management Consoles, then click Reset the
server to a non-HMC-managed configuration.
To disconnect a Central Electronics Complex (CEC) from an Hardware Management Console HMC,
log in to the HMC. Select the CEC on which the PowerVM NovaLink installation is done. Click Action
> Reset or Remove System Connection. On the window that is displayed, select the Remove
connection and click OK.
e) Enable Intelligent Platform Management Interface (IPMI) in the managed system by clicking
System Configuration > Console Type > IPMI.
f) Set the IPMI password by clicking Login Profile > Change Password > User ID IPMI and entering a
password.
g) From ASMI, power on the system to boot to the SMS menu by clicking Power/Restart Control >
Power On/Off System and change AIX/Linux partition mode boot to Boot to SMS menu.
If Boot to SMS menu is not an available option, click System Configuration > Firmware
Configuration, select PowerVM, and click Save. Set Server Firmware Start Policy to Running.
Click Save settings and power on.
h) Use the IPMI console on a running Linux instance in another system to access the SMS menu. This
Linux instance must have the ipmitool command installed. Enter the following command, and
then enter the IPMI password (as set in step “2.f” on page 12) when prompted to check the power
status of the system:
where FSP-ip-addr is IP address of the FSP that is used in a browser to access ASMI.
Connect the IPMI console to the system by running the following command:
3. If you are installing PowerVM NovaLink from the network, open an SSH terminal session to the netboot
server and add the managed system to the /etc/bootptab file on the netboot server.
Choose an IP address, subnet mask, and gateway IP address for the managed system, and note the IP
address of the netboot server.
4. Select the boot device by using the SMS menu.
You can select either a USB drive or a netboot server as the boot device. For your chosen boot device,
complete the steps listed in the following table.
Boot Steps
device
type
USB drive a. From the SMS menu, enter 5 to select boot options.
b. Enter 1 to select the install/boot device.
c. Enter 7 to view a list of all boot devices, and then enter the number that corresponds
to the USB drive.
d. Enter 2 to perform a normal mode boot, and then enter 1 to exit the SMS menu and
to start the boot process.
Netboot a. From the main menu, enter 2 to set up the remote IPL.
server
b. Enter the number that corresponds to the Ethernet adapter that you want to use.
c. Enter the number for IPv4 IP addresses.
d. Enter the number for BOOTP as your network service.
e. Enter 1 for IP parameters.
f. Set the IP parameters:
• Client IP Address is the IP address that you set for the managed system in
the /etc/bootptab file on the netboot server.
• Server IP Address is the IP address of the netboot server.
• Gateway IP Address is the gateway IP address that you set for the managed
system in the /etc/bootptab file on the netboot server.
• Subnet Mask is the subnet mask that you set for the managed system in
the /etc/bootptab file on the netboot server.
g. Press ESC, enter 3 for ping test, enter 1 for execute ping test, and verify that the
netboot server is reachable.
h. Enter M to return to the main menu.
i. From the main menu, enter 5 to select boot options.
j. Enter 1 to select the install/boot device.
k. Select Network, BOOTP and then select the network card that you configured.
l. Enter 2 to perform a normal mode boot, and then enter 1 to exit the SMS menu and
to start the boot process.
5. At the GNU GRand Unified Bootloader (GRUB) screen, select the PowerVM NovaLink Install/Repair
option.
6. Complete the PowerVM NovaLink installation wizard.
PowerVM NovaLink 13
a) Select Choose to perform installation and press Next. Use the Tab key to move the cursor to the
Next button and press the Enter or Space key.
b) Select Choose to provide custom values and press Next.
c) Press I Accept for the license agreement and press Next.
d) Enter the user name and password of the administrators of PowerVM NovaLink and the Virtual I/O
Servers and press Next.
e) Enter the network configuration settings for the PowerVM NovaLink logical partition and press Next.
f) If you configured GRUB to enable SDN Technology Preview mode, complete the following steps:
• Select Choose to enable SDN and press Next.
• Specify the processor and memory settings for the PowerVM NovaLink logical partition and press
Next.
g) Select whether you want I/O redundancy and press Next. If you select Choose to create I/O
redundancy, the installation creates 2 VIOS logical partitions that collectively provide redundancy
for the disk data of the VIOS-client logical partition.
h) Specify the processor and memory settings for VIOS logical partitions and press Next.
i) Verify the physical I/O settings.
This screen assigns physical I/O (disk and network) adapters on the server to the VIOS logical
partitions. If you are using the SDN Technology Preview mode, you can also allocate network
adapters to the PowerVM NovaLink logical partition. The network adapters assigned to the
PowerVM NovaLink logical partition will be assigned to Open vSwitch-client logical partitions in
the managed system.
By default, the installer automatically divides all physical I/O adapters between the two VIOS
instances if VIOS redundancy was selected and the following conditions apply:
• Each VIOS must be assigned at least one adapter that serves disk I/O
• Each VIOS must be assigned at least one Ethernet adapter that is cabled.
• If using SDN Technology Preview mode, the PowerVM NovaLink logical partition must be assigned
at least one cabled Ethernet adapter
Note that this screen may consist of multiple sub-screens for a server with many adapters. Use the
View More and View Previous buttons to navigate among the sub-screens. To assign an adapter to
an owner-logical partition, use the Tab key to skip to the correct radio button, press the Enter or
Space key to select the radio button. Press Next to go to the next wizard task. To understand the
location codes for POWER9 systems, see Part locations and location codes.
j) If you are using SDN Technology Preview mode, complete the following steps:
• Select the ports to be used for SDN Virtual Network Bridge and press Next. This screen lists all
the network ports from the previously assigned network adapters. Select two or more ports to
create a link aggregation device.
• Select the Link Aggregation parameters for the SDN Virtual Network Bridge and press Next.
k) Select the ports to be used for VIOS-SEA Network Bridges and press Next.
This screen lists all the network ports from the previously assigned network adapters. This step will
be repeated for each VIOS instance.
l) If you selected two or more ports to be used for VIOS-SEA Network Bridges, select the Link-
aggregation type and press Next.
m) Enter the Network configuration settings for Virtual I/O Servers and press Next.
n) Review the settings in the summary screen and press Finish.
In the Summary screen, you can review the configured installation options, and optionally manually
edit the options. To change specific configuration settings, move the cursor to the specific field and
select the Edit Settings button.
timedatectl list-timezones
and find the line for your time zone location. For example: “America/Indiana/Indianapolis”.
– Move the cursor to the line containing timezone =, and replace it with the desired timezone
value. For example: “America/Indiana/Indianapolis”.
– Press Ctrl+X to save and exit to the Summary screen.
• To use your own Network Installation Manager (NIM) server for installation of Virtual I/O Server,
complete the following actions:
– Select Edit Settings.
– Set VIOSNIMServerConfig > viosinstallprompt to True and exit.
Results
After you specify installation parameters, the PowerVM NovaLink installer creates one or two Virtual I/O
Server logical partitions. PowerVM NovaLink installer then creates a Linux logical partition and installs the
Ubuntu Linux operating system and the PowerVM NovaLink software on the partition.
For faster installation of PowerVM NovaLink on a system with more than 100 GB of memory, press
Ctrl+C when prompted to at the end of the Installer wizard and choose the reboot option. Choosing to
reboot allows you to avoid waiting for the memory and I/O slots to be reallocated dynamically. Dynamic
reallocation of memory can take a long time to complete on a system with a large amount of memory.
However, you must complete the wizard again after the reboot operation completes.
During the installation of the Virtual I/O Server partitions, you can open a virtual terminal session for the
partitions to change the partition configuration if necessary. To open a virtual terminal session for a Virtual
I/O Server partition, press Ctrl+Z to access a shell prompt and enter mkvterm --id 2 or mkvterm
--id 3. To exit the virtual terminal session enter CTRL ], then type exit to go back to the PowerVM
NovaLink installer status screen.
What to do next
When the installation of PowerVM NovaLink is complete, update the Ubuntu Linux operating system and
the PowerVM NovaLink software if needed.
PowerVM NovaLink 15
5692-A6P 2324 NovaLink feature code. Use the installation image to create a bootable USB drive.
Alternatively, you can set up a netboot (bootp) server that has the PowerVM NovaLink image to install
PowerVM NovaLink from a network. You can also mount the PowerVM NovaLink image as a virtual
optical drive in a Virtual I/O Server partition.
• To install PowerVM NovaLink by using a netboot (bootp) server, you must set up the netboot (bootp)
server that has the PowerVM NovaLink image. For information about how to set up a netboot (bootp)
server, see “Setting up network installation of PowerVM NovaLink ” on page 8.
• Update the system firmware to the latest version. Download the latest system firmware from IBM Fix
Central (http://www.ibm.com/support/fixcentral/). You can update the system firmware by using the
HMC.
Procedure
1. If you are installing PowerVM NovaLink from a bootable USB drive, plug the drive into a USB port on
the managed system. If you are installing PowerVM NovaLink from the network, connect an Ethernet
port other than the service processor ports to the network on which the netboot server resides.
2. Create a Linux logical partition on the managed system by using the HMC.
When you create the Linux logical partition, assign the following resources to the partition:
• 0.5 shared processors that are uncapped with a non-zero weight and 2 virtual processors
• 6.5 GB of memory, which you can adjust to 2.5 GB after installation
• At least 30 GB of storage
• A virtualized network that is bridged through the shared Ethernet adapter (SEA)
• Maximum virtual slots that are set to 200 or higher
For more information about how to create a Linux partition by using the HMC, see Creating a logical
partition by using a template.
From the HMC command line, enter the following command to apply the profile for the Linux partition.
In this command, sys_name is the name of the managed system, lpar_id is the partition ID of the
Linux partition, and profile_name is the name of the profile.
3. From the HMC command line, enter the following command to enable co-management.
In this command, sys_name is the name of the managed system.
4. From the HMC command line, enter the following command to enable PowerVM NovaLink support for
the logical partition.
In this command, sys_name is the name of the managed system and lpar_id is the ID of the
PowerVM NovaLink partition.
7. Return to the terminal window for the logical partition and select the boot device by using the SMS
menu.
You can select either a USB drive or a netboot server as the boot device. To select the boot device,
complete the steps for the type of boot device that you are using.
Boot Steps
device
type
USB drive a. From the main menu, enter 5 to select boot options.
b. Enter 1 to select the install/boot device.
c. Enter 7 to view a list of all boot devices, and then enter the number that corresponds
to the USB drive.
d. Enter 2 to perform a normal mode boot, and then enter 1 to exit the SMS menu and
to start the boot process.
Netboot a. From the main menu, enter 2 to set up the remote IPL.
server
b. Enter the number that corresponds to the Ethernet adapter that you want to use.
c. Enter the number for IPv4 IP addresses.
d. Enter the number for BOOTP as your network service.
e. Enter 1 for IP parameters.
f. Set the IP parameters:
• Client IP Address is the IP address that you set for the managed system in
the /etc/bootptab file on the netboot server.
• Server IP Address is the IP address of the netboot server.
• Gateway IP Address is the gateway IP address that you set for the managed
system in the /etc/bootptab file on the netboot server.
• Subnet Mask is the subnet mask that you set for the managed system in
the /etc/bootptab file on the netboot server.
g. Press ESC, enter 3 for ping test, enter 1 for execute ping test, and verify that the
netboot server is reachable.
h. Enter M to return to the main menu.
i. From the main menu, enter 5 to select boot options.
j. Enter 1 to select the install/boot device.
k. Select Network, and then select the configured network card.
l. Enter 2 to perform a normal mode boot, and then enter 1 to exit the SMS menu and
to start the boot process.
8. At the GNU GRand Unified Bootloader (GRUB) screen, select the PowerVM NovaLink Install/Repair
option.
9. Complete the PowerVM NovaLink installation wizard.
a) Select Choose to perform installation and click Next.
b) Select I Accept for the license agreement and click Next.
c) Enter the user name and password of the PowerVM NovaLink administrator and click Next.
d) Enter or verify the network configuration settings and click Next.
PowerVM NovaLink 17
e) Review the settings and click Finish.
Results
After you specify installation parameters, the PowerVM NovaLink installer installs the Ubuntu Linux
operating system and the PowerVM NovaLink software on the Linux partition.
What to do next
After the installation is complete, update the Ubuntu Linux operating system and the PowerVM NovaLink
software if needed.
/opt/ibm/novalink/bin/import-ibm-novalink-repo-key.sh
a. wget ftp://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-
latest.noarch.rpm
5. Run the /opt/ibm/lop/configure command and accept the license statement to set up the
repository.
6. For information about how to enable Extra Packages for Enterprise Linux (EPEL) repository for the
partition, see https://fedoraproject.org/wiki/EPEL.
• To install the YUM repository on RHEL 8, complete the following steps:
1. Sign in to the RHEL partition as root user and complete the registration of RHEL.
2. Enable the following repositories:
– AppStream
– Supplementary
– BaseOS
3. To install the Extra Packages for Enterprise Linux (EPEL) repository for the partition, run the following
commands:
c. yum update
d. reboot
[novalink]
name=NovaLink
baseurl=http://public.dhe.ibm.com/systems/virtualization/Novalink/rhel/82/
novalink_2.0.3
enabled=1
gpgcheck=0
[novalink]
name=NovaLink
baseurl=file://<CD Mount Point>/repo/rhel8/
enabled=1
gpgcheck=0
PowerVM NovaLink 19
5. Run the following commands to obtain RPM files from RSCT and the ibm-power-repo package:
a. wget ftp://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-
latest.noarch.rpm
6. After you install the RPM package, run the following command:
/opt/ibm/lop/configure
Note: You must not combine this command with step “6” on page 20.
2. Sign in to the RHEL partition as root user.
3. To check if the SELinux variable is in disabled mode or permissive mode, run the following command:
getenforce
setenforce disabled
Alternatively, run the following command to disable the SELinux variable and reboot the PowerVM
NovaLink partition:
vi /etc/sysconfig/selinux
Change the variable as SELINUX=disabled
5. To stop and disable the firewall service, run the following commands:
7. After the installation is complete, you can add the admin user to the pvm_admin group by running
the following command:
• To install the PowerVM NovaLink environment on a RHEL 8.2, or later partition complete the following
steps:
1. Sign in to the RHEL partition as root user.
2. To install the PowerVM NovaLink stack, run the following command:
4. To create a soft link for Python 3 as Python, choose either Method 1 or Method 2:
– Method 1
a. Run the following command:
ln -s /usr/bin/python3 /usr/bin/python
#platform=Power VM
#version=DEVEL
# Firewall configuration
firewall --disabled
auth --passalgo=sha512
text
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
PowerVM NovaLink 21
# Do not configure the X Window System
skipx
services --enabled=sshd
logging --level=debug
# System timezone
timezone America/Chicago
bootloader --driveorder=sda,sdb
reboot
%packages
kernel-headers
kernel-devel
openssh*
parted*
net-tools*
@base
epel-release
telnet
%end
%post --log=/var/log/novalink-post.log
[IBM_Power_SDK_Tools]
name=IBM Power SDK Tools
baseurl=http://public.dhe.ibm.com/software/server/POWER/Linux/yum/SDK/RHEL/7/ppc64le
enabled=1
gpgcheck=0
[Advance_Toolchain]
name=Advance Toolchain
baseurl=ftp://ftp.unicamp.br/pub/linuxpatch/toolchain/at/redhat/RHEL7
enabled=1
gpgcheck=0
EOF
dd if=/dev/sda1 of=/dev/sdb1
parted /dev/sda set 1 boot on
parted /dev/sdb set 1 boot on
%end
#platform=Power VM
#version=DEVEL
# Firewall configuration
firewall --disabled
PowerVM NovaLink 23
authselect --passalgo=sha512
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# System timezone
timezone America/New_York
# bootloader --driveorder=sda
# part None --fstype prepboot --ondrive=sda --size 8
# part /boot --size 300 --fstype ext4 --ondisk /dev/sda
# part pv.01 --size 1 --grow --ondisk /dev/sda
# volgroup pvmvg pv.01
# logvol / --vgname=pvmvg --name=root --size=9216
# logvol /var --vgname=pvmvg --name=var --size=10240
# logvol /tmp --vgname=pvmvg --name=tmp --size=1024
# logvol swap --vgname=pvmvg --name=swap --fstype swap --size=4096
# logvol /home --vgname=pvmvg --name=home --size=1 --grow
# clearpart --drives=sda --all --initlabel
# Setup RAID
part raid.00 --size 256 --asprimary --ondrive=sda
part raid.10 --size 256 --asprimary --ondrive=sdb
part raid.01 --size 29696 --asprimary --ondrive=sda
part raid.11 --size 29696 --asprimary --ondrive=sdb
%packages
kernel-headers
kernel-devel
openssh*
parted*
net-tools*
@base
telnet
%end
#%pre
#echo "Cleaning the partitions"
#dd if=/dev/zero of=/dev/sda bs=512 count=1
#dd if=/dev/zero of=/dev/sdb bs=512 count=1
#%end
What to do next
When the installation completes, update the PowerVM NovaLink software if required.
PowerVM NovaLink 25
a. Use the novalinkautoinstaller.repo file that is available at the /etc/yum.repos.d/
novalinkautoinstaller.repo repository. A sample novalinkautoinstaller.repo file
follows:
Note: You must change the baseurl variable to either a public repository or a local repository.
2. Download the Virtual I/O Server (VIOS) ISO image on the HMC.
3. Reset the server firmware settings and power on the managed system.
4. Connect the CEC or frame to the HMC. You must ensure that the CEC or the frame must be in an
Operating state.
5. Log in to IBM PowerVC and run the following command to generate the
NovaLinkInstallerTemplate.xls file.
Note: You must specify the value for the installation_mode as normal.
6. Enter the required details in the columns that are highlighted in yellow color in the
NovaLinkInstallerTemplate.xls excel file for the RHEL partition.
On the VIOS tab of the excel sheet, enter the following details:
• ISO path of the VIOS image in the HMC. For example, /dump/vios3.1.2.0/dvdimage.v1.iso.
• IP address details of the VIOS partition and the port VLAN ID.
• Select the adapters that are marked as Required. You must select one network adapter and one
storage adapter for each VIOS.
On the NovaLink tab of the excel sheet, enter the following details:
• IP address details of the PowerVM NovaLink partition and the bootP server.
• Use the same Port VLAN ID that you entered in the VIOS tab.
• Hostname of the PowerVM NovaLink partition.
7. To install the VIOS and the PowerVM NovaLink software in the partition, at the remote terminal session
(such as PuTTY), run the following command:
Note: You must specify the value for the installation mode as normal.
8. The PowerVM NovaLink software is installed successfully in the partition. After the installation
completes, a message is displayed and PowerVM NovaLink software is configured successfully. Press
Enter or press Return to go to the login prompt.
Procedure
To install the Ubuntu 20.04 LTS operating system on to the PowerVM NovaLink partition by using the
autoinstall config, complete the following steps:
Note: PowerVM NovaLink software version 2.1.0, or later is supported only with Ubuntu 20.04 LTS and
RHEL 8.2, or later operating systems. PowerVM NovaLink version 1.x.x.x is not supported if you have
Ubuntu 20.04 LTS and RHEL 8.2 operating systems.
1. Select a GNU GRand Unified Bootloader (GRUB) file. An example GRUB file follows:
Notes:
• Use the URL as specified in the netboot (bootp) server for the pvm-viosdir variable.
• The location of the novarhel8 test file system varies based on the mount point of the bootp
server.
• The location of the ubuntu 2004 file system varies based on the mount point of the bootp server.
set default=0
set timeout=-1
menuentry 'NovaLink install To install VIOS & set for Other OS' {
insmod http
insmod tftp
regexp -s 1:mac_pos1 -s 2:mac_pos2 -s 3:mac_pos3 -s 4:mac_pos4 -s 5:mac_pos5 -s 6:mac_pos6
'(..):(..):(..):(..):(..):(..)' ${net_default_mac}
set bootif=${mac_pos1}:${mac_pos2}:${mac_pos3}:${mac_pos4}:${mac_pos5}:${mac_pos6}
set root=http,${net_default_server}
set domain=${net_ofnet_network_domain}
set ipaddr=${net_default_ip}
PowerVM NovaLink 27
netcfg/get_gateway=${gateway} \
netcfg/get_nameservers=${nameserver} \
netcfg/get_hostname=${hostname} \
netcfg/get_domain=${domain} \
debian-installer/locale=en_US.UTF-8 \
debian-installer/country=US \
pvm-repo=http://${net_default_server}/novalink_dev/repo \
pvm-viosdir=http://9.114.254.135/vios/31314/2205A_72X/
initrd //novacentos8/ppc/ppc64/initrd.img
}
menuentry 'Novalink Automated Install for UBUNTU2004' {
insmod http
insmod tftp
regexp -s 1:mac_pos1 -s 2:mac_pos2 -s 3:mac_pos3 -s 4:mac_pos4 -s 5:mac_pos5 -s 6:mac_pos6
'(..):(..):(..):(..):(..):(..)' ${net_default_mac}
set bootif=${mac_pos1}:${mac_pos2}:${mac_pos3}:${mac_pos4}:${mac_pos5}:${mac_pos6}
regexp -s 1:prefix '(.*)\.(\.*)' ${net_default_ip}
initrd //ubuntu2004/casper/initrd.gz
}
Note: In the GRUB file, the following command-line is hardcoded with the IP address and URL. It is
enclosed within single quotation marks:
'ds=nocloud-net;seedfrom=http://9.47.68.254/novalink_install_cfgs/ubuntu/
ubuntu2004/'
2. To perform a scratch installation by using the PowerVM NovaLink installer ISO file, complete the
following steps:
a. Reset the server firmware by using the Intelligent Platform Management Interface (IPMI) tool.
b. Follow the instructions on the Complete Novalink wizard and include information such as whether
it is a single or dual Virtual I/O Server (VIOS), adapter attachments, and the IP addresses for VIOS
and PowerVM NovaLink.
c. Install VIOS from the PowerVM NovaLink ISO file.
d. Create a PowerVM NovaLink logical partition.
e. Install the PowerVM NovaLink-specific operating system (Ubuntu or Red Hat Enterprise Linux)
3. In the GNU GRand Unified Bootloader (GRUB) screen, select the NovaLink install To install VIOS and
set for Other OS option and continue with the next step.
+--------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
+--------------------------------------------------------------------------------------------
-+
Note: If you want to reinstall the operating system on the PowerVM NovaLink logical partition, restart
the PowerVM NovaLink logical partition and navigate to the SMS menu.
6. From the SMS menu, select the logical adapter that is connected to the public VLAN, typically the first
adapter in the list. By default, all IP addresses for the selected adapter are automatically configured.
The following SMS menu is displayed:
PowerPC Firmware
Version FW860.20 (SV860_082)
SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
NIC Adapters Location Code Hardware
Address
1. Interpartition Logical LAN U8247.22L.211D9FA-V1-C3-T1 caaa5a1633a2
2. Interpartition Logical LAN U8247.22L.211D9FA-V1-C6-T1 e230fd71a7ce
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:1
PowerPC Firmware
Version FW860.20 (SV860_082)
SMS (c) Copyright IBM Corp. 2000,2016 All rights reserved.
-------------------------------------------------------------------------------
IP Parameters
Interpartition Logical LAN: U8247.22L.211D9FA-V1-C3-T1
1. Client IP Address [xxx.xxx.xxx.xxx]
2. Server IP Address [xxx.xxx.xxx.xxx]
3. Gateway IP Address [xxx.xxx.xxx.xxx]
4. Subnet Mask [xxx.xxx.xxx.xxx]
-------------------------------------------------------------------------------
Navigation keys:
M = return to Main Menu
PowerVM NovaLink 29
ESC key = return to previous screen X = eXit System Management Services
-------------------------------------------------------------------------------
Type menu item number and press Enter or select Navigation key:
7. In the GRUB screen, select NovaLink Automated Install for UBUNTU2004. The following GRUB
screen is displayed:
+--------------------------------------------------------------------------------+
| NovaLink install To install VIOS & set for Other OS |
|*Novalink Automated Install for UBUNTU2004 |
| |
+--------------------------------------------------------------------------------+
8. To autoinstall Ubuntu 20.04 LTS on a PowerVM NovaLink partition, include the following files in the
seed URL that is specified in the GRUB file:
• meta-data
• vendor-data
• user-data
An example user-data yaml file follows:
#cloud-config
autoinstall:
apt:
disable_components: []
geoip: true
preserve_sources_list: false
primary:
- arches:
- amd64
- i386
uri: http://archive.ubuntu.com/ubuntu
- arches:
- default
uri: http://ports.ubuntu.com/ubuntu-ports
drivers:
install: false
identity:
hostname: 'tmp'
password: $6$ZnzKGIzuQsQDBwS4$Pn5.72lD276dG3l9pCz5deM3fbYm/
lsh5UBcuA5s9Sqr8QT1FXFXPu5Y.oDF.pGeGQiEd.P.cFsqgMr069v2l/
realname: neo
username: neo
kernel:
package: linux-generic
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
ssh:
allow-pw: true
authorized-keys: []
install-server: true
storage:
layout:
name: lvm
updates: security
version: 1
late-commands:
- echo 'ubuntu ALL=(ALL) NOPASSWD:ALL' > /target/etc/sudoers.d/sysuser # allow sudo
without password
- cat /proc/cmdline > /target/etc/proccmdlineRam
- sudo head -n -1 /target/etc/netplan/00-installer-config.yaml > temp && mv temp /
target/etc/netplan/00-installer-config.yaml
- |
cat -<<EOF>> /target/etc/netplan/00-installer-config.yaml
nameservers:
#!/bin/bash
SetHostnamenPrivIP()
{
Serverhostname=$(getproccmdlinevalue 'netcfg/get_hostname')
sudo hostnamectl set-hostname $Serverhostname
}
SetHostnamenPrivIP
netplan -v apply
9. To check whether a public or private network is selected, complete the following steps:
a. Run the installer-config.yaml file.
~# cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ibmveth2:
addresses:
- 9.47.66.13/20
gateway4: 9.47.79.254
nameservers:
addresses: [9.0.128.50, 9.12.16.2]
ibmveth3:
addresses: [ 192.168.128.1/17 ]
version: 2
~#
PowerVM NovaLink 31
c. Restart the PowerVM NovaLink partition.
# install novalink
sudo cat > /etc/apt/sources.list.d/pvm.list <<EOF
deb https://public.dhe.ibm.com/systems/virtualization/Novalink/debian/ novalink_2.1.1 non-free
optional
EOF
wget https://public.dhe.ibm.com/systems/virtualization/Novalink/debian/novalink-gpg-pub.key
sudo apt-key add novalink-gpg-pub.key
/tmp/apt-dpkg-install-n9v8WD/113-python39-pyasn1-modules_0.2.8-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What to do next
If you have updated RSCT packages manually on PowerVM NovaLink, the pvm-rest service must be
restarted. Enter the following command to restart the service:
After you update RSCT packages on a logical partition, capture an image of the operating system along
with the updated RSCT package. You can then deploy the image that has the updated RSCT package,
which eliminates the need to update RSCT for new logical partitions. For information about how to use
PowerVC to capture an image, see Capturing a virtual machine.
PowerVM NovaLink 33
Updating PowerVM NovaLink from an online repository
You can update the Ubuntu Linux operating system and the PowerVM NovaLink software on your
PowerVM NovaLink logical partition by using an online repository.
In this line, version is the version number of the PowerVM NovaLink software (for example, 1.0.0).
If the PowerVM NovaLink update fails, verify that your PowerVM NovaLink repository is the latest
version, or is pointing to the public PowerVM NovaLink repository. Also ensure that the PowerVM
NovaLink key is available on the system before you install or update PowerVM NovaLink on Ubuntu.
Before you update PowerVM NovaLink from an online repository, complete the following steps for an
RHEL logical partition:
• Verify that the following line exists in the source list file on the PowerVM NovaLink partition (/etc/
yum.repos.d/pvm.repo), and if required, add the following line:
baseurl=http://public.dhe.ibm.com/systems/virtualization/Novalink/rhel/86/<Novalink Version>
You must have sudo access on the PowerVM NovaLink partition to complete this task.
Procedure
1. On an Ubuntu logical partition, access the Ubuntu Linux command-line interface on the PowerVM
NovaLink partition.
a) To update the Debian Advanced Packaging Tool (APT) with the latest information about Ubuntu
Linux operating system updates, enter the following command:
b) To update APT with the latest information about updates for the PowerVM NovaLink software, enter
the following command:
2. On a Red Hat Enterprise Linux logical partition, enter the following command:
For RHEL, before you update PowerVM NovaLink from a cloned repository, edit the YUM repository
configuration file (/etc/yum.repos.d/pvm.repo) on the PowerVM NovaLink partition, to change the
line that contains the baseurl variable that references the online YUM repository. Add the address of the
server where the clone repository resides (baseurl=http://server_ip/repopath).
You must have sudo access on the PowerVM NovaLink partition to complete this task.
Procedure
1. On your server, clone the PowerVM NovaLink repository by entering the following commands, where
repo_path is the repository path in the FTP server:
cd repo_path
2. Connect to the Ubuntu or RHEL Linux command-line interface on the PowerVM NovaLink partition.
3. For an Ubuntu logical partition, to update the Debian Advanced Packaging Tool (APT) with the latest
information about Ubuntu Linux operating system updates, enter the following command:
4. For RHEL, to update the YUM repository with the latest information for the PowerVM NovaLink
software, enter the following command:
5. To update APT with the latest information about updates for the PowerVM NovaLink software, enter
the following command:
PowerVM NovaLink 35
Updating the firmware on a system that is managed by PowerVM NovaLink
To update the firmware on a system that is managed by only PowerVM NovaLink, use the ldfware
command on the service partition. If the system is co-managed by PowerVM NovaLink and a Hardware
Management Console (HMC), you must use the HMC to update the firmware. The HMC must be set to the
controller mode to update the firmware.
After you set the HMC to the controller mode, you can update the firmware by using the standard HMC
procedure. For information about how to update the firmware by using the HMC, see Updates.
The information that is provided here applies to a managed system that is already managed by PowerVM
NovaLink. For information about how to update the firmware on a system on which you plan to install
PowerVM NovaLink, see Installing firmware using the USB port on the service processor on a system that
is not managed by a management console.
Download the latest system firmware from IBM Fix Central (http://www.ibm.com/support/fixcentral/).
2. In the PowerVM Open I/O mode, the PowerVM NovaLink partition is designated as the service
partition. Copy the firmware to a temporary location in the PowerVM NovaLink partition.
3. Run the following command on the service partition, where firmware_path is the location of the
firmware in the service partition.
/usr/sbin/update_flash -f firmware_path
• For the PowerVM NovaLink software running the Virtual I/O Server, complete the following steps:
1. Power off all client partitions by entering the following command for each client partition, where
partition_id is the partition ID.
2. Power off all Virtual I/O Server partitions except for the service partition by entering the following
command for each Virtual I/O Server partition, where partition_id is the partition ID.
Note: A warning message is displayed that states that when the Virtual I/O Server partition is
powered-off and if the redundant VIOS is not running, then all the running logical partitions might
lose access to their storage and network, and confirms whether to proceed with the operation.
By default, the service partition is the partition with partition ID 2. To determine which partition is
the service partition, enter the following command:
6. If the managed system does not completely power off automatically, power off the managed system
by using the Advanced System Management Interface (ASMI). Complete the following steps:
a. Access the ASMI by using the PC or notebook. For information about how to connect to ASMI, see
Accessing the ASMI using a PC or notebook and web browser.
b. Power off the system by clicking Power/Restart Control > Power On/Off System.
7. Power on the system.
• To set the minimum memory for the PowerVM NovaLink partition, on the command line run the
following command:
2. Use the ipmitool command or the Hardware Management Console (HMC) virtual terminal window to
access the PowerVM NovaLink partition.
PowerVM NovaLink 37
• To access the partition by using the ipmitool command, run the following command:
• To access the partition by using the HMC virtual terminal window, run the following command:
3. Restart the PowerVM NovaLink partition and Enter 1 on the command line prompt. The system restarts
to the SMS menu.
4. From the SMS menu, select a logical adapter by entering the menu item number that corresponds to
the first adapter on the screen.
5. Check the IP addresses for Novalink and bootp servers of the adapter that is configured and continue
with the operating system installation and PowerVM NovaLink software version 2.0.0.0 installation
process.
GRUB file
To upgrade the operating system of the PowerVM NovaLink partition to Ubuntu 20.04 LTS or to RHEL 8.2,
or later you need to create a grub file.
• An example grub file for RHEL 8.2 follows:
Notes:
– In SMS Menu, if you select the network adapter as U9080.HEX.134C7A8-V10-C4-T1, the value of the
environment variable change from env2 to env4.
– The value for the rhel82 inst.ks boot option is based on the folders where the kickstart file
is mounted. Additionally, you must update the Uniform Resource Locator (URL), as specified in the
bootp server.
set default=0
set timeout=5
menuentry 'RHEL 8 install' {
insmod http
insmod tftp
regexp -s 1:mac_pos1 -s 2:mac_pos2 -s 3:mac_pos3 -s 4:mac_pos4 -s 5:mac_pos5 -s 6:mac_pos6
'(..):(..):(..):(..):(..):(..)' ${net_default_mac}
set bootif=${mac_pos1}:${mac_pos2}:${mac_pos3}:${mac_pos4}:${mac_pos5}:${mac_pos6}
set root=http,${net_default_server}
set domain=${net_ofnet_network_domain}
set gateway=<Gate Way IP xxx.xxx.xxx.xxx>
set netmask=<Subnet mask IP xxx.xxx.xxx.xxx>
set domainnameserver=<DNS IP xxx.xxx.xxx.xxx>
linux //rhel82/ppc/ppc64/vmlinuz ro inst.text ip=${net_default_ip}::${gateway}:${netmask}:$
{hostname}:env2:none
nameserver=${domainnameserver} inst.repo=http://${net_default_server}/rhel82 inst.ks=http://
${net_default_server}/novalink_install_cfgs/rhel8/novalink-arch-finalRHEL8-ks.cfg BOOTIF=$
{bootif}
initrd //rhel82/ppc/ppc64/initrd.img
}
set default=0
set timeout=-1
menuentry 'NovaLink install To install VIOS & set for Other OS' {
insmod http
initrd //novacentos8/ppc/ppc64/initrd.img
}
menuentry 'Novalink Automated Install for UBUNTU2004' {
insmod http
insmod tftp
regexp -s 1:mac_pos1 -s 2:mac_pos2 -s 3:mac_pos3 -s 4:mac_pos4 -s 5:mac_pos5 -s 6:mac_pos6
'(..):(..):(..):(..):(..):(..)' ${net_default_mac}
set bootif=${mac_pos1}:${mac_pos2}:${mac_pos3}:${mac_pos4}:${mac_pos5}:${mac_pos6}
regexp -s 1:prefix '(.*)\.(\.*)' ${net_default_ip}
initrd //ubuntu2004/casper/initrd.gz
}
PowerVM NovaLink 39
Upgrading PowerVM NovaLink software from version 2.0.3.1 to
version 2.1.1 on an Ubuntu partition
You can upgrade the PowerVM NovaLink software to version 2.1.1 only when PowerVM NovaLink is at a
version 2.0.3.1. Additionally, the operating system must be Ubuntu 20.04, or later.
To upgrade the PowerVM NovaLink software to version 2.1.0, or later, complete the following steps:
1. Uninstall the earlier version of the PowerVM NovaLink software by running the following command:
2. Set up the PowerVM NovaLink repository and import the public key by running the following command:
3. Install Python3.9 software and set the file path of python to python3 as follows:
chlickey command
When PowerVM NovaLink is at version 1.0.0.16 or later, you can specify the license key of IBM i logical
partitions by entering the following command:
Comma-separated list of license keys and input file (--lickey file) options are available for PowerVM
NovaLink version 1.0.0.16, or later.
Where
• -p <system name> indicates the logical partition or the server.
• -o indicates the type of the operation to be performed.
• a indicates that the license information must be added to the license repository.
• --lickey <license key> specifies a single key or comma-separated list of license keys that are 101 bytes
long, which is applicable for an IBM i virtual machine.
• --lickey <inputfile> specifies the file that contains the license keys for an IBM i virtual machine. The
license keys are listed as comma-separated list of keys, which are 101 bytes long.
PowerVM NovaLink 41
Defaults to blank which correlates to *NONE
lickey
Pvmctl command
The command-line interface uses the pvmctl command for most operations. The command can be
entered at the command line of the PowerVM NovaLink partition.
The pvmctl command can be run only by users who are in the pvm_admin group. To add a user to the
pvm_admin group, enter the following command:
The admin user for the PowerVM NovaLink partition is added to the pvm_admin group automatically
when PowerVM NovaLink is installed.
Command help
The pvmctl command includes help information that lists the operations that are used by the command.
To view the help information, enter one of the following commands.
To view a list of objects on which you can perform actions, enter the command pvmctl help or pvmctl
--help.
To view a list of operations for a specific object type, enter the command pvmctl object_type help
or pvmctl object_type --help.
To view information about the arguments for a specific object type and operation, enter the command
pvmctl object_type operation help or pvmctl object_type operation --help.
Command structure
The CLI uses the following command structure.
For example, to list the logical partitions on the managed system, enter the following command:
To list all Virtual I/O Server names, IDs, states, and their associated I/O Adapter device names, use the
--display-fields (or -d) argument:
To list the names, IDs, states, and associated I/O Adapter device names of all Virtual I/O Servers that are
not running, use the --where argument to add the condition to the command:
To list a network bridge with a port VLAN ID of 10, use the --object-id (or -i) argument:
To update the desired memory of a logical partition with name mylpar to 512 MB, use the --set-
fields argument:
To delete a virtual Ethernet adapter, specify its parent identifier with the --parent-id (or -p) argument:
To create a new logical partition, view the required arguments by using the command pvmctl lpar
create help.
PowerVM NovaLink 43
The following command creates an AIX/Linux logical partition named new_lpar with one dedicated
processor and 512 MB of memory:
To list the virtual serial number on the managed system, enter the following command:
To delete the VSN from managed systems, enter the following command:
To transfer the VSN to other managed systems, enter the following command:
pvmctl vsn transfer --mgmt-svr <server ip> -i id=<virtual serial number> --mgmt-usr <userid>
--sys <target sys name>
Platform keystore
When you are using IBM Power servers at firmware level FW950, or later and the PowerVM NovaLink
software is at version 2.1.1, or later, the Platform keystore (PKS) feature in PowerVM NovaLink creates
an encrypted non-volatile store. This keystore provides logical partitions with additional capabilities to
store and protect sensitive information. PowerVM provides an isolated PKS storage allocation for each
partition with individually managed access controls. The total partition size that can be allocated to a
logical partition by the PKS feature is in the range 4 KB - 64 KB.
To list the trusted system key information for a managed system, enter the following command:
# lstskey
key_length=32,key_status=default_key
#
# chtskey
Usage: chtskey -m <managed system>
-o change | restore
--newkey <key file>
[--oldkey <key file>]
[--force]
[--help]
Changes the trusted system key for a managed system.
-m <managed system> - the managed system's name
-o - the operation to perform:
change - set the key and re-encrpyt virtual
Trusted Platform Module (vTPM) data
restore - set the key without re-encrpyting vTPM
data
--newkey <key file> - binary file that contains the new key
--oldkey <key file> - binary file that contains the current key
--force - force a change when previous change operation is
still re-encrypting vTPM data
--help - prints this help.
#
To list the persistent memory volumes that are assigned to a logical partition, enter the following
command:
mkvterm --id 3
PowerVM NovaLink 45
Partition configuration backup and restore commands
Enter the bkprofdata and rstprofdata commands to back up and restore the partition configuration
data of a managed system. These commands back up and restore only the partition configuration data in
the hypervisor.
For example, to backup the partition configuration to the /tmp/mybackup.bak file, enter the following
command:
To restore the partition configuration data from the /tmp/mybackup.bak file by using phase 2
restoration, enter the following command:
rstprofdata -l 2 -f /tmp/mybackup.bak
Related information
PowerVM NovaLink Access Control Framework
sudo /usr/sbin/pvm-rebuild-raid
Procedure
1. Access the ASMI by using the PC or notebook.
For information about how to connect to ASMI, see Accessing the ASMI using a PC or notebook and
web browser.
2. Power off the system by clicking Power/Restart Control > Power On/Off System.
3. Click Power/Restart Control > Power On/Off System, change AIX/Linux partition mode boot to
Boot to SMS menu, and click Save settings.
4. Enter the following commands on the command line of the Linux PC or notebook, where ip_add is the
IP address that you used to connect to the ASMI and password is your ASMI password:
PowerVM NovaLink 47
Boot Steps
device
type
Netboot a. At the Boot selection window, enter 1 to select the SMS Menu.
server
b. Enter 2 to continue with password entry. Enter admin.
c. From the main menu, enter 2 to set up the remote IPL.
d. Enter the number that corresponds to the Ethernet adapter that you want to use.
e. Enter the number for IPv4 IP addresses.
f. Enter the number for BOOTP as your network service.
g. Enter 1 for IP parameters.
h. Set the IP parameters:
• Client IP Address is the IP address that you set for the managed system in
the /etc/bootptab file on the netboot server.
• Server IP Address is the IP address of the netboot server.
• Gateway IP Address is the gateway IP address that you set for the managed
system in the /etc/bootptab file on the netboot server.
• Subnet Mask is the subnet mask that you set for the managed system in
the /etc/bootptab file on the netboot server.
i. Press ESC, enter 3 for ping test, enter 1 for execute ping test, and verify that the
netboot server is reachable.
j. Enter M to return to the main menu.
k. From the main menu, enter 5 to select boot options.
l. Enter 1 to select the install/boot device.
m. Select Network, and then select the network card you configured.
n. Enter 2 to perform a normal mode boot, and then enter 1 to exit the SMS menu and
to start the boot process.
6. At the GNU GRand Unified Bootloader (GRUB) screen, select the PowerVM NovaLink Install/Repair
option, and then select the rescue mode option.
Results
After you are in rescue mode, you can use the pvmctl command to manage virtualization on the managed
system.
PowerVM NovaLink 49
Resetting a PowerVM NovaLink-managed system to an HMC-
managed system
You can co-manage a managed system by using both PowerVM NovaLink and the Hardware Management
Console (HMC). To use partition profiles and system plans on a managed system, you must remove
PowerVM NovaLink from the managed system.
Procedure
1. Set the HMC to controller mode by entering the following command at the HMC command line, where
managed_system is the name of the managed system.
2. Power off the PowerVM NovaLink partition by entering the following command at the HMC command
line. In this command, managed_system is the name of the managed system and partition_id is
the partition ID of the PowerVM NovaLink partition.
3. Remove the PowerVM NovaLink partition by entering the following command at the HMC command
line. In this command, managed_system is the name of the managed system and partition_id is
the partition ID of the PowerVM NovaLink partition.
4. Release controller authority for the managed system by entering the following command at the HMC
command line, where managed_system is the name of the managed system.
Procedure
1. Install the framework.
The following files are installed when the pvm-core package of PowerVM NovaLink software is installed
in the PowerVM NovaLink logical partition:
3. Using the framework as a user. For example, a user called pviewer, who is privileged by this
framework.
a) Enter pvm_access -g to list the files you are allowed to read or write, and the commands (with
arguments) that you are allowed to execute. You can also redirect the output and search for
commands or files that you want to view. For example pvm_access -g | grep pvmctl
b) The following commands are enabled for the users, for example pviewer belonging to the group
pvm_viewer.
PowerVM NovaLink 51
pvmctl –help
lshw
lsmcode
Note: If your shell type is not bash, you need to switch to the bash shell and then source
the /etc/profile.d/pvm_access_aliases file by typing the following command:
bash ./etc/profile.d/pvm_access_aliases
This information was developed for products and services offered in the US.
IBM may not offer the products, services, or features discussed in this document in other countries.
Consult your local IBM representative for information on the products and services currently available in
your area. Any reference to an IBM product, program, or service is not intended to state or imply that
only that IBM product, program, or service may be used. Any functionally equivalent product, program, or
service that does not infringe any IBM intellectual property right may be used instead. However, it is the
user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this
document. The furnishing of this document does not grant you any license to these patents. You can
send license inquiries, in writing, to:
Such information may be available, subject to appropriate terms and conditions, including in some cases,
payment of a fee.
If you are viewing this information in softcopy, the photographs and color illustrations may not appear.
Overview
The IBM Power Systems servers include the following major accessibility features:
• Keyboard-only operation
• Operations that use a screen reader
The IBM Power Systems servers use the latest W3C Standard, WAI-ARIA 1.0 (www.w3.org/TR/wai-
aria/), to ensure compliance with US Section 508 (www.access-board.gov/guidelines-and-standards/
communications-and-it/about-the-section-508-standards/section-508-standards) and Web Content
Keyboard navigation
This product uses standard navigation keys.
Interface information
The IBM Power Systems servers user interfaces do not have content that flashes 2 - 55 times per second.
The IBM Power Systems servers web user interface relies on cascading style sheets to render content
properly and to provide a usable experience. The application provides an equivalent way for low-vision
users to use system display settings, including high-contrast mode. You can control font size by using the
device or web browser settings.
The IBM Power Systems servers web user interface includes WAI-ARIA navigational landmarks that you
can use to quickly navigate to functional areas in the application.
Vendor software
The IBM Power Systems servers include certain vendor software that is not covered under the IBM
license agreement. IBM makes no representation about the accessibility features of these products.
Contact the vendor for accessibility information about its products.
TTY service
800-IBM-3383 (800-426-3383)
(within North America)
For more information about the commitment that IBM has to accessibility, see IBM Accessibility
(www.ibm.com/able).
Notices 55
For more information about the use of various technologies, including cookies, for these purposes,
see IBM’s Privacy Policy at http://www.ibm.com/privacy and IBM’s Online Privacy Statement at
http://www.ibm.com/privacy/details/us/en/ in the section entitled “Cookies, Web Beacons and Other
Technologies”.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International Business
Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be
trademarks of IBM or other companies. A current list of IBM trademarks is available on the web at
Copyright and trademark information.
The registered trademark Linux is used pursuant to a sublicense from the Linux Foundation, the exclusive
licensee of Linus Torvalds, owner of the mark on a worldwide basis.
Red Hat, JBoss, OpenShift, Fedora, Hibernate, Ansible, CloudForms, RHCA, RHCE, RHCSA, Ceph, and
Gluster are trademarks or registered trademarks of Red Hat, Inc. or its subsidiaries in the United States
and other countries.