Entering content frame

Procedure documentation In-Place Migration with SDBUPD Locate the document in its SAP Library structure

Use

You use the SDBUPD program to upgrade a database instance.

Use this procedure if the database instance is part of an SAP system.

This upgrade strategy is valid for an OLTP instance only. It is valid for all supported operating system platforms.

Prerequisites

·        The database instance that you want to upgrade must be part of an SAP system.

·        The database instance must be in the operational state ONLINE.

·        The database instance must be the only instance that refers to the installation path of the software version that you want to update.

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

·        The source version of the database software must be Version 7.3 Build 025 or higher, the target version must be 7.5.00 or higher (See also: Selecting an Upgrade Strategy).

Procedure

...

 

Description

Command

 

Log on to Database Manager CLI and stop the database instance that you want to upgrade.

If the existing X Server has a version lower than 7.5, then use this command to stop all database instances one by one.

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

 

 

Transfer the database instance that you want to upgrade to the operational state COLD (up to Version 7.3) or ADMIN (from Version 7.4).

db_cold | db_admin

 

If you have a more recent data backup, perform an incremental data backup and a log backup. Otherwise, perform a complete data backup (see Backing Up the Database Instance).

backup_start <medium> [<type>] [AUTOIGNORE]

 

Exit Database Manager CLI.

exit | release | quit | bye

 

If the source version is lower than 7.5.00, stop the X Server.

If your source version is 7.5.00 or higher, then the X Server software supports an update of the database software while the database is running. In this case, you no longer need to stop the X Server.

x_server stop

 

Stop the X Server if it has a source version lower than 7.5.

x_server stop

 

Start SDBUPD.

SDBUPD performs the upgrade, and displays a message if it has been completed successfully. It then flags the installation as complete.

Caution

The execution of this command can take a long time. Under no circumstances must you terminate it. If you do, you risk losing all your data. Your only option in this event is to use data backups to revert to the database instance state that is stored in these backups.

UNIX/Linux:

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

Note

You then only need to specify the special operating system user <sdb_user> and the group <sdba_group> if you are performing an upgrade for software version 7.5.x (see Database System Concepts, UNIX: Special Operating System Users and Groups).

 

Microsoft Windows:

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

 

Result

The specified OLTP database instance and its software have been upgraded.

The database instance is in the operational state ONLINE.

 

Leaving content frame