Entering content frame

 Patch Installation with SDBUPD 

Use

You use the program SDBUPD to upgrade the database instance. When you do this, only the database software is replaced.

You can use this procedure for software with Version 7.5x if only the build number of the version has changed between the source and target version, and also for upgrades from 7.4.03 to 7.5x (see also Selection of the Upgrade Strategy).

You use this upgrade strategy if your database instance is part of an SAP system.

You can use this procedure even if the database instance is not combined with an SAP system. To do this, however, the following prerequisites must be fulfilled:

·        The program SDBINST was used to install the existing software (that is, with a tgz package or a zip file, and not an rpm package)

·        Each database instance refers to a separate software installation.

The procedure depends on whether your source version is lower than 7.5.00 or 7.5.00 or higher, and on which operating system you work.

If you work on UNIX or Linux and your source version is lower than 7.5.00, then you must stop the X Server and all database instances before the upgrade. Remember that this interrupts the communication between the clients and all local database instances. If your source version is 7.5.00 or higher, then the X Server software supports an update of the database software while the X Server is running. You no longer need to stop the X Server. The database instance that you want to upgrade is stopped by SDBUPD during the upgrade.

If you work on Microsoft Windows, you must always stop the X Server and all database instances.

Prerequisites

Before you start upgrading a database instance, make sure that you have up-to-date log backups and/or data backups for recovering this database instance in the event of errors.

The database parameters of the database instance you want to upgrade must not have been changed since the last restart.

·        The database instance that you want to upgrade is the only instance that refers to the installation path of the software you want to update.

·        The database instances is in one of the three defined operational states, which means that there are no errors.

Procedure

...

       1.      If necessary, stop each database instance with the following command:

dbmcli –d <database_name> -u <dbm_user>, <password> db_offline

       2.      If necessary, stop the X Server.

x_server stop

       3.      Start the program SDBUPD for the database instance by entering the following commands:

UNIX, Linux:

Microsoft Windows:

./SDBUPD –d <database_name> -u <dbm_user>,<password>
[-o <sdb_user>
-g <sdba_group>]

sdbupd –d <database_name> -u <dbm_user>,<password>

You only need to specify the special operating system user <sdb_user> and the group <sdba_group> (according to the Authorization Concept for UNIX Operating Systems) if you are upgrading to software version 7.5.00.

SDBUPD performs the upgrade, and displays a success message if the upgrade is completed successfully. It then flags the installation as complete.

Result

The database instance and its software have been upgraded.

If you have upgraded a liveCache database instance, it is now in the operational state OFFLINE.

If you have upgraded an OLTP database instance, it is now in the operational state ONLINE.

 

 

Leaving content frame