beautypg.com

Ipmtxt2xml(1m), Name, Synopsis – HP Insight Control Software for Linux User Manual

Page 76: Description, Examples, Ipmtxt2xml(1m) name

background image

ipmtxt2xml(1M)

NAME

ipmtxt2xml

- Insight Control Power Management text to XML conversion tool

SYNOPSIS

ipmtxt2xml input_text_file

DESCRIPTION

The purpose of this tool is to convert a flat text representation of data center topology by device, rack, and
row into an HPSIM XML format representation. The result is similar to that created by mxnode -lf. XML
files could be imported directly into HPSIM using mxnode -af but this is discouraged. Relationships such
device to rack mapping can be lost in this process. Use ipmimport instead.
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.

EXAMPLES

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

DatacentreID:Lab5
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

This is a sample XML output:




Datacenter


Rack
Lab5
1
8
48


17
4
southamerica


Server
13
8
southamerica


Server
5
2
southamerica

76

Command reference