34
Linux Getting started with virtualization for PowerLinux

Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

  • Upload
    others

  • View
    15

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Linux

Getting started with virtualization for PowerLinux

���

Page 2: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization
Page 3: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Linux

Getting started with virtualization for PowerLinux

���

Page 4: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

NoteBefore using this information and the product it supports, read the information in “Notices” onpage 25.

Second Edition (December 2012)

© Copyright IBM Corporation 2011, 2012.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

Page 5: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Contents

Getting started with virtualization usingIBM PowerVM . . . . . . . . . . . . 1What's new in Getting started with virtualizationusing IBM PowerVM . . . . . . . . . . . 1Installation roadmap for PowerLinux serversmanaged by IVM . . . . . . . . . . . . . 1Virtualization concepts . . . . . . . . . . . 4

PowerVM for specific Power Systems servers . . 4Logical partitioning . . . . . . . . . . . 5Micro-Partitioning . . . . . . . . . . . 5Active Memory sharing. . . . . . . . . . 7Active Memory deduplication . . . . . . . 8Virtual I/O Server . . . . . . . . . . . 8Live partition mobility . . . . . . . . . . 9System virtualization management . . . . . 10

Hardware Management Console . . . . . 10Integrated Virtualization Manager . . . . . 10IBM Flex System Manager . . . . . . . 11

Differences between Power Systems and x86environments . . . . . . . . . . . . . . 11Installation tools for PowerLinux servers withlogical partitions. . . . . . . . . . . . . 12Configuring the management partition and clientlogical partitions. . . . . . . . . . . . . 13

Step 1: Connecting to the web-based interface . . 13Step 2: Mirroring the management partition . . 14Step 3: Configuring storage on the managedsystem . . . . . . . . . . . . . . . 15

Configuring storage for environments withlocal storage . . . . . . . . . . . . 15Configuring storage environments with a SAN 16

Step 4: Configuring virtual Ethernet on themanaged system. . . . . . . . . . . . 16

Configuring an HEA or IVE . . . . . . . 17Configuring an SEA . . . . . . . . . 17

Step 5: Creating client logical partitions . . . . 17Configuring storage for the installation media . . . 19Loading the IBM Installation Toolkit on a clientlogical partition . . . . . . . . . . . . . 20Optional additional software for PowerLinuxservers managed by IVM . . . . . . . . . . 21Related information for virtualization. . . . . . 22PDF file for Getting started with virtualization usingIBM PowerVM . . . . . . . . . . . . . 22

Notices . . . . . . . . . . . . . . 25Trademarks . . . . . . . . . . . . . . 26

© Copyright IBM Corp. 2011, 2012 iii

Page 6: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

iv Linux: Getting started with virtualization for PowerLinux

Page 7: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Getting started with virtualization using IBM PowerVM

IBM® PowerVM® provides a secure virtualization environment for IBM PowerLinux and Power Systems™

servers running Linux. IBM PowerVM includes Integrated Virtualization Manager (IVM) for creating andmanaging virtual servers on your PowerLinux™ server.

Note: The information in this topic collection applies to IBM PowerVM for IBM PowerLinux, as well asIBM PowerVM Express Edition, IBM PowerVM Standard Edition, and IBM PowerVM Enterprise Edition.

You can create virtual servers, or client logical partitions, on your PowerLinux server. In each clientlogical partition, you can run one of the following Linux distributions:v Red Hat Enterprise Linux 6.1v Red Hat Enterprise Linux 5.7v SUSE Linux Enterprise Server 11 SP1v SUSE Linux Enterprise Server 10 SP4

Not all client logical partitions have to run the same Linux distribution.

Then, you can optionally install and run one of the following open source workloads:v File and print serverv Mail serverv Network infrastructure serverv Web server

To quickly get started, you can use the installation roadmap to set up a simple configuration.

What's new in Getting started with virtualization using IBM PowerVMGetting started with virtualization using IBM PowerVM introduces the following new topics.

Virtualization concepts

Virtualization concepts describes how PowerVM provides virtualization capabilities such asMicro-Partitioning®, Active Memory™ sharing, Active Memory deduplication, a Virtual I/O server for

virtual networks and storage, and live partition mobility. Learn more...

Installation roadmap for PowerLinux servers managed by IVMYou can quickly set up your IBM PowerLinux server or Power Systems server running Linux byfollowing this installation roadmap through a simple setup.

The following figure shows the installation roadmap for PowerLinux servers that are managed by theIntegrated Virtualization Manager (IVM). If you do not plan to use the IVM, see the Installation roadmapfor PowerLinux servers (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaay/install_no_ivm.htm).

© Copyright IBM Corp. 2011, 2012 1

Page 8: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Prerequisites

Before you start, complete the following prerequisite tasks:1. Understand the differences in configuration and terminology for Power Systems environments and

x86 environments. For information, see “Differences between Power Systems and x86 environments”on page 11.

2. Learn about the tools used to install and configure the system, including IVM, IBM Installation Toolkitfor PowerLinux, and the IBM Installation Toolkit Simplified Setup Tool. For information, see“Installation tools for PowerLinux servers with logical partitions” on page 12.

3. Learn about the open source workloads that you can configure with the Simplified Setup Tool. Forinformation, see Open source workload overviews.

4. Understand the resource requirements for each open source workload. For information, see Minimumresource requirements for open source workloads.

5. Verify that the server hardware is installed and the serial console is cabled. For instructions, locateyou hardware model in the IBM Systems Hardware Information Center (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/p7hdx/power_systems.htm).

2 Linux: Getting started with virtualization for PowerLinux

Page 9: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

6. Verify that IVM is installed. For instructions, see Installing the Virtual I/O Server and enabling theIntegrated Virtualization Manager on IBM Power Systems servers(http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hch/iphchinstallvios.htm).

Procedure

Complete the following steps to set up an PowerLinux server that is managed by IVM:1. Configure the management partition and client logical partitions. For instructions see, “Configuring

the management partition and client logical partitions” on page 13.2. Configure the virtual media library, add the installation media for IBM Installation Toolkit for

PowerLinux, and import the installation media for the Linux distribution to the virtual media library.For instructions, see “Configuring storage for the installation media” on page 19.

3. Load the IBM Installation Toolkit for PowerLinux on a client logical partition. For instructions, see“Loading the IBM Installation Toolkit on a client logical partition” on page 20.

4. From the IBM Installation Toolkit for PowerLinux user interface, select the option to install Linux.Complete the wizard to install your Linux distribution and packages on the client logical partition.For instructions, see Install a Linux distribution (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaan/ppwelcomeinstalllinux.htm). When you encounter the Insert CD/DVD mediapage, complete the following steps to mount the Linux distribution media to the virtual opticaldevice:a. In the navigation area of IVM, select View/Modify Partitions under Partition Management. The

View/Modify Partitions page is shown.b. Select the client logical partition on which you plan to install Linux.c. From the Tasks menu, select Properties. The Partition Properties page is shown.d. Click the Optical/Tape Devices tab.e. Click Virtual Optical Devices to open the section.f. From the Current Media column of the virtual optical device, click Modify. The Modify Current

