HMC/SDMC/FSM Scanner Overview – downloads system configuration, produces single Excel spreadsheet, contains configuration of servers and LPARs

HMC Scanner Overview

 

https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Power%20Systems/page/HMC%20Scanner

 

HMC Scanner is a Java program that uses SSH to connect to an HMC or SDMC or FSM, downloads the system configuration and produces a single Excel spreadsheet that contains the configuration of servers and LPARs. The result is a simple way to document configuration and to easily look at most important configuration parameters. In PureFlex environments, only Power Systems compute nodes are detected.
Information is organized in tabs

System summary: name, serial number, cores, memory, service processor IP for each server

LPAR Summary: list of all LPAR by serve with status, environment, version, processor mode

LPAR CPU: processor configuration of each LPAR

LPAR MEM: memory configuration of each LPAR

Physical Slots: list of all slots of each system with LPAR assignment, description, physical location and drc_index

Virtual Ethernet: network configuration of each virtual switch and each LPAR

Virtual SCSI: configuration of all virtual SCSI adapters, both client and server

VSCSI Map: devices mapped by each VIOS to partitions

Virtual Fibre: virtual fibre channel configuration of client and server with identification of physical adapter assigned

SW Cores: LPAR and virtual processor pool configuration matrix to compute the number of software licenses. Simulation of alternative scenarios is possible.

CPU Pool Usage: easy to read history of CPU usage of each system. Based on last 12 months of lslparutil data.

Sys RAM Usage: easy to read history of physical memory assignement to each LPAR. Based on last 12 months of lslparutil data.

LPAR CPU Usage: easy to read history of CPU usage of each LPAR. Based on last 12 months of lslparutil data.

 

The tool is constantly updated to match changes in tool syntax, to manage new data types and to add new features. If you have any problem or any suggestion to improve HMC Scanner, please send me a mail (vagnini@it.ibm.com). Since new features are mostly suggested by users, propose yours! Please always include the downloaded files to allow be proper debugging.

HMC Scanner is packaged in a single ZIP file available in the download section of this page. A sample report is included.

This tool is not officially supported by IBM. No guarantee is given or implied, and you cannot obtain help from IBM. It a personal project of the author, Federico Vagnini (IBM Italy).

See also pGraph page form the same author.

The code exploits features from other software. See text file in the ZIP file for license details.

