HMC Operations

From MidrangeWiki
Revision as of 21:00, 20 January 2006 by Rob Berendt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Operations

Configuration

How to print a rack config from an HMC managed system

  1. Download a putty client
    (Editor: Insert your favorite putty link here)
  2. 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.
    • 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.

  1. Start your putty client to your HMC. Use the same userid's and password you normally use to log on to your HMC.
  2. 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 bus_id,phys_loc,vpd_type,description,lpar_name
  3. From your putty client, Copy all to Clipboard. Paste that into your favorite tool like Word, Excel, etc.