Media page is shown.g. Select the Linux distribution media and click OK to mount the Linux distribution media to the

virtual optical device.h. Click OK on the Optical/Tape Devices tab.i. In the Install Linux wizard in the IBM Installation Toolkit for PowerLinux, click Next on the Insert

CD/DVD media page and finish the installation wizard. The IBM Installation Toolkit forPowerLinux installs Linux and restarts the client logical partition. When finished, the virtualterminal window shows a prompt to insert the IBM Installation Toolkit for PowerLinux media intothe CD-ROM drive.

5. Determine whether you plan to run an open source workload in the client logical partition:v If yes, go to Step 6.v If no, install the software and applications that you want to run on the client logical partition and

then go to Step 9.6. Access the Simplified Setup Tool:

a. In the navigation area of IVM, select View/Modify Partitions under Partition Management. TheView/Modify Partitions page is shown.

b. Select the client logical partition on which you installed Linux.c. From the Tasks menu, select Properties. The Partition Properties page is shown.d. Click the Optical/Tape Devices tab.e. Click Virtual Optical Devices to open the section.f. From the Current Media column of the virtual optical device, click Modify. The Modify Current

Media page is shown.

Getting started with virtualization using IBM PowerVM 3

Page 10: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

g. Select the IBM Installation Toolkit for PowerLinux media and click OK to mount the IBMInstallation Toolkit for PowerLinux media to the virtual optical device.

h. Click OK on the Optical/Tape Devices tab.i. In the virtual terminal window, press Enter to load the IBM Installation Toolkit for PowerLinux.j. When prompted, log in to the client logical partition.k. At the prompt, type welcomecenter and accept the licenses.l. Access the graphical user interface of the IBM Installation Toolkit for PowerLinux by typing the

following address in a web browser:https://machineIP:4234

where machineIP is the IP address of the client logical partition. The Welcome Center page is shownin the browser.

m. Click Utilities > Simplified Setup Tool.7. Configure the open source workloads that you want to run. For instructions, see the following

resources depending on the workload you want to configure:v Configuring the web server (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/

liaaz/installconfigwebserv.htm)v Configuring the mail server (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/

liaaz/configuringmailserver.htm)v Configuring the file and print server (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/

topic/liaaz/installconfigfileprint.htm)v Configuring the network infrastructure server (http://publib.boulder.ibm.com/infocenter/lnxinfo/

v3r0m0/topic/liaaz/confignetworkinfra.htm)8. Install and configure any additional management tools or virtualization capabilities. For information,

see “Optional additional software for PowerLinux servers managed by IVM” on page 21.Related information:

IBM PowerVM Virtualization Introduction and Configuration

IBM PowerVM Virtualization Managing and Monitoring

Integrated Virtualization Manager on IBM System p5

Virtualization conceptsPowerVM provides a secure virtualization environment for the Power® platform.

PowerVM for specific Power Systems serversPowerVM capabilities vary by PowerVM edition.

For more information about PowerVM editions, see the topic corresponding to your system in theSystems Hardware Information Center.

POWER5 systemsPowerVM Editions (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphb2_p5/apv.htm)

POWER6® systemsPowerVM Editions Overview (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/arecu/arecupowervmeds.htm)

POWER7 Systems™

PowerVM Editions overview (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecu/arecupowervmeds.htm)

4 Linux: Getting started with virtualization for PowerLinux

Page 11: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

PowerLinux systemsPowerVM for IBM PowerLinux overview (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecul/arecupowervmeds.htm)

Logical partitioningLogical partitioning is the ability use a server as if it were two or more independent servers.

You can use logical partitioning to consolidate servers, share system resources, create mixedenvironments, and run integrated clusters.

Important logical partitioning concepts include:

Sharing resourcesAlthough each logical partition acts as an independent server, the logical partitions on a servercan share some kinds of resources with each other.

Managed systemsA managed system is a single physical server plus the resources that are connected to thephysical server.

Manufacturing default configurationThe manufacturing default configuration is the initial single partition setup of the managedsystem as received from your service provider.

Physical and virtual hardware resourcesWhen you create logical partitions on a managed system, you can assign the physical resourceson the managed system directly to logical partitions. You can also share hardware resourcesamong logical partitions by virtualizing those hardware resources.

For more information about logical partitions, see the topic corresponding to your system in the SystemsHardware Information Center.

POWER5 systemsLogical partition overview (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphb2_p5/iphatlparchoices.htm)

POWER6 systemsLogical partitioning (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphat/iphatlparkickoff.htm)

POWER7 SystemsLogical partitioning (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hat/iphatlparkickoff.htm)

PowerLinux systemsLogical partitioning (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hatl/iphatlparkickoff.htm)

Micro-PartitioningMicro-Partitioning distributes the processing capacity of one or more physical processors among one ormore logical partitions. Micro-Partitioning significantly increases overall utilization of processor resourceswithin a system.

You can use Micro-Partitioning to significantly increase utilization of processor resources in your system.

Important Micro-Partitioning concepts include:

Processing units of capacityYou can configure processing capacity in processor increments of 0.01. You must assign a

Getting started with virtualization using IBM PowerVM 5

Page 12: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

minimum processing capacity to a micro-partition. The minimum processing capacity dependsupon your hardware and firmware. The following list describes the processing capacity fordifferent Power Systems servers:

POWER5 and POWER60.1 processors

POWER7®

See Shared processors (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/p7hat/iphatsharedproc.htm)

PowerLinuxSee Shared processors (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/p7hatl/iphatsharedproc.htm)

For more information about processing capacity, see Use increased Micro-Partitioning limits on aPower system running Linux (https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/W51a7ffcf4dfd_4b40_9d82_446ebc23c550/page/Use%20increased%20Micro-Partitioning%20limits%20on%20a%20Power%20system%20running%20Linux).

Capped and uncapped modeCapped and uncapped processing modes determine whether processing capacity can exceedentitled capacity when more resources are available in the shared-processor pool.

Virtual processorsA virtual processor is a representation of a physical processor that is presented to the operatingsystem, which is running in a micro-partition.

Virtual processor foldingVirtual processor folding puts idle virtual processors into a hibernation state to conserve physicalprocessor resources.

Dedicated processorsDedicated processors are whole processors that are assigned to dedicated-processor logicalpartitions (LPARs). The minimum processor allocation for an LPAR is one whole processor; themaximum is the total number of installed processors in the server.

Shared-processor poolsShared-processor pools aggregate processor resources. Shared-processor pools have differentcharacteristics in POWER5 servers than in POWER6 servers and later. POWER5 servers supportone shared-processor pool that is called the physical shared-processor pool. POWER6 servers andlater support several shared-processor pools that are called multiple shared-processor pools.

Shared dedicated capacityOn POWER6 servers and later, you can configure dedicated-processor partitions as donatingpartitions, which donate unused cycles to the shared-processor pool.

For more information about Micro-Partitioning, see the topic corresponding to your system in theSystems Hardware Information Center.

