41
October 2013 ITM204 Post-Copy Automation for SAP NetWeaver Business Warehouse System Landscapes

Post-Copy Automation for SAP NetWeaver Business Warehouse

  • Upload
    ngominh

  • View
    224

  • Download
    0

Embed Size (px)

Citation preview

October 2013

ITM204 Post-Copy Automation for SAP NetWeaver Business Warehouse System Landscapes

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 2

Disclaimer

This presentation outlines our general product direction and should not be relied on in making a purchase decision. This presentation is not subject to your license agreement or any other agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to develop or release any functionality mentioned in this presentation. This presentation and SAP's strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP intentionally or grossly negligent.

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 3

Agenda

1. Introduction: SAP NetWeaver Landscape Virtualization Management (LVM)

2. System copy preparation of SAP NetWeaver Business Warehouse (BW): BW Housekeeping

3. Challenges of system copy in a BW landscape

4. Automation of system copy configuration in a BW landscape

5. Demo

6. Summary + further Information

1. Introduction 1.1 SAP NetWeaver Landscape Virtualization Management (LVM)

1.2 Overview of Post-Copy Automation (PCA) offerings

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 5

Automatic Capacity Management

System Clone Start, Stop & Relocate Systems, Mass Operations

System Copy/Refresh

Landscape Visualization

End-to-End Visibility & Monitoring of all Infrastructure

Layers

Third-Party Support & Extensibility

Manage Your SAP Landscapes

1.1 SAP NetWeaver Landscape Virtualization Management (LVM) Overview

SAP TechEd sessions ITM832 – LVM Roadmap ITM203 – LVM (Live in Action) ITM212 – LVM (Hands On) ITM213 – LVM (Tailoring your needs)

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 6

1.1 SAP NetWeaver Landscape Virtualization Management (LVM) End-to-end process and system copy use cases

SAP NetWeaver Landscape Virtualization Management

System refresh

Export system configuration

Clone SAP system

Rename cloned SAP system

Conduct post-copy activities (includes import of system

configuration)

Initial system copy

Clone SAP system

Rename cloned SAP system

Conduct post-copy activities

system copy PRD

Sandbox

system copy

Test system

Test system Up-to-date

business data

PRD

Test system Outdated

business data

Examples for initial copy •  Create new test systems •  Create sandbox or training

systems •  Reorganize system landscape

Examples for system refresh •  Update existing QA/TEST

systems with latest business data

•  Test with updated data before upgrade and update

SAP TechEd sessions ITM832 – LVM Roadmap ITM203 – LVM (Live in Action) ITM212 – LVM (Hands On) ITM213 – LVM (Tailoring your needs)

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 7

1.2 Overview of Post-Copy Automation (PCA) offerings Automated task lists and supported SAP applications

Supported Use Case Applications/Components

Initial System Copy •  SAP NetWeaver Application Server ABAP (basis) •  SAP NetWeaver Application Server Java (basis) •  SAP NetWeaver Business Warehouse (BW) and connected BW source systems . . . additional applications planned

System Refresh •  SAP NetWeaver Application Server ABAP (basis) •  SAP NetWeaver Application Server Java (basis) •  SAP NetWeaver Business Warehouse (BW) and connected BW source systems •  SAP Enterprise Resource Planning (ERP) and ERP Central Component (ECC) •  SAP Customer Relationship Management (CRM) •  SAP Supply Chain Management (SCM) . . . additional applications planned

Post-copy automation for SAP systems: �  Provides pre-defined task lists that can be executed to automate the follow-up activities on target system �  The task lists have built-in application logic and dependencies and they can be tailored to your specific needs �  Task lists can be executed locally via ABAP Task Manager and Stand-alone Task Manager (Java) for Lifecycle

Management Automation or centrally triggered by LVM during the end-to-end system copy process

2. System copy preparation: BW Housekeeping

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 9

PSA

Info

Provider

Caches

BW Meta data

Logs

Traces, Statistics

Challenges: •  Data Objects in BW system grow over time •  Some data objects get inconsistent and corrupted •  BW systems become too large with outdated data •  System copy with inconsistent and outdated data will

