Troubleshooting
Problem
This document describes and contains two commands that can be used to query the current status of every HMC (Hardware Management Console) or SM (System Manager) acknowledged by your server, straight from the i5/OS or IBM i command line.
Resolving The Problem
This document describes and contains two commands that can be used to query the current status along with some useful information of every HMC (Hardware Management Console) or SM (System Manager) acknowledged by your server, straight from the i5/OS or IBM i command line.
The commands are Display HMC Information (DSPHMCINF) and Display System Manager Data (DSPSMDTA).
Caution: The following command is provided on an unsupported, as is basis. |
Prompting on the DSPHMCINF command displays the following:
Display HMC Information (DSPHMCINF)
The following is the online help for the command. You can press the F1 anytime in the command to reach the help information:
..............................................................................
: Display HMC Information - Help :
: :
: The Display HMC Information (DSPHMCINF) command lets you know the :
: current network configuration of every Hardware Management Console :
: that is currently acknowledged by your Server. :
: :
: The HMC information is returned as a string containing a set of :
: keywords with information about the HMC. The HMC information that is :
: returned is the same for all partitions of a physical machine. A :
: prefix is included at the beginning of the string. :
: :
: For example, an HMC information string can look like this: :
: :
: {HMC}:HmcStat=1;HscName=7310C05*10A8C9A;HscHostName=w1212b;HscIPAddr :
: =8.8.181.60; HscAddIPs=; :
: :
: HMC Information keywords: :
: More... :
: F3=Exit help F10=Move to top F12=Cancel F13=Information Assistant :
: F14=Print help :
: :
:............................................................................:
Prompting on the DSPSMDTA command displays the following:
Display System Manager Data (DSPSMDTA)
The following is the online help for the command. You can press the F1 anytime in the command to reach the help information:
..............................................................................
: Display System Manager Data - Help :
: :
: The Display System Manager Data (DSPSMDTA) command lets you know the :
: current network configuration of every System Manager that is :
: currently acknowledged by your Server. :
: :
: The System Manager Data is returned as a string containing a set of :
: keywords with information about the SM. The System Manager Data that :
: is returned is the same for all partitions of a physical machine. :
: The type of System Manager is included at the beginning of the :
: string: :
: :
: SM type Description :
: ------- ----------- :
: {HMC}: Hardware Management Console :
: Systems Director Management Console :
: {IVM}: Integrated Virtualization Manager :
: More... :
: F3=Exit help F10=Move to top F12=Cancel F13=Information Assistant :
: F14=Print help :
: :
:............................................................................:
These tools/utilities have been tested with the following SLIC / XPF releases:
SLIC V5R4M0 / XPF V5R4M0
SLIC V5R4M5 / XPF V5R4M0
SLIC V6R1M0 / XPF V6R1M0
SLIC V6R1M1 / XPF V6R1M0
SLIC V7R1M0 / XPF V7R1M0
Note: The minimum SLIC / XPF release required to install these tools/utilities is V5R4M0 / V5R4M0, respectively.
Glossary of terms
SLIC System Licensed Internal Code (a.k.a. Licensed Internal Code)
XPF Extended Program Facility (a.k.a. OS/400, i5/OS, i)
The main difference between DSPHMCINF and DSPSMDTA is that the first uses a machine instruction (available since SLIC V5R3M0) that only recognizes HMCs, while the second uses an updated machine instruction (available since SLIC V6R1M0) which recognizes HMCs, SDMCs, IVMs and VPMs.
The DSPHMCINF/DSPSMDTA objects are in a save file that contains the following:
Display Saved Objects
Library saved . . . . . . . : QTEMP
Type Options, press Enter.
5=Display
Opt Object Type Attribute Owner Size (K) Data
_ DSPHMCINF *PGM CLLE QDFTOWN 68 YES
_ DSPSMDTA *PGM CLLE QDFTOWN 80 YES
_ DSPHMCINF *CMD QDFTOWN 8 YES
_ DSPSMDTA *CMD QDFTOWN 8 YES
_ DSPHMCINF *PNLGRP QDFTOWN 8 YES
_ DSPSMDTA *PNLGRP QDFTOWN 8 YES
Display Save Header
Save file . . . . . . . . . . . . . . : DSPHMCSM
Library . . . . . . . . . . . . . . : QGPL
Records . . . . . . . . . . . . . . : 164
Save operation:
Save command . . . . . . . . . . . . : SAVOBJ
Save date/time . . . . . . . . . . . : 01/22/12 23:44:18
Save while active . . . . . . . . . : *NO
Data compressed . . . . . . . . . . : Yes
Release level . . . . . . . . . . . : V5R4M0
![dsphmcsm.savf](/support/pages/system/files/support/nas/nastech.nsf/0/2bcc7a685130d62985257bc1005c187c/Content/0.235E.gif)
To restore the objects, send the save file to your system's QGPL library and run the following command from the operating system command line:
RSTOBJ OBJ(*ALL) SAVLIB(QTEMP) DEV(*SAVF) SAVF(QGPL/DSPHMCSM) RSTLIB(QGPL)
Press the Enter key.
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
608454139
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011389