rp_rcm_shutdown

Description

Shuts down the named RCM through OpenSwitch.

Syntax

rp_rcm_shutdown rcm_name

Parameters

rcm_name

The name of the RCM specified for the RCM_NAME parameter in the RCM configuration file.

  • If you do not specify rcm_name, this parameter’s value defaults to “OPENSWITCH_rcm,” where OPENSWITCH is another parameter set in the RCM configuration file.

  • If RCMNAME is not set in the RCM configuration file, enter “OPENSWITCH_rcm” for rcm_name to shut down the RCM that was started by this OpenSwitch.

Examples

Example 1

Shuts down the RCM named “osw_primary_rcm.”

1> rp_rcm_shutdown osw_primary_rcm
2> go

Returns:

gap: DEBUG: spid 10: coord_rcm_notif succeeded.

Msg 20108, Level 16, State 0:
Server 'gap':
rp_rcm_shutdown: The Primary RCM osw_primary_rcm will 
be shutdown.
(return status = 0)

Usage

Shuts down an RCM through OpenSwitch. The RCM does not have to have been started by OpenSwitch to be shut down using rp_rcm_shutdown.After issuing rp_rcm_shutdown, execute rp_rcm_list and ps to verify that the RCM has shut down.

See also

rp_rcm_list, rp_rcm_startup