result in inconsistencies

Solutions: •  Clean-up system regularly (e.g. monthly) •  Repair inconsistent data objects regularly •  Housekeeping especially before system copy

2. System copy preparation: BW housekeeping Challenges with growing number of Data objects in BW

BW

BW

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 10

2. System copy preparation: BW housekeeping Automation solution: BW Housekeeping task list – features

Deleting Objects

Repairing Objects

PSA

Info

Provider Caches

BW Meta data

Logs

Traces, Statistics

Key features •  Consolidated in one task list with most important tasks (and will be

further extended) •  Easy to use with UI for defining the scope of cleanup and pre-

defined inputs of tasks •  Delivered with SAP Note 1829728 •  Execution via ABAP task manager for lifecycle management

automation (task manager: TA stc01/stc02)

„BW Housekeeping“ task list

BW

SAP TechEd session RDP303 – Optimizing BW on HANA

3. Challenges of system copy for BW landscape

3.1 BW system landscape 3.2 Connections between BW and BW source systems 3.3 Challenges for creating productive copy of BW 3.4 Different copy use cases and scenarios of BW landscape

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 12

CRM

ERP

SRM SCM

BW

BW Data Mart

BI Java

ABAP BASIS

ERP

ABAP BASIS

CRM

ABAP BASIS

SRM

ABAP BASIS

SCM

ABAP BASIS

BW

AS JAVA

EP/BI

ABAP BASIS

BW

BW Admin Basis Admin Application Admin Java Admin

3.1 BW system landscape BW plays a central role in an SAP system landscape

Complex System

Landscape

Distributed Knowhow and Responsibility

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 13

3.2 Connections between BW and BW source systems Connections are one important aspect of system copy of BW landscape

SAP NetWeaver BW SAP NetWeaver BW Source System

Local settings Local settings

Connection to BW source:

�  RFC �  ALE

�  RSBASIDOC

Connection to BW: �  RFC �  ALE

�  RSBASIDOC BW-dependent

generated Objects

Source-dependent metadata

Source-dependent generated objects

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 14

Homogeneous system copy

3.3 Challenges for creating productive copy of BW Use cases for upgrade / migration

1

ALE / RFC

Upgrade, Migration, etc…

2 BW 7.0x BW 7.30 SP5+ BW 7.30 SP5+

Challenges •  Create copy of BW, which shall be used

productively, because e.g. upgrade or migration shall be done (risk & runtime mitigation)

•  Both systems shall be operated in parallel temporarily, hence data supply must be synchronized

•  Delta management in the BW source system must be made aware of new copied BW

•  BW source system must not have any downtime, data booking must not be interrupted

Solution: •  Delta queue cloning and synchronizing

Prod BW Prod BW

Prod BW source

ALE / RFC

For more Info please refer http://scn.sap.com/docs/DOC-32414

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 15

3.4 Different copy use cases and scenarios of BW landscape System copy use cases

Use case 1: Initial system copy

Use case 2: System refresh

Prod BW

Prod BW source

Test BW

System copy

ALE / RFC

Test Other

System Refresh

Test BW source

Prod BW

Prod BW source

Test BW

ALE / RFC ALE / RFC

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 16

3.4 Different copy use cases and scenarios of BW landscape System copy scenario groups (Terminology of SAP note 886102)

Scenario group A: You want to copy entire system group, that is, a BW system and its connected BW source system

Scenario group B: You want to copy the BW system only – BW source systems are

not copied

Scenario group C: You want to copy the BW source system only – the BW system is

not copied

System Copy

Test BW source

Prod BW

Prod BW source

Test BW

ALE / RFC ALE / RFC

System Copy

System Copy

Test BW source

Prod BW

Prod BW source

Test BW

ALE / RFC ALE / RFC

Test BW source

Prod BW

Prod BW source

Test BW

ALE / RFC ALE / RFC

System Copy

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 17

3.4 Different copy use cases and scenarios of BW landscape Matrix of system copy scenarios (Terminology of SAP Note 886102)

1. Initial System Copy 2. Refresh

A.  BW & BW Source System

B.  BW only

With Delta Queue Cloning

Together with copying BI Java

