System Copy Template Steps
This section describes the template steps that are executed during the system copy process with SAP Landscape Management.
| Sequence | Template Step | Description | Dependent Steps | Properties |
|---|---|---|---|---|
|
1 |
Create Computer System Config |
Creates a configuration for the new host in SAP Landscape Management |
none |
|
|
2 |
Create System Config |
Creates a configuration for the new system in SAP Landscape Management |
Create Computer System Config |
|
|
3 |
Stop SAP Instance |
Stops source SAP instance. Relevant only for offline system copy. |
Create System Config |
|
|
4 |
Stop Database |
Stops source database instance. Relevant only for offline system copy. |
Stop SAP Instance |
|
|
5 |
Prepare Database |
Prepares source database for system copy. |
Stop Database |
|
|
6 |
Finalize Database |
This operation will do necessary postprocessing steps after copy of DB. |
Prepare Database |
|
|
7 |
PROVISION |
Provisions a new host. Used only in scenarios that provisioned host (VM based and storage based). |
Finalize Database |
|
|
8 |
START |
Activates and starts the host provisioned in the previous step. This step is used only in scenarios that provisioned host (VM based and storage based). |
PROVISION |
|
|
9 |
WaitForResourceState |
Waits for the host to be available in the Virtualization Manager. This step is used only in scenarios that provisioned host (VM based and storage based). |
START |
|
|
10 |
AddResource |
Adds newly provisioned host into SAP Landscape Management configuration. This step is used only in scenarios that provisioned host (VM based and storage based). |
WaitForResourceState |
|
|
11 |
Unprepare DB |
Unprepares a database instance. This step is used only for provisioning VM based systems. |
PROVISION AddResource |
|
|
12 |
Start Database |
Starts source system database. |
Storage based systems: Clone Volumes - system copy provisioning VM based systems: PROVISION |
|
|
13 |
Start SAP Instance |
Starts source system instance. |
Storage based systems: Clone Volumes - system copy provisioning Start Database VM based systems: PROVISION Start Database |
|
|
14 |
Prepare Clone Volumes |
Prepares volumes in the storage that will be used for new system after the system copy process is finished. This step is used only for provisioning storage based systems. |
Create System Config |
|
|
15 |
Mount ORA Redo Logs |
Mounts a directory for Oracle redo logs. Applicable only for systems with Oracle database. |
Create System Config |
|
|
16 |
Clone Volumes With DB Backup Mode |
Creates new volumes in storage that will be used for new system after the system copy process is completed. In case the online copy scenario is executed for storage based systems. |
Prepare Clone Volumes Finalize Database |
|
|
17 |
Clone Volumes - system copy provisioning |
Creates new volumes in storage that will be used for new system after the system copy process is completed. |
Prepare Clone Volumes Clone Volumes With DB Backup Mode or Clone Volumes - system copy provisioning |
|
|
18 |
Post Clone Volumes |
Checks if new volumes exist and exports paths for them in the storage system. This step is used only for provisioning storage based systems. |
Prepare Clone Volumes Clone Volumes With DB Backup Mode or Clone Volumes - system copy provisioning |
|
|
19 |
Umount ORA Redo Logs |
Removes already mounted directory for Oracle redo logs. Applicable only for systems with Oracle database. |
Clone Volumes With DB Backup Mode |
|
|
20 |
Update Instance Mount Config |
Updates mount points into system configuration in SAP Landscape Management. This step is used only for provisioning storage based systems. |
Post Clone Volumes |
|
|
21 |
Finalize Clone Volumes |
If required, makes final split of new volumes. This step is used only for provisioning storage based systems. |
Post Clone Volumes |
|
|
22 |
Clear Cache |
Clears cache of the operation system on the host. |
Storage based systesm: Post Clone Volumes Update Instance Mount Config Umount ORA Redo Logs (only for systems with Oracle Database) VM based systems: PROVISION Unprepare DB |
|
|
23 |
Prepare DB |
Prepares target database for system copy. |
Clear Cache |
|
|
24 |
Prepare SAP Instance |
Activates virtual hostname on a host, mounts volumes from storage (created in previous steps) on a host, and checks the status of instance and diagnostics agents. This step must be executed for each application server instance. |
Clear Cache |
|
|
25 |
System Fencing |
Modifies firewall rules in IP tables of the operating system (OS) to ensure that the system is fenced and decoupled from the network. |
Prepare DB Prepare SAP Instance |
|
|
26 |
Create Users |
Creates all needed users for OS access to new system. They can be created in LDAP or locally. |
System Fencing Post Clone Volumes only for provisioning storage based systems Clone Volumes - system copy provisioning only for provisioning storage based systems. |
|
|
27 |
Check Mounts |
Checks if mount points created on OS of the hosts are working and file system is accessible. |
Storage based systems: Post Clone Volumes Clone Volumes - system copy provisioning Create Users VM based systems: PROVISION for offline scenarios System Fencing for offline scenarios Create Users for online scenarios |
|
|
28 |
Change Profile PCA Enable |
Adds parameters and values to the profile. So the post-copy automation operation will be enabled. |
Check Mounts |
|
|
29 |
Mount ORA Redo Logs |
Mounts directory for Oracle redo logs. Applicable only for systems with Oracle database. |
Post Clone Volumes Change Profile PCA Enable |
|
|
30 |
ExecuteOperation/Host_Agent |
Executes specified hook. |
Post Clone Volumes only for provisioning storage based systems Change Profile PCA Enable Mount ORA Redo Logs for systems with Oracle database |
|
|
31 |
SAPINST rename |
Calls Software Provisioning Manager tool to perform a copy of the original system. Then renames it to a new one called target system and changes the files ownership to target user in target host. If all instances are running on the same host, then there will be only one rename step. If instances are running on different hosts, then the number of rename steps are equal to the number of different hosts. |
Post Clone Volumes only for provisioning storage based systems Clone Volumes - system copy provisioning only for provisioning storage based systems. Change Profile PCA Enable ExecuteOperation/Host_Agent in scenarios that have such step. Mount ORA Redo Logs for systems with Oracle database. |
|
|
32 |
System Fencing |
Restores the original rules in IP tables of the operating system to allow access to the network again after the new system was created with different name and hosts. |
Storage based systems: SAPINST rename Post Clone Volumes Clone Volumes - system copy provisioning VM based systems: PROVISION SAPINST rename |
|
|
33 |
Start Database |
Starts the database of the new system. |
System Fencing |
|
|
34 |
Start SAP Instance |
Starts SAP central instance of the new system. |
System Fencing |
|
|
35 |
Start SAP Instance |
Starts SAP instance of the new system and must be executed for each application server instance. |
System Fencing Start Database Start SAP Instance |
|
|
36 |
Remove Directory |
Clears files and directories created from Software Provisioning Manager. |
Storage based systems: Post Clone Volumes SAPINST rename Start SAP Instance VM based systems: PROVISION SAPINST rename Start SAP Instance |
|
|
37 |
Post System Copy Automation |
Runs post-copy automation to perform initial setup of the new system. Applicable only for NetWeaver ABAP system. |
Storage based systems: Post Clone Volumes SAPINST rename Start SAP Instance VM based systems: PROVISION SAPINST rename Start SAP Instance |
|
|
38 |
Java Post System Copy Automation |
Runs post-copy automation to perform initial setup of the new system. Applicable only for NetWeaver Java system. |
Storage based systems: Post Clone Volumes SAPINST rename Start SAP Instance VM based systems: PROVISION SAPINST rename Start SAP Instance |
|
|
39 |
Change Profile PCA Revert |
Removes changes in profile files made from step “Change Profile PCA Enable” or set the default values to the parameter in profile. |
Storage based systems: Post Clone Volumes SAPINST rename Start SAP Instance (Java) Post System Copy Automation VM based systems: PROVISION SAPINST rename Start SAP Instance (Java) Post System Copy Automation |
|
|
40 |
Umount ORA Redo Logs |
Removes already mounted directory for Oracle redo logs. |
Remove Directory |
|
|
41 |
Activate System |
Performs final enablement of system to be ready for monitoring in SAP Landscape Management. |
Storage based systems: Post Clone Volumes SAPINST rename Start SAP Instance Change Profile PCA Revert VM based systems: PROVISION SAPINST rename Start SAP Instance Change Profile PCA Revert |
|
