HP StorageWorks Command View XP Advanced Edition Device Manager Agent Installation and Configuration Guide (December 2005)

Device Manager Agent Operations 47
2. Rewrite the numbers indicating the run time (hours and minutes) coded in the file, and then save
and close the file.
An example of modifying a schedule is shown below. Specifying the * symbol in place of the
number indicating hours (2 in the example) means "every hour":
# crontab –e
47 2 * * * cd/opt/HDVM/bin/ ; (./HiScan -s 172.16.27.201 :2001 -t
/opt/HDVM/bin logs/HiScan.msg >> /opt/HDVM/bin/logs/HiScan.log) 2>
/opt/HDVM/bin/logs/HiScan.err #HDVMAgent
~
~
"/var/tmp/aaaa10685" 1 line, 174 characters
CAUTION: When using the crontab -e command, except for the execution period do not change
information written in the file (such as an IP address or a port number).
The information is automatically changed by the hdvmagt_account command. If you change the
information by using the crontab -e command, the host information might not be properly sent to
the Device Manager server.
3-6 Device Manager Agent Commands
With the Device Manager agent, you can use the following commands:
HiScan command
This is a command for sending information to the Device Manager server. For details about the
HiScan command, see section
3-7 .
hldutil command
This is a command for displaying device information and managing execution results log files.
For details about the hldutil command, see section
3-8 .
hdvmagt_schedule command
This is a command for changing the execution period of the HiScan command. For details
about the hdvmagt_schedule command, see section
3-9 .
hdvmagt_account command
This is a command for changing the information about the Device Manager server. For details
about the hdvmagt_account command, see section
3-10 .
3-7 HiScan Command Syntax
The HiScan command is stored in the following locations.
In Windows
®
:
installation-folder-for-Device-Manager-agent\bin\HiScan.bat
In Solaris™, HP-UX, or Linux
®
:
# /opt/HDVM/bin/HiScan
In AIX
®
:
# /usr/HDVM/bin/HiScan
Table 3-1 lists and describes the HiScan command syntax.
Table 3-1 HiScan Command Syntax
Syntax
Component
Description
Synopsis HiScan { -s server [-u userid -p password] [ { -c sec | -t output-file } ] | -t output-file }