connect

Description

Connects to an existing cluster.

Syntax

connect [ to cluster_name ]
	[ login login_name ]
	[ password [password ]]
	[ agent  “agent_spec [, agent_spec [,...]]” ]
	[ discovery  “ discovery_spec [, discovery_spec [, ...]]" ]

Parameters

cluster_name

is the name of the cluster to which you are connecting.

login login_name

is the management agent login for the Sybase Common Security Infrastructure in the Unified Agent framework.

The default user name after installation is “uafadmin” with no password; this is the Simple Login Module in the Agent configuration. You can configure the user name and password to use several different mechanisms for authentication and authorization, including operating system logins.

For information about Sybase Common Security, see Unified Agent and Agent Management Console Version 2.0 for Windows and UNIX.

password password

is the management agent password for the Sybase Common Security Infrastructure in the Unified Agent framework.

The default user name after installation is “uafadmin” with no password; this is the Simple Login Module in the Agent configuration. You can configure the user name and password to use several different mechanisms for authentication and authorization, including operating system logins.

agent agent_spec

is the agent specification that identifies the nodes in the cluster running a Unified Agent, and the port number that sybcluster uses to connect to the Unified Agent.

The format is node_name:port_number[, node_name:port_number ][,...]. The default port number is 9999. This is the preferred method for connecting to a cluster.

discovery discovery_spec

is the discovery method used to identify the agents responsible for the requested cluster.

The format is method[(method_specification)][, ( method_specification )[,...]]. See the description for sybcluster -d discovery_list for more information about discovery methods.

Examples

Example 1

Connects to “mycluster,” when “mycluster” is the default cluster specified in the sybcluster command statement:

connect

Example 2

Connects to “mycluster” using the agent specification and default port numbers:

connect to mycluster agent "blade1,blade2,blade3"

Usage

A direct connection is one in which the user identifies the cluster nodes and, optionally, the port numbers for the UAF agents. Sample agent specifications are: