SAP Landscape Management 3.0, Enterprise Edition

System Refresh Template Steps

This section describes the template steps that are executed during the system refresh process with SAP Landscape Management.

Sequence Template Step Description Dependent Steps Properties

1

Create Directory

Creates export folder and assigns the proper group and user to it.

None

  • Target System ID
  • Target Database Host
  • Directory User
  • Directory
  • Directory Group

2

Change Profile PCA Export

Adds or changes the values of parameters in profile that is required for post-copy automation export.

Create Directory

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

3

Java Post System Copy Automation Export

Exports the system configuration data before copy.

Applicable only for NetWeaver Java systems.

Create Directory

  • Target System ID
  • Java PCA Request

4

Post System Copy Automation Export

Exports the system configuration data before copy.

Applicable only for NetWeaver ABAP systems.

Create Directory

  • Target System ID
  • CTC Request

5

Stop SAP Instance

Stops source SAP instance.

Create Directory

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

6

Stop SAP Instance

Stops source SAP central instance.

Stop SAP Instance

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

7

Stop Database

Stops source database instance.

Stop SAP Instance

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

8

Unprepare DB

Unprepares a database instance.

Stop Database

Stop SAP Instance

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

9

Unprepare SAP Instance

Unprepares SAP instance.

Stop Database

Stop SAP Instance

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

10

Unprepare SAP Instance

Unprepares SAP central instance.

Stop Database

Stop SAP Instance

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

11

Remove Firewall

Removes the firewall rule from the target host.

Unprepare DB

Unprepare SAP Instance

Unprepare SAP Instance

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

12

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.

Remove Firewall

  • Source System ID
  • RequestNewTargetVolumeNamesIfNotUnique Flag
  • Prepare Storage Clone Request

13

Mount ORA Redo Logs

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

Remove Firewall

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

14

Clone Volumes With DB Backup Mode

Creates new volumes in a storage that will be used for new system after the system copy process is completed. This step is used only for provisioning storage based systems.

Prepare Clone Volumes

Mount ORA Redo Logs

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

15

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

  • Source System ID

16

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
  • Forced Mode Flag
  • Storage Mount Point
  • Create Mount Points Flag
  • Source Database ID
  • Source Database Host

17

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

18

Update Instance Mount Config

Updates mount points into system configuration in SAP Landscape Management.

Post Clone Volumes

  • Target System ID

19

STOP

Used only in scenarios that provisioned host (VM based and storage based)

Stop Database

Stop SAP Instance

  • Virtual Database Host
  • Physical Hostname
  • Virtualization Operation Context

20

Stop SAP Instance

Stops source instance.

Storage based systems: Prepare Clone Volumes

VM provisioning systems: STOP

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

21

Stop Database

Stops source database instance.

Stop SAP Instance

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

22

Prepare Database

Prepares source database for system refresh.

Stop Database

Prepare Clone Volumes - only for storage based systems

STOP - only for VM provisioning, online

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

23

Finalize Database

Does necessary postprocessing steps after refresh of the database.

Prepare Database

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

24

Clone Volumes - system copy provisioning

Only for storage based systems.

Prepare Clone Volumes

Finalize Database

  • Source System ID

25

PROVISION

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

Finalize Database

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

26

Start Database

Starts source database instance.

Storage based scenarios:

Clone Volumes - system copy provisioning

VM Provisioning scenarios:

PROVISION

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

27

Start SAP Instance

Starts source instance.

Start Database

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

28

START

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

29

WaitForResourceState

