raidinf command syntax
The syntax of the raidinf commands and the basic format of the options and parameters are described next.
Syntax
raidinf [-h] <action> <object> –servername <hostname/ipaddress>
[ {-report <report_name> | -report_id <report_id>}] [-targetfolder
<folder>] [-fill]
raidinf [-h] –login <user_name> <password> –servername <hostname/
ipaddress>
raidinf [-h] –logout –servername <hostname/ipaddress>
Options and parameters
|
Option |
Description |
|---|---|
|
[-h] |
Displays help for raidinf. |
|
<action> |
Specifies command operation. You can specify the following commands.
|
|
<object> |
Specifies an operation target object. You can specify the following objects.
|
|
-servername <hostname/ipaddress> |
Specifies the host name or the IP address of the service processor. |
|
[ {-report <report_name> | -report_id <report_id>}] |
|
|
[-targetfolder <folder>] |
Specifies a folder name to which a report is downloaded. The folder whose name you specify must already exist and you must have permissions to the folder. |
|
[-fill] |
Deletes a report only if the number of created reports is 20. |
|
-login [<user_name> <password>] |
Executes a user authentication for Storage Navigator. Specifies a user name and a password. The user is logged out automatically three minutes (180 seconds) after the last command is entered. |
|
-logout |
Logs out of Storage Navigator. |
Examples
This example authenticates user01 using the password xxxxxx.
# raidinf -login user01 xxxxxx -servername mapp.xxx.co.jp
This example executes a logout.
# raidinf -logout -servername mapp.xxx.co.jp
Displays help.
# raidinf -h
Model : RAIDINF/WindowsNT
VerandRev: 01-00-03/00
Usage: raidinf [options]
raidinf <action> <object> [parameters]
Options:
-h Help/Usage
-login <user_name> <password> Specify LOGIN explicitly
-logout Specify LOGOUT
<User authentification>
<option> <parameters>
-login <user_name> <password> -servername <hostname/ipaddress>
-logout -servername <hostname/ipaddress>
<Report management>
<action> <object> <parameters>
get reportinfo -servername <hostname/ipaddress>
add report -servername <hostname/ipaddress>
[-report <report_name>]
download report -servername <hostname/ipaddress> {-report
<report_name> | -report_id <report_id>} -targetfolder <folder>
delete report -servername <hostname/ipaddress> {-report
<report_name> | -report_id <report_id>} [-fill]
Parameters:
-servername <hostname/ipaddress> Specify the SVP hostname or
IP address.
-report <report_name> Specify the Report Name.
-report_id <report_id> Specify the ReportID.
-targetfolder <folder> Specify the download folder.
-fill Report is deleted only full
of the server reports.