Before you begin the upgrade process, install Adaptive Server 12.5.x onto your system. See Chapter 2, “Installing Adaptive Server.” Also, see “Special Upgrade Instructions” in the release bulletin.
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.
Check system and upgrade requirements.
Check RUN_server file location.
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.
Procedure text is required for upgrade.
Reserved words.
Using quoted identifiers.
Verify that users are logged off.
Check database integrity.
Back up databases.
Dump transaction log.
Make sure that master is the default database for the “sa” user.
Prepare the database and devices for upgrade.
Create a sybsystemdb database.
If you are upgrading from Adaptive Server Enterprise from 11.9.x or earlier, you must create the sybsystempdb.
Disable auditing.
Disable disk mirroring.
Verify that your SYBASE environment variable points to the location of the new Adaptive Server software files you just unloaded.
You also can set the OLDSYBASE environment variable to the location of the server you are upgrading, to avoid having to type this path when you run sqlupgrade.
Copy the following files from earlier versions of Adaptive Server to their corresponding Adaptive Server 12.5.x installation:
For UNIX platforms:
$SYBASE/interfaces
$SYBASE/<servername>.cfg
$SYBASE/$SYBASE_OCS/config/libtcl.cfg
$SYBASE/SYSAM-1_0/licenses/license.dat
For Windows platforms:
$SYBASE\sql.ini
$SYBASE\<servername>.cfg
$SYBASE\$SYBASE_OCS\config\libtcl.cfg