C.  BW Source System only

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Prod BW source

Test Other Prod BW Test BW

Test BW source

Prod BW

Prod BW source

Test Other

Test BI Java

Prod BW

Prod BI Java

Test BW

4. Automation of system copy configuration for BW landscape

4.1 Initial system copy of BW and BW source systems

1. Initial System Copy 2. Refresh

A.  BW & BW Source System

B.  BW only

With Delta Queue Cloning

Together with copying BI Java

C.  BW Source System only

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

Test Other Prod

BW

Prod BW

source

Test BW

Prod BW

Test BW

source

Prod BW

source

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 20

4.1 Initial system copy of BW and BW source systems Automation solution: BW ABAP PCA Initial Copy task list – scope

Scope: � Make post-copy activities easier, faster and more reliable for all

SAP NetWeaver BW scenarios (one task list for BW and connected BW source systems)

� Contain clean-up steps, e.g. clean-up of obsolete RFC destinations, data archiving, BWA connection and batch jobs

� Adaption of ABAP basis and BW configuration settings like transport, secure store, generated programs

� Automatic optimized handling of BW connections, including system renaming (BLDS) and handling of delta queue

� ABAP basis, BW and BW_SAPI components get configured � For more info see SAP Note 1707321

„BW ABAP PCA Initial Copy“ task list

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A

Test Other Prod

BW

Prod BW

source

Test BW

B Test BW

source

Prod BW

Prod BW

source

C

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 21

„BW House- keeping“ task list

Test BW Source

Prod BW Source

4.1 Initial system copy of BW and BW source systems Copying a BW or system group: What to do on BW system

System copy 2

1 3 Cleanup, Configuration

ALE / RFC ALE / RFC

Prod BW Test BW

Housekeeping

ABAP Basis components configured

BW and BW_SAPI components configured

Connection to BW source system maintained

„BW ABAP PCA Initial Copy“ task list

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A

Test Other Prod

BW

Prod BW

source

Test BW

B

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 22

Prod BW Source

4.1 Initial system copy of BW and BW source systems Copying a BW source or system group: What to do on BW source

System copy 1

2 Cleanup, Configuration

ALE / RFC ALE / RFC

Prod BW Test BW

Test BW Source

„BW ABAP PCA Initial Copy“ task list

ABAP Basis components configured

BW_SAPI component configured

Connection to BW system maintained

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A Test BW

source

Prod BW

Prod BW

source

C

1. Initial System Copy 2. Refresh

A.  BW & BW Source System

B.  BW only

With Delta Queue Cloning

Together with copying BI Java

C.  BW Source System only

4.2 Initial system copy of BW system with Delta Queue Cloning

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 24

4.2 Initial system copy of BW system with Delta Queue Cloning Automation solution: BW ABAP PCA Prepare task list – scope and features

Scope: � Enable new copied system to use same BW

source system (remote connection) � Prepare to easily bring new BW system in

consistent state regarding data loading � Minimal downtime of original BW system � Parallel operation (temporarily) of both BW

systems and comparison of performance possible

Key features: � Automatic delta queue cloning � Checks for consistent delta states � Automatic synchronization of both delta queues � No downtime in productive BW source system

Homogeneous system copy

BW Source

BW 7.0x

BW 7.0x

One delta queue for existing productive BW system, one for planned copy, both synchronized

Prod BW

Prod BW

„BW ABAP PCA Prepare“ task list

Test Other

Test BW

source

Prod BW

Prod BW

source

Prod BW

B

For more Info please refer http://scn.sap.com/docs/DOC-32414

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 25

4.2 Initial system copy of BW system with Delta Queue Cloning Copying BW system with delta queue clone: What to do on BW systems

System copy (homogenous or heterogeneous)

3 1 House- keeping

5 Cleanup, Configuration

Test BW

Prod BW Source

2 Delta Queue Clone

4 Resume

6 Optional: Migration to SAP HANA via Database Migration Option or classical migration

Prod BW

ALE / RFC ALE / RFC

Test BW

„BW Housekeeping“ task list

„BW ABAP PCA Prepare“ task list

„BW ABAP PCA Initial Copy“ task list