Used only in scenarios that provisioned host (VM based and storage based.

START

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

30

AddResource

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

WaitForResourceState

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

31

Unprepare SAP Instance

Used only in scenarios that provisioned host (VM based and storage based.

PROVISION

AddResource

  • Forced Mode Flag
  • Operation Timeout
  • Ignore Service Stop Error Flag
  • Delete Mount Points Flag
  • User Exit Script Flag
  • Target Instance Host/Target Central Service Host
  • Source Instance ID/Source Central Service ID

32

Clear Cache

Clears cache of the operation system on the host.

Storage based systems:

Clone Volumes - system copy provisioning

Post Clone Volumes

Update Instance Mount Config

Umount ORA Redo Logs (only for systems with Oracle Database)

VM based systems:

PROVISION

Unprepare SAP Instance

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

33

Prepare DB

Prepares target database for system refresh.

Clear Cache

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

34

Prepare SAP Instance

Prepares target central instance for system refresh.

Clear Cache

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

35

Prepare SAP Instance

Prepares target instance for system refresh.

Clear Cache

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

36

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

Prepare SAP Instance

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

37

Create Users

Creates all needed users for OS access to new system. They can be created in LDAP or locally.

System Fencing

  • Source System ID
  • User Management Name
  • User Data Collection
  • Target Central Service ID
  • Target Central Service Host

38

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

System Fencing

Create Users

VM based systems:

PROVISION

System Fencing

Create Users

  • Target System ID

39

Change Profile PCA Enable

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

Check Mounts

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

40

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 Host
  • Target Database ID
  • User Exit Script Flag
  • Forced Mode Flag
  • Storage Mount Point
  • Create Mount Points Flag

41

ExecuteOperation/Host_Agent

Executes specified hook.

PROVISION - only for provisioning storage based systems.

Change Profile PCA Enable

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

42

SNC disable destination

Disables secure network communication (SNC) in destination configuration.

Post Clone Volumes

Change Profile PCA Enable

  • Target System ID

43

SNC disable

Disables SNC in application server profile.

Post Clone Volumes

SNC disable destination

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

44

SAPINST rename

Calls Software Provisioning Manager tool to perform a rename of the copied system. Then changes the files ownership to target user in target host.

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 Database Host
  • Target System ID
  • SAPINST Parameters

45

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:

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

46

Start Database

Starts the database of the new system.

System Fencing

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

47

Start SAP Instance

Starts SAP central instance of the new system.

System Fencing

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

48

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
  • Operation Timeout
  • Delete Mount Points Flag
  • Forced Mode Flag
  • Target Instance Host
  • Target Instance ID
  • Instance Start Profile Path

49

Post System Copy Automation Import

Imports the exported system configuration after the copy.

Applicable only for NetWeaver ABAP systems.

Storage based systems:

Post Clone Volumes

SAPINST rename

Start Database

Start SAP Instance

VM based systems:

PROVISION

SAPINST rename

Start Database

Start SAP Instance

  • Target System ID
  • Auto Confirm Flag
  • CTC Request

50

Java Post System Copy Automation Import

Imports the exported system configuration after the copy.

Applicable only for NetWeaver Java systems.

Storage based systems:

Post Clone Volumes

SAPINST rename

Start Database

Start SAP Instance

VM based systems:

PROVISION

SAPINST rename

Start Database

Start SAP Instance

  • Target System ID
  • Java PCA Request

51

Java Post System Copy Automation

Runs post-copy automation to perform initial setup of the new system. Applicable only for NetWeaver Java system

Java Post System Copy Automation Import

  • Target System ID
  • Java PCA Request

52

Remove Directory

Clears files and directories created from Software Provisioning Manager.

Storage based systems:

Post Clone Volumes

Clone Volumes - system copy provisioning

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

VM based systems:

  • PROVISION
  • SAPINST rename
  • Post System Copy Automation Import/Java Post System Copy Automation

53

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

Clone Volumes - system copy provisioning

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

VM based systems:

PROVISION

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

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

54

Delete Volumes

Only for storage based systems. Deletes old source volumes.

Post Clone Volumes

Clone Volumes - system copy provisioning

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

Change Profile PCA Revert

  • Target System ID
  • Storage Clone Request
  • Request Confirmation

55

STOP

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

PROVISION

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

Change Profile PCA Revert

  • Virtual Database Host
  • Physical Hostname
  • Virtualization Operation Context

56

DESTROY

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

STOP

  • Virtual Database Host
  • Physical Hostname
  • Virtualization Operation Context

57

Umount ORA Redo Logs

Removes already mounted directory for Oracle redo logs.

Applicable only for systems with Oracle database.

Remove Directory

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

58

Activate System

Performs final enablement of system to be ready for monitoring in SAP Landscape Management.

Storage based systems:

Post Clone Volumes

Clone Volumes - system copy provisioning

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

Delete Volumes

Change Profile PCA Revert - for NetWeaver ABAP systems

VM based systems:

PROVISION

SAPINST rename

Post System Copy Automation Import / Java Post System Copy Automation

DESTROY

  • Target System ID

59

SNC enable destination

Enables SNC in destination configuration.

Post Clone Volume

SNC disable destination

SAPINST rename

Post System Copy Automation Import

Activate System

  • Target System ID

60

SNC enable

Enables SNC in application server profile.

Post Clone Volume

SAPINST rename

Post System Copy Automation Import

SNC enable destination

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

61

Stop SAP Instance

Stops SAP instance.

SNC enable

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

62

Start SAP Instance

Starts SAP instance.

Stop SAP instance

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