beautypg.com

Using insight diagnostics commands in linux, Starting the offline edition, Starting from an hp smartstart cd – HP Insight Diagnostics User Manual

Page 13

background image

Getting started 13

Parameter Description

-a

Append the output to an existing output file.
If no -o option is specified, this option is ignored. To avoid XML parsing errors, use
this option with the plain text (-p).

-rd

Run a diagnosis of all diagnosable devices. The test results are posted to the

Diagnosis Log (diagnosislog.xml).

-? , -h

Display help.

Using Insight Diagnostics Commands in Linux

To use the command line switches in Linux:

1.

Open a Terminal window if necessary.

2.

Change to the /opt/hp/hpdiags directory.

3.

Enter the command with the preferred switch.

See the following examples:

To capture Survey configuration information, and then send the XML file to a terminal, enter either of
the following commands:

o

# ./hpdiags -t

o

# /opt/hp/hpdiags/hpdiags -t

For example, if, every Monday at 5:00 AM, you want Insight Diagnostics to compare the original
Survey configuration file to the current Survey configuration, and then save the result to a remote file

in plain-text format, type the following command:
# ./hpdiags -s "0005**01" -c surveybase.xml -p -o

/mnt/remoteserver/surveycompare.txt

To verify the System Management Homepage status on a Linux server, enter the following command:
/etc/init.d/hpsmhd status

Starting the Offline Edition

Starting from an HP SmartStart CD

On an HP ProLiant server, start HP Insight Diagnostics Offline Edition from the HP SmartStart CD:

1.

Insert the HP SmartStart CD into the optical drive.

2.

Shut down the operating system, and then power off the server.

3.

Power on the server. The system boots from the SmartStart CD.
If the system does not boot to the CD in the optical drive, you might need to change the boot order
in the Computer Setup (F10) utility so that the system boots to the optical drive before booting to the

hard drive. For more information, see the Computer Setup (F10) Utility Guide on the Documentation

CD.