By: Breno Leitão
This technical preview tutorial explains how users of IBM's latest POWER8-based scale-out Linux servers can try Ubuntu running non-virtualized. We show how Ubuntu can be installed directly on the OPAL firmware, and run as a single-image operating system directly on the system.
Ubuntu 14.04 is generally available today and fully supported as a PowerKVM guest on the IBM Power Systems shown below:
For more details on Ubuntu 14.04 - see Canonical's What’s new in 14.04 LTS document.
It is also possible to run Ubuntu 14.04 directly on these systems, which the development teams refer to as non-virtualized mode, or "bare-metal". There is no PowerVM LPAR layer, and there is no PowerKVM hosting layer. Over time, this capability is available in the open-source communities, so new versions of other Linux distros are expected to be enabled for this support as well.
Note: If you are running Ubuntu 14.04 non-virtualized, you need to upgrade the kernel packages to get cpufreq support. The 3.13.0-32 level works.
The OPAL firmware referenced below is designed to allow a Linux operating system to run directly on the POWER8 system. By running directly on the system, this enables the operating system to be a KVM host, creating and controlling KVM Guests. In the scenario described here in this article, there is no KVM hosting, and the Ubuntu 14.04 operating system is running as an operating system directly on the system.
Because the OPAL firmware enables the PowerKVM mode, the terminology used in selecting the firmware below is targeted at that mode. In practice, OPAL firmware enables a Linux operating system to run directly on the system, and running KVM in that operating system is not a requirement.
Technical Preview only at this time. The ability to run Ubuntu directly on the POWER8 Linux-only system is provided as-is, is not a supported configuration option at this time, and therefore, is not for production use. This ability is provided as a technical preview only. If you should encounter any problems running with the non-virtualized technical preview you can report your bugs against Ubuntu in Launchpad. Alternatively, you can always ask a question in the Forums here on the Community!
You are over-writing your PowerKVM install. These instructions replace (destroy) your existing PowerKVM installed host and all of the guests. The PowerKVM software can be re-installed at a later time, and your guests can be re-created.
Your system must have access to the external web for access to Canonical's netboot server - or you will need a DVD image downloaded and burned to a DVD. These instructions assume a netboot load.
1. In order to install Ubuntu 14.04 on the IBM Power system, the system needs to be set for KVM as the Hypervisor mode. This step selects the OPAL Firmware to be loaded. If you build the system with the PowerKVM configuration, you are ready to go, otherwise, you can configure it using the following steps:
Turn off the server by going to the server Advanced System Management (ASM), under System Configuration ⇒ Hypervisor Configuration, and set the hypervisor mode to KVM (or OPAL) and choose a IPMI password
2. Once the machine is in PowerKVM mode, you need to connect to the FSP using IPMI to get the machine console. Run the following IPMI commands:
Restart the machine
# ipmitool -I lanplus -H fsphostname -P password power cycle
Log into the machine console
# ipmitool -I lanplus -H fsphostname -P password sol activate
Once you run the last command, you will be seeing the machine console, and everything you type will be sent to the machine. In order to exit the console, you should type ~. and ~? shows the help menu.
3. Once the machine is booted up, you will see the petitboot console, as shown below:
Petitboot is the bootloader for the IBM Power machines configured with PowerKVM. From here, you can install an Ubuntu DVD in the machine using DVD-ROM and boot from it. You can also boot from the network.
This document will explain how to install from the network.
4. In order to install from the network, you need to configure the System Network in the 'System Configuration' menu entry. Once the network is configured, you can create a new entry in the petitboot by pressing the letter 'n'. By creating a new entry, you will go into Option Editor to configure the entry details, as shown:
Once you are editing the boot entry, you should choose the 'Specify paths/URLs manually' option and you must provide the installer kernel and initird. For Ubuntu, you should point it to the Canonical Ubuntu 14.04 netboot website.
On this example, I used version 14.04 that I following URLs:
For a more recent version, as 14.04.1, 14.04.2 and updates, check the Ubuntu ppc64el wiki page download section
You do not need to fill out the other entries, if you just want to do a default installation. Once you do the configuration, get back to the petitboot menu, and boot the entry you just configured "User Item 1".
Then just boot on that entry, pressing 'Enter',, and you are going to launch the Ubuntu 14.04 installer, as shown:
When you see this screen, select the language you want to use during the installation and proceed through normal Ubuntu 14.04 installation processes.