Dirty upgrade bala

23
Dirty Upgrade, Unicode Conversion and Dual Stack Split Bala Prabahar BAPS Software Consulting Services Inc. 07/15/2011

description

Experience from a "Upgrade, Unicode Conversion and dual stack split" project. This project was completed in less than three months. The database size was 1.4TB, Oracle DB running on Solaris. The landscape has four systems: Production like sandbox, Dev, Production like QA and Production system. This project was managed using existing resources. We didn't hire additional consultants. How did we do it? I'll present that story in this session. What is the benefit? You would definitely save dollars and time. In this session, I'll explain: 1) What is "Dirty Upgrade"? 2) Why is it better? and 3) How to do it? by Bala Prabahar

Transcript of Dirty upgrade bala

Page 1: Dirty upgrade bala

Dirty Upgrade, Unicode Conversion

and Dual Stack Split

Bala Prabahar

BAPS Software Consulting Services Inc.

07/15/2011

Page 2: Dirty upgrade bala

MOTIVATION

Unicode and Single Stack Systems

BW

EP ECC SRM

SOL

MAN

Non-Unicode and Dual Stack

Page 3: Dirty upgrade bala

APPROACH

Unicode and Single

Stack Systems

BW

EP ECC SRM

SOL

MAN

Non-Unicode and Dual Stack

UCC

2

3

BW

Page 4: Dirty upgrade bala

UPGRADE

Available Tools

Processes

Upgrade and Unicode Conversion Together (CU/UC)

Upgrade first and then Unicode Conversion

1

Page 5: Dirty upgrade bala

UPGRADE

SAP EhPi: To upgrade from NW 7.0 to EhP1 for either ABAP or Dual but not for Java Stack.

SAINT: To upgrade from NW 7.0 to EhP1 for SolMan

JSPM: To upgrade from Java 7.0 to EhP1

SAPUp: To upgrade from Pre-NW 7.0 version to EhP1 (CU & UC is possible)

Note: As of April 21, 2011, SAPehpi 7.10 is replaced by Software Update Manager (SUM), note 1251735.

Page 6: Dirty upgrade bala

UPGRADE

Page 7: Dirty upgrade bala

UPGRADE

Page 8: Dirty upgrade bala

Step 1 Initialization

Checks Performed

ABAP or Java or Dual

Page 9: Dirty upgrade bala

Step 2 Extraction

EhP installation Key, Download Dir and DDIC password

Packages are extracted to Transport Dir

Kernel is copied to /EHPI/ABAP/EXENEW and

/EHPI/ABAP/EXE

Page 10: Dirty upgrade bala

Step 3 Configuration

Stack.xml to /usr/sap/trans/EPS/in

Page 11: Dirty upgrade bala

Step 4 Checks

Last step of the Installation Preparion

Prerequisites met (such as Disk space requirements)

New tablespaces and additional space for existing TS

Open or cancelled updates

Page 12: Dirty upgrade bala

Step 5 Preprocessing

REPACHK2 phase (lock the development environment)

Shadow Repository creation

Progress can be checked

(/EHPI/ABAP/tmp/DBCLONE<NO>.<SID>

Difference between SAPup and EHP installer

SAPup Export media of the upgrade export DVDs

EhPI -> Shadow tables from the basis tables of the original instance

DD modifications

ACT_UPG and SHADOW_IMPORT_INC

Page 13: Dirty upgrade bala

Step 6 Downtime

1) Switching the table and the kernel

~ tables are renamed

New kernel is copied

2) Table Conversion, main import and program execution

PARCONV_UPG

TABIM_UPG

XPRAS_UPG

Page 14: Dirty upgrade bala

Step 7 Postprocessing

SGEN

Background jobs scheduling

Page 15: Dirty upgrade bala

Step 8 Finalization

Ends the installation tool and SL Controller.

Page 16: Dirty upgrade bala

UPGRADE

Page 17: Dirty upgrade bala

UNICODE CONVERSION

Options Considered

Distribution Monitor

Expdp/Impdp option

SAP’s export/import method

Page 18: Dirty upgrade bala

ANXIETY

SMIGR_CREATE_DDL

Blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/24399

ORA-00600 Errors

Page 19: Dirty upgrade bala

ANXIETY Contd…

Page 20: Dirty upgrade bala

ANXIETY Contd…

Page 21: Dirty upgrade bala

SCALABILITY

Distribution Monitor

Evaluate the system for "Drop before export/recreate after

import" secondary indexes of less critical but large ODS

tables. This way we could rebuild the indexes after turning

over the system to business for validation.

Page 22: Dirty upgrade bala

DUAL STACK SPLIT

Export content from Dual stack

Install Single Stack

Import content into Single stack system

Page 23: Dirty upgrade bala

Questions???

????