beautypg.com

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

Page 71: Files, Authors, See also, Ipmvis2txt(1m), Name, Synopsis, Description

background image

Any user with file permissions can read a spreadsheet or text file. The common attribute:value text format is
described in ipm.1m in detail.

EXAMPLES

See ipmtab2txt.1m for an example out what tabular output format looks like. This is a sample input file.
Case and spacing are ignored by the parser.

DatacentreID:Lab5
RowNumber:0
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 ipmtxt2tab 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

ipmtxt2tab

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. An obscure file read error in jxl usually means that the file was ftp'd in
ASCII mode instead of binary mode. Type 'bin' at the ftp prompt to avoid this corruption.

FILES

/opt/ipm/examples

is a directory containing examples of converted files and formats.

AUTHORS

ipmtxt2tab

was developed by the Hewlett-Packard Company.

SEE ALSO

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

ipmvis2txt(1M)

NAME

ipmvis2txt

- Insight Control Power Management visual xls to text conversion tool

SYNOPSIS

ipmvis2txt input_file_name

DESCRIPTION

The purpose of this tool is to convert a spreadsheet visual representation (VIS) of data center topology by
device, rack, and row into a flat text representation. This tool writes to standard out and can be redirected
to a file. After converting to this common text format, users can edit the topology on any operating system.
Users can then convert this text file to any supported format, but the most common use for this file is to then
import the device names and relationships into IPM via the ipmimport command. Any user with file permissions
can read a spreadsheet or text file, but only the superuser may execute ipmimport
The common attribute:value text format is described in ipm.1m in detail.

EXAMPLES

71