HP 2000sa HP StorageWorks MSA2000 G2 SMI-S Proxy Provider User Guide (573100-0 - Page 38

Command to enumerate a class instance, To get an instance of a class

Page 38 highlights

sq setQualifier eq enumerateQualifiers dq deleteQualifier a associators an associatorNames r references rn referenceNames im invokeMethod xq execQuery ns enumerateNamespaces son Turn On Statistics soff Turn Off Statistics ? show command options Not supported Enumerate all Qualifiers Delete qualifier of Enumerate Associators of | Enumerate Associator Names of | Enumerate References of | Enumerate Reference Names | Invoke Method for {} Execute Query [] Enumerate all namespaces on the server Turn on CIM Server Statistics Gathering Turn off CIM Server Statistics Gathering Show List of Commands Command examples • To list registered namespaces: nl cimcli ns • Command to enumerate a class instance: nl cimcli -n root/ ei • To get an instance of a class: nl cimcli -n root/HPQ gi Examples of commands for when the CIMOM is running on a remote system • cimcli -l -n root/HPQ ei • cimcli -n root/ -l a -ac 38 Client API Interface

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48

Not supported
setQualifier
sq
Enumerate all Qualifiers
enumerateQualifiers
eq
Delete qualifier of <qualifiername>
deleteQualifier
dq
Enumerate Associators of <classname>|<instancename>
associators
a
Enumerate Associator Names of <classname>|<instan-
cename>
associatorNames
an
Enumerate References of <classname>|<instancename>
references
r
Enumerate Reference Names <classname>|<instance-
name>
referenceNames
rn
Invoke Method for <object> <method> {<inputParams>}
invokeMethod
im
Execute Query <query-expresssion> [<query-language>]
execQuery
xq
Enumerate all namespaces on the server
enumerateNamespaces
ns
Turn on CIM Server Statistics Gathering
Turn On Statistics
son
Turn off CIM Server Statistics Gathering
Turn Off Statistics
soff
Show List of Commands
show command options
?
Command examples
To list registered namespaces:
nl
cimcli ns
Command to enumerate a class instance:
nl
cimcli
n root/<namespace> ei <CIM / DHS classname>
To get an instance of a class:
nl
cimcli
n root/HPQ gi <objectpath of CIM class instance>
Examples of commands for when the CIMOM is running on a remote system
cimcli -l <Remote IP Address >
n root/HPQ ei <CIM / DHS classname>
cimcli
n root/<namespace> -l <Remote IP Address> a <object path of
CIM_DHS class> -ac <association class>
Client API Interface
38