SAP Landscape Management 3.0, Enterprise Edition

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

  • ComputerSystem
  • Source System ID

2

Create System Config

Creates a configuration for the new system in SAP Landscape Management

Create Computer System Config

  • Target System ID
  • Target System

3

Stop SAP Instance

Stops source SAP instance. Relevant only for offline system copy.

Create System Config

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Operation Timeout
  • Source Instance Host
  • Source Instance ID
  • Forced Mode Flag

4

Stop Database

Stops source database instance. Relevant only for offline system copy.

Stop SAP Instance

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Ignore Service Stop Error Flag
  • Instance Start Profile Path
  • Source Database ID
  • Source Database Host

5

Prepare Database

Prepares source database for system copy.

Stop Database

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Operation Timeout
  • Ignore Service Stop Error Flag
  • Instance Start Profile Path
  • Source Database ID
  • Source Database Host

6

Finalize Database

This operation will do necessary postprocessing steps after copy of DB.

Prepare Database

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Operation Timeout
  • Ignore Service Stop Error Flag
  • Instance Start Profile Path
  • Source Database ID
  • Source Database Host

7

PROVISION

Provisions a new host. Used only in scenarios that provisioned host (VM based and storage based).

Finalize Database

  • Target Database Host
  • Virtual Database Host
  • Virtualization Operation Context

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

  • Target Database Host
  • Virtualization OpTarget HostingEntity
  • Virtualization Operation
  • Virtualization Operation Dialog Context

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

  • WaitForResource State Flag
  • WaitForResource And Check Hostname Flag
  • WaitForResource Force Monitoring Timeout
  • WaitForResource And Force Monitoring Flag
  • Operation Timeout

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

  • Target Database Host
  • Resource Data Configuration
  • Virtual System PowerOn Flag

11

Unprepare DB

Unprepares a database instance. This step is used only for provisioning VM based systems.

PROVISION

AddResource

  • Instance Start Profile Path
  • Source Database ID
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Operation Timeout
  • Target Database Host
  • Ignore Service Stop Error Flag
  • User Exit Script Flag

12

Start Database

Starts source system database.

Storage based systems:

Clone Volumes - system copy provisioning

VM based systems:

PROVISION

  • User Exit Script Flag
  • Ignore Service Stop Error Flag
  • Forced Mode Flag
  • Instance Start Profile Path
  • Source Database ID
  • Source Database Host

13

Start SAP Instance

Starts source system instance.

Storage based systems:

Clone Volumes - system copy provisioning

Start Database

VM based systems:

PROVISION

Start Database

  • User Exit Script Flag
  • Ignore Service Stop Error Flag
  • Forced Mode Flag
  • Instance Start Profile Path
  • Source Instance Host
  • Source Instance ID

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

  • Source System ID
  • Prepare Storage Clone Request

15

Mount ORA Redo Logs

Mounts a directory for Oracle redo logs. Applicable only for systems with Oracle database.

Create System Config

  • User Exit Script Flag
  • Source Database ID
  • Source Database Host
  • Storage Mount Point
  • Create Mount Points Flag
  • Forced Mode Flag

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

  • Source System ID
  • Source Database Host
  • DB Backup Mode

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

  • Source System ID

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

  • Source System ID

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

  • User Exit Script Flag
  • Source Database ID
  • Source Database Host
  • Storage Mount Point
  • Create Mount Points Flag
  • Forced Mode Flag

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

  • Target System ID

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

  • Target System ID

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

  • Target Database Host
  • Target System ID
  • Clear Groups Flag
  • Clear Hosts Flag
  • Clear Users Flag

23

Prepare DB

Prepares target database for system copy.

Clear Cache

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Operation Timeout
  • Instance Start Profile PathTarget Database ID
  • Target Database Host
  • No DB Attach Flag
  • Ignore Service Stop Error Flag

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

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Operation Timeout
  • Instance Register Flag
  • Target Instance Host or Target Central Service Host for central instance
  • Target Instance ID or Target Central Service ID for central instance

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

  • Target Instance Host or Target Database Host
  • Target Instance ID or Target Database ID
  • Custom Parameter Request

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.

  • Target System ID
  • Source System ID
  • User Management Handler
  • User Data Collection

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

  • Target System ID

28

Change Profile PCA Enable

Adds parameters and values to the profile. So the post-copy automation operation will be enabled.

Check Mounts

  • Target System ID
  • Target Database Host
  • Target Service ID
  • Source Central Service ID
  • Add ChangeProfile Parameter Values
  • ChangeProfile Path
  • SAP User Administrator

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

  • Target Database ID
  • Target Database Host
  • User Exit Script Flag
  • Storage Mount Point
  • Create Mount Points Flag
  • Forced Mode Flag

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

  • Target Database ID
  • Target Database Host
  • Custom Operation ID
  • Hook Operation Name

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.

  • Target System ID
  • Target Database Host
  • SAPINST Parameters

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

  • Target Instance Host
  • Target Instance ID
  • Custom Parameter Request

33

Start Database

Starts the database of the new system.

System Fencing

  • Target Database ID
  • Target Database Host
  • User Exit Script Flag
  • Forced Mode Flag
  • Instance Start Profile Path
  • Ignore Service Stop Error Flag

34

Start SAP Instance

Starts SAP central instance of the new system.

System Fencing

  • User Exit Script Flag
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Operation Timeout
  • Target Central Service ID
  • Target Central Service Host

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

  • User Exit Script Flag
  • Target Instance Host
  • Target Instance ID
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Operation Timeout

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

  • Target System ID
  • Target Database Host

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

  • Target System ID
  • Auto Confirm Flag
  • CTC Request

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

  • Target System ID
  • Java PCA Request

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

  • Target Database Host
  • Target System ID
  • Target Service ID
  • Source Instance ID
  • ChangeProfile Path
  • Add ChangeProfile Parameter Values
  • SAP User Administrator

40

Umount ORA Redo Logs

Removes already mounted directory for Oracle redo logs.

Remove Directory

  • Target Database ID
  • Target Database Host
  • User Exit Script Flag
  • Storage Mount Point
  • Create Mount Points Flag
  • Forced Mode Flag

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

  • Target System ID