Remote Procedure Calls (RPC)

 

Remote Procedure Calls (RPC)

19

The CMM can be administered by custom remote applications via remote procedure calls (RPC). RPCs provide all of the functionality of the CLI.

RPC calls are useful for managing the CMM from:

An administrator’s machine via the house network

Another blade in the same chassis as the CMM, via the chassis backplane network

An application running on the CMM itself

Note: System Event Log (SEL) information is currently not available through the RPC interface.

19.1Setting Up the RPC Interface

Before you can use RPC calls in a custom application, you must obtain the following RPC source code files (contact your Intel representative):

rcliapi.h

rcliapi_xdr.c

rcliapi_clnt.c

cli_client.c

cli_client.h

The first three files should be compiled and linked into the application under development. These files implement the RPC calling subsystem for use in an application.

The file cli_client.c contains a small sample program for calling the CMM through RPC. These files currently support Linux* and VxWorks*.

The last file, cli_client.h, contains declarations and function prototypes necessary for interfacing with the RPC calling subsystem. Include the file in a ‘#include’ statement in all application files that make RPC calls.

19.2Using the RPC Interface

The RPC interface may be used to manage the CMM whether the calling application is on a remote network, on a blade in the same chassis as the CMM, or even running on the CMM itself.

The following two functions are defined by the RPC subsystem for calling the CMM through RPC:

GetAuthCapability()

ChassisManagementApi()

174MPCMM0001 Chassis Management Module Software Technical Product Specification

Page 174
Image 174
Intel MPCMM0001 manual Remote Procedure Calls RPC, Setting Up the RPC Interface, Using the RPC Interface