Return values, Diagnostics, Files – HP Insight Control Software for Linux User Manual

Page 74: Authors, See also, Ipmxml2txt(1m), Name, Synopsis, Description, Examples

Advertising
background image

RowNumber:1
RackName:southamerica, PositionRow:8, rackHeight:48
DeviceName:ecuador, StartU:17, HeightU:4
DeviceName:bolivia, StartU:13, HeightU:8
DeviceName:peru, StartU:5, HeightU:2

RETURN VALUES

The ipmtxt2vis command returns exit status based on the success or failure of the operation.

0 No errors.
1 Errors in the command-line arguments, permissions, missing files, missing arguments, or missing required
content."

DIAGNOSTICS

ipmtxt2vis

displays error messages in stderr for any of the following conditions:

+ Missing or unrecognized arguments.
+ File not found or not readable.
+ Output file already exists
+ Syntax error in the text input file

FILES

/opt/ipm/examples

is a directory containing examples of converted files and formats.

AUTHORS

ipmtxt2vis

was developed by the Hewlett-Packard Company.

SEE ALSO

ipm(1M), ipmexport(1M).

ipmxml2txt(1M)

NAME

ipmxml2txt

- Insight Control Power Management XML to text conversion tool

SYNOPSIS

ipmxml2txt input_xml_file

DESCRIPTION

The purpose of this tool is to convert a HPSIM XML representation of data center topology by device, rack,
and row into a flat text representation. The input may be created by mxnode -lf. Relationships between
device and rack can be described solely in the text file or synthesized in the XML using the artificial
<sw-attribute name="RackName">southamerica</sw-attribute>

This tool writes to standard out and can be redirected to a file. Any user with file permissions can read an
xml or text file. The common attribute:value text format is described in ipm.1m in detail.

To make this XML unambiguous, the first node must either be a rack with the DatacentreID sw-attribute set,
or be a device with the hw-attribute DeviceType set to data center (see examples).

EXAMPLES

This is a sample text output file. Case and spacing are ignored by the parser.

DatacentreID:second_floor_bldgA
RowNumber:1
RackName:southamerica, PositionRow:8, rackHeight:48
DeviceName:ecuador, StartU:17, HeightU:4
DeviceName:bolivia, StartU:13, HeightU:8

74

Command reference

Advertising