It is possible to configure the host system operating system
to automatically start the Adaptive Server cluster when the operating
system starts. Do this by starting the Unified Agent on the
host system and then executing the sybcluster commands
to start the cluster using a shell script.
-
Start UAF
-
Verify that UAF is started successfully.
-
Execute sybcluster and pass a
command file to sybcluster containing the command
to start the instances on the system.
-
The command file is passed using the sybcluster
-i command
line parameter and looks something like this:
connect to asece15
start instance asece1
quit
-
The sybcluster command line
looks something like the following, where asece1_startup is
the command file shown above:
sybcluster -U uafadmin -P -F host1:9999,host2:9999 -i asece1_startup