Starting the cluster when the operating system starts

It is possible to configure the host system operating system to automatically start the Adaptive Server cluster when the operating system starts. This is done by starting the Unified Agent on the host system and then executing the sybcluster commands to start the cluster using a shell script. The following steps are offered as an example:

  1. Start UAF

  2. Verify that UAF is started successfully.

  3. Execute sybcluster and pass a command file to sybcluster containing commands to start the instances on the system.

  4. The command file is passed using the sybcluster -i command-line parameter and will look something like this:

    connect to asece15
    start instance asece1
    quit
    
  5. The sybcluster command line will look something like:

    sybcluster -U uafadmin -P -F host1:9999,host2:9999 -i asece1_startup
    

    where:

    • asece1_startup is the command file shown above.