POWER5 systemsMicro-Partitioning (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphb2_p5/virtmicropart.htm)

POWER6 systemsMicro-Partitioning technology (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/arecu/iphb1microlpar.htm)

POWER7 SystemsMicro-Partitioning technology (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecu/iphb1microlpar.htm)

6 Linux: Getting started with virtualization for PowerLinux

Page 13: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

PowerLinux systemsMicro-Partitioning technology (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecul/iphb1microlpar.htm)

Active Memory sharingWith Active Memory sharing, multiple logical partitions can share a common pool of physical memory.Physical memory can be assigned to multiple logical partitions in either a dedicated or shared mode.

You can use Active Memory sharing to create more logical partitions with the same amount of memory,or to decrease the overall system memory requirement.

Active Memory sharing requires POWER6 and later processor technology.

Important Active Memory sharing concepts include:

Dedicated and shared-memoryYou can assign traditional dedicated memory to single logical partitions, and create a memorypool that can be shared among logical partitions.

Shared-memory poolThe shared-memory pool is a collection of physical memory blocks that are managed as a wholeby the hypervisor. The memory in the pool is reserved upon creation, and no longer available forallocation to other dedicated memory partitions. The shared-memory pool is directly managed bythe hypervisor for exclusive use by shared-memory partitions.

Paging Virtual I/O ServerYou can configure the Virtual I/O Server to page memory dedicated to the shared-memory poolto a paging device. The paged memory is restored when the data is accessed again.

Shared-memory partitionsA shared-memory partition is an LPAR that uses memory from the shared-memory pool. Ashared-memory partition must use:v Shared processors.v Virtual I/O.v Red Hat Enterprise Linux 6 or SUSE Linux Enterprise Server 11, kernel 2.6.27.25-0.1-ppc64 or

later.

Logical and physical memoryYou can configure the amount of logical memory available to a shared-memory partition. You canprioritize the probability that more physical memory is assigned to the partition.

Memory classificationLinux tags each logical memory page to indicate its importance. The hypervisor uses thisinformation to prioritize the pages that have a lower effect on shared-memory partitionperformance.

For more information about Active Memory sharing, see the Active Memory Sharing topic for your systemin the Systems Hardware Information Center.

POWER6 systemshttp://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/arecu/arecuams.htm

POWER7 Systemshttp://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecu/arecuams.htm

PowerLinux systemshttp://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7ecul/arecuams.htm

Getting started with virtualization using IBM PowerVM 7

Page 14: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Active Memory deduplicationActive Memory deduplication reduces shared-memory overcommitment by eliminating memory pages inthe same LPAR or across LPARs on the same server.

You can use Active Memory deduplication to minimize the existence of identical memory chunks in mainmemory space.

Active Memory deduplication requires POWER7 and later processor technology. Active Memorydeduplication depends upon “Active Memory sharing” on page 7.

Important Active Memory deduplication concepts include:

Active Memory deduplicationActive Memory deduplication reduces identical pages that are stored in separate memory chunksinto only one page. The reduction occurs even when the identical pages are in differentshared-memory partitions.

Hypervisor logical memory mapThe hypervisor logical memory map is a table within PowerVM that maps LPAR memory pagesand physical pages.

Copy-on writeCopy-on-write is a PowerVM mechanism that tracks all deduplicated memory pages. When ashared-memory partition changes a deduplicated page, the hypervisor makes a copy of thatdeduplicated physical page. The hypervisor then gives the new copy back to the write-requestingshared-memory partition. Other shared-memory partitions continue to reference the deduplicatedpage.

Deduplication tableThe hypervisor scans and creates signatures for all physical memory pages in a deduplicationtable. When it finds pages with the same signature, the hypervisor compares the pages todetermine whether they are identical and can be deduplicated.

Operating system collaborationActive Memory Deduplication works independently of the operating system. However, newerversions of the supported operating systems can collaborate with PowerVM by indicating thepages that are likely candidates for being deduplicated. Likely candidates are frequently textpages, which contain code instructions. The indication is a refinement of the memoryclassification that is performed by “Active Memory sharing” on page 7.

Memory oversubscriptionActive Memory deduplication helps avoid physical memory overcommitment, which minimizesthe amount of operating system and Active Memory sharing paging that occurs.