2 thoughts on “HMC/SDMC/FSM Scanner Overview – downloads system configuration, produces single Excel spreadsheet, contains configuration of servers and LPARs

  1. i’m having issues with using HMC scanner 0.10 on FSM. The following java exception happens:

    Microsoft Windows [versão 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.

    C:\Users\leonardo.contini>cd C:\Users\leonardo.contini\Documents\HMC Scanner

    C:\Users\leonardo.contini\Documents\HMC Scanner>dir
    O volume na unidade C não tem nome.
    O Número de Série do Volume é AAA8-1F4A

    Pasta de C:\Users\leonardo.contini\Documents\HMC Scanner

    01/10/2013 12:03 .
    01/10/2013 12:03 ..
    28/01/2010 18:22 1.116 BOUNCYCASTLE.LICENSE
    24/06/2013 11:12 90.571 com.sshtools.j2ssh.configuration-fixed.jar
    28/01/2010 18:22 31.605 commons-logging.jar
    28/01/2010 18:22 2.806 COMMONS.LICENSE
    01/10/2013 12:03 5.013.157 hmcScanner-0.10.zip
    26/06/2013 05:16 404 hmcScanner.bat
    18/07/2013 07:07 271.365 hmcScanner.jar
    19/06/2013 07:58 496 hmcScanner.ksh
    05/04/2013 10:48 184.309 hmcScanner.png
    06/09/2007 17:23 19.112 j2ssh-ant-0.2.9.jar
    06/09/2007 17:23 341.207 j2ssh-common-0.2.9.jar
    06/09/2007 17:23 355.141 j2ssh-core-0.2.9.jar
    06/09/2007 17:23 110.582 j2ssh-daemon-0.2.9.jar
    28/01/2010 18:22 950.106 jce-jdk13-119.jar
    14/06/2010 13:56 1.053.392 jxl-2.6.12-ok_per_java5.jar
    14/06/2010 13:56 1.053.392 jxl.jar
    28/01/2010 18:00 17.987 LICENSE
    28/01/2010 18:22 2.754 XERCES.LICENSE
    28/01/2010 18:22 895.924 xercesImpl.jar
    28/01/2010 18:22 123.705 xmlParserAPIs.jar
    20 arquivo(s) 10.519.131 bytes
    2 pasta(s) 105.732.243.456 bytes disponíveis

    C:\Users\leonardo.contini\Documents\HMC Scanner>hsmcscanner.bat
    ‘hsmcscanner.bat’ não é reconhecido como um comando interno
    ou externo, um programa operável ou um arquivo em lotes.

    C:\Users\leonardo.contini\Documents\HMC Scanner>hmcscanner 10.4.10.100 hscroot –
    p abc123 -rowmode -stats -sanitize
    hmcScanner version 0.10
    Detecting manager type: HMC
    Detecting managed systems: 1 systems present.
    Starting managed system configuration collection:
    Scanning Server-9119-FHA-SN82399B5: …………… DONE
    Collection successfully finished. Data is in C:\Users\leonardo.contini\Documents
    \HMC Scanner\10.4.10.100\
    Performance data collection:
    Loading Server-9119-FHA-SN82399B5: . .
    … DONE
    Starting Excel file creation. Done: C:\Users\leonardo.contini\Documents\HMC Scan
    ner\10.4.10.100_20131001_012557_scan.xls
    Starting Excel file creation. Done: C:\Users\leonardo.contini\Documents\HMC Scan
    ner\10.4.10.100_20131001_012557_scan_safe.xls

    C:\Users\leonardo.contini\Documents\HMC Scanner>hmcscanner 10.50.111.31 admin -p
    NKX8TedG -rowmode -stats -sanitize
    hmcScanner version 0.10
    Detecting manager type: FSM
    Detecting managed systems: 2 systems present.
    Starting managed system configuration collection:
    Scanning Server-7895-23X-SN10650BB: …………… DONE
    Scanning Server-7895-23X-SN10650DB: …………… DONE
    Collection successfully finished. Data is in C:\Users\leonardo.contini\Documents
    \HMC Scanner\10.50.111.31\
    Performance data collection:
    Loading Server-7895-23X-SN10650BB: . .
    Loading Server-7895-23X-SN10650DB: . .
    Exception in thread “main” java.lang.NullPointerException
    at hmcScanner.Loader.load_sea_data(Loader.java:1438)
    at hmcScanner.Loader.load_npiv_data(Loader.java:1071)
    at hmcScanner.Loader.parseData(Loader.java:2431)
    at hmcScanner.Loader.main(Loader.java:563)

    C:\Users\leonardo.contini\Documents\HMC Scanner>hmcscanner -p -rowmode -stats
    hmcScanner version 0.10
    Detecting manager type: FSM
    Detecting managed systems: 2 systems present.
    Starting managed system configuration collection:
    Scanning Server-7895-23X-SN10650BB: …………… DONE
    Scanning Server-7895-23X-SN10650DB: …………… DONE
    Collection successfully finished. Data is in C:\Users\leonardo.contini\Documents
    \HMC Scanner\10.50.111.31\
    Performance data collection:
    Loading Server-7895-23X-SN10650BB: . .
    Loading Server-7895-23X-SN10650DB: . .
    Exception in thread “main” java.lang.NullPointerException
    at hmcScanner.Loader.load_sea_data(Loader.java:1438)
    at hmcScanner.Loader.load_npiv_data(Loader.java:1071)
    at hmcScanner.Loader.parseData(Loader.java:2431)
    at hmcScanner.Loader.main(Loader.java:563)

    C:\Users\leonardo.contini\Documents\HMC Scanner>

Leave a Reply