Test Other

Test BW

source

Prod BW

Prod BW

source

Prod BW

ABAP Basis components configured

BW and BW_SAPI components configured

Connection to BW source system maintained

SAP TechEd sessions ITM360 – Database Migration Option of SUM ITM212 – How to migrate to SAP HANA ITM213 – Migration to BW on HANA

Prod BW

B

Delta queue cloned and synchronized

1. Initial System Copy 2. Refresh

A.  BW & BW Source System

B.  BW only

With Delta Queue Cloning

Together with copying BI Java

C.  BW Source System only

4.3 Initial system copy of BI JAVA system

Test Other

Test BIJava

Prod BW

Prod BI Java

Test BW

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 27

4.3 Initial system copy of BI Java system Automation solution: BI Java PCA Initial Copy task list – scope

Scope: � Make post-copy activities easier, faster and more

reliable for BI-Java system copy � Basis components of AS Java get configured (e.g.

RFC, Ticket Key store, CIM Client settings) � Re-connection to the corresponding BW ABAP

system get configured (e.g. exchange certificates between BW and Portal, update RFC in both BW and BI Java systems, setting up BI in SLD and Repository Manager etc.)

� Execution via Stand-alone Task Manager for Lifecycle Management Automation (SAP Note 1783372 and 1616352)

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW B

„BI Java PCA Initial Copy“ task list

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 28

„BW House- keeping“ task list

4.3 Initial system copy of BI Java system Copying a BW and BI Java system: What to do on BI Java system

Prod BW

System copy 2

1 3 Cleanup, Configuration

JCo

System copy 4

5 Configuration, Connection Prod

BI Java

Prod BW Test BW

Test BI Java

JCo

„BW ABAP PCA Initial Copy“ task list

„BI Java PCA Initial Copy“ task list

Housekeeping

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

AS Java configured

Basis components configured

BW and BW_SAPI components configured

B

Connection to BW system maintained

4.4 System refresh of BW and BW source systems

1. Initial System Copy 2. Refresh

A.  BW & BW Source System

B.  BW only

With Delta Queue Cloning

Together with copying BI Java

C.  BW Source System only

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

Test Other Prod

BW

Prod BW

source

Test BW

Test BW

source

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 30

Scope: � Make post-copy activities easier, faster and more reliable for all

SAP NetWeaver BW scenarios (one task list for BW and connected BW source systems)

� Export and import local system settings to preserve system configuration (for ABAP Basis and BW components)

� Automatic optimized handling of for retaining BW system connections (including system renaming BDLS)

� Customization enabled by including customer specific tables � Connection information for Web Services and DB Connect are

preserved � ABAP basis, BW and BW_SAPI components get configured �  For more info see SAP Note 1707321

130 tasks

„BW ABAP PCA System Refresh“ task list

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A

Test Other Prod

BW

Prod BW

source

Test BW

B Test BW

source

Prod BW

Prod BW

source

C

4.4 System refresh of BW and BW source systems Automation solution: BW ABAP PCA System Refresh task list

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 31

Test BW

„BW House-keeping“ task list

4.4 System refresh of BW and BW source systems Copying a BW or system group: What to do on BW system

Export Import

System copy 3

1

Housekeeping

2 Export tables

4 Import tables,

Clean-up, Configuration

ALE / RFC ALE / RFC

File system

JCo JCo

Prod BW Test BW

Prod BI Java

Prod BW Source

Test BI Java

Test BW Source

„BW ABAP PCA System Refresh“ task list

Connection to BW source system maintained

Connection to BI Java system maintained

ABAP Basis components configured

BW and BW_SAPI components configured

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

B

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 32

4.4 System refresh of BW and BW source systems Copying a BW source or system group: What to do on BW source

System copy 2

1 Export tables

3 Import tables,

Cleanup, Configuration

ALE / RFC ALE / RFC

Prod BW

Prod BW Source

Test BW Source

Test BW

Test BW Source

Export Import File

system

„BW ABAP PCA System Refresh“ task list

ABAP Basis components configured

BW_SAPI component configured

Connection to BW system maintained

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

A Test BW

source

Prod BW

