Remote Procedure Calls (Rpc); Setting Up The Rpc Interface; Using The Rpc Interface - Intel NetStructure MPCMM0001 Software Instructions

Chassis management module
Table of Contents

Advertisement

Remote Procedure Calls (RPC)

Remote Procedure Calls (RPC)
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.1

Setting 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.2

Using 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()
174
MPCMM0001 Chassis Management Module Software Technical Product Specification
Download from Www.Somanuals.com. All Manuals Search And Download.
19

Advertisement

Table of Contents
loading

Table of Contents