Upgrade to Adaptive Server release 12.5.1 on a new machine running IBM AIX 5.1

Perform the following steps to upgrade to Adaptive Server release 12.5.1 on a new machine that is running IBM AIX 5.1.

  1. Complete the tasks described in the pre-upgrade section in the Adaptive Server Installation Guide for upgrading Adaptive Server release 12.0.x.

    This document refers to the Adaptive Server release 12.0.x release area as “OLDSYBASE,” and the Adaptive Server release 12.5.1 release area as “NEWSYBASE.”

  2. Make sure the new AIX 5.1 machine has the necessary patches, as described operating system requirements section of the Adaptive Server Installation Guide.

  3. Install the 64-bit Adaptive Server version 12.5.1 for AIX 5.1 along with appropriate languages on the new machine, following the instructions in the Adaptive Server Installation Guide.

  4. Setup your environment by running SYBASE.csh or SYBASE.sh from NEWSYBASE (described Adaptive Server Installation Guide.

  5. Copy the 12.0.x server interfaces definition from the interfaces file in OLDSYBASE to the interfaces file in NEWSYBASE.

  6. Run installupgrade on the 12.0.X ASE server using the following command:

    isql  -Usa – P <sa password>  -S <12.0.x server name> -i $NEWSYBASE/ASE-12_5/scripts/installupgrade
    
  7. Run a reserve words check using sp_checkreswords installed on the release 12.0.x Adaptive Server, and resolve any conflicts it reports. Enter the following to run the reserve words check:

    isql  -Usa – P <sa password>  -S <12.0.x server name>
    sp_checkreswords
    

    See the pre-upgrade section in the release 12.0.x Adaptive Server Installation Guide for more information.

  8. Run the $NEWSYBASE/ASE-12_5/bin/preupgrade binary. preupgrade reports the necessary modifications to the 12.0.x Adaptive Server for a successful upgrade to 12.5.x:

    $NEWSYBASE/ASE-12_5/upgrade/preupgrade  -U sa  -P<sa password> -S <12.0.x server name>
    

    You must make these changes to successfully upgrade to 12.5.x

  9. Move the physical database devices from the 12.0.x IBM 4.3.3 machine to the IBM 5.1 machine. Change the physical paths of logical devices in the master database of the 12.0.x server so they point to new paths on the AIX 5.1 machine.

  10. Checkpoint all the databases and shutdown the 12.0.x server.

  11. Copy the following files to the new AIX 5.1 machine:

  12. Start the release 12.5.1Adaptive Server on the new AIX 5.1 machine using the modified RUN_SERVER file.

  13. Run the upgrade binary:

    $NEWSYBASE/ASE-12_5/upgrade/upgrade  -U sa  -P<sa password> -S <12.5.1servername>
    
  14. After the upgrade, shutdown and then reboot the release 12.5.1 Adaptive Server.

  15. Install the following scripts to the release 12.5.1 Adaptive Server:

    See the System Administration Guide for information about installing these scripts.

  16. Upgrade any compiled objects (described in ‘Upgrading Sybase Servers’ chapter of the Adaptive Server Installation Guide).

  17. Complete all post-upgrade tasks, as defined the “Upgrading Sybase Servers” chapter of the Adaptive Server Installation Guide.

  18. If you are using languages other than the default, perform the steps described in “Custom Installation” of the Adaptive Server Installation Guide to configure these languages. You must run the sqlloc utility to upgrade these languages.

  19. Complete any additional post upgrade tasks defined in the AIX 5.1-64 bit Release Bulletin.