You are here: Installation > Creating an SAP Resource Hierarchy

Creating an SAP Resource Hierarchy

To protect the SAP System, an SAP Hierarchy will be needed. This SAP Hierarchy consists of the Core (Central Services) Resource, the ERS Resource, the Primary Resource and Secondary Resources. To create this hierarchy, perform the following tasks from the Primary Server. Note: The below example is meant to be a guideline for creating your hierarchy. Tasks will vary somewhat depending upon your configuration.

Create the Core Resource

  1. From the LifeKeeper GUI menu, select Edit, then Server. From the drop down menu, select Create Resource Hierarchy.

A dialog box will appear with a drop-down list box with all recognized recovery kits installed within the cluster. Select SAP from the drop-down listing.

create-step1.PNG

Click Next.

When the Back button is active in any of the dialog boxes, you can go back to the previous dialog box. This is especially helpful should you encounter an error that might require you to correct previously entered information.

If you click Cancel at any time during the sequence of creating your hierarchy, LifeKeeper will cancel the entire creation process.

  1. Select the Switchback Type. This dictates how the SAP instance will be switched back to this server when it comes back into service after a failover to the backup server. You can choose either intelligent or automatic. Intelligent switchback requires administrative intervention to switch the instance back to the primary/original server. Automatic switchback means the switchback will occur as soon as the primary server comes back on line and re-establishes LifeKeeper communication paths.

create-step2.PNG

The switchback type can be changed later, if desired, from the General tab of the Resource Properties dialog box.

Click Next.

  1. Select the Server where you want to place the SAP PAS, ASCS or SCS (typically this is referred to as the primary or template server). All the servers in your cluster are included in the drop-down list box.

create-step3.PNG

Click Next.

  1. Select the SAP SID. This is the system identifier of the SAP PAS, ASCS or SCS system being protected.

create-step4.PNG

Click Next.

  1. Select the SAP Instance Name (ex. ASCS<No.>) (Core Instance first) for the SID being protected.

create-step5.PNG

Click Next.

Note: Additional screens may appear related to customization of Protection and Recovery Levels.

  1. Select the IP Child Resource. This is typically either the Virtual Host IP address noted during SAP installation (SAPINST_USE_HOSTNAME) or the IP address needed for failover.  

create-step6.PNG

  1. Select or enter the SAP Tag. This is a tag name that LifeKeeper gives to the SAP hierarchy. You can select the default or enter your own tag name. The default tag is SAP-<SID>_<ID>.

create-step7.PNG

When you click Create, the Create SAP Resource Wizard will create your SAP resource.

  1. At this point, an information box appears and LifeKeeper will validate that you have provided valid data to create your SAP resource hierarchy. If LifeKeeper detects a problem, an ERROR will appear in the information box. If the validation is successful, your resource will be created. There may also be errors or messages output from the SAP startup scripts that are displayed in the information box.

create-step8.PNG

Click Next.

  1. Another information box will appear explaining that you have successfully created an SAP resource hierarchy, and you must Extend that hierarchy to another server in your cluster in order to place it under LifeKeeper protection.

When you click Next, LifeKeeper will launch the Pre-Extend Wizard that is explained later in this section.

create-step9.PNG

If you click Cancel now, a dialog box will appear warning you that you will need to come back and extend your SAP resource hierarchy to another server at some other time to put it under LifeKeeper protection.

create-step9b.PNG

  1. The Extend Wizard dialog will appear stating Hierarchy successfully extended. Click Finish.

create-step10.PNG

 

  1. The Hierarchy Integrity Verification dialog appears.  Once Hiearchy Verification finishes, click Done to exit the Create Resource Hierarchy menu selection.

Hierarchy with the Core as the Top Level

HierCoreOnTop.JPG

Create the ERS Resource

If the Core Instance (Central Services Instance) fails, it is restarted on the Enqueue Replication Server (ERS), and the lock table stored on the replication server is transferred to the Central Services Instance. Access attempts from clients go through the Replication Enqueue Server while the Central Services Instance is out of action. If the replication server fails, it can also be restarted. It retrieves the lock table from the Central Services Instance when it restarts. 

Perform the following steps to create this ERS Resource.

  1. For this same SAP SID, repeat the above steps to create the ERS Resource selecting your ERS instance when prompted.

  2. You will then be prompted to select Dependent Intances.  Select the Core Resource that was created above, then click Next.

  3. Follow prompts to extend resource hierarchy.

  4. Once Hierarchy Successfully Extended displays, select Finish.

  5. Select Done.

Hierarchy with ERS as Top Level

HierERSonTop.JPG

Create the Primary Application Server Resource

  1. Again, for this same SAP SID, repeat the above steps to create the Primary Application Server Resource selecting DVEBMGS{XX} (where {XX} is the instance number) when prompted.

  2. Select the Level of Protection when prompted (default is FULL). Click Next.

LevelofProtection.JPG

  1. Select the Level of Recovery when promted (default is FULL). Click Next.

createDV-step2a.PNG

  1. When prompted for Dependent Instances, select the "parent" instance, which would be the ERS instance created above.

  2. Select the IP Child Resource.

  3. Follow prompts to extend resource hierarchy.

  4. Once Hierarchy Successfully Extended displays, select Finish.

  5. Select Done.

Hierarchy with Primary Application Server as Top Level

PASTopLevel.JPG

Create the Secondary Application Server Resources

If necessary, create the Secondary Application Server Resources in the same manner as above.

Note: For command line instructions, see Setting Up SAP from the Command Line.

© 2012 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.