ehp4 installation

184

Click here to load reader

Upload: sasidhar1

Post on 01-Nov-2014

166 views

Category:

Documents


12 download

TRANSCRIPT

Page 1: Ehp4 Installation

DE2 EHP4 INSTALLATIONTABLE OF CONTENT

S. No CONTENTS PAGE No.1 Pre-requisites Steps 01 - 49

1.1 Space requirements 21.2 Preventing Loss of Modifications 31.3 Preventing Activation Errors 31.4 Few Known Errors and solution 31.5 Actions Before Starting the Installation Program 31.6 Setting the Operation Mode for the Installation 41.7 Synchronizing the Database and the SDM

Repository5

1.8 Making Database-Specific Preparations for Oracle 51.9 Checking the Number of Background Processes 5

1.10 Installation File systems 5

1.11 System Status and SPAM Queue Check 6

1.12 SCC4 71.13 SAP Data File system 141.14 Tablespace Checks 141.15 SDM Repository Synchronization 151.16 Background WP: 161.17 SM37 161.18 RZ10 Profiles 181.19 OS Details 191.20 Archive Log Mode 191.21 Kernel Upgrade 201.22 Operation Modes Setting: 211.23 Update Records SM13 301.24 Profile Directory 301.25 Generation XML file From SOLUTION Manager 31

2 Starting of Upgrade through SAPehpi Tool 51-1633 Post-Processing: 164 - 1734 EHPI Post Upgrade Steps 1745 EHPI Upgrade Error / Issue Log Excel 175

1

Page 2: Ehp4 Installation

1 Prerequisites before Installation

1.1Space requirements: Prepare free space for the Installation directory “EHPI” of approximately 10-15 GB (temporary requirement).

Prepare free space for the download directory for SAP enhancement package 4 and additional Support Packages of approximately 10-30 GB (temporary requirement).

Prepare free space for the shadow instance of approximately 100 GB. ( Note that the size required depends heavily on the customer situation – temporary requirement.)

Prepare additional space for existing tablespaces (depends on available freespace in each tablespace).

We recommend setting the autoextend setting for tablespaces.

Read the Note 1245473: Installation Keyword

*Note*

2

Page 3: Ehp4 Installation

1.2 Preventing Loss of ModificationsIf the system that you want to update has a Support Package level lower than SAP NetWeaver 7.0 SP 13, and then implement SAP Note 1086728. This prevents the loss of modifications / repairs during the modification adjustment.

1.3Preventing Activation ErrorsUnder certain circumstances, information of runtime objects might get lost during the activation. This can lead to unwanted conversions of cluster tables. To prevent this error, see SAP Note 1283197 and implement the attached correction instruction.

1.4 Few Known Errors and solution

Phase XPRAS_UPGDescription: In this phase, the error "Name xyz has already been used". e065(fdt_core)" can occur in method FDT_AFTER_IMPORT.

Solution:

1. Continue the installation with option "Accept non-severe errors and repeat phase XPRAS_UPG"2. Apply SAP Note 1301695.3. Restart the after import processing for method FDT_AFTER_IMPORT using report FDT_TRANS_Q_RESTART for S-Tables, T-Tables and C-Tables.

Activation ErrorAn activation error for domains can occur that can be solved by repeating the failed phase. For more information, see SAP Note 1242867. If you have already implemented SAP Note 1242867 in your system, the error does not occur.

1.5 Actions Before Starting the Installation Program1. You choose the host for the installation.2. You make sure that the requirements for the modification adjustment have been met.3. You fill the download directory.4. You meet the requirements for the installation directory.5. You call transaction RZ04 to set the operation mode for the installation.6. You download the JCE Jurisdiction Policy Files.

3

Page 4: Ehp4 Installation

7. You synchronize the database and the SDM repository.8. You download the enhancement package and required Support Packages using the Maintenance Optimizer in SAP Solution Manager.9. You make the preparations at the database level.10. You check the number of background processes.11. If your central instance and SCS instance run on different hosts, you update SAP kernel and SAP IGS manually.

