Using sybcluster

Some sybcluster commands are available before you connect to a cluster; others are available only after you connect to a cluster, see Table 15-1.

The sybcluster prompt lets you know whether or not sybcluster is connected to a cluster, and the default cluster and instance if either or both of these have been set.

Table 15-1: sybcluster interactive commands

Command name

Description

Active before or after connecting to a cluster

add backupserver

Configures one or more new Backup Servers on nodes in the cluster not currently configured for Backup Server.

After

add instance

Adds one new instance to the cluster.

After

connect

Connects to an existing cluster.

Before

create backupserver

Create Backup Server.

After

create cluster

Creates a new cluster.

Before

create xpserver

Creates an XP Server.

After

deploy plugin

Deploys the configuration information for a single instance of the cluster to the Unified Agent.

Before

diagnose { cluster | instance }

Performs a set of checks to ensure the cluster or instance is working properly.

After

disconnect

Closes all connections to the current cluster and returns the cluster to the unconnected state.

After

drop backupserver

Drops the Backup Server.

After

drop cluster

Removes each instance from the cluster and deletes the cluster definition from the cluster configuration file.

After

drop xpserver

Drops the XP Server.

After

drop instance

Removes an instance from the cluster.

After

exit

Exits sybcluster.

Before or after

help

Lists the currently available sybcluster interactive commands.

Before or after

localize

Displays current values for default language, charset, and sort order. Allows you to change the default values and add or remove languages.

After

quit

Exits sybcluster.

Before or after

set backupserver

Changes the listening port number for Backup Server on one or more nodes.

After

set cluster

Sets properties for the cluster.

After

set instance

Sets properties for the instance.

After

set xpserver

Changes the listening port number for XP Server on one or more nodes.

After

show agents

Displays information about available UAF agents.

Before

show backupserver config

Displays the names of the nodes on which Backup Server is configured and the associated listening port number.

After

show cluster

Displays configuration, log, and status values for the cluster.

After

show instance

Displays information about an instance.

After

show membership mode

Displays the cluster’s current membership mode, which specifies whether or not the cluster supports Veritas Cluster Server integration.

After

show session

Displays current agent and discovery information.

After

show xpserver config

Displays the names of the instances and nodes on which XP Server is configured and the associated listening port number.

After

shutdown cluster

Shuts down the cluster by executing a Transact-SQL shutdown command for each instance in the cluster.

After

shutdown instance

Shuts down the instance by executing a Transact-SQL shutdown command.

After

start cluster

Starts all instances in the cluster.

After

start instance

Starts an instance in the cluster.

After

upgrade server

Updates Adaptive Server to Adaptive Server Cluster Edition.

Before

use

Sets the default instance.

After