rp_server_help

Description

Displays the name, status, HA-type, configuration storage definition, CMON username and CMON password for the specified server as defined in the [SERVER] section.

NoteYou can also use OpenSwitch Manager to view information about a server.

Syntax

rp_server_help [server]

Parameters

server

Name of the OpenSwitch server for which to display properties. If you do not provide this parameter, OpenSwitch displays the properties of all OpenSwitch servers in the [SERVER] section of the OpenSwitch configuration file.

Examples

Example 1

Displays the properties of server “itan1.”

1> rp_server_help itan1
2> go

Returns:

server  status     type   cfg_storage    cmon_user   cmon_pwd 
------  ---------  -----  -------------  ----------  ---------
itan1   UP         NULL   1              NULL        NULL 
(1 row affected)
(return status = 0

Example 2

Displays the properties of all the servers known to the OpenSwitch on which rp_server_help is executed.

1> rp_server_help
2> go

Returns:

server   status     type   cfg_storage    cmon_user   cmon_pwd 
------   ---------  -----  -------------  ----------  ---------
DEFAULT  UP         NULL   0              NULL        NULL 
itan1    UP         NULL   1              NULL        NULL 
callie1  UP         NULL   1              NULL        NULL 
(3 rows affected)
(return status = 0)

Usage

Used to find out the properties of a specific server, or of all the servers known to a specific OpenSwitch.