For more information about Active Memory deduplication, see the Power Systems MemoryDeduplication (http://www.redbooks.ibm.com/abstracts/redp4827.html) IBM Redbooks® publication.

Virtual I/O ServerThe Virtual I/O Server shares physical resources between supported Linux partitions. The Virtual I/OServer also provides features such as Active Memory sharing, Suspend/Resume, and live partitionmobility.

Use the Virtual I/O Server to achieve more efficient utilization and flexibility of physical storage andnetwork devices.

Important Virtual I/O Server concepts include:

8 Linux: Getting started with virtualization for PowerLinux

Page 15: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Virtual storageThe Virtual I/O Server allows virtualization of physical storage resources. Virtual storage devicesare accessed by client partitions through virtual SCSI.

Virtual networkingThe Virtual I/O Server allows shared access to external networks through the Shared EthernetAdapter (SEA).

Additional Virtual I/O Server concepts apply to POWER6 and later processor technology:

Virtual storageWith N_Port ID Virtualization (NPIV), you can configure the managed system so that multiplelogical partitions can access independent physical storage through the same physical FibreChannel adapter.

Virtual networkingThe Virtual I/O Server allows shared access to external networks through Internet Protocolversion 6 (IPv6), Link Aggregation (or EtherChannel), Shared Ethernet Adapter failover, andVLAN.

Shared-memoryShared-memory is physical memory that is assigned to a shared-memory pool and shared amongmultiple logical partitions.

Paging VIOS partitionA Virtual I/O Server logical partition that is assigned to the shared-memory pool provides accessto the paging space devices for the logical partitions that are assigned to the shared-memorypool.

For more information about the Virtual I/O Server, see the topic corresponding to your system in theSystems Hardware Information Center.

POWER5 systemsVirtual I/O Server overview (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphb2_p5/iphb1_vios_virtualioserveroverview.htm)

POWER6 systemsVirtual I/O Server (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphb1/iphb1kickoff.htm)

POWER7 SystemsVirtual I/O Server (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hb1/iphb1kickoff.htm)

PowerLinux systemsVirtual I/O Server (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hb1l/iphb1kickoff.htm)

Live partition mobilityWith PowerVM live partition mobility, you can move a running logical partition from one system toanother. Live partition mobility includes active partition mobility and inactive partition mobility.

With active partition mobility, you can move Linux logical partitions that are running, including theoperating system and applications, from one system to another. The logical partition and the applicationsthat are running on it do not have to be shut down.

With inactive partition mobility, you can move a powered off Linux logical partition from one system toanother.

Getting started with virtualization using IBM PowerVM 9

Page 16: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

For more information about live partition mobility for specific Power Systems servers, see Live partitionmobility for Power Systems (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liacd/liacd-live-partition-mobility.htm).

System virtualization managementDepending upon your system, you can manage system virtualization with the Hardware ManagementConsole (HMC), the Integrated Virtualization Manager (IVM), or the IBM Flex System Manager™ (FSM).

Hardware Management ConsoleThe Hardware Management Console (HMC) is a system management appliance for Power Systemsservers.

The Hardware Management Console provides a graphical user interface and a command-line interface forsystem virtualization management. You can use the Hardware Management Console to create andmanage logical partitions, configure virtual resources for logical partitions, and manage the sharedmemory pool.

For more information about managing Power Systems server virtualization with the HardwareManagement Console, see the topic corresponding to your system in the Systems Hardware InformationCenter.

POWER5 systems

v Partitioning with version 7 or later of the HMC (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphat_p5/iphatlparwithhmcp6.htm)

v Partitioning with version 6 or earlier of the HMC (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphat_p5/iphatlparwithhmc.htm)

POWER6 systemsPartitioning with the HMC (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphat/iphbllparwithhmcp6.htm)

POWER7 SystemsPartitioning with the HMC (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hat/iphbllparwithhmcp6.htm)

PowerLinux systemsPartitioning with the HMC (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hatl/iphbllparwithhmcp6.htm)

Integrated Virtualization ManagerThe Integrated Virtualization Manager (IVM) is a system management application that is provided by theVirtual I/O Server for Power Systems servers that are without a Hardware Management Console (HMC).

The Integrated Virtualization Manager provides a graphical user interface and a command-line interfacefor system virtualization management. You can use the Integrated Virtualization Manager to create andmanage logical partitions, configure virtual resources for logical partitions, and manage the sharedmemory pool.

For more information about managing Power Systems server virtualization with the IntegratedVirtualization Manager, see the topic corresponding to your system in the Systems Hardware InformationCenter.

POWER5 systemsPartitioning with the Integrated Virtualization Manager (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphch_p5/iphchkickoff.htm)

10 Linux: Getting started with virtualization for PowerLinux

Page 17: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

POWER6 systemsIntegrated Virtualization Manager (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/iphch/iphchkickoff.htm)

POWER7 SystemsIntegrated Virtualization Manager (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hch/iphchkickoff.htm)

PowerLinux systemsIntegrated Virtualization Manager (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hchl/iphchkickoff.htm)

IBM Flex System ManagerThe IBM Flex System Manager is a system management appliance for IBM Flex System™. It providessystem virtualization management through IBM VMControl.

VMControl is the single point of control for managing virtualized resources in one or more IBM FlexSystem Enterprise Chassis. With VMControl, you can deploy virtual appliances to create virtual serversthat are configured with the operating system and software applications that you want. You can alsogroup resources into system pools to centrally manage and control the different workloads in yourenvironment.

For more information about managing IBM Flex System virtualization with VMControl, see Managingvirtualized resources (http://publib.boulder.ibm.com/infocenter/flexsys/information/topic/com.ibm.acc.8731.doc/managing_virtualized_resources.html) in the IBM Flex System Information Center.

Differences between Power Systems and x86 environmentsLearn about the differences in configuration and terminology between Power Systems environments andx86 environments.

Configuration differences

In x86 environments, it is common to set up and configure hardware RAID to protect the system fromdisk failures. Typically, configuring hardware RAID is one of the first steps in setting up x86 servers.

In Power Systems environments, it is common to protect the system against disk failures by mirroring thedisks. You mirror the disks by running a command in the Integrated Virtualization Manager (IVM) afterIVM is installed. If you want to set up RAID instead, you can use the IBM Installation Toolkit forPowerLinux or the IBM Standalone Diagnostics CD. However, setting up RAID might require that youreinstall IVM if IVM is already installed.

Terminology differences

IVM uses Power Systems terminology, which is sometimes different from x86 terminology. The followingtable lists terms that are used in IVM environments, maps them to similar x86 terms, and provides adefinition for the terms.

IVM term or concept x86 term or concept Definition

managed system server or system A physical server that containsphysical processors, memory, andI/O resources that is often virtualizedinto virtual servers, which are alsoknown as client logical partitions. Inthis case, the managed system is thePowerLinux server.

Getting started with virtualization using IBM PowerVM 11

Page 18: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

IVM term or concept x86 term or concept Definition

management partition Virtual machine, virtual server,management operating system,VMWare Service Console, or KVMHost partition

The logical partition that controls allof the physical I/O resources on theserver and provides the user interfacefrom which to manage all of theclient logical partitions within theserver. In this case, the logicalpartition in which IVM is installed.

client logical partition or logicalpartition

Virtual machine or virtual server The collection of processor, memory,and I/O resources that are defined torun Linux and its workload.

POWER® firmware plus the VirtualI/O Server. The PowerVM hypervisorpresents the virtual environment, butthe Virtual I/O Server can optionallyprovide virtual I/O to a client logicalpartition. The Virtual I/O Server roleis optional because the PowerVMhypervisor can provide multiplepartitions by presenting a partitionand assigning physical I/O adapters.

x86 hypervisor The underlying software of IVM thatfacilitates the sharing of physical I/Oresources between client logicalpartitions within the server. In IVMenvironments, the terms Virtual I/OServer and Integrated VirtualizationManager are sometimes usedinterchangeably.

Related information:

SAS RAID controllers for Linux

Installation tools for PowerLinux servers with logical partitionsLearn about the tools you can use to install and configure your PowerLinux system. Installation toolsinclude the Integrated Virtualization Manager (IVM), the IBM Installation Toolkit for PowerLinux, andthe IBM Installation Toolkit Simplified Setup Tool.

IVM

IVM provides a web-based system management interface and a command-line interface that you can useto manage the PowerLinux system. With IVM, you can create logical partitions, manage virtual storageand virtual Ethernet, and view service information related to the server.

IBM Installation Toolkit for PowerLinux

The IBM Installation Toolkit provides a set of tools that simplifies the installation of Linux. The IBMInstallation Toolkit gives you access to the IBM value-added software necessary to fully use thecapabilities of the Power platform. The IBM Installation Toolkit can also be used as a bootable rescueDVD to run diagnostic tools and repair previously installed operating systems. You can use the IBMInstallation Toolkit for the following:v Install and configure Linux on a non-virtualized POWER serverv Install and configure Linux on servers with previously configured logical partitions (virtualized

servers)v Install IBM RAS Tools for Linuxv Install IBM RAS Tools on a previously installed Linux systemv Upgrade system firmware level on POWER serversv Perform diagnostics or maintenance operations on previously installed systemsv Browse and search Linux documentation included on the IBM Installation Toolkit ISO image

12 Linux: Getting started with virtualization for PowerLinux

Page 19: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

v Migrate a LAMP server (software stack and application data) from a System x® server to a System p®

server

IBM Installation Toolkit Simplified Setup Tool

The Simplified Setup Tool guides you through the process of quickly and easily configuring one or moreopen source workloads on your PowerLinux system. The Simplified Setup Tool is included in the IBMInstallation Toolkit.Related information:

Integrated Virtualization Manager

Installing Linux with the IBM Installation Toolkit

Configuring the management partition and client logical partitionsYou can mirror the management partition, configure virtual resources on the management partition, andcreate the client logical partitions.

This procedure provides a simple configuration that deploys many defaults. If you want to configure amore complex or advanced configuration, see the technical documentation for IVM located in the IBMSystems Hardware Information Center at the following website: http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hch/iphchsettinguplpar.htm.

Before you start, ensure that you are the prime administrator (padmin).

Step 1: Connecting to the web-based interfaceTo connect to the web-based interface for the Integrated Virtualization Manager (IVM), you must verifythe network connection and configure the TCP/IP connection.

To connect to the web-based interface, complete the following steps:1. From the serial console, log in to the management partition with the padmin user ID.2. When prompted, change the login password to a secure password that adheres to your local

password-security guidelines.3. Accept the license agreement with the license command.4. Ensure that there is a network connection configured between the management partition and at least

one of the physical Ethernet adapters on the managed system. With this connection, you can accessthe IVM interface from a computer that is connected to the physical Ethernet adapter. You cannot usethe HMC1 and HMC2 ports to connect to the management partition.

5. Configure the TCP/IP connection for the management partition with the mktcpip command. Forexample:mktcpip -hostname fred -inetaddr 9.5.4.40 -interface en0 -start -netmask 255.255.255.128 \-gateway 9.5.4.1 -nsrvaddr 9.10.244.200 -nsrvdomain austin.century.com

6. Open a web browser window and connect with the HTTP or HTTPS protocol to the IP address thatyou assigned to IVM in Step 5. For example, enter https://9.5.4.40 in your web browser. TheWelcome window is shown.

7. Enter the default user ID of padmin, and enter the password that you defined in Step 2. The IVMinterface is shown.

8. Verify that IVM has the latest fix packs and updates:a. In the navigation area, select Updates under Service Management. The Updates page is shown.b. View the current code level of IVM.c. Go to the website provided on the page to find the latest available updates and directions for how

to apply the updates.

Getting started with virtualization using IBM PowerVM 13

Page 20: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Related information:

license command

mktcpip command

Step 2: Mirroring the management partitionTo prevent potential downtime and data loss, add a second disk to the rootvg storage pool and mirrorthe two disks.

When you install Integrated Virtualization Manager (IVM), it automatically creates a storage pool calledrootvg and assigns one physical volume to rootvg. IVM and any data that IVM uses initially is stored onthe management partition (partition ID 1) on that physical volume. If that disk fails, you cannot manageyour client partitions and suffer downtime and the loss of data. To prevent this kind of interruption toyour business, you need to add a second disk to the rootvg storage pool and mirror the two disks.

To mirror the management partition, complete the following steps:1. Add a new physical volume to the rootvg storage pool:

a. In the navigation area, select View/Modify Virtual Storage under Virtual Storage Management.The View/Modify Virtual Storage page is displayed.

b. Select the Storage Pools tab.c. From the Tasks menu, click Create Storage Pool. The Create Storage Pool page is displayed.d. Enter a unique name for the new storage pool.e. Select Logical volume based as the storage pool type.f. Select a physical volume for the storage pool and click OK.

2. Mirror the new volume:a. In the navigation area, select View/Modify Partitions under Partition Management. The

View/Modify Partitions page is displayed.b. Select the management partition.c. From the Tasks menu, select Open terminal window. A virtual terminal window is shown.

Note: Because the applet has a digital signature, your browser might display a security warningand ask you to verify that you want to run the applet.

d. Enter the password for your login ID from the current IVM session. A terminal session starts forthe management partition.

e. At the command prompt, run the extendvg command as follows:extendvg rootvg Physicalvolume

where Physicalvolume is the name of the volume that you just added to rootvg.f. At the command prompt, run the mirriorios command as follows:

mirrorios Physicalvolume

where Physicalvolume is the name of the volume that you just added to rootvg.

Restriction: The mirrorios command mirrors only the rootvg storage pool. It does not mirrorother volume groups or any virtual disks that are created on rootvg after it is initially mirrored.

g. Verify that the mirrored physical volume is included in the bootlist by running the followingcommand:bootlist -mode normal -ls

3. If the mirrored volume is not included in the bootlist, add it using the following command:bootlist -mode normal hdisk0 hdisk1

14 Linux: Getting started with virtualization for PowerLinux

Page 21: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

where hdisk0 and hdisk1 are the mirrored physical volumes.

Step 3: Configuring storage on the managed systemYou can configure storage on the managed system to meet the storage needs of the logical partitions thatyou create.

For a simple setup, consider configuring storage for one of the following scenarios:

Environments with local storageYou can create a storage pool in addition to the default rootvg storage pool for regular datastorage, and then assign the new storage pool as the default. When you create logical partitions,you can create virtual disks from the storage capacity of the storage pool, and assign the virtualdisks to the logical partitions. Virtual disks allow you to specify more precisely the amount ofstorage that you assign to logical partitions. You can assign storage to logical partitions withoutregard to the actual capacities of the physical volumes that make up the storage pool.

Table 1. Some benefits and drawbacks to using local storage

Benefits Drawbacks

v Using local storage can reduce the amount of disksthat are assigned to IVM because multiple clientlogical partitions can access the same physical disk.

v You can create additional logical volumes as neededand assign them quickly.

v Using local storage can cause some resourcecontention if the client logical partitions perform rapidI/O operations on the same physical disk.

v Environments with local storage do not support LivePartition Mobility.

Environments with a storage area network (SAN)You can assign physical volumes directly to the logical partitions. A physical volume is anindividual logical unit that is identified by a logical unit number (LUN). A physical volume canbe a hard disk or a logical device on a SAN. Configure storage with a SAN if you plan to useLive Partition Mobility.

Table 2. Some benefits and drawbacks to using SAN storage

Benefits Drawbacks

v Using a SAN provides the client logical partition withdirect access to a SAN physical volume.

v Environments with a SAN support Live PartitionMobility.

v Managing a large quantity of disks on IVM and theclient logical partitions to which they are mapped canbecome complex.

v If you need to boot IVM to the System ManagementServices (SMS) menu, IVM can take a long time toprobe all of the disks. IVM might also identify severaldisks as root volume groups (look for the IVM name).

Generally, the physical volumes and virtual disks that you assign to a logical partition display as physicaldisk devices in the operating system interface of the logical partition.Related information:

Live Partition Mobility

Configuring storage for environments with local storageTo create a storage pool for regular data storage, complete the following steps:1. In the navigation area, select View/Modify Virtual Storage.2. Select the Storage Pools tab.3. From the Tasks menu, click Create Storage Pool. The Create Storage Pool page is displayed.4. Enter a unique name for the new storage pool.5. Select Logical volume based as the storage pool type.

Getting started with virtualization using IBM PowerVM 15

Page 22: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

6. Select Assign as default storage pool.7. Select one or more physical volumes for the storage pool and click OK.

Configuring storage environments with a SAN1. Obtain the world wide port name (WWPN) for each fibre channel adapter:

a. In the navigation area, select View/Modify Partitions under Partition Management. TheView/Modify Partitions page is displayed.

b. Select the management partition.c. From the Tasks menu, select Open terminal window. A virtual terminal window is shown.

Note: Because the applet has a digital signature, your browser might display a security warningand ask you to verify that you want to run the applet.

d. Enter the password for your login ID from the current IVM session. A terminal session starts forthe management partition.

e. At the command prompt, run the lsdev command as follows:lsdev -dev fcs*

The output shows all of the adapters of the fcs type.f. Run the following command for each adapter:

fcstat adaptername

where adaptername is the name of the adapter as identified in Step 1e. For example, fcstat fcs1.The output shows information about the adapter, including its world wide port name (WWPN).

g. Record the WWPN of each adapter.2. From the SAN tools, zone and assign storage to the WWPNs that you recorded in Step 1g.3. From the command prompt of the IVM virtual terminal, run the following command for each adapter

so that IVM recognizes the new LUNs that you assigned to the adapters:cfgdev -dev adaptername

where adaptername is the name of an adapter to which you assigned storage from the SAN. Forexample, cfgdev -dev fcs1.

Step 4: Configuring virtual Ethernet on the managed systemYou can configure virtual Ethernet on the managed system to meet the networking needs of the logicalpartitions that you create.

For a simple setup, consider configuring one of the following types of virtual Ethernet:

Host Ethernet Adapter (HEA) or Integrated Virtual Ethernet (IVE)An HEA is a unique Ethernet adapter that is built into the system. It provides the ability topartition a physical Ethernet port. An HEA can contain one or more physical ports and eachphysical port can be assigned to zero or more logical partitions.

Table 3. Some benefits and drawbacks to using HEA or IVE

Benefits Drawbacks

v The initial setup of an HEA is easier than the initialsetup of an SEA.

v HEA provides high performance.

v HEA does not support Live Partition Mobility.

v HEA supports a limited number of client logicalpartitions. HEA supports up to 32 logical ports. IVMuses at least one logical port, so HEA supports up to31 client logical partitions.

16 Linux: Getting started with virtualization for PowerLinux

Page 23: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Configuring an HEA does not require configuration of the IVM management partition. Youconfigure the HEA when you create the client logical partitions.

Shared Ethernet Adapter (SEA)An SEA is a virtual Ethernet bridge that connects the virtual Ethernet networks on your managedsystem to physical Local Area Networks (LANs). For greater security, do not set up the physicalEthernet adapter that you use to connect to the management partition as a virtual Ethernetbridge. With this configuration, you can isolate the management partition from all externalnetworks. (The management partition manages the virtual Ethernet networks on your managedsystem but does not participate in any virtual Ethernet networks.)

Table 4. Some benefits and drawbacks to using an SEA

Benefits Drawbacks

v An SEA supports an almost unlimited number ofclient logical partitions.

v An SEA provides fast communication between clientlogical partitions.

v An SEA supports Live Partition Mobility.

v The initial setup of an SEA is more complex than theinitial setup of an HEA.

v An SEA uses processor cycles in IVM for sendingpackets to the external LANs.

Configuring an SEA requires some configuration of the management partition as described in thefollowing procedure.

Related information:

Live Partition Mobility

Configuring an HEA or IVEConfiguring an HEA does not require configuration of the management partition. You configure the HEAwhen you create the client logical partitions. Proceed to “Step 5: Creating client logical partitions.”

Configuring an SEA1. Determine the type of physical Ethernet adapter that you plan to use as the SEA:

v If standard Ethernet adapter, go to step 6.v If HEA, go to step 2.

2. In the navigation area, select View/Modify Host Ethernet Adapters. The View/Modify Host EthernetAdapters page is shown.

3. Select the host Ethernet adapter that you want to use as the SEA. You must select an HEA that hasonly one connected partition, which is the management partition.

4. Click Properties. The Host Ethernet Adapter Physical Port Properties page is shown.5. Select Allow virtual Ethernet bridging and click OK.6. In the navigation area, select View/Modify Virtual Ethernet. The View/Modify Virtual Ethernet page

is shown.7. Select the Virtual Ethernet Bridge tab.8. For Virtual Ethernet ID 1, select the physical Ethernet adapter you want to use as the SEA.9. Click Apply.

Step 5: Creating client logical partitionsYou can create client logical partitions on the managed system by using the Create Partitions wizard andthen creating additional logical partitions based on existing logical partitions.

Before you create client logical partitions, complete the following preparation tasks:1. Determine the minimum resource requirements for the Linux distribution that you plan to run in the

client logical partition.

Getting started with virtualization using IBM PowerVM 17

Page 24: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

2. Determine the minimum resource requirements for the workloads, or applications, that you plan torun in the client logical partition. To view the minimum resource requirements for the open sourceworkloads, see ../liaay/resource_requirements.dita.

3. Determine the resource assignments for the client logical partition based on the followingconsiderations:v The minimum resource requirements from Step 1 and Step 2.v The type and amount of data that the workloads, or applications, service.

To create client logical partitions, complete the following steps:1. From the navigation area, select View/Modify Partitions under Partition Management. The

View/Modify Partitions page is shown.2. From the Tasks menu, select Create partition. The Create Partitions wizard is shown.3. Complete the wizard Steps as follows. Take the defaults unless directed otherwise.

a. In the Name Step, enter a unique name for the new logical partition.b. In the Memory Step, enter the amount of memory to assign to the logical partition based on

what you determined in preparation step 3.c. In the Processors Step, enter the number of processors to assign to the logical partition based on

what you determined in preparation step 3.d. In the Ethernet Step, your selection depends on your Ethernet configuration:

v If you are using an HEA, make the following selections:1) Select at least one HEA port. Each selection must show a state of Up for the Link State and

show at least one or more Available Connections.2) In the Virtual Ethernet Configuration table, select None for each Virtual Ethernet.

