This chapter describes the registered procedures that you can execute from the command line to perform the switching process, and to monitor and administer user activities. These procedures are provided in addition to the default registered procedures that are built into every Open Server.
Registered procedure |
Description |
---|---|
Cancels processing of a query by one or more clients. |
|
Causes a given configuration file to be reread while the server is running. Similar to sp_configure. |
|
Turns on and off all debugging options available with the -t command line option. |
|
Dumps connection state information. |
|
Resumes all suspended pools after a manual intervention has been requested, and performed by OpenSwitch. |
|
Displays every registered procedure in OpenSwitch. |
|
Kills a group of OpenSwitch connections. |
|
Queues a text message to be sent to one or more client connections. |
|
Adds an connection attribute name/value pair from a pool. |
|
Adds a new server to the list of servers within a pool. |
|
Changes or displays the connection caching status for a pool. |
|
Creates a new pool of servers. |
|
Drops an existing pool. |
|
Displays detailed information about a pool. |
|
Removes a connection attribute=value pair to a pool. |
|
Removes a server from the list of available servers within a pool. |
|
Displays or sets the status of the server present in the pool. If you use rp_pool_server_status to set the server status for a pool, this value overrides the generic server status set using rp_server_status. |
|
Changes the status of a pool. |
|
Run rp_rcm_connect_primary on a secondary OpenSwitch in a redundant RCM setup, after the primary OpenSwitch is shut down and restarted, to notify the secondary RCM to establish a connection to the primary OpenSwitch. |
|
Displays a list of RCMs known to this OpenSwitch. |
|
Shuts down the specified RCM through OpenSwitch. |
|
Starts an RCM using the specified path and RCM configuration file. |
|
Replays SQL statements during failover. |
|
Displays the contents of all [LIMIT_RESOURCE] sections of the configuration file. |
|
Displays the name, status, HA-type, configuration storage definition, CMON user name and CMON password for the specified server. |
|
Displays or changes the status of a remote server. This is a generic server status across all pools, for pools that do not have a pool-specific server status defined. |
|
Changes a configuration value. |
|
Sets server name for a connection that is requesting a server name from a coordination module. |
|
Displays query being executed by a spid. rp_showquery only works when OpenSwitch is not in FULL_PASSTHRU mode. |
|
Shuts down an OpenSwitch server. |
|
Starts a group of connections that were previously stopped with rp_stop. |
|
Stops a group of connections. |
|
Switches one or more connections to another server. |
|
Enables or disables SRV_TRACE flags for debugging messages. |
|
Displays OpenSwitch version number. |
|
Displays information about the current set of user connections. Similar to sp_who. |
See Chapter 2, “Coordination Module Routines and Registered Procedures,” in the OpenSwitch Coordination Module Reference Manual for a list of registered procedures that you can issue from a coordination module.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |