ehp 1 upgrade on nw 7.0

43
7/31/2019 Ehp 1 Upgrade on Nw 7.0 http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 1/43 Upgrade to EHP 1 from Netweaver 7.0 This is another remarkable experience my life, and it will be better before it wipes out of my memory (brain), hard disk (computer) I should better write it somewhere from where I can refer it back independently or some other technical fellow who may need it when they are stuck…..There is always a c hance where our issues matches and we feel delighted when get a solution of the same by a simple search on Google.This is an incident where I had to do an upgrade of SAP BW7.0 to SAP BW 7.0 EHP1. This time I thought to do it in a different way. I was also testing some mind mapping tools for my own use and thought of to give it a try. So how I did it, screenshots all are collected together to document the same. Mind map for upgrade of BW landscape... Although I had a desire to finish the writing by march, and started writing also by February but in the middle I loosed my urge for writing…and don‟t know why I was actually spending time behind only office tasks …..Means no self enhancement….Fasting soul…. So, now I do feel writing again and praying God for giving me enough skill to write the things in total. Lot of links may not work in this page now as because I have started writing the material after the skeleton is ready….but I am sure, this will be interesting writing with lot of information. As I wrote repeatedly, that I am not writing

Upload: ofrq

Post on 05-Apr-2018

247 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 1/43

Upgrade to EHP 1 from Netweaver 7.0

This is another remarkable experience my life, and it will be better before it wipes out of my memory (brain), hard disk

(computer) I should better write it somewhere from where I can refer it back independently or some other technical

fellow who may need it when they are stuck…..There is always a chance where our issues matches and we feel

delighted when get a solution of the same by a simple search on Google.This is an incident where I had to do an

upgrade of SAP BW7.0 to SAP BW 7.0 EHP1. This time I thought to do it in a different way. I was also testing some

mind mapping tools for my own use and thought of to give it a try. So how I did it, screenshots all are collected together

to document the same.

Mind map for upgrade of BW landscape...

Although I had a desire to finish the writing by march, and started writing also by February but in the middle I loosed my

urge for writing…and don‟t know why I was actually spending time behind only office tasks …..Means no self 

enhancement….Fasting soul…. 

So, now I do feel writing again and praying God for giving me enough skill to write the things in total.

Lot of links may not work in this page now as because I have started writing the material after the skeleton is

ready….but I am sure, this will be interesting writing with lot of information. As I wrote repeatedly, that I am not writing

Page 2: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 2/43

Upgrade to EHP 1 from Netweaver 7.0

a HOW-TO book but sharing my experiences here.

So if any body studies the mind map, he/she will understand easily, that I have used two most sought activity and

experience in a SAP Basis professional, that is system copy/ OS DB Migration and the upgrade using EHPi. As

most of the SAP/R3 landscape around the world is already upgraded to Netweaver, now a better part of the upgrade will

consist upgrade to EHP.

So This is the first step where I choose system copying by creating database independent export. As because in my

test setup where I did the upgrade activity was not having a tape drive attached and the necessary backup software

what is available there in my production landscape. But it did benefit me in both way, I was able to carry the export in

a portable drive which is occupying only around 12 GB of space instead of 400 GB if I would have used the database

dependent system copy method. For creating the export we need to run the “sapinst” program from the installation

master. This you can see in the image below. But I should tell here before hand that

  You do need to arrange for a downtime before this activity. If you are doing it flawlessly, this will take you around

5 to 12 hours.

  Before starting the job, you shutdown your SAP instance (CI and dialogue instances only), do force at least 10

checkpoints, then shutdown your DB. Now backup all the archived log files so that if require you can bring them

back to restore successfully.

  Do a thorough statistics generation for all objects and also the system statistics using brtools…..Although I didn‟t

and i had to pay the price by sitting a lot of extra hours in front of my terminal doing nothing. If you do the

statistics generation before hand you can deselect the option of statistics generation by SAPINST and this will

really save you at least 4 hours for a considerable size of SAP database around 500 Gigs.

  Please go through the related SAP system copy and upgrade material, and yes some SAP notes related to the

same.  Once the normal downtime is approved, lock all the user except the administrative e.g. DDIC, J2EE_ADMIN,

SAP*, SAPCPIC etc and then from a userid which is having the SAP_ALL authorization you need to run following

two reports

  SMIGR_CREATE_DDL – This will create the .SQL files which is understood by R3Load during the import