v If you are using an SEA, make the following selections:1) Clear all HEA ports.2) In the Virtual Ethernet Configuration table, set an adapter to virtual Ethernet 1.

e. In the Storage type Step, your selection depends on your storage environment:v If you are using local storage, select Create a virtual disk.v If you are using a SAN, select Assign existing virtual disks and physical volumes.

f. In the Storage Step, your selections depend on your storage environment:v If you are using local storage, enter the size of the virtual disk based on what you determined

in preparation step 3.v If you are using a SAN, select one or more physical volumes to assign to the logical partition.

g. Click Finish.4. From the navigation area, select View/Modify Partitions under Partition Management. The

View/Modify Partitions page is shown and lists the new logical partition.5. Determine whether you want to create additional logical partitions:

v If yes, go to Step 6.v If no, you are finished with this procedure. Return to the Installation roadmap to finish

configuring the system.6. Determine whether the additional logical partitions have the same properties as the logical partition

that you previously created (except for partition ID, partition name, and storage configuration):v If yes, go to Step 7.v If no, repeat this procedure and complete the Create Partitions wizard to create additional logical

partitions.7. Select the logical partition that you used the Create Partitions wizard to create.8. From the Tasks menu, click Create based on. The Create Based On page is shown.9. Enter a unique name for the new logical partition.