1.6 Setting the Operation Mode for the InstallationVarious background jobs are started during the installation. When you schedule jobs, a check is made to see whether the SAP instance on which you want them to run is defined in an operation mode. The operation mode specifies which services are offered by the work processes (dialog, update,background processing, enqueue, spool, and so on).

PrerequisitesNo operation modes must exist that contain servers other than those belonging to the current system.Procedure1. Call transaction RZ04 to check the definition of your operation modes. In addition, check the DUMMY operation mode. The DUMMY operation mode may have <host name>_<SAPSID> entered as the server name. Change this entry to <host name>_<SAPSID>_<instance number>.2. Delete the invalid operation modes. If operation modes contain names of servers other than those belonging to the system, problems may arise in the background interface in some phases. The jobs may be released, but not set as active (in theory, this affects all jobs scheduled to start on a specific server and triggered by an event).3. If the SAP instance on which you want to install the enhancement package is not entered in an operation mode, create the operation mode for the installation as follows:a) Call transaction RZ04.b) Choose Operation mode Create .Enter a name for the operation mode, for example, EHP_Installation. Enter a short description and then save the operation mode.c) Make sure that the instance required for the installation has been started up.d) Position the cursor on the new operation mode and choose Operation mode Maintain instances Instances/OP modes .e) Choose Settings Based on act. status New Instances Create .This displays all instances and their current configuration.

4

Page 5: Ehp4 Installation

f) Choose Save.g) Call transaction SM63 to enter the operation mode you have defined as an active operation mode for 24 hours (select Normal operation (24 hours)).

1.7 Synchronizing the Database and the SDM RepositoryBefore you start with the enhancement package installation process, you need to synchronize the database and the SDM repository.Procedure1. Go to the directory /usr/sap/<SAPSID>/JC<instance number>/SDM/program.2. Run the StopServer.sh script.3. In the command line, enter the following commands:./sdm.sh jstartup “mode=standalone”./sdm.sh systemcomponentstate “mode=activate”./sdm.sh jstartup “mode=integrated”4. Run the StartServer.sh script.

1.8 Making Database-Specific Preparations for Oracle1. Make sure that the statistics are up-to-date for all tables. Out-of-date statistics can increase the runtime of the enhancement package installation significantly. Proceed as described in Oracle:Performing Actions for the Cost-Based Optimizer2. Check the value of parameter shared_pool_size:select NAME, VALUE from v$parameter where name=’shared_pool_size’;select NAME, VALUE from v$parameter where name=’shared_pool_reserved_size’;If the value is lower than 150 MB, increase it to at least 150 MB (400 MB is better), and restart the database.3. Grant unlimited tablespace to saspr3/SAP<SCHEMA-ID>;

1.9 Checking the Number of Background ProcessesMake sure that the central instance of your system is configured to run at least two background processes before you start the SAP Enhancement Package Installer. We highly recommend using three.

1.10 Installation File systemsDownload Dir - /usr/sap/trans/E1_EHP

Installation Dir - /usr/sap/trans/ehde2

*DE2*.XML file location - /usr/sap/trans/E1_EHP

5

Page 6: Ehp4 Installation

1.11 System Status and SPAMDE2 Status:

SPAM:

6

Page 7: Ehp4 Installation

1.12 SCC4:

7

Page 8: Ehp4 Installation

8

Page 9: Ehp4 Installation

9

Page 10: Ehp4 Installation

10

Page 11: Ehp4 Installation

11

Page 12: Ehp4 Installation

12

Page 13: Ehp4 Installation

13

Page 14: Ehp4 Installation

1.13 SAP Data File system: -

1.14 Table spaces:

14

Page 15: Ehp4 Installation

1.15 SDM Repository Synchronization:

15

Page 16: Ehp4 Installation

1.16 Background WP:

1.17 SM37:

16

Page 17: Ehp4 Installation

17

Page 18: Ehp4 Installation

1.18 RZ10 Profiles: RZ10 Parameters:

18

Page 19: Ehp4 Installation

Default.PFLOriginal Settings

Changes Settings for EHP4

1.19 OS Details:

1.20 Archive Log Mode – ON ( AS CLIENT REQUIREMENT) Original Settings

19

Page 20: Ehp4 Installation

Changed to

1.21 Kernel Upgrade:

20

Page 21: Ehp4 Installation

1.22 Operation Modes Setting:Original

21

Page 22: Ehp4 Installation

Changed toSM63

Click Change

22

Page 23: Ehp4 Installation

Click Delete Assignment

23

Page 24: Ehp4 Installation

Save

24

Page 25: Ehp4 Installation

Click yes

In RZ04

Click Delete for Batch & Online

25

Page 26: Ehp4 Installation

Create a Dummy_EHP

26

Page 27: Ehp4 Installation

27

Page 28: Ehp4 Installation

28

Page 29: Ehp4 Installation

1.23 SM13 – Update Records:

1.24 Profile Directory (/sapmnt/DE2/profile):

29

Page 30: Ehp4 Installation

Extra Files moved to /usr/sap/trans/IBM_EXPORT/profile_bkp_1305

1.25 Generation XML file From SOLUTION Manager

30

Page 31: Ehp4 Installation

31

Page 32: Ehp4 Installation

32

Page 33: Ehp4 Installation

33

Page 34: Ehp4 Installation

34

Page 35: Ehp4 Installation

35

Page 36: Ehp4 Installation

36

Page 37: Ehp4 Installation

37

Page 38: Ehp4 Installation

38

Page 39: Ehp4 Installation

39

Page 40: Ehp4 Installation

40

Page 41: Ehp4 Installation

41

Page 42: Ehp4 Installation

42

Page 43: Ehp4 Installation

43

Page 44: Ehp4 Installation

44

Page 45: Ehp4 Installation

45

Page 46: Ehp4 Installation

46

Page 47: Ehp4 Installation

47

Page 48: Ehp4 Installation

48

Page 49: Ehp4 Installation

49

Page 50: Ehp4 Installation

2 Starting SAPEHPI Tool

50

Page 51: Ehp4 Installation

Start Time: - 11:00 AM IST, 130509

51

Page 52: Ehp4 Installation

52

Page 53: Ehp4 Installation

53

Page 54: Ehp4 Installation

54

Page 55: Ehp4 Installation

55

Page 56: Ehp4 Installation

56

Page 57: Ehp4 Installation

Reset PrepareStarted from Scratch—

57

Page 58: Ehp4 Installation

58

Page 59: Ehp4 Installation

59

Page 60: Ehp4 Installation

60

Page 61: Ehp4 Installation

61

Page 62: Ehp4 Installation

62

Page 63: Ehp4 Installation

63

Page 64: Ehp4 Installation

64

Page 65: Ehp4 Installation

65

Page 66: Ehp4 Installation

66

Page 67: Ehp4 Installation

67

Page 68: Ehp4 Installation

68

Page 69: Ehp4 Installation

69

Page 70: Ehp4 Installation

70

Page 71: Ehp4 Installation

71

Page 72: Ehp4 Installation

72

Page 73: Ehp4 Installation

73

Page 74: Ehp4 Installation

74

Page 75: Ehp4 Installation

75

Page 76: Ehp4 Installation

76

Page 77: Ehp4 Installation

77

Page 78: Ehp4 Installation

78

Page 79: Ehp4 Installation

79

Page 80: Ehp4 Installation

80

Page 81: Ehp4 Installation

81

Page 82: Ehp4 Installation

82

Page 83: Ehp4 Installation

83

Page 84: Ehp4 Installation

84

Page 85: Ehp4 Installation

85

Page 86: Ehp4 Installation

86

Page 87: Ehp4 Installation

87

Page 88: Ehp4 Installation

88

Page 89: Ehp4 Installation

89

Page 90: Ehp4 Installation

90

Page 91: Ehp4 Installation

91

Page 92: Ehp4 Installation

92

Page 93: Ehp4 Installation

93

Page 94: Ehp4 Installation

JAVA Part is still Runninmg

94

Page 95: Ehp4 Installation

95

