Virtualization
LVM Provisioning Template - Copy
Tags:
Official Product Documentation: System Copy Template Steps
The following template steps are executed during system copy with SAP NetWeaver Landscape Virtualization Management:
Template step | Description | Dependent steps | Properties |
---|---|---|---|
Create Computer System Config | Creates a configuration for the new host in landscape virtualization management (LVM). | none | |
Create System Config | Creates a configuration for the new system in LVM. | ||
Stop SAP Instance | Stops source SAP instance. Relevant only for offline system copy. | ||
Stop Database | Stops source database instance. Relevant only for offline system copy. | ||
Prepare Database | Prepares source database for system copy. | ||
Finalize Database | This operation will do necessary postprocessing steps after copy of DB. | ||
PROVISION | Provisions a new host. Used only in scenarios, that provisioned host (VM based and storage based). | ||
START | Activates/starts the host provisioned in the previous step.This step is used only in scenarios, that provisioned host (VM based and Storage based). | ||
WaitForResourceState | Waits for host to be available in the Virtualization Manager.This step is used only in scenarios, that provisioned host (VM based and Storage based). | ||
AddResource | Adds newly provisioned host into LVM configuration.This step is used only in scenarios, that provisioned host (VM based and Storage based). | ||
Unprepare DB | Unprepares a database instance.This step is used only for provisioning VM based systems. | ||
Start Database | Starts source system database. | Storage based systems: Clone Volumes - system copy provisioning VM based systems: | |
Start SAP Instance | Starts source system instance. | Storage based systems: VM based systems: | |
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. | ||
Mount ORA Redo Logs | Mounts a directory for Oracle Redo logs. Applicable only for systems with Oracle database. | ||
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 |
| |
Clone Volumes - system copy provisioning | Creates new volumes in storage that will be used for new system after the system copy process is completed. | ||
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. | ||
Umount ORA Redo Logs | Removes already mounted directory for Oracle redo logs. Applicable only for systems with Oracle database. | ||
Update Instance Mount Config | Updates mount points into system configuration in LVM. This step is used only for provisioning storage based systems | ||
Finalize Clone Volumes | Makes final split of new volumes if it is required. This step is used only for provisioning storage based systems. | ||
Clear Cache | Clears cache of the operation system on the host. | Storage based systems:
VM based systems: | |
Prepare DB | Prepares target database for system copy. | ||
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. | ||
System Fencing | Modifys firewall rules in IP tables of the operating system (OS) to ensure system is fenced and decoupled from the network. | ||
Create Users | Creates all needed users for OS access to new system. They can be created in LDAP or locally. |
| |
Check Mounts | Checks if mount points created on OS of the hosts are working and file system is accessible | Storage based systems: VM based systems:
| |
Change Profile PCA Enable | Adds parameters and values to the profile. So the post-copy automation operation will be enabled. | ||
Mount ORA Redo Logs | Mounts directory for Oracle Redo logs. Applicable only for systems with Oracle Database | ||
ExecuteOperation/Host_Agent | Executes specified hook. |
| |
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 SAPinst step. If instances are running on different hosts, then tthe number of SAPinst steps are equal to the number of different hosts. |
| |
System Fencing | Restores back 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: VM based systems: | |
Start Database | Starts the database of the new system. | ||
Start SAP Instance | Starts SAP central instance of the new system. | ||
Start SAP Instance | Starts SAP instance of the new system and must be executed for each application server instance. | ||
Remove Directory | Clears files and directories created from Software Provisioning Manager. | Storage based systems: VM based systems: | |
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: VM based systems: | |
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: VM based systems: | |
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: VM based systems: | |
Umount ORA Redo Logs | Removes already mounted directory for Oracle redo logs. | ||
Activate System | Performs final enablement of system to be ready for monitoring in LVM. | Storage based systems: VM based systems: |