Thursday, 29 August 2013

HMC Scanner(How to use )- Complete hardware information of managedsystem/lpar in few minutes

HMC Scanner is a Java program that uses SSH to connect to an HMC or SDMC or FSM or IVM (IVM is experimental), downloads the system configuration and produces a single Excel spreadsheet that contains the configuration of servers and LPARs.

##################################################################################################################
Procedure:

1>Download latest HMCScanner from below link
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Power+Systems/page/HMC+Scanner

2>Copy the HMCScanner zip file to server which can connect to the HMC's
 Unzip the downloaded file and run the hmcScanner.bat or hmcScanner.ksh script

=========================
syntax:
root@host>ksh -x hmcScanner.ksh hostname userid -p <passwd> -stats
An XLS file will get created.
=========================
#################################################################################################################


Advantages:
1>Data can be used incase of managedsystem or lpar rebuild incase of any disaster.
2>Good handy report of virtual devices(FC/Ethernet/VSCSI) on the VIO environment
3>Performance reports(stats) can also be collected.
4>Complete Hardware Information of Managedsystem/Lpar in very short time

*Refer to the link above for the limitations on using HMCScanner.

2 comments:

  1. Hi,
    In HMC if we have two frames, is it possible to get hmc scanner output for only one frame.

    ReplyDelete
    Replies
    1. Use option -m .

      To find the managed system name, use:
      lssyscfg -r sys -F name,type_model,state

      The output for name is the managed system name.

      Best Regards.

      Delete