Intel MPCMM0001 manual RPC Usage Examples Sheet 2

Models: MPCMM0001

1 281
Download 281 pages 15.26 Kb
Page 188
Image 188

Remote Procedure Calls (RPC)

Table 85. RPC Usage Examples (Sheet 2 of 3)

Example

ChassisManagementApi()

 

ChassisManagementApi() [out] Parameters

[in] Parameters

 

 

 

 

 

 

 

 

 

uReturnType: DATA_TYPE_INT

Get the

pszCMMHost: localhost

ppvbuffer: Integer value denoting health state

uCmdCode: CMD_GET

0

= OK

overall

system

pszLocation: system

1

= Minor

health.

pszDataItem: health

2

= Major

 

 

 

3

= Critical

 

 

 

 

Get a list of

pszCMMHost: localhost

 

 

uCmdCode: CMD_GET

uReturnType: DATA_TYPE_STRING

blades with

pszLocation: system

ppvbuffer: List of all blades with problems

problems.

pszDataItem: unhealthylocations

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: DATA_TYPE_INT

Get the temp1

ppvbuffer: Integer value denoting health state

uCmdCode: CMD_GET

0

= OK

sensor’s

pszLocation: blade5

health on

1

= Minor

pszTarget: Temp1SensorName

blade 5.

2

= Major

 

pszDataItem: health

 

3

= Critical

 

 

 

 

 

 

 

uReturnType: DATA_TYPE_INT

Get the

pszCMMHost: localhost

ppvbuffer: Integer value denoting health state

uCmdCode: CMD_GET

0

= OK

CMM’s overall

pszLocation: CMM

1

= Minor

health.

pszDataItem: health

2

= Major

 

 

 

3

= Critical

 

 

 

 

 

uReturnType: DATA_TYPE_INT

 

pszCMMHost: localhost

ppvbuffer: Integer value denoting health state

Get a blade’s

uCmdCode CMD_GET

0

= OK

overall health.

pszLocation: blade[1..n]

1

= Minor

 

pszDataItem: health

2

= Major

 

 

3

= Critical

 

 

 

 

Get the

pszCMMHost: localhost

uReturnType: DATA_TYPE_STRING

uCmdCode: CMD_GET

version of

ppvbuffer: A human-readable null-terminated

software on

pszLocation: CMM

version string.

the CMM.

pszDataItem: version

 

 

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

uCmdCode: CMD_SET

Power off one

ppvbuffer: not used

pszLocation: blade[1-19]

of the blades.

The return code from ChassisManagementApi()

pszDataItem: powerstate

 

 

indicates success or failure.

 

pszSetData: poweroff

 

 

 

 

 

 

 

 

pszCMMHost: localhost

uReturnType: not used

 

uCmdCode: CMD_SET

Power on one

ppvbuffer: not used

pszLocation: blade[1-19]

of the blades.

The return code from ChassisManagementApi()

pszDataItem: powerstate

 

 

indicates success or failure.

 

pszSetData: poweron

 

 

 

 

 

 

 

188MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 188
Image 188
Intel MPCMM0001 manual RPC Usage Examples Sheet 2