Online Tutorials & Training Materials |
Register Login

Homogenous liveCache copy using backup/restore

|| 0

Homogenous liveCache copy using backup/restore

1. You use APO Version 3.x and as of SCM 4.0.
2. You use liveCache Version 7.2.5 or higher.
3. With regard to byte swapping, the new host behaves in the same way as the original liveCache host.

a) Copying from one host to the others using the procedure described here is NOT supported in the following cases:

- Change from UNIX to Windows NT/2000
- Change from Windows NT/2000 to UNIX
- Change from 32-bit architecture to 64-bit architecture
- Change from 64-bit architecture to 32-bit architecture
- Change from one UNIX platform to another (for example, SUN->HP)
- Change from HP-PA-RISC to HP-UX IA64 (HP-IPF)
- Change from Win IA64 to WIN X86_64
- Change from Win X86_64 to Win IA64
- Change from Linux IA64 to Linux x86_64
- Change from Linux x_86_64 to Linux IA64

To generate a liveCache copy, you can import a backup of the source system into the target system.
In Version 7.2, a normal recovery is sufficient to import a backup from another system - provided that the target liveCache already exists. In this version, you can start directly at point 2 of the description. The -8003 error described does not occur here.
As of Version 7.4, a normal recovery is NOT sufficient to import a backup from another system. You must install a liveCache database instance beforehand. You MUST begin at point 1 if you are using this version.

Source system:

Use the Database Manager GUI to create a complete data backup of the system:
Choose Backup -> Complete

Target system:

If you are using the Database Manager GUI Second Edition, you will find a description for using the wizards in the documentation:
-> Tools
   -> Database Manager GUI: SAP DB 7.4
      -> Restoring Data
         -> Recovery After Initializing a Database Instance

If you are using Database Manager GUI, proceed in accordance with the following steps:

1. Install a liveCache database instance. To do this, call Database Manager GUI.
a) Select the menu option Instance -> Install.
In the new DBMGUI versions, select the menu option Instance -> Create.

b) Enter the name of the target liveCache database instance as the database name.
c) Choose Next.
d) If you call the Database Manager GUI from a remote host, not the target host, you must also specify the operating system user/password under which the liveCache is running.
e) If the liveCache database instance already exists, select Reinstall or INITIALIZE in the DBMGUI.
If the liveCache database instance does not exist, select the software version (according to the version of the source system).
f) Specify the DBM user (only for versions below Version 7.7). Specify the DBA user (Database System Administrator). Choose Next.
g) If the liveCache database instance is not yet in the OFFLINE status, you must stop it now.
h) If you want to copy the current database parameters, select 'Use current parameters'.
If you do not want to copy the current database parameters, either copy the parameters of the source system from the backup or configure the parameters with the default values. Choose Next.
i) Check and, if necessary, correct the parameters. The value of MAXUSERTASK must have at least the value of the source system. (liveCache version lower than 7.2.5 B12: The _MAXTRANS parameter must have the value of the source system). Select Next.
j) Also check and, if necessary, correct the specifications for the devspaces (Volumes). Choose Next.
k) Select Restore Instance. Choose Next.
l) Check the specifications. Select Install.
              The installation program executes the 'Start instance' and 'Initialize configuration' steps.

              You must then register the newly installed liveCache database instance in the Database Manager GUI.

2. Import the complete data backup. To do this, call the Database Manager GUI.
a) Select the required database instance.
b) Select Recovery -> Database. Never carry out a restart before the restore. If you carry out a restart before the restore, the error '-8003: log and data must be compatible' occurs after the restore.
c) Select Restore Medium. Choose Next Step.
d) Select the relevant medium. Choose Next Step.
e) Select Start.

3. Log on as user <sid>adm and enter the following command:

liveCache Versions lower than 7.6:
dbmcli -d <LC_name> -u <dbm_userid>,<password> load_systab -u <dba_userid>,<password> -ud <domain_user_password>
              (Enter this in a line, for example dbmcli -d LC1 -u control,control load_systab -u superdba,admin -ud domain)

liveCache Version 7.6 and higher versions:
dbmcli -d <LC_name> -u <dbm_userid>,<password> load_systab -u <dba_userid>,<password>

(Enter this in a line, for example, dbmcli -d LC1 -u control,control load_systab -u superdba,admin)

If the liveCache is integrated into an APO or SCM system, you must start the liveCache after importing the data backup in the CCMS liveCache monitor (transaction LC10).