Remote Procedure Calls (RPC)
Table 85. RPC Usage Examples (Sheet 2 of 3)
Example
Get the
overall
system
health.
Get a list of
blades with
problems.
Get the temp1
sensor's
health on
blade 5.
Get the
CMM's overall
health.
Get a blade's
overall health.
Get the
version of
software on
the CMM.
Power off one
of the blades.
Power on one
of the blades.
188
MPCMM0001 Chassis Management Module Software Technical Product Specification
Download from Www.Somanuals.com. All Manuals Search And Download.
ChassisManagementApi()
[in] Parameters
pszCMMHost: localhost
uCmdCode: CMD_GET
pszLocation: system
pszDataItem: health
pszCMMHost: localhost
uCmdCode: CMD_GET
pszLocation: system
pszDataItem: unhealthylocations
pszCMMHost: localhost
uCmdCode: CMD_GET
pszLocation: blade5
pszTarget: Temp1SensorName
pszDataItem: health
pszCMMHost: localhost
uCmdCode: CMD_GET
pszLocation: CMM
pszDataItem: health
pszCMMHost: localhost
uCmdCode CMD_GET
pszLocation: blade[1..n]
pszDataItem: health
pszCMMHost: localhost
uCmdCode: CMD_GET
pszLocation: CMM
pszDataItem: version
pszCMMHost: localhost
uCmdCode: CMD_SET
pszLocation: blade[1-19]
pszDataItem: powerstate
pszSetData: poweroff
pszCMMHost: localhost
uCmdCode: CMD_SET
pszLocation: blade[1-19]
pszDataItem: powerstate
pszSetData: poweron
ChassisManagementApi() [out] Parameters
uReturnType: DATA_TYPE_INT
ppvbuffer: Integer value denoting health state
0 = OK
1 = Minor
2 = Major
3 = Critical
uReturnType: DATA_TYPE_STRING
ppvbuffer: List of all blades with problems
uReturnType: DATA_TYPE_INT
ppvbuffer: Integer value denoting health state
0 = OK
1 = Minor
2 = Major
3 = Critical
uReturnType: DATA_TYPE_INT
ppvbuffer: Integer value denoting health state
0 = OK
1 = Minor
2 = Major
3 = Critical
uReturnType: DATA_TYPE_INT
ppvbuffer: Integer value denoting health state
0 = OK
1 = Minor
2 = Major
3 = Critical
uReturnType: DATA_TYPE_STRING
ppvbuffer: A human-readable null-terminated
version string.
uReturnType: not used
ppvbuffer: not used
The return code from ChassisManagementApi()
indicates success or failure.
uReturnType: not used
ppvbuffer: not used
The return code from ChassisManagementApi()
indicates success or failure.
Need help?
Do you have a question about the NetStructure MPCMM0001 and is the answer not in the manual?
Questions and answers