phase and this for those objects which are non standard or rather can be said as not available in normal SAP

system..these are like bitmap indexes and partition tables. This is must, if any system has the related object

it will create the necessary SQLs in the directory indicated, or it will not create the same if not required.

  It will be better if you drop the temporary tables, although it will keep the system running slow for sometime

for the queries run. This can be done by running SAP_DROP_TMPTABLES and the related SAP note no is

449891

  Do a thorough statistics generation for all objects and also the system statistics using brtools…..Although I didn‟t

and i had to pay the price by sitting a lot of extra hours in front of my terminal doing nothing. If you do the

statistics generation before hand you can deselect the option of statistics generation by SAPINST and this will

really save you at least 4 hours for a considerable size of SAP database around 500 Gigs.

Page 3: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 3/43

Upgrade to EHP 1 from Netweaver 7.0

So in tree select NW 2004s Additional life cycle tasks, based on dual stack, the database and central instance.

Page 4: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 4/43

Upgrade to EHP 1 from Netweaver 7.0

Once you select the same and click on next button, it will ask the profile directory as the parameter. By asking theprofile

Page 5: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 5/43

Upgrade to EHP 1 from Netweaver 7.0

The database dependent method helps you to do things faster, intact in this Basis job is much less comparing to theOS and backup administrators part. but this always needs higher resources like more hard disk space, more backup

media and obviously same backup application software both in the source system as well as the target machine.

I chose database independent method, as because I didn‟t have the backup and restore facility in my test

atmosphere, and also I had a space crunch in the hard disk of both my source system and target system. Apart from

this, database independent method also keeps the option open to migrate in different OS or Database.

Page 6: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 6/43

Upgrade to EHP 1 from Netweaver 7.0

Then it will ask the target location of the export. So prepare a separate location for the export, which you requirewhen you are doing the import. I have created a partition sized same as the size of my database, but finally I found

that the export size cam about 15 GB out of a 400 GB BW database. But it is always safe and better that you should

have enough space available on the same machine. If space is on the network, it just elongates the time span.

Choice is also there to choose between ABAP and Java, I feel that you can separate out your java schema from the

 ABAP if you are in dual stack but I haven‟t explored the same yet. I choose both and let it go… 

Page 7: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 7/43

Upgrade to EHP 1 from Netweaver 7.0

-----------------------------------------------------

Continued from SAP NW7 to EHP (1)…. 

So finally you see all the parameters you have selected and you are given one more chance in this screen to change

them as you require. This is usually the place where I do change the number of process threads, to increase the

spped of execution.

If you see, there is a check box to build statistics, if you have generated it before hand then it will be better you

remove the check box.

This is the place where you may come up with some corrupted index and partitioned table, and it is better to check

them beforehand and rebuild them…. 

Page 8: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 8/43

Upgrade to EHP 1 from Netweaver 7.0

Page 9: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 9/43

Upgrade to EHP 1 from Netweaver 7.0

Page 10: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 10/43

Upgrade to EHP 1 from Netweaver 7.0

Page 11: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 11/43

Upgrade to EHP 1 from Netweaver 7.0

Page 12: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 12/43

Upgrade to EHP 1 from Netweaver 7.0

Please notice the message in the screen above by SAPINST, it is asking you to wait for hours, in my case it tokalmost 3 hours and that is why I am in favor of building statistics beforehand. BRTOOLS or DB13….Both are faster 

than this.

May be it is my perception.

Page 13: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 13/43

Upgrade to EHP 1 from Netweaver 7.0

 And then the second biggest operation is the export of the ABAP. rest all others are activities with smaller durations… 

Page 14: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 14/43

Upgrade to EHP 1 from Netweaver 7.0

Now remember to copy the SQL file generated beforehand by running the report SMIGR_CREATE_DDL. This has tobe copied to the export directory. In my case, as it is a dual stack, the specified directory is /ABAP/DB, otherwise (for

ABAP only) it is normally the /DB. Once you finish copying the same the export is prepared and you are ready for

import. Copy this directory into the target system, where you want to either import or migrate the system.

NW7 to EHP – Import 1

So now this is the import part of the operation. I have started „sapinst‟ as it is used in normal installation of SAP. but

