To ensure a successful upgrade, review and perform preparatory tasks
as necessary. Depending on the old server configuration, you may not need to perform all
preparatory tasks.
Prerequisites
- You need the master and system procedures files to upgrade the
server. By default, the master (master.dat) and system procedures device
(sybsytemprocs.dat) files are in the
%SYBASE%\data directory.
- The previously installed version of the server must be running.
If you are upgrading Backup Server, Historical Server, or XP Server, those
servers must not be running.
Task
Note:
Follow
these steps only if you are performing a major upgrade from an SAP ASE version
earlier than 16.0.
Skip these preparatory tasks
if you plan to use syconfig.exe or
sybatch.exe, which performs these tasks automatically.
- Install SAP ASE 16.0 into the old ASE directory.
- Check system and upgrade
requirements.
- Ensure that the directory to which your TEMP environment
variable points exists.
- If you are upgrading from SAP ASE 12.5.4, run
syconfig.exe:
- Select Upgrade Adaptive
Server.
- Choose the server name.
- Log in to the server.
- Choose Command
line, and add -T7841.
- Verify that the text of all stored procedures you upgrade is
available in syscomments by either:
- Reinstalling the procedures with text, or,
- Removing and reinstalling the procedures after the upgrade.
This step can allow you to inspect the stored procedures for any hidden or unwanted text.
- Make sure reserved words use quoted identifiers.
- Verify that users are logged off.
- Use dbcc to check for database integrity.
- Back up databases.
- Dump the transaction log.
- Verify that master is the default database for the "sa" user.
- Prepare the database and devices for upgrade using the preupgrade utility. See
preupgrade in the Utility Guide for more
information. After preupgrade finds no errors by exiting with
status 0 (zero):
- Create a sybsystemdb database
if it does not already exist.
- Disable auditing by running sp_configure 'auditing', 0.
- If Job Scheduler is enabled, copy
%OLDSYBASE%\%OLDSYBASE_OCS%\libtcl*.cfg to
%SYBASE%\%SYBASE_OCS%.
- If Job Scheduler if enabled,
disable it.
- Obtain the current audit settings for the pre-16.0 SAP
ASE using sp_displayaudit; use this
saved information to reenable auditing after you complete the
upgrade.
- If you made any site-specific
changes to the permissions for system stored procedures, obtain the
current permission settings for them using sp_helprotect; then use this saved information to
reenable the permissions after you complete the installation. Pay
special attention to
- Any stored procedures that are not granted execute permission to
public, such as sp_addauditrecord,
sp_monitor, and
sp_sysmon.
- Any stored procedures where execute permission has been revoked
from public.
- Disable disk mirroring.
Fix any problems that
preupgrade utility reports.
When there are no problems and the old server is ready for
upgrade, syconfig.exe automatically
starts the upgrade process when the preupgrade utility reports no errors.
You can safely ignore any warnings SAP ASE issues about configuration
parameters not being set to the default, as these are only for your
information.
- If you are upgrading from a nonclustered 12.5.4, 15.0.2, 15.5,
or 15.7 server, and archive database access has been applied in the lower
version server, disable the related functionality before upgrading.
- Ensure that the procedure cache size is at least 150 percent of
the default procedure cache size, or between 53,248 and 2,147,483,647 2KB
pages.
- Copy these files from earlier versions of the server to their
corresponding SAP ASE 15.x installation locations:
-
%SYBASE%\ini\sql.ini
-
%SYBASE%\%SYBASE_ASE%\servername.cfg – where
servername is your server
name
-
%SYBASE%\%SYBASE_OCS%\ini
directory
-
%SYBASE%\ini\libtcl.cfg
- If you have enabled the Java in the database feature, create the sybpcidb database and disable the feature during the installation.
- The sysconfig.exe file
cannot connect to an SAP ASE that uses a named pipe directory service. Remove
the named pipe directory service from the interfaces file before upgrading SAP ASE.
- Disable LDAP using:
sp_configure 'enable ldap' , 0