This procedure tests to make sure the server is ready for the upgrade process. It does not actually perform any upgrade steps.
Using sybcluster to verify
the server for upgrade
Start sybcluster. For example, enter:
sybcluster -U uafadmin -P -F "mynode:8999"
Where:
-U – is the login name for the Unified Agent. “uafadmin” is the default value.
-P – is the Unified Agent password. The default password for “uafadmin” is null or blank.
-F – specifies the node on which the Adaptive Server is running and the listening port for the Unified Agent. The default value is “9999”.
In this example, the node name is “mynode” and the UAF listening port is “8999”.
You must specify the node on which the upgrade is to
take place.
Start the verification. From the sybcluster command line, enter:
upgrade server server_name checkonly
For example:
upgrade server myserver checkonly
Respond to the upgrade server checkonly 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.
For example, enter “sa”.
Enter a password:
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.
The upgrade process creates a cluster with a single
instance.
Enter the interface file query port number for instance_name.
Enter the local system temporary database device name.
You can create local system temporary database on shared disks only. See Chapter 6, “Using temporary databases” in Cluster Edition User Guide for more information about using local disks for temporary data.
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 ]
If the verification succeeds, you can use this file
as input to upgrade the server.
Enter the name of the file to save the cluster creation information.
For example: /data/myserver_ce.xml.
Create the cluster now? [Y]
If you enter “Y”, sybcluster starts the verification process. It displays informational messages as the process proceeds. It does not perform any of the upgrade steps.
If the verification process succeeds, you can upgrade the server. See “Upgrading the server”.
If sybcluster displays error messages, resolve all error messages resulting from the check before upgrading the server.