18 Linux: Getting started with virtualization for PowerLinux

Page 25: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

10. If you are using local storage, select Create Virtual Disks. If you are using a SAN, leave this optioncleared.

11. Click OK. The View/Modify Partitions page is shown and lists the new logical partition.12. Return to the Installation roadmap to finish configuring the system.

Configuring storage for the installation mediaYou can configure a virtual media library. Then, you can add the IBM Installation Toolkit for PowerLinuxinstallation media and the Linux distribution media to the virtual media library.

Before you start, complete the following tasks:v Locate the DVDs of the Linux distribution that you plan to install on the client logical partition.v Download the ISO image of the IBM Installation Toolkit for PowerLinux. You can download the ISO

image of the IBM Installation Toolkit for PowerLinux from the IBM Installation Toolkit for PowerLinuxweb page. Do not create a DVD.

v Transfer the ISO image of the IBM Installation Toolkit for PowerLinux to the /home/padmin/ directoryin IVM in binary mode by using SCP or FTP.

Important: Rename the ISO image so that the file name is less than 12 characters in length. Forexample, rename the file to toolkit.iso.For example:scp IBM_Installation_Toolkit.iso [email protected]:toolkit.iso

This example shows a command that transfers the IBM_Installation_Toolkit.iso file from a remoteworkstation to the /home/padmin/ directory in an IVM system with the host namemyivm.mycompany.com. This example also renames the IBM_Installation_Toolkit.iso file totoolkit.iso.