Page 96: Ehp4 Installation

96

Page 97: Ehp4 Installation

97

Page 98: Ehp4 Installation

Session was terminated here--restarted

98

Page 99: Ehp4 Installation

99

Page 100: Ehp4 Installation

100

Page 101: Ehp4 Installation

Check logfile--

Put IGS SAR file in download directory.

101

Page 102: Ehp4 Installation

Press Continue

102

Page 103: Ehp4 Installation

Press Continue

103

Page 104: Ehp4 Installation

104

Page 105: Ehp4 Installation

Error-

Copy file from X1_EHP and Press Continue

105

Page 106: Ehp4 Installation

106

Page 107: Ehp4 Installation

107

Page 108: Ehp4 Installation

Password=V0d@f0nePress Continue

108

Page 109: Ehp4 Installation

109

Page 110: Ehp4 Installation

110

Page 111: Ehp4 Installation

111

Page 112: Ehp4 Installation

Press Continue

112

Page 113: Ehp4 Installation

113

Page 114: Ehp4 Installation

114

Page 115: Ehp4 Installation

Configuration phase finished here.

4. Checks.

115

Page 116: Ehp4 Installation

Again Press next

116

Page 117: Ehp4 Installation

117

Page 118: Ehp4 Installation

118

Page 119: Ehp4 Installation

119

Page 120: Ehp4 Installation

120

Page 121: Ehp4 Installation

Create tablespace and add datafile, also extend the required space in tablespaces as per requirement(See screenshot for space)

Press Close

121

Page 122: Ehp4 Installation

Press Next

122

Page 123: Ehp4 Installation

123

Page 124: Ehp4 Installation

124

Page 125: Ehp4 Installation

125

Page 126: Ehp4 Installation

Press Close

126

Page 127: Ehp4 Installation

Press Next.

127

Page 128: Ehp4 Installation

5. Post Processing.

128

Page 129: Ehp4 Installation

129

Page 130: Ehp4 Installation

Press OK

130

Page 131: Ehp4 Installation

Session Hanged out---

131

Page 132: Ehp4 Installation

132

Page 133: Ehp4 Installation

133

Page 134: Ehp4 Installation

134

Page 135: Ehp4 Installation

135

Page 136: Ehp4 Installation

We are in the process of EHP4 upgrade, in the preprocessing phasersptbdst_pdit getting SQL statement error:

We are able

2EETG011 ""[DISP_CHK]/OSP/V_RAUI_CDDB missing SQL statement"

Reason : In some Table Modflag is not set correctly

Resolution : SAP Provide the solution

136

Page 137: Ehp4 Installation

Run program again (program RDDGENBB with variant SAP_PARDISTV) and this time the MODFLAG column of table DDXTT has been set correctly.The reason why the MODFLAG hasn't been set for several rows oftable DDXTT is still unclear.

Nevertheless, you can now try to repeat phase RUN_RSPTBFIL_PDIST again. Hopefully, it succeeds this time

After this Installation pass the error step

Press OK

137

Page 138: Ehp4 Installation

138

Page 139: Ehp4 Installation

139

Page 140: Ehp4 Installation

140

Page 141: Ehp4 Installation

141

Page 142: Ehp4 Installation

142

Page 143: Ehp4 Installation

143

Page 144: Ehp4 Installation

144

Page 145: Ehp4 Installation

Issue: Memory Issue

Resolution: Increase memory in Shadow Instances.

145

Page 146: Ehp4 Installation

Error in License Check

DE1:

Error: Error in license check and logon not possible.

With this error we were also getting below error in which some BW tables contained some data and need to be deleted this data from Main system.

Root Cause: Either license was not installed or Problem with Enqueue server. And BW tables contain some data.

Resolution: 1) Tried to install license in the systems again by using below command at OS level:

Saplicense –install –ifile=<location of license file>

146

Page 147: Ehp4 Installation

Above resolution was not successful because in ECC6.0 we cannot install license from OS level as it contains digitally encrypted license key.

