Download Configuring IBM PowerKVM on Power Systems servers Version 1.0.2

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Configuring IBM PowerKVM on Power Systems
servers
IBM®
Version 1.0.2
Quick Start Guide for configuring IBM PowerKVM on Power Systems
servers
This guide helps you configure IBM PowerKVM™ 2.1 on a Linux on Power Systems server.
Overview
Use this information to configure IBM® PowerKVM on a Power Systems™ server. The PowerKVM installer is available for
download for specific Linux on Power® Systems. For information about which systems support PowerKVM, see Supported
Virtualization options for POWER8® PowerLinux™ servers at https://ibm.biz/BdFBap.
1
Step 1: Completing the prerequisites
Before you install PowerKVM, ensure that you have the following items:
v Ethernet cable
v Notebook or PC
v Power cords and outlet for your system. Depending on your configuration, your system might require 220 V.
Download the IBM PowerKVM installer file from Fix Central at https://www.ibm.com/support/fixcentral/. This file must be
burned to a DVD or made available on your network. For more information about preparing the IBM PowerKVM
installation media, see https://ibm.biz/BdFBaT
2
Step 2: Prepare to power on
Before you power on the system, follow these steps:
v If your system belongs in a rack, install your system into that rack. For instructions, see IBM Power Systems
information at https://ibm.biz/BdEHAL.
v Remove the shipping brackets from the power supplies. Ensure that the power supplies are fully seated in the system.
v Access the server control panel. For information about accessing and using the control panel, see the Control panel
topic at https://ibm.biz/BdFBaC.
v Connect the power cords to the system and plug them into the outlets.
At this point, your firmware is booting. Wait for the green power LED on the control panel to start flashing, indicating that
it is ready to use, and for the prompt 01 N OPAL T to appear on the display.
3
Step 3: Option 1: Connecting to ASMI with DHCP
Use this type of connection if you are using DHCP. Use these steps to find the IP address of the service processor and
then connect with the ASMI web interface. If you know what IP address that your server is using, complete step 1 and
then skip to Step 5: Enabling PowerKVM.
1. Connect an Ethernet cable to the HMC1 or HMC2 port on the back of your Power system to your DHCP network.
2. Access the control panel for your server.
3. Scroll to function 02 using Increment () or Decrement (fl) buttons (up and down arrows) and then press Enter.
4. Move the cursor to the N by pressing Enter. The display looks like this example: 02 A N< T
5. Change N to M to start manual mode using the Increment () or Decrement (fl) buttons. The display looks like this
example: 02 A M< T
6. Press Enter two times to exit the mode menu.
7. Scroll to function 30 using Increment or Decrement buttons.
8. Press Enter to enter subfunction. The display looks like this example: 30**
9. Use the Increment () or Decrement (fl) buttons to select a network device.
3000 displays the IP address assigned to ETH0 (HMC1)
3001 displays the IP address assigned to ETH1 (HMC2)
10. Press Enter to display the selected IP address. Be sure to record this IP address.
11. Use the Increment () or Decrement (fl) buttons to select subfunction exit (30**).
12. Press Enter to exit subfunction mode.
13. Scroll to 02 using Increment () or Decrement (fl) buttons and press Enter.
14. Change the mode to N. The display looks like this example: 02 A N< T
4
Step 4: Option 2: Connecting to ASMI with static IP address
Use this type of connection if you are using a static IP address. This connection configures a console interface to the
ASMI.
1. Connect an Ethernet cable from the PC or notebook to the Ethernet port labeled HMC1 on the back of the managed
system.
2. Set your IP address on your PC or notebook to match the default values on your Power system.
IP address on PC or notebook: 169.254.2.140
Subnet mask: 255.255.255.0
The default IP address of HMC1: 169.254.2.147
Note: The default values of HMC1 are already set and you do not need to change them. If you want to verify the IP
address, follow the steps in Step 3 Option 1 to find the IP addresses with the control panel.
When running Linux on your PC or notebook, set your IP address by following these steps:
a. Log in as root.
b. Start a terminal session
c. Run the follow command: ifconfig -a. Record these values so that you can reset your network connection later.
d. Type ifconfig ethx 169.254.2.140 netmask 255.255.255.0.. Replace ethx with either eth0 or eth1,
depending on what your PC or notepad is using.
When running Windows 7 on your PC or notebook, set your IP address by following these steps:
a. Click Start > Control Panel.
b. Select Network and Sharing Center.
c. Click the network that is displayed in Connections.
d. Click Properties.
e. If the security dialog box is displayed, click Continue.
f. Select Internet Protocol Version 4.
g. Click Properties.
h. Select Use the following IP address.
i. Use 169.254.2.140 for IP address and 255.255.255.0 for Subnet mask.
j. Click OK > Close > Close
Note: If HMC1 is occupied, use HMC2. Use IP address 169.254.3.140 and Subnet mask: 255.255.255.0 on your
PC or notebook. The default IP address of the HMC2 is 169.254.3.147.
5
Step 5: Enabling PowerKVM
1. The first time that you connect to the firmware, enter the admin ID admin and password admin. After you log in, you
will be forced to change the password. Be sure to record this password!
2. From the main menu, select System Configuration->Firmware Configuration. Verify that OPAL is selected as your
Hypervisor Mode.
3. Follow these steps to set a password for your IPMI session:
a. From the main menu, select Login Profile -> Change Passwords.
b. Select IPMI from the list of user IDs.
c. Enter the current password for the administrator (set in step 2) and then enter and confirm a password for IPMI.
d. Click Continue.
Note: In earlier firmware releases, the IPMI password is found on System Configuration->Hypervisor Configuration.
4. If your Power system is not using DHCP, you need to configure Network access. From the main menu, select Network
Services > Network Configuration. To configure network access, follow these steps:
a. From the Network Configuration display, select IPv4 and Continue.
b. Select Configure this interface?
c. Verify that IPv4 is enabled.
d. Select Static for the type of IP address.
e. Enter a name for the host system.
f. Enter an IP address for the system.
g. Enter a subnet mask.
h. At the bottom of the page, enter a default gateway, Domain name, and IP address for the DNS server.
i. After you set the values for the Network configuration, click Continue.
j. Click Save Settings.
k. If you connected with a PC or notebook, you can remove the Ethernet cable from your PC or notebook and connect
it to the network switch. To continue with a console connection, change the default IP address to the IP address
that you assigned to the service processor.
6
Step 6: Powering on your server with IPMI
Intelligent Platform Management Interface (IPMI) is the default console to use when you configure PowerKVM.
As the system powers up, you might notice the following actions:
v System reference codes appear on the control panel display while the system is being started.
v The system cooling fans are activated after approximately 30 seconds and begin to accelerate to operating speed.
v The power LED on the control panel stops flashing and remains on, indicating that system power is on.
Note: After your system powers on, the Petitboot interface loads. If you do not interrupt the boot process by pressing any
key within 10 seconds, Petitboot automatically boots the first option.
To power on your server, follow these steps:
1. Open a terminal program.
2. To power on your server, run the following command:
ipmitool -I lanplus -H fsp_ip_address -P ipmi_password power on
where ipaddress is the IP address of the Power system and ipmi_password is the password set up for IPMI.
3. Immediately activate your IPMI console by running this command:
ipmitool -I lanplus -H fsp_ip_address -P ipmi_password sol activate
Tip: Use your keyboard up arrow to display the previous ipmitool command. You can edit previous commands to
avoid typing the entire command again.
4. To boot PowerKVM, verify that IBM_PowerKVM with Linux is selected in Petitboot. PowerKVM will boot automatically
after 10 seconds.
The default password for root is PASSW0RD. Change this password as soon as possible.
Note: If you need to reboot your system, follow these steps:
1. Deactivate the console by running this command:
ipmitool -I lanplus -H fsp_ip_address -P ipmi_password sol deactivate
2. Power your system off with this command:
ipmitool -I lanplus -H fsp_ip_address -P ipmi_password power off
3. Power your system on with this command:
ipmitool -I lanplus -H fsp_ip_address -P ipmi_password power on
Note: If you have not already done so, insert your DVD into the DVD drive or confirm the installer image in your network.
7
Step 7: Configuring Petitboot
After the system powers on, the Petitboot bootloader scans local boot devices and network interfaces to find boot options
that are available to the system. If you do not have network connectivity or the installation DVD in the disk drive, there will
not be any boot options listed.
1. On the Petitboot main screen, verify that you are booting PowerKVM, either from the DVD drive or from your network.
2. Select the PowerKVM installer boot option and then press Enter.
Note: If you do not interrupt the boot process by pressing any key within 10 seconds after the Petitboot main screen
appears, Petitboot automatically boots the first option.
If you are using a static IP address for a network installation or if you did not provide boot arguments in your network
boot server, provide the details to Petitboot.
1. Select System Configuration and press Enter to open the Petitboot System Configuration window.
2. Confirm your network information or add additional information for your specific network connection. Select OK and
press Enter.
3. On the Petitboot main screen, select e to open the Petitboot Option Editor for edit or n to create new options.
4. Choose your boot device or select to Specify paths/URLs manually and then enter your boot options:
a. In the Kernel field, enter the path to the kernel. This field is mandatory. Enter a URL similar to this one for a
network:
http://networkservername/path/ppc/ppc64/vmlinuz
b. In the Initrd field, enter the path to the init ramdisk. Enter a URL similar to this one for a network:
http://networkservername/path/ppc/ppc64/initrd.img
c. In the Device tree field, enter the path to the device tree blob. This field is optional.
d. In the Boot arguments field, enter the kernel command-line arguments. For example,
rd.dm=0 rd.md=0 root=live:http://networkservername/path/LiveOS/squashfs.img
selinux=0 repo=http://networkservername/path/packages console=hvc0 console=tty0
Note: If you are using a static IP address, include an argument for it. The argument looks like this example:
ifname=net0:MAC_address ip=static_ip_address::gateway:netmask:hostname:net0:none
5. After you set your options, select OK and press Enter.
6. On the Petitboot main window, select IBM_PowerKVM with Linux as your boot option and press Enter.
8
Step 8: Installing PowerKVM
After you select to boot the PowerKVM installer, the installer wizard walks you through the steps.
1. Follow the installation wizard for PowerKVM to set up disk options, your root password, time zones, and so on. The
last step is to restart your system.
2. After the system restarts, Petitboot displays the option to boot the PowerKVM with Linux. Select this option and press
Enter.
9
Step 9: The ibm-configure-system utility
The ibm-configure-system utility is a command-line interface that you can use to change your root password,
configure time zones, set the date and time, configure network interfaces, and set your DNS configuration. This utility is
included in the PowerKVM package.
To use the configure-system utility, run ibm-configure-system from an IPMI console window that is connected to
the server.
Navigate the menu using the up and down arrow keys or TAB. To exit the utility, scroll down and select Exit.
For more information, see The ibm-configure-system utility at https://ibm.biz/BdFBGB.
10
Step 10: Accessing Kimchi
PowerKVM comes with an HTML5-based management tool called Kimchi. You can use Kimchi to allocate storage,
configure a network bridge, apply firmware updates, and install guests. Kimchi is automatically started when your Power
system is powered on.
To use Kimchi, open a browser and point it to https://system_ipaddress:8001 where system_ipaddress is the IP
address that you set in step 9.
After you connect to Kimchi, log in using your root user ID and password.
11
Step 11: Creating a guest
You can install guests in whatever method you choose. One of these methods including Kimchi.
To create a guest with Kimchi, follow these general steps:
1. Open a browser to https://system_ipaddress:8001.
2. Log on using your root user name and password.
3. Select the Guests page.
4. Click the green plus sign (+) to create a guest.
5. On the Guests page, enter a name for the virtual machine guest.
6. Select a template from the list.
If no templates exist, click Create a template. If you want a different template from the ones that are displayed, select
the Templates page and create or edit one.
Tip: Kimchi automatically detects ISO files that are copied into the /var/lib/libvirt/images folder.
7. Select the source media for the template.
8. Select an ISO image.
9. Click Create. The guest is created but not started.
10. Start the guest by clicking the red power button or by selecting Start from the Actions menu. The button changes to
green as the guest starts.
11. To connect to the remote console (Livetile), select Connect from the Action menu.
More information
?
For more information, see the following resources:
v IBM PowerKVM topic in the Linux on Power Community Wiki at https://ibm.biz/BdFBGf.
v Linux information for IBM systems at https://ibm.biz/BdFBGG
v The Linux on Power Community at http://ibm.co/VLiIfS.
v POWER8 systems information at https://ibm.biz/BdFBGg.
© Copyright IBM Corp. 2014. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
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” (www.ibm.com/legal/copytrade.shtml).
Printed in Ireland