Dell DSS 9000R EMC DSS 9000 RackManager User Guide - Page 10

Example3: Getting, Common OPTIONS, RMredfishtool

Page 10 highlights

"@odata.id": "/redfish/v1/Registries" }, "SessionService": { "@odata.id": "/redfish/v1/SessionService" }, "AccountService": { "@odata.id": "/redfish/v1/AccountService" } } Example3: Getting RMredfishtool help [root@RackManagerMini1 ~]# RMredfishtool -h Usage: RMredfishtool: {} [OPTIONS] []... RMredfishtool: {} [OPTIONS] hmraw [] Common OPTIONS: -V, --version -h, --help -v, --verbose -- show RMredfishtool version, and exit -- show Usage, Options, and list of subCommands, and exit -- verbose level, can repeat up to 5 times for more verbose output -v(header,) -vv(+addl info), -vvv(Requesttrace), -vvvv(+subCmd dbg), -vvvvv(max dbg) -s, --status -- status level, can repeat up to 5 times for more status output -s(http_status), -ss(+r.url, +r.elapsed executionTime), -sss(+request hdrs,data,authType, +response status_code, +response executionTime +login auth token/sessId/sessUri) -ssss(+response headers), -sssss(+response data) -u , -- -- username used for remote redfish authentication user= -p , -password= -- password used for remote redfish authentication -r , -- -- remote redfish service hostname or IP:port rhost= -t , -- -- redfish auth session token-for sessions across multiple calls token= -q, --quiet -- quiet mode--suppress error, warning, and diagnostic messages -c , -config= -- read options (including credentials) from file 10 Example Utilities

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

"@odata.id": "/redfish/v1/Registries"
},
"SessionService": {
"@odata.id": "/redfish/v1/SessionService"
},
"AccountService": {
"@odata.id": "/redfish/v1/AccountService"
}
}
Example3: Getting
RMredfishtool
help
[root@RackManagerMini1 ~]# RMredfishtool -h
Usage:
RMredfishtool:
{} [OPTIONS]
<SubCommand> <operation> [<args>]...
RMredfishtool:
{} [OPTIONS]
hmraw
<method> <hmUrl> [<data>]
Common OPTIONS:
-V, --version
-- show
RMredfishtool
version, and exit
-h, --help
-- show Usage, Options, and list of subCommands, and exit
-v, --verbose
-- verbose level, can repeat up to 5 times for more verbose output
-v(header,)
-vv(+addl info),
-vvv(Requesttrace),
-vvvv(+subCmd dbg),
-vvvvv(max dbg)
-s, --status
-- status level, can repeat up to 5 times for more status output
-s(http_status),
-ss(+r.url, +r.elapsed executionTime),
-sss(+request hdrs,data,authType, +response status_code, +response
executionTime +login auth token/sessId/sessUri)
-ssss(+response headers),
-sssss(+response data)
-u <user>, --
user=<usernm>
-- username used for remote
redfish
authentication
-p <passwd>,
--
password=<pass
wd>
-- password used for remote
redfish
authentication
-r <rhost>, --
rhost=<rhost>
-- remote
redfish
service hostname or IP:port
-t <token>, --
token=<token>
--
redfish
auth session token-for sessions across multiple calls
-q, --quiet
-- quiet mode--suppress error, warning, and diagnostic messages
-c <cfgFile>,
--
config=<cfgFil
e>
-- read options (including credentials) from
file
<cfgFile>
10
Example Utilities