Starting and stopping a cluster using sybcluster

StepsStarting a cluster

  1. If sybcluster is not running, start it. The syntax is:

    sybcluster -U uafadmin -P -C cluster_name 
    -F "node_name[:port_num]
    [,node_name[:port_num]]..."
    

    For example, to start “mycluster” on “blade1”, “blade2”, and “blade3”, enter:

    sybcluster -U uafadmin -P -C mycluster 
    -F "blade1,blade2,blade3"
    
  2. Connect to the cluster. For example:

    connect 
    
  3. Start the cluster:

    start cluster
    

StepsShutting down a cluster

  1. Enter:

    shutdown cluster
    

    Adaptive Server waits for all statements and transactions to complete before shutting down the cluster.