!--a11y-->
In-Place Migration with SDBINST and Follow-Up
Actions 
You use the SDBINST
program to upgrade
database
instances for Version 7.3 and above. You first need to install
the new version of the database software. You then need to migrate the
database instance(s).
The source version of the database software is version 7.3.00 Build 025 or higher, the target version is 7.5.00 or higher (see also Selecting an Upgrade Strategy).
Use this procedure for database systems that are not part of an SAP system, particularly if multiple database instances refer to the same installation path.
This upgrade
strategy is valid for database instances that are
OLTP instances
only. It is valid for all
supported operating
system platforms.
· The database instance that you want to upgrade cannot be part of an SAP system.
·
You need to have a
backup medium for
a
complete
data backup.

To guarantee
the security of your data where errors occur in the migration, we recommend
that you perform a complete data backup of the instance in step 6, in the
operational
state COLD. This causes downtime because the database instance has to be
stopped. However, in the event of an error, the resulting data backup can be
used to
recover the database
instance in both Version 7.3 and the target version.
Alternatively, you can perform a complete data backup in the operational state WARM before you start the migration. However, in the event of an error, you can only use this backup to recover the source version of the database instance. It is therefore not equivalent to a data backup in the operational state COLD during the migration process.
...
1. Install the target version of the software using SDBINST (zip file or tgzpackage) in the <dependent_path_new>installation path in parallel to the installation path of Version 7.3. (in other words, without overwriting the old software version)
or
Install the software of the target version using the Red Hat Package Manager (package).

If you have installed Version 7.3 of the database software on your computer using the Red Hat Package Manager, you must use this program to perform subsequent installations. It is not possible to use SDBINST for subsequent installations.
2. Perform the following migration steps for each of the database instances of your source version.
|
Procedure |
Command |
...
|
Call Database Manager CLI as the DBM operator and connect to the database instance that you want to migrate. |
dbmcli -d <database_name> -u <dbm_user>,<password> |
|
Stop the database instance in the correct manner.
Use the db_offline command; do not use db_stop. This is the only way of making sure you can restart the database instance if an error occurs. |
db_offline |
|
Change the database instance to the COLD operational state. |
db_cold |
|
Open a utility session. |
util_connect |
|
Execute the command that prepares the migration. |
util_execute migrate |
|
Perform a complete data backup in the operational state COLD. |
backup_start <medium> |
|
Exit the utility session. |
util_release |
|
Transfer the database instance to the OFFLINE operational state. |
db_offline |
|
UNIX: Assign the database instance to the new software version. Microsoft Windows: Delete the database instance registration. |
UNIX: db_reg –R <dependent_path_new>
Microsoft Windows: db_drop WITHOUTFILES |
|
Exit Database Manager CLI. For Microsoft Windows only: Register the installation path of the new database software with Database Manager and create a database instance of this new software version. |
exit | release | quit | bye
dbmcli –R <dependent_path_new> db_create <database_name> <dbm_user>,<password> |
|
Log on to Database Manager CLI again. |
dbmcli -d <database_name> -u <dbm_user>,<password> |
|
Start the migration of the database parameters. |
param_checkall |
|
If you are upgrading to database version 7.5.00 or higher on a UNIX operating system, perform the following steps. If you are not, proceed as described under point 14. a. Log off from Database Manager CLI. b. Call the chvolperm
program. This program
changes the owner, group, and access rights to the volumes of the database
instance according to the authorization concept for UNIX (see Concepts of the Database
System, c. Log on to Database Manager CLI again. |
exit | release | quit | bye <dependent_path_new>/bin/chvolperm –d <database_name>
|
|
Restart the database instance. The database catalog is migrated from 7.3 to the target version. |
db_online |
|
Reload the system tables. A message is displayed indicating that the procedure has been successful. |
load_systab |
You have migrated your database instance from software version 7.3 to the required target version.
The database instance is now in the ONLINE operational state.