Managing your HP-UX inventory with HP SIM (430146-002, January 2009)

10
requested data for all systems known to HP SIM.
The
-
ln
option displays the system names. The
-
ld
option displays detailed information for each system
in the database. The
-
lt
option displays the system name, the host name, the operating sy
stem name,
the date the system was added to the database, and the IP address for the systems in a tabular
format. The
-
lf
option displays detailed information for the systems in XML format. Finally, the
-
lmpo
option displays systems from the database tha
t have any management path objects (MPOs). The man
page for
mxnode
contains a description of MPOs.
Note
:
mxnode
l
works both with and without a space between the
-
l
and the option selection.
To use the CLI to create an automatic discovery task, the si
mplest way is to copy the default System
Automatic Discovery task, modify the task name, task schedule, and IP address range fields, and then
create a new automatic discovery task. The command
mxtask
is used to accomplish these steps.
Refer to the
mxtask
man page for a complete description of this command, and to the
mxtask(4)
man page for a full description of the XML syntax for creating tasks.
To create a copy of the System Automatic Discovery task, enter the following command:
% mxtask
lf “System A
utomatic Discovery” > autodisco.xml
This creates an XML description of the task in the file
autodisco.xml
. Open the file in a text editor,
and modify the following fields:
<task name>
Change the name from System Automatic Discovery to a name you want.
<scheduleinfo>
Set the interval and time fields, defining when you want the task to run.
ipInclusionRange
Enter the IP address ranges you want discovered.
After making the changes, save the file. Next, create the new discovery task by entering th
e
following command:
% mxtask
cf autodisco.xml
If you enabled periodic execution in the
<scheduleinfo>
field, the task will automatically run at the
time and frequency provided. If you did not enable periodic execution, you must manually execute
the tas
k by entering the following command:
% mxtask
e
TaskName
TaskName
is the name of the task entered in the
<task name>
field of the XML file.
Identification
Systems that reply to the ping sent out by discovery are next identified. Identification is the
process of
determining:
Management protocols available on the system (SNMP, WBEM, DMI, HTTP, SSH)
Type of system (server, storage device, and so on)
Product name of the system
Operating system name, type, and version
Associations, such as
server in Comple
x