After successfully completing the verification procedure (see “Using sybcluster to verify the server for upgrade”) you can upgrade the server. Perform the upgrade process:
Using an input file. If you save the configuration information after completing a successful verification, you can use the saved file as input to the upgrade process.
Interactively by responding to prompts displayed on the screen. These prompts are displayed in “Using sybcluster to verify the server for upgrade”. See Appendix C, “A sybcluster Sample Session,” for sample input.
Upgrading the server using an input file
Start sybcluster. For example, enter:
sybcluster -U uafadmin -P -F "mynode:8999"
Start the upgrade. For example, enter:
upgrade server myserver file /data/myserver_ce.xml
In this example, /data/myserver_ce.xml is the configuration file created during the validation procedure.
The configuration file is similar to that used by sybcluster to
create a cluster. See Chapter 3, “Creating and Starting the Cluster.”
sybcluster displays these prompts:
Enter the name of an sa login on server server_name [sa]
Press Enter to accept the default, or enter the name of another user with sa privileges on the target server.
Enter a password for the sa login.
sybcluster begins the upgrade procedure, displays informational messages as the upgrade proceeds, and confirms the success of the upgrade.
Upgrading the server interactively
Start sybcluster. Enter:
sybcluster -U uafadmin -P -F "node_name:port_number"
Start the upgrade. Enter:
upgrade server server_name
Respond to the upgrade server prompts. Default values are displayed in square brackets. The prompts are:
Enter the name of the cluster. [ server_name ]
Enter the existing Sybase installation directory for server server_name.
Enter the complete path to the Sybase installation directory. For example, enter “/myserver/sybase15”.
Enter the name of the subdirectory containing the ASE installation for server server_name.
For example, enter “ASE-15_0”.
Enter the name of the subdirectory containing the OCS installation for server server_name.
For example, enter “OCS-15_0”.
Enter the name of an sa login on server server_name.
Enter the password for the sa login.
Enter the maximum number of instances. [4]
How many nodes (hardware hosts) will participate in this cluster. [1]
Enter the number representing the cluster node 1. [1]
Enter the full path to the quorum disk.
Enter any traceflags.
Enter the full path to the existing master device.
Does this cluster have a secondary network. [Y]
Enter the port number from which this range will be applied. [15100]
Enter the SYBASE home directory:
sybcluster provides default locations for steps 15 through
19.
Enter the environment shell script path.
Enter the ASE home directory.
Enter the interfaces directory.
Enter path to the dataserver config file:
Enter the name of the first instance in this cluster:
Create a cluster with a single instance; add instances
later on using the add instance command.
Enter the interface file query port number for instance_name.
Enter the local system temporary database device name.
Enter the local system temporary database device path.
Enter local system temporary database device size (MB).[100]
Enter the local system temporary database database name, for example, [cluster_name_tdb_1 ]
Enter the local system temporary database database size (MB).[100]
Would you like to save this configuration information in a file? [ Y ]
Enter the name of the file to save the cluster creation information.
Create the cluster now? [Y]
If you enter “Y”, sybcluster upgrades the server, displaying informational messages as the process proceeds.