You can identify the Unified Agents using a direct connect or discovery method either when you start sybcluster or later using the connect to interactive command.
If the cluster is running when you connect to it, you
normally need to identify only one Unified Agent on one node in
the cluster. To start the cluster or XP Server, however, you must
identify the agent on each node in the cluster.
sybcluster always prompts you when additional
information is required.
If you do not know the Unified Agent specifications for a cluster, use the sybcluster show agents command to discover available Unified Agents and clusters on your subnet.
You can connect directly to one or more agents by specifying the cluster node and port numbers for the Unified Agents responsible for managing the cluster. Some possible agent specifications are:
Node name or names of the cluster and optional port numbers – allows you to specify an exact address. If you do not include a port number, sybcluster assumes a default value of 9999. For example, to specify agents on “blade1”, “blade2”, and “blade3” of “mycluster,” enter:
sybcluster -U uafadmin -P -C mycluster -F "blade1:1234,blade2:2345,blade3:3456"
To specify node and port numbers using connect after you have started sybcluster, enter:
connect to mycluster -U uafadmin -P -F "blade1:1234,blade2:2345,blade3:3456"
The domain of the node – lets you specify the exact address through the domain name. For example:
sybcluster -U uafadmin -P -C mycluster -F "blade1.mydomain.com"
sybcluster supports these three discovery methods that locate the agents and the discovery order:
User Datagram Protocol (UDP) – is a broadcast discovery method in which sybcluster broadcasts a request and agents located on the same subnet respond. For example, to use UDP to look up the location of a node in “mycluster”, enter:
sybcluster -U uafadmin -P -C mycluster -d "udp()"
To perform discovery using connect after starting sybcluster, enter:
connect to mycluster login uafadmin password " " discovery "udp(), jini(myjinihost1:5678;myjinihost2:1234)"
Jini server technology – provides lookup capabilities. Each agent registers with the Jini server, which stores the location of each node and status information. To look up the location of an agent in “mycluster”, enter:
sybcluster -U uafadmin -P -C mycluster -d "jini(myjiniserver:4564)"
To perform discovery using connect after starting sybcluster, enter:
connect to mycluster discovery "jini(myjiniserver:4564)"
LDAP technology – provides lookup capabilities. Each agent registers with the LDAP server, which stores the location of each node and status information.
To look up the location of Unified Agents for “mycluster” using all three discovery methods, enter:
sybcluster -U uafadmin -P -C mycluster -d "udp(),jini(myjiniserver:4123), ldap(myldapserver:6123)