beautypg.com

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

Page 67: See also, Ipmimport(1m), Name, Synopsis, Description, Examples, Ipmimport(1m) name

background image

DIAGNOSTICS

ipmexport

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

+ Machine run on is not an active HPSIM CMS.
+ User has no HPSIM credentials
+ HPSIM is not running, often indicated by ConnectException or Connection refused message. In this
instance, try mxstart, and wait for the cimserver and mxdomainmgr daemons to come up before trying the
ipmexport command again.

FILES

/opt/ipm/examples

is a directory containing examples of converted files and formats.

AUTHORS

ipmexport

was developed by the Hewlett-Packard Company.

SEE ALSO

ipm(1M), ipmimport(1M), ipmtxt2vis(1M).

ipmimport(1M)

NAME

ipmimport

- Insight Control Power Management Topology Data Command Line Import Tool

SYNOPSIS

/opt/ipm/bin/ipmimport input_text_file

DESCRIPTION

The purpose of this tool is to load a text representation of data center topology by device, rack, and row
into the HPSIM database. Because this tool requires the IPM database, it must be run from an active HPSIM
Central Management Server (CMS) node by a user with database write permission. The common
attribute:value text format is described in ipm.1m in detail.

Note that importing of large numbers of devices and relationships can take on the order of a few creations
per second. Every twenty write operations the tool will print out a "." character to let the user know that
forward progress is being made. If progress stalls out, the CMS may need more memory. Please see the HP
Systems Insight Manager Installation and Configuration Guide for details about resource requirements
(http://www.hp.com/go/hpsim).

EXAMPLES

This is a sample 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

To clearly identify the changes made by the import, save a snapshot of the existing HPSIM configuration
using

ipmexport > /tmp/before

After ipmimport datacenterFilename.txt succeeds, find out the new representation in the HPSIM database
using

ipmexport > /tmp/after

Devices without any parent rack specified are known as "orphans". Compare the "orphaned devices" section
of the before and after snapsots to find recently imported items considered to be orphans. There are several
reasons that devices are orphaned. Verify that the device in question are up using ping. Sometimes, the

DIAGNOSTICS

67