Use this manual method if you are upgrading from an earlier version of Adaptive Server Cluster Edition to version 15.7 Cluster Edition. Start the Cluster Edition with only one instance until the upgrade is complete.
If you are upgrading to Adaptive Server Cluster Edition 15.7 SP100 from Adaptive Server versions through 15.x, perform the preparatory tasks before upgrading.
Preparatory tasks are not required if you are updating from Adaptive Server Cluster Edition version 15.x and higher.
cd $SYBASE
$SYBASE/$SYBASE_ASE/install/RUN_server_name
You can also use sybcluster to bring up an earlier version of an Adaptive Server cluster.
The command line-based sybcluster utility allows you to create and manage a cluster. The utility uses the SCC Agent Framework to "plug in" to the Sybase Control Center remote command and control agent on each node in the cluster. The SCC agent processes the sybcluster commands that let you manage the cluster. See the Users Guide to Clusters for detailed information about sybcluster, and the Sybase Control Center for Adaptive Server for the SCC Agent Framework.
If you did not configure SCC, start it manually from $SYBASE/SCC-3_2/bin/scc.sh.
sybcluster -U uafadmin -P password -C testcluster -F "ibmpoc01-p3:8888" > start cluster
isql -Usa -Ppassword -Sserver_name -i$SYBASE/$SYBASE_ASE/scripts/installupgrade
isql -Usa -Ppassword -Sserver_name -i$SYBASE/$SYBASE_ASE/upgrade/usage.sql
1> use sybsystemprocs 2> go 1> sp_checkreswords 2> go
#all input files must begin with a comment [cluster] name = mycluster max instances = 2 master device = /dev/raw/raw101 config file = /sybase/server_name.cfg interfaces path = /sybase/ traceflags = primary protocol = udp secondary protocol = udp [management nodes] hostname = blade1 hostname = blade2 [instance] id = 1 name = server_name node = blade1 primary address = blade1 primary port start = 38456 secondary address = blade1 secondary port start = 38466 errorlog = /sybase/install/server_name.log config file = /sybase/server_name.cfg interfaces path = /sybase/ traceflags = additional run parameters = [instance] id = 2 name = server_name_ns2 node = blade2 primary address = blade2 primary port start = 38556 secondary address = blade2 secondary port start = 38566 errorlog = /sybase/install/server_name_ns2.log config file = /sybase/server_name.cfg interfaces path = /sybase/ traceflags = additional run parameters =For an example of what this input file must contain, see The Cluster Input File.
$SYBASE/$SYBASE_ASE/bin/dataserver\ --instance=server_name\ --cluster-input=mycluster.inp\ --quorum-dev=/dev/raw/raw102 --buildquorum -M$SYBASE
If you are upgrading from a 15.0.1 or a 15.0.3 Cluster Edition to a Cluster Edition server version 15.5 or later, use the original quorum device and cluster input file, and specify --buildquorum=force to rebuild the quorum and to override the existing one. Determine the raw device used for the quorum device. For the version of the Cluster Edition, use a raw device on shared disks. Do not use a file-system device.
create system temporary database database_name for instance instance_name on device_name = size
shutdown instance_name
$SYBASE/$SYBASE_ASE/bin/dataserver \ --instance=server_name\ --quorum-dev=/dev/raw/raw102\ -M$SYBASE
1> use sybsystemprocs 2> go 1> sp_checkreswords 2> go
If you are upgrading from Adaptive Server Cluster Edition version 15.7 or later, you should already have a RUN_server file. Run the file.
cd $SYBASE/$SYBASE_ASE/install startserver -fRUN_server_name
isql -Usa -Ppassword -Sserver_name -i$SYBASE/$SYBASE_ASE/scripts/installmaster
isql -Usa -P password -S server_name -i$SYBASE/$SYBASE_ASE/scripts/installsecurity
isql -Usa -Ppassword -Sserver_name -i$SYBASE/$SYBASE_ASE/scripts/installcommit