24
1 © 2009 IBM Corporation PowerVM HMC and Partitioning Cookbook Aaron Bolding/Murali Neralla/Jeanne Sparlin

PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

1

© 2009 IBM Corporation

PowerVM HMC and Partitioning Cookbook

Aaron Bolding/Murali Neralla/Jeanne Sparlin

Page 2: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

2

© 2009 IBM Corporation

PowerVM Partitions

2

Before you start

Assumptions:

– The Hardware Management Console (HMC) and Power System are in the rack and correctly cabled

– HMC has already been installed and has an appropriate firmware level.

– Use Virtual IO Server (VIOS) and perhaps limited storage resources

– These charts address walking through a generic set of steps with no errors.

– Nothing in these charts can be considered an advanced option. All are basics

Have the following ahead of time:

– Ethernet addresses

• HMC

• service processor

• VIO Server

• one for each POWER LPAR

– DO NOT CONNECT POWER TO THE POWER SYSTEM UNTIL HMC CONFIGURED

A NIM server is useful. These charts do not discuss how to set it up.

Several things have to happen before you can begin to set up PowerVM partitions.1. Machines have to be racked up and cabled.2. The HMC has to be installed with the correct firmware. 3. You need to have contacted your network administrator on received Ethernet addresses. Ethernet

addresses – Don’t need service processor if attached to HMC and use private netowrk.

Page 3: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

3

© 2009 IBM Corporation

PowerVM Partitions

3

HMC Configuration Topics

Configuring the HMC

– Ethernet

– Remote access

Subsequent classes will configure the Power Server for

– Virtual I/O Server

– AIX and Linux LPARs

Debugging

At the end of this section you will be able to:

– Access the HMC remotely

– Use the various functions to configure the HMC

This is the set of topics that we will cover with respect to the HMC.

We’ll set up the Ethernet and make sure that the administrator can access the HMC remotely and disucss

Page 4: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

4

© 2009 IBM Corporation

PowerVM Partitions

4

What is an HMC

The HMC uses its connections to managed systems to perform various functions, including:

– Creating and maintaining a multiple-partitioned environment

– Managing Capacity on Demand resources.

– Displaying a virtual operating system session terminal for each partition.

– Displaying virtual operator panel values for each partition.

– Detecting, reporting, and storing changes in hardware conditions.

– Powering managed systems on and off.

– Starting, stopping, and resetting logical partitions.

– Managing serviceable events

– Reporting serviceable events

A Hardware Management Console (HMC) is simply a desktop or rack-mounted computer. What makes an HMC different from other personal computers is that the HMC is connected to other computer systems. You will use the HMC to manage the configuration and operation of partitions in a system, as well as add and remove hardware without interrupting system operation. With an HMC, you can control Capacity on Demand resources. One HMC is capable of controlling multiple servers. The systems that are monitored by the HMC are called managed systems. The HMC provides a Web user interface (WUI) for configuring and operating single or multiple managed systems. There is also a command line interface (CLI), The HMC is connected to a dedicated port on the service processor of the POWER6 system via an Ethernet connection. Tools are available on the HMC for determining problems and providing service support, such as call-home and error log notification, through a modem or the Internet.

Multiple managed systems can be supported by one HMC, located locally or remotely attached.

Page 5: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

5

© 2009 IBM Corporation

PowerVM Partitions

5

PHOTO OF PHYSICAL HMC CONNECTIONS

Power plug KVM CableEthernet cables

•Top – public

•Bottom -- Private

Take a quick look at your hardware

The top Ethernet port is eth0 which you will connect to your regular network. The bottom port is eth1 which you will use to set up a private network to manage your systems. If you have one system you can connect it directly with a crossover cable. A small switch can be used to allow multiple systems to connect.

Page 6: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

6

© 2009 IBM Corporation

PowerVM Partitions

6

Power System

2 USB – keyboard and mouse

Power Cables

2 Ethernet portsTop is eth0

HMC PORTSTop is HMC1

You need to connect the HMC 1 to the switch for the private network.

Connect eth0 to the public network.

Page 7: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

7

© 2009 IBM Corporation

PowerVM Partitions

7

HMC Configuration -- the network

The first set of tasks that we’ll discuss will enable you to access the HMC remotely. However, you must start locally – that is physically in front of the HMC console.

When you open your HMC console (locally), you get this menu

.

Then select Logon and launch of the HMC

The operations to set up the HMC network and enable remote access, happen at the HMC console. After that, you can work remotely.

Page 8: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

8

© 2009 IBM Corporation

PowerVM Partitions

8

HMC Configuration -- the network

While at the HMC graphical (keyboard, monitor and mouse) console, use the login window to enter the default id and password

The default id and password are user hscroot and password abc123.

Page 9: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

9

© 2009 IBM Corporation

PowerVM Partitions

9

HMC Configuration -- the network

Navigation Pane

Status Bar

Work Pane