To configure storage for the installation media, complete the following steps:1. Create a media library:

a. In the navigation area of IVM, select View/Modify Virtual Storage under Virtual StorageManagement. The View/Modify Virtual Storage page is shown.

b. Select the Optical/Tape tab.c. In the Virtual Optical Media section, click Create Library. The Create Media Library page is

shown.d. Select the rootvg storage pool.e. Enter the size of the virtual media library and click OK. The media library must be large enough

to store the ISO image of the IBM Installation Toolkit and the Linux distribution media. If you areunsure of what size to enter, then enter 10 GB.

2. Add the ISO image of the IBM Installation Toolkit to the virtual media library:a. In the Virtual Optical Media section of the Optical/Tape tab, click Add Media. The Add Media

page is shown.b. Select Add existing file.c. Enter the directory path and file name of the ISO image of the IBM Installation Toolkit. For

example, enter /home/padmin/toolkit.iso

d. Click OK.3. Add the Linux distribution media to the virtual media library:

a. Insert the DVD for the Linux distribution into the DVD drive of the server.b. In the Virtual Optical Media section of the Optical/Tape tab, click Add Media. The Add Media

page is shown.c. Select Import from physical optical device.

Getting started with virtualization using IBM PowerVM 19

Page 26: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

d. Enter the name of the media.e. Select the optical device that contains the DVD of the Linux distribution.f. Click OK to import the Linux installation media to the virtual media library.

4. Return to the installation roadmap to finish configuring the system.

Loading the IBM Installation Toolkit on a client logical partitionYou can mount the ISO image of the IBM Installation Toolkit for PowerLinux to the virtual optical device,activate the client logical partition, configure the client logical partition to boot from the virtual opticaldevice, and access the user interface of the IBM Installation Toolkit.

To load the IBM Installation Toolkit on the client logical partition, complete the following steps:1. Create a virtual optical device for the client logical partition and mount the ISO image of the IBM

Installation Toolkit to the device:a. In the navigation area of IVM, select View/Modify Partitions under Partition Management. The

View/Modify Partitions page is shown.b. Select the client logical partition on which you want to load the IBM Installation Toolkit.c. From the Tasks menu, select Properties. The Partition Properties page is shown.d. Click the Optical/Tape Devices tab.e. Expand the Virtual Optical Devices section.f. Determine whether a device exists that has no current media.

v If yes, go to Step 1g.v If no, click Create Device. A new virtual optical device is created and shown in the table. Go to

Step 1g.g. From the Current Media column of the virtual optical device, click Modify to mount the ISO

image of the IBM Installation Toolkit to the new device. The Modify Current Media page isshown.

h. Select the ISO image of the IBM Installation Toolkit and click OK.i. Click OK on the Optical/Tape Devices tab.

2. Open a virtual terminal session to the client logical partition:a. From the View/Modify Partitions page, select the client logical partition on which you plan to

load the IBM Installation Toolkit.b. From the Tasks menu, select Open terminal window. A virtual terminal window is shown.

Note: Because the applet has a digital signature, your browser might show a security warningand ask you to verify that you want to run the applet.

c. Enter the password for your login ID from the current IVM session. A terminal session starts forthe logical partition and the SMS menu is shown in the terminal window.

3. Activate the client logical partition:a. From the navigation area, select View/Modify Partitions under Partition Management.b. Select the client logical partition that you want to activate and click Activate. The Activate

Partitions page is shown. Verify the partition ID, partition name, and the current state of theclient logical partition.

c. Click OK to activate the partition. The View/Modify Partitions page is shown and the logicalpartition state has a value of running.

d. In the terminal window, enter the number 1 immediately after IBM flashes across the screen.This action boots the client logical partition to the Systems Management Services (SMS) menu.

4. Obtain the MAC address of the host Ethernet adapter (HEA) or shared Ethernet adapter (SEA) towhich the client logical partition is connected:

20 Linux: Getting started with virtualization for PowerLinux

Page 27: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

a. In SMS, select Select Boot Options, and press Enter.b. Select Select Install/Boot Device, and press Enter.c. Select List All Devices and press Enter.d. Select the device number that corresponds to the HEA or SEA to which the client logical partition

is connected, and press Enter.e. Select Information and press Enter.f. Record the MAC address of the adapter.g. Press Esc twice to return to the list of devices.

5. Use the MAC address that you obtained in Step 4 on page 20 to set up DHCP for the client logicalpartition. Then, return to this procedure and continue with Step 6. During startup, the IBMInstallation Toolkit obtains a dynamic IP address for the client logical partition through DHCP.

6. Configure the client logical partition to boot from the virtual optical device that you created in Step1 on page 20:a. From the list of all devices in SMS, select the device number that corresponds to the virtual

optical device that you created in Step 1 on page 20 and press Enter.b. Select Normal Mode Boot and press Enter.c. Exit the SMS menu. The client logical partition loads the IBM Installation Toolkit, and the

Welcome to the IBM Installation Toolkit screen is shown in the terminal window.7. Record the machine IP address located at the top of the screen.8. Type 1 to select the Wizard mode (performs installation) option.9. You might be prompted to accept a self-signed SSL certificate and identity. Accept both to continue.

10. Press Tab several times to go to the license question and accept the licenses to continue. The IBMInstallation Toolkit Welcome Center is shown in the terminal window.

11. Access the graphical user interface of the IBM Installation Toolkit by typing the following address ina web browser:https://machineIP

