Upgrading the server

After successfully completing the verification procedure (see “Using sybcluster to verify the server for upgrade”) you can upgrade the server. Perform the upgrade process:

StepsUpgrading the server using an input file

  1. Start sybcluster. For example, enter:

    sybcluster -U uafadmin -P -F "mynode:8999"
    
  2. 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.

  3. sybcluster displays these prompts:

    1. 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.

    2. 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.

StepsUpgrading the server interactively

  1. Start sybcluster. Enter:

    sybcluster -U uafadmin -P -F "node_name:port_number"
    
  2. Start the upgrade. Enter:

    upgrade server server_name
    
  3. Respond to the upgrade server prompts. Default values are displayed in square brackets. The prompts are:

    1. Enter the name of the cluster. [ server_name ]

    2. Enter the existing Sybase installation directory for server server_name.

      Enter the complete path to the Sybase installation directory. For example, enter “/myserver/sybase15”.

    3. Enter the name of the subdirectory containing the ASE installation for server server_name.

      For example, enter “ASE-15_0”.

    4. Enter the name of the subdirectory containing the OCS installation for server server_name.

      For example, enter “OCS-15_0”.

    5. Enter the name of an sa login on server server_name.

    6. Enter the password for the sa login.

    7. Enter the maximum number of instances. [4]

    8. How many nodes (hardware hosts) will participate in this cluster. [1]

    9. Enter the number representing the cluster node 1. [1]

    10. Enter the full path to the quorum disk.

    11. Enter any traceflags.

    12. Enter the full path to the existing master device.

    13. Does this cluster have a secondary network. [Y]

    14. Enter the port number from which this range will be applied. [15100]

    15. Enter the SYBASE home directory:

      Notesybcluster provides default locations for steps 15 through 19.

    16. Enter the environment shell script path.

    17. Enter the ASE home directory.

    18. Enter the interfaces directory.

    19. Enter path to the dataserver config file:

    20. Enter the name of the first instance in this cluster:

      NoteCreate a cluster with a single instance; add instances later on using the add instance command.

    21. Enter the interface file query port number for instance_name.

    22. Enter the local system temporary database device name.

    23. Enter the local system temporary database device path.

    24. Enter local system temporary database device size (MB).[100]

    25. Enter the local system temporary database database name, for example, [cluster_name_tdb_1 ]

    26. Enter the local system temporary database database size (MB).[100]

    27. Would you like to save this configuration information in a file? [ Y ]

    28. Enter the name of the file to save the cluster creation information.

    29. Create the cluster now? [Y]

      If you enter “Y”, sybcluster upgrades the server, displaying informational messages as the process proceeds.