HMC Operations
From MidrangeWiki
Contents
- 1 Operations
- 1.1 How to view Firmware Levels
- 1.2 What versions of HMC support which versions of firmware?
- 1.3 What versions of firmware are required for the various levels of i5/os?
- 1.4 How do I obtain new levels of HMC code?
- 1.5 How do I obtain new levels of firmware?
- 1.6 How do I configure an i5/OS lpar to be my service partition and apply firmware upgrades?
- 1.7 How do I access the ASMI?
- 1.8 If I upgrade to V7 of HMC code what will the interface look like?
- 1.9 Is there a redbook on V7 of HMC code?
- 1.10 If I knew how to do something in V6 (or earlier) how do I do it in V7?
- 1.11 HMC questions - installing WebSM (not needed for V7 and above)
- 2 Configuration
- 2.1 How do I configure a session on my PC to act as the 5250 console session for a particular lpar controlled by the HMC?
- 2.2 How to print a rack config from an HMC managed system
- 2.3 How to print a rack config from a non LPAR system
- 2.4 How to print a rack config from a non-i5 LPAR system
- 2.5 How to export a system plan for use by System Planner or your BP
- 3 Misc
- 4 Categories
Operations
How to view Firmware Levels
- http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/ipha5/viewexistlevel.htm
- In V5R4M5 and above IBM added the command DSPFMWSTS. I still prefer using the HMC because the help on that at least explains what they mean.
What versions of HMC support which versions of firmware?
- Determining if your server firmware level and HMC machine code level are compatible [1]
What versions of firmware are required for the various levels of i5/os?
- V6R1 requires a minimum firmware level of SF240_332 for POWER5™ based systems and EA320_040, EL320_040, EM320_040 depending on the model for POWER6™ based systems. [2]
- V5R4 requires a minimum firmware level of SF235_160. [3]
How do I obtain new levels of HMC code?
- Through Fix Central at
http://www-912.ibm.com/eserver/support/fixes/fixcentral
selecting System i family and Hardware Management Console - Or download it at Support and Downloads [4] by selecting platform, Version, Release
How do I obtain new levels of firmware?
- First, IMNSHO, you should have your system configured so that your firmware is HMC managed and not updated by upgrades to the OS of a particular lpar. This will help prevent you from getting a firmware upgrade so advanced that your HMC will no longer support it.
- Through Fix Central at
http://www-912.ibm.com/eserver/support/fixes/fixcentral
selecting System i family and Server Firmware and Update policy set to HMC.
How do I configure an i5/OS lpar to be my service partition and apply firmware upgrades?
- First, IMNSHO, you should have your system configured so that your firmware is HMC managed and not updated by upgrades to the OS of a particular lpar. This will help prevent you from getting a firmware upgrade so advanced that your HMC will no longer support it. Therefore I do not recommend configuring an i5/os lpar to be your service partition.
- http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/iphbk/iphblservicepartition.htm
How do I access the ASMI?
For Power 7
For Power 6
For Power 5
If I upgrade to V7 of HMC code what will the interface look like?
Is there a redbook on V7 of HMC code?
If I knew how to do something in V6 (or earlier) how do I do it in V7?
HMC questions - installing WebSM (not needed for V7 and above)
original post [5]
Instructions are here:
http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/index.jsp?topic=/iphai/remotehmc.htm
Configuration
How do I configure a session on my PC to act as the 5250 console session for a particular lpar controlled by the HMC?
http://publib.boulder.ibm.com/infocenter/eserver/v1r3s/topic/iphb8/remote5250.htm
How to print a rack config from an HMC managed system
- Printing Rack config information (see also "Printing I/O information")
- Printing dedicated, non guested, Linux lpar information
- Download a putty client
(Sample - http://www.chiark.greenend.org.uk/~sgtatham/putty/)- Now in putty, verify you used the ssh protocol. Say yes when it gives you a security warning.
- If you still have problems verify that you can ping your Linux lpar. Verify that any firewall between you and the Linux lpar allows port 22.
- Start your putty client to your Linux lpar. Use the same userid's and password you normally use to log on to your linux lpar. (hint: A default user id is root.)
- Enter in the command iprconfig.
- 1. Display hardware status. Highlight desired text. Use Ctrl-C, it will break you out of iprconfig but then you can use Ctrl-V to paste the contents into notepad or some such thing.
- Use e to exit iprconfig.
- Type in exit (in lower case) to exit your linux terminal.
- Download a putty client
- Printing I/O information
- Download a putty client
(Sample - http://www.chiark.greenend.org.uk/~sgtatham/putty/) - Set up the HMC for this.
To enable SSH on the HMC you must do the following:- Start the ssh daemon:
- Using the HMC system manager GUI, select HMC Management, then HMC Configuration. In the right-hand panel click on "enable or disable remote command execution". Verify the box is checked. Click ok.
- Enable ssh in the firewall:
- Using the HMC system manager GUI, select HMC Management, then HMC Configuration.
- In the right-hand panel click on "Customize Network Settings".
- In the "Customize Network Settings" dialog click the "Lan Adapter" tab,
- select the lan adapter connected to your network (usually eth1), click the "Details" button.
- On the Details panel, click the Firewall tab.
- In the top list box click "Secure Shell 22:tcp".
- Click the "Allow Incoming" button.
- CLick ok on each panel to exit.
- It will tell you that you must reboot but this is not necessary. Firewall settings go into affect immediately.
- Using the HMC system manager GUI, select HMC Management, then HMC Configuration.
- Now in putty, verify you used the ssh protocol. Say yes when it gives you a security warning.
- If you still have problems verify that you can ping your HMC. Verify that any firewall between you and the HMC allows port 22.
- Start your putty client to your HMC. Use the same userid's and password you normally use to log on to your HMC. (hint: A default user id is hscroot. A default password may be abc123)
- Enter the first command to get a list of systems managed by this HMC:
- lssyscfg -r sys -F name
- Take a name from that list and put it in the double quotes instead of sysname:
- lshwres -r io --rsubtype slot -m "sysname" -F unit_phys_loc,bus_id,phys_loc,vpd_type,description,lpar_name
- From your putty client, Copy all to Clipboard. Paste that into your favorite tool like Word, Excel, etc.
- Download a putty client
- An alternative would be to use the System Plan functionality supplied with the HMC v7
How to print a rack config from a non LPAR system
- Signon to the iSeries with an appropriate userid
- On a command line perform command STRSST
- Select option 1 Start a service tool
- Select option 7 Hardware service manager
- F6 to Print Configuration
- Take the defaults on Print Format Options (use 132 columns).
How to print a rack config from a non-i5 LPAR system
- In the primary partition signon to the iSeries with an appropriate userid
- On a command line perform command STRSST
- Select option 5 Work with partitions
- Select option 1 Display partition information
- Select option 5 Display system I/O resources
- At the Level of detail to display field, type *ALL to set the level of detail to ALL.
- F6 to print the system resources (use 132 columns).
How to export a system plan for use by System Planner or your BP
- Use a putty client to connect to your HMC
- List existing system plans on your HMC
lssysplan name=MAILTWO.sysplan,description=System plan created from Server-9408-M25-SN102EF8C,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Aug 25, 2008 3:10:58 PM" name=Server-9408-M25-SN102EF8C.sysplan,description=System plan created from Server-9408-M25-SN102EF8C,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Sep 22, 2008 11:42:56 AM" name=Server-9406-MMA-SN103BDDD.sysplan,description=System plan created from Server-9406-MMA-SN103BDDD,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Sep 29, 2008 11:54:30 AM"
- Remove existing system plans on your HMC
rmsysplan -f MAILTWO.sysplan rmsysplan -f Server-9408-M25-SN102EF8C.sysplan rmsysplan -f Server-9406-MMA-SN103BDDD.sysplan lssysplan No results were found.
- List servers supported by this HMC.
lssyscfg -r sys -F name
Server-9408-M25-SN102EF8C Server-9406-MMA-SN103BDDD Server-9408-M25-SN10C2091
- Make a system plan for each server supported by this HMC
mksysplan -f Server-9408-M25-SN102EF8C.sysplan -m Server-9408-M25-SN102EF8C mksysplan -f Server-9408-M25-SN10C2091.sysplan -m Server-9408-M25-SN10C2091 mksysplan -f Server-9406-MMA-SN103BDDD.sysplan -m Server-9406-MMA-SN103BDDD
- List the system plans you just created.
lssysplan name=Server-9408-M25-SN102EF8C.sysplan,description=,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Sep 30, 2008 11:40:37 AM" name=Server-9408-M25-SN10C2091.sysplan,description=,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Sep 30, 2008 11:45:32 AM" name=Server-9406-MMA-SN103BDDD.sysplan,description=,source=HMC V7R3.3.0.1,version=HMC 1.4,"date=Sep 30, 2008 11:55:45 AM"
- Export your system plans via ftp to some server.
cpsysplan -r ftp -f Server-9408-M25-SN102EF8C.sysplan -o export -h 10.10.1.211 -u ROB --passwd MCCAIN08 -d /rob cpsysplan -r ftp -f Server-9408-M25-SN10C2091.sysplan -o export -h 10.10.1.211 -u ROB --passwd MCCAIN08 -d /rob cpsysplan -r ftp -f Server-9406-MMA-SN103BDDD.sysplan -o export -h 10.10.1.211 -u ROB --passwd MCCAIN08 -d /rob
Misc
How do I do a screen print of a HMC screen
Document Number: 358236751
Document Title: [6] Capturing Screen Shots from the HMC
- Imagemagick (Open Source) as recommended in the Document is useful to view the files.
- I found HMCWIN in a one line window, and Sendfile to send to the IFS simplest to use, but I think a PuTTY client may be easiest.
FKOL 00:50, 23 April 2008 (CDT)