where machineIP is the IP address that you recorded in Step 7. The Welcome Center page is shown inthe browser.

12. Return to the Installation roadmap to finish configuring the system.

Optional additional software for PowerLinux servers managed by IVMLearn about the optional additional software for PowerLinux servers, such as IBM Systems DirectorVMControl™ and Live Partition Mobility.

In addition to Linux and the open source workloads, you can install the following optional managementtools and virtualization capabilities:

IBM Systems Director VMControlIBM Systems Director VMControl is designed to simplify the management of workloads in yourIT environment. Use IBM Systems Director VMControl Express® Edition, IBM Systems DirectorVMControl Standard Edition, and IBM Systems Director VMControl Enterprise Edition to managevirtual servers, virtual appliances, workloads, and system pools across multiple hardwareplatforms and virtualization environments from one location.

For more information, see IBM Systems Director VMControl in the IBM Systems Directorinformation center.

Live Partition MobilityWith Live Partition Mobility, a component of the IBM PowerVM Enterprise Edition hardware

Getting started with virtualization using IBM PowerVM 21

Page 28: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

feature, you can move Linux logical partitions from one system to another. The mobility processtransfers the system environment including the processor state, memory, attached virtual devices,and connected users.

For more information, see Live Partition Mobility in the IBM Systems Hardware informationcenter.

Extreme Cluster Administration Tool (xCAT)xCAT is a scalable cluster management and provisioning tool that provides hardware control,discovery, and operating system deployment. For more information, see Extreme ClusterAdministration Tool (xCAT) (http://xcat.sourceforge.net/).

Related information for virtualizationIBM Redbooks publications, websites, and other information center topic collections contain informationthat relates to the Getting started with virtualization using IBM PowerVM topic collection.

IBM information centers

Linux information centerInstalling Linux with the IBM Installation Toolkit for PowerLinux (http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaan/powerpack.htm)

Systems Director information centerIBM Systems Director VMControl (http://pic.dhe.ibm.com/infocenter/director/v6r2x/topic/com.ibm.director.vim.helps.doc/fsd0_vim_main.html)

Systems Hardware information center

v Integrated Virtualization Manager (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hch/iphchkickoff.htm)

v Integrated Virtualization Manager commands (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hcg/iphcgkickoff.htm)

v Live Partition Mobility (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/p7hc3/iphc3ivmkickoff.htm)

v SAS RAID controllers for Linux (http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/topic/arebk/sascontroller_kickoff.htm)

IBM Redbooks and Redpapersv IBM PowerVM Virtualization Introduction and Configuration, SG24-7940v IBM PowerVM Virtualization Managing and Monitoring, SG24-7590v Integrated Virtualization Manager on IBM System p5®, REDP-4061

Websites

Hands-On Technical Product Demos for Integrated Virtualization Manager (IVM) (http://www.ibm.com/developerworks/wikis/display/wikiptype/movies#Movies-sectionivm)

PDF file for Getting started with virtualization using IBM PowerVMYou can view and print a PDF of this information.

To view or download the PDF version of this document, select Getting started with virtualization usingIBM PowerVM (about 191 KB).

22 Linux: Getting started with virtualization for PowerLinux

Page 29: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Saving PDF files

To save a PDF on your workstation for viewing or printing:1. Right-click the PDF link in your browser.2. Click the option that saves the PDF locally.3. Navigate to the directory in which you want to save the PDF.4. Click Save.

Downloading Adobe Reader

You need Adobe Reader installed on your system to view or print these PDFs. You can download a freecopy from the Adobe Web site (http://get.adobe.com/reader/).

Getting started with virtualization using IBM PowerVM 23

Page 30: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

24 Linux: Getting started with virtualization for PowerLinux

Page 31: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

Notices

This information was developed for products and services offered in the U.S.A.

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 inyour area. Any reference to an IBM product, program, or service is not intended to state or imply thatonly 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 isthe user's responsibility to evaluate and verify the operation of any non-IBM product, program, orservice.

IBM may have patents or pending patent applications covering subject matter described in thisdocument. The furnishing of this document does not grant you any license to these patents. You can sendlicense inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle DriveArmonk, NY 10504-1785U.S.A.

The following paragraph does not apply to the United Kingdom or any other country where suchprovisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATIONPROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS ORIMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Somestates do not allow disclaimer of express or implied warranties in certain transactions, therefore, thisstatement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes are periodicallymade to the information herein; these changes will be incorporated in new editions of the publication.IBM may make improvements and/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

Licensees of this program who wish to have information about it for the purpose of enabling: (i) theexchange of information between independently created programs and other programs (including thisone) and (ii) the mutual use of the information which has been exchanged, should contact:

IBM CorporationDept. LRAS/Bldg. 90311501 Burnet RoadAustin, TX 78758-3400U.S.A.

Such information may be available, subject to appropriate terms and conditions, including in some cases,payment of a fee.

The licensed program described in this document and all licensed material available for it are providedby IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement orany equivalent agreement between us.

© Copyright IBM Corp. 2011, 2012 25

Page 32: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual PropertyDepartment in your country or send inquiries, in writing, to:

IBM World Trade Asia CorporationLicensing2-31 Roppongi 3-chome, Minato-kuTokyo 106-0032, Japan

IBM may use or distribute any of the information you supply in any way it believes appropriate withoutincurring any obligation to you.

Information concerning non-IBM products was obtained from the suppliers of those products, theirpublished announcements or other publicly available sources. IBM has not tested those products andcannot confirm the accuracy of performance, compatibility or any other claims related to non-IBMproducts. Questions on the capabilities of non-IBM products should be addressed to the suppliers ofthose products.

Any references in this information to non-IBM Web sites are provided for convenience only and do not inany manner serve as an endorsement of those Web sites. The materials at those Web sites are not part ofthe materials for this IBM product and use of those Web sites is at your own risk.

This information contains examples of data and reports used in daily business operations. To illustratethem as completely as possible, the examples include the names of individuals, companies, brands, andproducts. All of these names are fictitious and any similarity to the names and addresses used by anactual business enterprise is entirely coincidental.

TrademarksIBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International BusinessMachines Corporation in the United States, other countries, or both. If these and other IBM trademarkedterms are marked on their first occurrence in this information with a trademark symbol (® and ™), thesesymbols indicate U.S. registered or common law trademarks owned by IBM at the time this informationwas published. Such trademarks may also be registered or common law trademarks in other countries. Acurrent list of IBM trademarks is available on the Web at Copyright and trademark information atwww.ibm.com/legal/copytrade.shtml

Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarksof Adobe Systems Incorporated in the United States, and/or other countries.

Linux is a trademark of Linus Torvalds in the United States, other countries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in theUnited States, other countries, or both.

Other company, product, or service names may be trademarks or service marks of others.

26 Linux: Getting started with virtualization for PowerLinux

Page 33: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization
Page 34: Linux: Getting started with virtualization for PowerLinux · Understand the differences in configuration and terminology for Power Systems environments and ... IBM PowerVM Virtualization

����

Printed in USA