Pre-upgrade tasks

NoteBefore you begin the upgrade process, install Adaptive Server 15.0.2 onto your system.

To ensure a successful upgrade, review the following pre-upgrade tasks and perform them as necessary. Depending on the old server configuration, you may not need to perform all pre-upgrade tasks.

  1. Check system and upgrade requirements.

  2. Check RUN_server file location.

  3. Read the password encryption algorithm documentation for 15.0.2 in the New Feature Guide. You should set the password policy option to 'allow password downgrade' to 1. Then passwords are encrypted with old and new algorithms aiding in transition should you ever downgrade from 15.0.2 version.

  4. If you are upgrading Adaptive Server, the previously installed version of the server must be running. If you are upgrading Backup Server, Historical Server, Monitor Server, or XP Server, those servers must not be running.

  5. Stored procedure text in the syscomments table is required for upgrade.

  6. Reserved words are resolved using quoted identifiers.

  7. Verify that users are logged off.

  8. Check database integrity.

  9. Back up databases.

  10. Dump transaction log.

  11. Make sure that master is the default database for the “sa” user.

  12. Prepare the database and devices for upgrade using the preupgrade utility.

    • Create a sybsystemdb database if it does not already exist.

    • Disable auditing using the command:

      sp_configure 'auditing', 0
      

      Save the current audit settings for the pre-15.0.2 Adaptive Server using the command:

      sp_displayaudit
      
    • Disable disk mirroring.

    • Verify that your SYBASE environment variable points to the location of the new Adaptive Server software files you just installed.

      You also can set the OLDSYBASE, OLDSYBASE_ASE, and OLDSYBASE_OCS environment variables to the location of the server you are upgrading, to avoid having to type this path when you run sqlupgrade.

    • Disable Job Scheduler.

    If you do not disable Job Scheduler then the path for UNIX platforms is:

    • $SYBASE/$SYBASE_OCS/config/libtcl.cfg

    • $SYBASE/$SYBASE_OCS/config/libtcl64.cfg

    • $SYBASE/$SYBASE_SYSAM2/licenses/license.dat

  13. Ensure that the procedure cache size is at a minimum of 150 percent of the default procedure cache size, or between 53248 and 2147483647 2K pages.

  14. Copy the following files from earlier versions of Adaptive Server to their corresponding Adaptive Server 15.x installation.

    For UNIX platforms:

    • $SYBASE/interfaces

    • $SYBASE/$SYBASE_ASE/<servername>.cfg

    • $SYBASE/$SYBASE_OCS/config/libtcl.cfg

    • $SYBASE/SYSAM-2_0/licenses/license.dat