This chart shows the various elements of the HMC's Web user interface are covered in depth when discussing the relevant tasks that the HMC can accomplish. For now, though, we'll provide a quick overview.

Select the HMC Version button and be sure that your HMC is at Version 7. If at a version less than 7, reinstall the HMC to Version 7.xxx.

The HMC screen is divided into three main areas:

•Navigation Pane -- The left side of the HMC Web user interface is the Navigation Pane. The Navigation Pane contains the primary navigation links for managing your system resources and the HMC. It presents a single launch point for accessing resources or tasks.

•Work Pane -- The right side of the panel displays information based on the current selection in the Navigation Pane. For example, when Welcome is selected in the Navigation Pane, the Welcome page content is displayed in the Work Pane.

•Status Bar - Located on the lower left side of the panel, the status bar presents at-a-glance visual cues of current overall system status. This view consists of a status-sensitive title, background color, and buttons.

Our next set in the configuration process is to select HMC management. You can select HMC management in either the Navigation Pane or the Work Pane.

Notice that one of your options is the Guided Setup Wizard. You get the Guided Setup Wizard automatically when you first install the HMC and power on. It lets you set time, time zone, HMC password and then login

Page 10: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

10

© 2009 IBM Corporation

PowerVM Partitions

10

HMC Configuration -- the network

When you select the HMC Management in the Navigation page, you get the list of HMC operations and HMC administrative options in the Work Pane

Since our first task will be to configure the network settings and get set up for remote access, select “Change Network Settings” in the work pane.

Page 11: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

11

© 2009 IBM Corporation

PowerVM Partitions

11

Network architecture choices – public vs. private

HMC

Power System T

he N

ET

WO

RK

eth0

eth0

eth1

hmc1

HMC

Power System T

he N

ET

WO

RK

eth0

eth0

hmc1

eth1

Private Network Public Network

At this point you have to decide if all the Ethernet adapters will be on the global network or one or more will be on a private network. Assumption – customers use private networks for security reasons and best practices. All HMCs come with multiple Ethernet ports – 0 and 1. The assumption for this chart is that the HMC has 2 Ethernet ports; however, there could be more.

Points when considering use of a public network

•easier to configure on an HMC,

•have to configure the service processor address manually on the power systems.

•More common in labs and not necessarily used commercial configurations.

Points when considering use of a private network.

•if there are lots of managed systems all configured on the same HMC, a private network can save ip addresses

•better from security perspective because service processors are not exposed to the public network

•allows for easier automation of service processor procedures

•most common in commercial data centers

Therefore – our example is for a private network.

Note: That when configuring to the public network eth1 is not used.

Page 12: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

12

© 2009 IBM Corporation

PowerVM Partitions

12

HMC Configuration -- the network

2

1

This is the default popup for “Change Network Settings”.

First -- You must set the system name and domain name

Second -- select “Lan Adapters”

We will now walk through the choices in this set of configuration menus.

Note: You may want to change data in all of the tabs.

Page 13: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

13

© 2009 IBM Corporation

PowerVM Partitions

13

HMC Configuration -- the public network

One of the goals of this section of configuration is to enable access to the HMC using a web browser

( Note: HMC tasks that require removable media cannot be performed remotely. )

This example shows 2 Ethernet adapters. Initially they have either no or a bogus addresses

To start, select eth0 and then Details

We will discuss eth1 later with regards to setting up a private network.

Page 14: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

14

© 2009 IBM Corporation

PowerVM Partitions

14

HMC Configuration -- the public network

You are shown this popup after you select eth0 and Details on the “Customize Network” popup. It sets up public network.

If you have DHCP (Dynamic Host Configuration Protocol) setup, you could use it, but you will still have to find out what address HMC is assigned so that it can be accessed remotely.

Notice on this chart, the IP address was known ahead of time and was manually entered in the TCP/IP interface address. The network mask also known ahead of time was entered.

Set the media speed to to Autodetection

Set the LAN interface as Open.

When you finish entering data for this tab, select Firewall Settings

This set of charts skips IPV6. You may or may not require it. Configure it if it is required for your data center.

.

Page 15: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

15

© 2009 IBM Corporation

PowerVM Partitions

15

HMC Configuration -- the public network

By default, remote browser access to the HMC is disabled so to enable remote browser access to the HMC, you must modify the firewall settings of the Ethernet adapter on the HMC. For this example it is eth0.

To enable both Secure Shell and Secure remote access, you must take 2 separate actions. The popup does not indicate what the current settings are so you have to do both.

1. Select secure shell and then Allow Incoming

2. Select Secure Remote Access and then Allow Incoming.

Select OK and you are returned to the Customer Network Settings popup.

Page 16: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

16

© 2009 IBM Corporation

PowerVM Partitions

16

HMC Configuration -- the public network

From the Customer Network Settings popup, select Routing and you can change, add or delete routes.

Here, enter the appropriate ipaddress and device.

This example on the chart is from the lab in Austin.

Page 17: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

17

© 2009 IBM Corporation

