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.

  • get: Displays a list of reports.

  • add: Creates a report.

  • delete: Deletes a report.

  • download: Downloads a report.

<object>

Specifies an operation target object. You can specify the following objects.

  • reportinfo to display a list of reports.

  • report to create, delete, or download a report.

-servername <hostname/ipaddress>

Specifies the host name or the IP address of the service processor.

[ {-report <report_name> | -report_id <report_id>}]

  • -report specifies a report name within 32 characters. If you specify more than 32 characters, the 33rd and subsequent characters are ignored.

  • -report_id specifies a report ID displayed by the report list. Because a report ID is a unique ID to each of the reports, a specific report can be identified even if reports of the same name exist.

[-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 Device Manager - 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 Device Manager - 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.