Installation guide

See also
Managing Java in the Database During Installations and Upgrades
on page 33
Determining the Adaptive Server Version
Before using the binary overlay, verify that your current version of Adaptive Server is at least
15.x.
If your server is at a 15.7 version level, you can begin installing Adaptive Server 15.7 ESD
#2.
1.
Verify that you have version 15.x:
If your server is running:
1> select @@version
2> go
If your server is not running:
$SYBASE/$SYBASE_ASE/bin/dataserver -v
2.
Source environment variables before executing dataserver -v.
If the result shows that the Adaptive Server is earlier than version 15.x, you cannot use the
binary overlay, but must use an upgrade method instead. See
Chapter 10, Adaptive Server
Upgrades
on page 69.
Backing Up Adaptive Server
Installing Adaptive Server version 15.7 and later overwrites the current Adaptive Server
software. Before installing, verify that your databases are error free, and back up the Sybase
directory.
1.
To ensure that your database is error free, run dbcc checkdb, dbcc checkcatalog, and
dbcc checkstorage before loading any new Adaptive Server binaries, including the
master database. If the dbcc commands reveal problems, check the
Error Messages and
Troubleshooting Guide
for actions necessary to fix the problem. If the error is not listed in
the manual, call Sybase Technical Support.
2.
After you have verified that your database is error free, back up your $SYBASE directory
in case you need to roll back to the original version of the software.
3.
Adaptive Server provides the uninstmsgs.ebf script for backing up sysmessages
before upgrading to 15.7 ESD #2. Use it to back up sysmessages before running
instmsgs.ebf.
Installing Adaptive Server Using Binary Overlay
Use the installer to install Adaptive Server version 15.7 ESD #2 on top of an Adaptive Server
that is no earlier than version 15.x.
1.
From your SYBASE directory, shut down the servers that are using the binaries. Use a
regular "polite" shutdown as opposed to using the shutdown with nowait option, both as
CHAPTER 10: Adaptive Server Upgrades
86 Adaptive Server Enterprise