Manages a Sybase shared-disk cluster. sybcluster lets you create, start, stop, and manage a cluster or any instance in a cluster.
sybcluster is available only in a shared-disk cluster environment. For information about how to use sybcluster, see the Clusters Users Guide.
sybcluster [ -C cluster_name ] [ -d discovery_list ] [ -F agent_connection ] [ -h ] [ -I instance_name ] [ -i input_file_path ] [ -L ] [ -m message_level ] [ -P [ password ]] [ -U user_name ] (the default value is “uafadmin”) [ -v ]
"method[(method_specification][,...)"]]For example:
-d "udp(),jini(jinihost1;jinihost2)"
UDP() – performs a UDP broadcast and listens for a response from listening Unified Agents. UDP discovery does not cross subnet boundaries.
JINI(JINI_spec) – specifies the JINI servers used to look up the locations of nodes in the cluster. The specification form is: host-name[:port_num].
Indicate multiple JINI servers by placing a semicolon between each specification. By default, sybcluster uses port number 4160 to attach to a JINI server.
The JINI server must be running, and the management agents (UAF) must be registered with the JINI server. The locations of the nodes, and status of the instances are stored on the JINI server.
LDAP(LDAP_spec) – specifies an LDAP server that will be used to look up the locations of the nodes in the cluster. The specification form is: host_name[:port_num][?registry].
Indicate multiple LDAP servers by placing a semicolon between each specification. By default, sybcluster uses port number 389 to attach to an LDAP server and the LDAP directory at “cn=ua-registry,ou=ua,dc=sybase,dc=com”.
host_name[:port_num] [, host_name[:port_num ]]
-F "node1,node2,node3,node4:9999"
The default port number is 9999.
To override the instance specified by -I, execute the use command in interactive mode.
0 – off (no messages to log file or console)
1 – fatal
2 – error
3 – warning
4 – information
5 – debug
sybcluster displays all messages of the level you choose and all messages of greater severity (with lower numbers). That is, if you select message level 3, sybcluster displays messages of level 3, 2, and 1. The default level is 4.
If you do not specify the -P option, sybcluster prompts for a password. For a blank or null password, use the -P option without a value or enter a set of quotation marks without content.
You can encrypt the password using the Sybase passencrypt utility. See the Clusters Users Guide.
sybcluster -U uafadmin -P -C mycluster -F "blade1:9100,blade2:9292,blade3:9393"
sybcluster -U uafadmin -P -C mycluster -F "blade1,blade2,blade3"
sybcluster -U uafadmin -P -C mycluster -d "JINI(myjiniserver:4564)"
sybcluster -U login_name -P password -C cluster_name -F agent_spec
The -C cluster_name, -P password, -I instance_name, -F agent_connection, and -d discovery_list parameters are default values that can be changed using subsequent sybcluster interactive commands. If you do not specify these values on the sybcluster command line, sybcluster prompts for them as they are required.
sybcluster > connect to mycluster login uafadmin password " " agent "blade1,blade2,blade3"