2) When BW tables were containing some data and we tried to start main instance manually to delete data from these tables but main instance was not coming up as shadow system was up. During downtime in upgrade only one system can use enqueue server. So, shadonw system was using enqueue server. So, we shutdown the shadow system and start the main instance. Then we deleted the data from these tables.

Note: Both problems came simultaneously so not sure which resolution resolved our problem.

Error:

147

Page 148: Ehp4 Installation

During EHP4 installation, we got error in Downtime phaseMAIN_SWITCH/JOB_RSVCHCK_D. There were update records left. We logged inthe Main Instance and cleared the records. now when we are repeatingthe phase MAIN_SWITCH/JOB_RSVCHCK_D it is giving following error

ERROR: RFC of "subst_start_batchjob" failed.key : RFC_ERROR_COMMUNICATIONmessage : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failedConnect_PM DEST=DE1, GWHOST=avggstah, GWSERV=sapgw06, SYSNR=06

LOCATION CPIC (TCP/IP) on local host with UnicodeERROR partner 'avggstah:3306' not reachedTIME Fri May 29 21:18:49 200RELEASE 710COMPONENT NI (network interface)VERSION 39RC -10MODULE nixxi.cppLINE 2773DETAIL NiPConnect: 192.125.172.4:3306SYSTEM CALL connectERRNO 239ERRNO TEXT Connection refusedCOUNTER 54

It appers that EHPI tool is trying to login to shadow instance but itis not up and running SHadown instance number is 06

Reason Port is used by DB1 system.

Resolution:

148

Page 149: Ehp4 Installation

Stop DB1 Restart DVEBMGS01, DVEBMGS06 instances for DE1 have been restarted. After port 3606 is freed the instances have be restarted, because 06 instance is inoperable presently due to the stopped message server. Kill the message Server process stop both instances.and then start shadow instance

149

Page 150: Ehp4 Installation

150

Page 151: Ehp4 Installation

151

Page 152: Ehp4 Installation

152

Page 153: Ehp4 Installation

153

Page 154: Ehp4 Installation

154

Page 155: Ehp4 Installation

155

Page 156: Ehp4 Installation

156

Page 157: Ehp4 Installation

157

Page 158: Ehp4 Installation

158

Page 159: Ehp4 Installation

159

Page 160: Ehp4 Installation

160

Page 161: Ehp4 Installation

161

Page 162: Ehp4 Installation

162

Page 163: Ehp4 Installation

163

Page 164: Ehp4 Installation

3 Post-Processing:

3.1 Enable archive log mode.

1) Log in to system DE2 and verify ABAP Stack level:

2) Logon to portal of DE2 and verify Java patches:

3) Login into DE2 and run transaction SICK.

164

Page 165: Ehp4 Installation

4) Run saproot.sh and oraroot.shcd /sapmnt/DE2/exe./saproot.sh DE2Also, ./oraroot.sh DE2 DE2

5) Create and Update SAPDBA Role:cd /oracle/DE2/102_64/dbscp /sapmnt/DE2/sapdba_role.sql sapdba_role.sqlsqlplus /nolog@sapdba_role SAPEVO

165

Page 166: Ehp4 Installation

6) Rescheduling Background Jobs:Login to 000 client of DE2 with user DDICGo to transaction SE38Run Report BTCTRNS2

166

Page 167: Ehp4 Installation

7) Go to SM51 :

8) Run Transaction SGEN

Press Continue.

167

Page 168: Ehp4 Installation

Press Continue.

Press Continue.

168

Page 169: Ehp4 Installation

Press Start Job Directly.

169

Page 170: Ehp4 Installation

170

Page 171: Ehp4 Installation

9) Delete Tablespace PSAPEVO700:

171

Page 172: Ehp4 Installation

172

Page 173: Ehp4 Installation

173

Page 174: Ehp4 Installation

4 EHPI Post Upgrade Steps

174

Page 175: Ehp4 Installation

5 EHPI Upgrade Error / Issue Log Excel

175

Page 176: Ehp4 Installation

176

Page 177: Ehp4 Installation

177

Page 178: Ehp4 Installation

178

Page 179: Ehp4 Installation