Prod BW

source

Test BW

C

5. Demo BW ABAP PCA task lists

6. Summary + further Information

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 35

6. Summary + further information Five automated task lists for system copy of BW landscape

Purposes Automated task lists Benefits

BW housekeeping task list*

Clean-up and repairing data objects in BW system regularly and before system copy

BW ABAP PCA prepare task list*

Delta Queue cloning and synchronizing in BW source system for parallel operation of original and copied BW systems with synchronized data loads (minimal downtime of productive BW system possible, useful for BW on HANA migration and upgrade)

BW ABAP PCA initial copy task list

Configuration of BW and BW source systems for all initial system copy scenarios

BW ABAP PCA system refresh task list

Configuration of BW and BW source systems for all system refresh scenarios

BI Java PCA initial copy task list

Initial copy configuration of BI Java system and maintaining connection to BW system

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

Test Other

Test BI Java

Prod BW

Prod BI Java

Test BW

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

Test Other

Test BW

source

Prod BW

Prod BW

source

Test BW

BW

*standard offering without LVM license

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 36

6. Summary + further information BW ABAP PCA task lists make system copy procedure

Intelligent

Tasks… �  are aware of the selected

copy scenarios �  retrieve information from

system �  know their

Interdependencies �  are client aware and

execute in the correct client

Simple

�  Central User Interface to select copy scenario per connection

�  Most cases of SAP Note 886102 are fully automated

�  Same task list for BW and BW source system

�  One task list for all components (ABAP BASIS, BW_SAPI and BW)

Fast

�  Optimized procedure for retaining BW system connections

�  BDLS task is run time optimized by parallelization

�  Maintain once, execute often

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

Test Other

Test BW source

Prod BW

Prod BW source

Test BW

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 37

CRM

ERP

SRM SCM

BW

BW Data Mart

BI Java

ABAP BASIS

ERP

ABAP BASIS

CRM

ABAP BASIS

SRM

ABAP BASIS

SCM

ABAP BASIS

BW

AS JAVA

EP/BI

ABAP BASIS

BW

BW Admin Basis Admin Application Admin Java Admin

Task lists

6. Summary + further information Automated solutions of system copy for BW landscape

Maintain task lists together once Execute them often

Automated Execution

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 38

6. Summary + further information Key take-aways for system copy in BW landscape

System Copy

Copy in BW landscapes �  Simpler �  Smarter �  Faster

Delta Queue Cloning

Supply two BWs with data �  Minimal downtime �  Parallel operation �  Synchronized

Integrated into LVM

End-to-End system copy �  Automated �  Centralized �  Accelerated

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 39

5. Summary + further information Related sessions

Related SAP TechEd Sessions ITM832 Roadmap – SAP NetWeaver Landscape Virtualization Management (1h lecture) ITM203 SAP NetWeaver Landscape Virtualization Management - Live in Action (2h lecture)

ITM160 Hands On with SAP NetWeaver Landscape Virtualization Management (2h Hands-On)

ITM300 Tailoring SAP NetWeaver Landscape Virtualization Management to your needs (1h lecture)

ITM360 Easy migration to Suite on SAP HANA using Database Migration Option of SUM (4h Hands-On)

ITM212 How to migrate to SAP HANA - Overview and Best Practices (2h lecture) ITM213 Migration to BW on HANA - Best practice update 2013 (1h lecture)

RDP303 Master Class for Optimizing SAP NetWeaver Business Warehouse on SAP HANA (1h lecture)

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 40

5. Summary + further information Further links

SAP Public Web BW on HANA FAQ - http://spr.ly/bwonhanafaq SAP Community Network (SCN): •  SAP NetWeaver Landscape Virtualization Management:

http://scn.sap.com/community/it-management/virtualization •  Easier Migration to SAP NetWeaver BW powered by SAP HANA...

http://scn.sap.com/docs/DOC-32414 •  SAP NetWeaver BW Application Lifecycle Management (ALM):

http://scn.sap.com/docs/DOC-7856 •  Post-Copy Automation Solution as part of LVM:

http://scn.sap.com/docs/DOC-43270

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 41

© 2013 SAP AG or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.