instead of normal installation i did it using additional software life cycle tasks (import, oracle and central system

installation. Next three screen capture shows you how to do it.

Page 15: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 15/43

Upgrade to EHP 1 from Netweaver 7.0

Page 16: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 16/43

Upgrade to EHP 1 from Netweaver 7.0

Page 17: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 17/43

Upgrade to EHP 1 from Netweaver 7.0

Then I have selected default mode for the parameter.

Page 18: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 18/43

Upgrade to EHP 1 from Netweaver 7.0

Once it is selected the first medis for installation asked is the Java Componenet for NW2004s. The CDLBEL is

D51032257.

Page 19: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 19/43

Upgrade to EHP 1 from Netweaver 7.0

And then it also ask for the JCE unlimited strength Jurisdiction policy..

Page 20: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 20/43

Upgrade to EHP 1 from Netweaver 7.0

Finally it asks for the SID of the target system. You can select the SID you decide. In my case I have kept the same

SID, because I guessed otherwise I do need to have lot of post installation changes for renaming data source

components of the BW objects already made. although I am not sure whether it is really so or not…But at least this

was thought ran thru my mind and I followed my instinct then.

Page 21: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 21/43

Upgrade to EHP 1 from Netweaver 7.0

Page 22: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 22/43

Upgrade to EHP 1 from Netweaver 7.0

After that it asks for the master password. th is was supplied and I kept a note of that

Page 23: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 23/43

Upgrade to EHP 1 from Netweaver 7.0

NW7 to EHP – Import 2

In continuation of the previous page, in the next screen I faced the question, whether it is a standard system inscopy

or Homogenious system copy. Standard system copy what people are commonly refer is an OS – DB migration. This

is based on the export created earlier during the time of export.

Page 24: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 24/43

Upgrade to EHP 1 from Netweaver 7.0

As soon as you select the same it asks for the location of the export and i have provided the export location where I

have kept it copied….. 

Page 25: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 25/43

Upgrade to EHP 1 from Netweaver 7.0

Then it asks for the oracle RDBMS software media. I entered the path where I did copied it earlier.

Page 26: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 26/43

Upgrade to EHP 1 from Netweaver 7.0

Now in the next screen it ask for the password of the SAP J2EE engine administrator password of the source system

of the export, as in case of mine it was a dual stack system ABAP+JAVA, J2EE_ADMIN is the administrator user, and

I supplied the relevant password that I noted during the time of export.

Page 27: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 27/43

Upgrade to EHP 1 from Netweaver 7.0

Similarly it also ask for the DDIC password of the source system for the client 000. I supplied the same what I al

already noted during the time of the preparation of the export.

Page 28: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 28/43

Upgrade to EHP 1 from Netweaver 7.0

Once this is done, it also ask for the location of the kernel DVD as well as the oracle client CD, and the paths were

given as is… 

Page 29: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 29/43

Page 30: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 30/43

Upgrade to EHP 1 from Netweaver 7.0

Finally it shows the installation parameter screen, lot of parameters are there and for the sake of more cleardocumentation, I used to keep the screen capture by scrolling the screen…. 

Page 31: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 31/43

Upgrade to EHP 1 from Netweaver 7.0

Page 32: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 32/43

Upgrade to EHP 1 from Netweaver 7.0

Page 33: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 33/43

Upgrade to EHP 1 from Netweaver 7.0

Page 34: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 34/43

Upgrade to EHP 1 from Netweaver 7.0

NW7 to EHP – Import 3

I am still to finish writeup on this page. Please have patiance and wait, thank you for your visit.

I promise it will be an interesting one. I have created this page as a process of templatise working.

Page 35: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 35/43

Upgrade to EHP 1 from Netweaver 7.0

Page 36: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 36/43

Upgrade to EHP 1 from Netweaver 7.0

Page 37: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 37/43

Upgrade to EHP 1 from Netweaver 7.0

Page 38: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 38/43

Upgrade to EHP 1 from Netweaver 7.0

Page 39: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 39/43

Upgrade to EHP 1 from Netweaver 7.0

Page 40: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 40/43

Upgrade to EHP 1 from Netweaver 7.0

Page 41: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 41/43

Upgrade to EHP 1 from Netweaver 7.0

Page 42: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 42/43

Upgrade to EHP 1 from Netweaver 7.0

Page 43: Ehp 1 Upgrade on Nw 7.0

7/31/2019 Ehp 1 Upgrade on Nw 7.0

http://slidepdf.com/reader/full/ehp-1-upgrade-on-nw-70 43/43

Upgrade to EHP 1 from Netweaver 7.0