Configuring Adaptive Servers for OpenSwitch

You can add Adaptive Servers to pools and configure the servers for your OpenSwitch environment.

You can also use the rp_pool_addserver registered procedure to add and configure Adaptive Servers for a pool. See rp_pool_addserver.

StepsAdding Adaptive Servers to a pool

  1. Select the pool to which you want to add Adaptive Servers.

  2. Select File | New | Server. You can also double-click the Add Adaptive Server icon in the Details pane.

  3. Provide the name of the new server in an empty row of the Server Name column. Select Server | Add from the menu bar or click the Add (+) button in the toolbar to create a new row.

  4. Select the status for the new server—UP, DOWN, or LOCKED. See “Server state” for a description of each state.

    Sybase recommends that you select the DOWN state so that processes do not switch to the new server immediately. You can change the Adaptive Server status to UP or LOCKED after you assign Adaptive Servers to the pools and verify the pool is ready to accept connections.

  5. Select the new server, then select Server | Properties.

  6. Click the Adaptive Server Attributes tab. Select:

    WARNING! Be careful when you choose the server attributes. You cannot change the server attributes after you save your new server.

  7. Click OK to return to the Adaptive Server window for your pool.

  8. Select Server | Add to add additional servers. Follow step 3 to step 7 for each server you want to add to the pool.

  9. Select File | Save Adaptive Server to save the server and not exit the Adaptive Server Editor window. To save the server and exit the Adaptive Server Editor window, select File | Save Adaptive Server and Close Editor.

StepsViewing server properties

  1. Select a server.

  2. Select File | Properties.

  3. Select the General tab to view these properties:

StepsDeleting Adaptive Servers from a pool

You can delete Adaptive Servers from a pool. You must verify that there are no user connections for the Adaptive Server and that the server status is DOWN before you delete the server from the pool.

You can also use the rp_pool_remsever registered procedure to delete the server from the pool. See rp_pool_remserver for more information.

When you delete the server from the pool, the server still runs but does not accept user connections assigned through the pool.

  1. Select the Adaptive Server you want to delete from the pool.

  2. Select Edit | Delete. The Confirm Delete window displays.

  3. Select Yes to delete the server from the pool.