PowerVM Partitions

17

HMC Configuration -- the private network

For the configuration of the private network, select Ethernet 1 and Details

This example shows 2 on board Ethernet adapters but the system could have an Ethernet card installed with more ports so you might see more LAN adapters in this menu.

Page 18: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

18

© 2009 IBM Corporation

PowerVM Partitions

18

HMC Configuration -- the private network

In the LAN adapters Details Popup – Basic Settings tab, select the following for eth1 to access the private network

•Private

•Enable DHCP. You are presented with a range of addresses. You must either accept the defaults or enter a range for your data center.

•Autodetection

Page 19: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

19

© 2009 IBM Corporation

PowerVM Partitions

19

HMC Configuration -- Remote Access

To complete the configuration for remote access requires configuring for

•Remote Command Execution

•Remote Virtual Terminal

•Remote operation.

For each of these fields there is a single popup where you select an enable field. These are shown on the next slide.

Page 20: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

20

© 2009 IBM Corporation

PowerVM Partitions

20

HMC Configuration -- Remote Access

For each of the “Remote” links in the previous slide, there is a very simple popup that requires you to select the enable function. This is a very straightforward process.

Now you are able to work remotely.

NOTE: The remaining charts assume that you are working remotely and will show the browser.

Page 21: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

21

© 2009 IBM Corporation

PowerVM Partitions

21

Remotely launch HMC

In browser window type the address of the HMC

Be sure to use https

https://xxx.xxx.xxx.xxx

To remotely launch the HMC, enter the address along with https in the browser window.

Be sure to type https and the address and walk through he login prompts.

Page 22: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

22

© 2009 IBM Corporation

PowerVM Partitions

22

Conclusions

Armed with the set of steps in this set of charts you will now be able to bring an HMC on line.

The next set of charts will walk you through the set of steps to install a Virtual I/O Server (VIOS)

Page 23: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

23

© 2009 IBM Corporation

PowerVM Partitions

23

HMC Resources HMC Tutorial -- https://www-

304.ibm.com/servers/resourcelink/lib03030.nsf/pagesByDocid/6DC24478DD66D14C852572E3005A70B3?OpenDocument

HMC Documents -- http://tesch.dfw.ibm.com/pseries/teschaix.html#hmc

Hardware Management Console V7 Handbook -- http://www.redbooks.ibm.com/abstracts/sg247491.html?Open

System p 570 and Advanced Power Virtualization http://www-03.ibm.com/servers/enable/site/peducation/wp/1311a/1311a.pdf

A targeted guide on the Virtual Optical creation http://www-01.ibm.com/support/docview.wss?uid=nas15dd15b31badfa4738625755b00811805

A web article that describes the process of virtual optical creation and the steps to take a mksysb and make it available from the VIOS http://www.nxtbook.com/nxtbooks/mspcomm/ibmsystems_power-aix_20090203/index.php?startid=25#/26

a good paper on "best practices" for the virtualization is at http://www.redbooks.ibm.com/redpapers/pdfs/redp4194.pdf

With regards to the HMC, backing up the data as specified by http://publib.boulder.ibm.com/infocenter/systems/scope/hw/index.jsp?topic=/ipha1/backuphmcdata.htm would be something good to do; the backup is done from the "HMC Management+Backup HMC Data“ The backup of the HMC should be done after any significant changes are made, including after saving "partition data" from the P550 - so in other words, you will want to do the backup after you have saved the partition data.

Page 24: PowerVM, HMC and Partitioning Cookbookpublic.dhe.ibm.com/partnerworld/pub/webcast/pdf/HMC-PowerVM-Part… · The first set of tasks that we’ll discuss will enable you to access

24

© 2009 IBM Corporation

PowerVM Partitions

24

About the Authors

Aaron Bolding is a Technical Consultant in the Solutions Enablement organization in the IBM Systems and Technology Group. He has worked for IBM for five years. He has degrees from Texas Christian University in Radio, TV and Film, as well as from Texas State University in Computer Science. His areas of expertise include Linux and system administration.

Murali Neralla is a Solutions Enablement Specialist in the ISV Business Strategy and Enablement Group at IBM. He has more than 15 years of experience in application and systems development. His current work involves helping Financial Services Sector solution providers enable their applications on AIX.

Jeanne Sparlin is the Solution Enablement Manager for EMC, CA and Adobe. With her 27 years at IBM, she was the Solution Enablement Manager for DCV, Solution Relationship Manager for Dassault Systémes, spent two years onsite at Dassault Systémes (certifying IBM AIX® operating systems and IBM System p™ hardware), worked as the Graphics Software Technical Chief Engineering Manager, architect for X Server, and programmer in the X Window System, Data Management and Dialog Design Aid departments on IBM RS/6000® and RT/PC. She has a B.S. in Education from Truman State University, in Kirksville, Missouri. Ms. Sparlin received her computer-science training from the University of Texas (in Austin) under the auspices of the Women in Science in Computing program.