e-business suite 12.2 configuration management ii...e-business suite 12.2 applications architecture...

16
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | E-Business Suite 12.2 – Configuration Management II – Sumeet Kabra

Upload: others

Post on 19-Mar-2020

11 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

E-Business Suite 12.2 – Configuration Management II

– Sumeet Kabra

Page 2: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Page 3: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Agenda

➢ E-Business Suite 12.2 Applications Architecture [ Recap ]

➢ Techstack Configurations [ Recap ]

➢ Applications Configuration Management and Monitoring Tools [ Recap ]

➢ Technology Code Checker (ETCC for Mid Tier and DB Tier)

➢ Online Patching Progress Monitoring Tool

➢ Online Patching System Validation

➢ Single Step Cloning

➢ Oracle Inventory Support – Local and Global

➢ Automated scripts to change weblogic password and update password

Page 4: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

E-Business Suite 12.2 Applications Architecture

Pre 12.2 Configuration

Single File System

APPL_TOP (EBS Products Code)

10.1.2 AS(Forms ,Oracle Client)

10.1.3OC4J

• Forms• Oacore• OHS• Other Services

12.2 Configuration

Dual File System Non Editioned File System

APPL_TOP (EBS Products Code)

10.1.2 AS(Forms ,Oracle Client)

FMW 11.1.1.6/7/9

Weblogic 10.3.6• Oacore• Forms• Other Services

OPMN• OHS

APPL_TOP (EBS Products Code)

10.1.2 AS(Forms ,Oracle Client)

FS1 FS2

FMW 11.1.1.6/7/9

Weblogic 10.3.6• Oacore• Forms• Other Services

OPMN• OHS

•Patches•Patch Logs•Jar Certificates

Page 5: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

fs1

EBSApps FMW_HomeINST_TOP

comn10.1.2

appl

webtierwlserver_

10.3

user_projects

domains

EBS_domain_<SID>

instances

EBS_web_<SID>_OHS<n>

fs2

EBSApps FMW_HomeINST_TOP

comn10.1.2

appl

webtierwlserver_

10.3

user_projects

domains

EBS_domain_<SID>

instances

EBS_web_<SID>_OHS<n>

Editioned File System Structure

New Feature from AD/TXK 6Single File System --- possible and suggested only for non production deployments

Page 6: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

E-business suite 12.2 Techstack Configurations

OHS✓ Renders http services

✓ Startup/Shutdown/high availability managed by OPMN

✓ Configuration – managed partially by Autoconfig and partially by EM

Weblogic✓ Renders oacore , forms , forms-cw4s and other services

✓ Weblogic Managed Servers replace OC4J containers from 12.1

✓ Oacore and other applications are deployed in their respective managed servers

✓ High availability managed by weblogic node manager

✓ Addition, Deletion and Configuration changes of managed servers through EBS APIs

FORMS✓ Runs from 10.1.2 ORACLE_HOME

✓ Either in servlet or socket mode

✓ In servlet mode – serviced by weblogic managed server

Page 7: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

12.2 Applications Configuration Management and Monitoring Tools

Pre 12.2

Autoconfig /OAM

✓ Manages complete OHS configuration✓ Manages complete OC4J configuration

In 12.2

Predominantly four tools are used to manage configuration

✓ Autoconfig/OAM✓ Weblogic Administration Console✓ Fusion Middleware Control✓ E-business suite APIs (usually perl/java code)

Page 8: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Technology Code Checker (ETCC for Mid Tier and DB Tier)

Middle-Tier Technology Code-level Checker (AD/TXK 7 and above)

✓ Results generated by MT ETCC checker will only be stored in the database at code level AD/TXK Delta 7 and higher

✓ Can be executed against RUN or PATCH file systems✓ Patch 17537119 to get the latest code checker

✓ Checks all the MT Oracle Homes$ ./EBSapps.env run

$ checkMTpatch.sh

Database Tier Technology Checker

✓ Been there almost since beginning of 12.2

✓ Enhanced with latest and greatest database fixes required with AD/TXK $ checkDBpatch.sh

12.2 E-Business Suite Applications DBA Steps To Run The EBS Technology Code Level Checker (ETCC) (Doc ID 2008451.1)

Page 9: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Online Patching Progress Monitoring Tool

✓ Reports progress for an adop execution

✓ Can be executed from any node

✓ Reports WARNING, EVENT, ERROR and UNEXPECTED messages sent to the adop logging

infrastructure

✓ Messages are node specific$ adopmon

auohsrigs13 $ adopmon

Running script. Press Ctrl-C to quit.

Enter the APPS password:

Validating credentials...

Printing the log statements starting from sequence #2341049

Timestamp Node name Message Type Message Text

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

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

2018/02/15 20:03:15 Appnode4 EVENT Generating log report.

2018/02/15 20:03:16 Appnode4 EVENT The apply phase completed successfully.

2018/02/15 20:03:16 Appnode3 EVENT The apply phase completed successfully.

2018/02/15 20:03:17 Appnode2 EVENT The apply phase completed successfully.

2018/02/15 20:03:19 Appnode1 EVENT Log:

/u01/apps/fs_ne/EBSapps/log/adop/76/20180215_195536/apply/Appnode1

2018/02/15 20:03:34 Appnode1 EVENT Continuing with processing on node(s):

Page 10: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Online Patching Progress Monitoring Tool

✓ Reports progress for an adop execution

✓ Can be executed from any node

✓ Reports WARNING, EVENT, ERROR and UNEXPECTED messages sent to the adop logging

infrastructure

✓ Messages are node specific$ adopmon

auohsrigs13 $ adopmon

Running script. Press Ctrl-C to quit.

Enter the APPS password:

Validating credentials...

Printing the log statements starting from sequence #2341049

Timestamp Node name Message Type Message Text

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

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

2018/02/15 20:03:15 Appnode4 EVENT Generating log report.

2018/02/15 20:03:16 Appnode4 EVENT The apply phase completed successfully.

2018/02/15 20:03:16 Appnode3 EVENT The apply phase completed successfully.

2018/02/15 20:03:17 Appnode2 EVENT The apply phase completed successfully.

2018/02/15 20:03:19 Appnode1 EVENT Log:

/u01/apps/fs_ne/EBSapps/log/adop/76/20180215_195536/apply/Appnode1

2018/02/15 20:03:34 Appnode1 EVENT Continuing with processing on node(s):

Page 11: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Online Patching System Validation

✓ adop validations can be done which are applicable to the current system state

✓ It can also be executed without actually running any adop phase processing.

✓ Validates system configuration

✓ Applicable to Single and Multi-Node deployments

✓ Validations executed are phase specific (prepare,cutover)

✓ If no open patching cycle exists, then runs validation for "prepare" phase.

✓ If open patching cycle exists, then runs validation for "finalize+cutover" phase.

$ adop –validate$ adop -validate

Enter the APPS password:

Enter the SYSTEM password:

Enter the WLSADMIN password:

Validating credentials.

Initializing.

Run Edition context : /u01/apps/inst/fs2/inst/apps/PROD_Appnode1/appl/admin/PROD_Appnode1.xml

Patch edition context: /u01/apps/inst/fs1/inst/apps/PROD_Appnode1/appl/admin/PROD_Appnode1.xml

Node registry is valid.

===========================================================================

ADOP (C.Delta.10)

Node: Appnode1

Command: validate

Log: /u01/apps/fs_ne/EBSapps/log/adop/76/20180217_134948/validate/adopConsole.log

===========================================================================

Checking for existing patching cycle.

No existing patching cycle exists

Verifying SSH connection to all nodes.

Log: /u01/apps/inst/fs2/inst/apps/PROD_Appnode1/logs/appl/rgf/TXK/verifyssh.log

Output: /u01/apps/inst/fs2/inst/apps/PROD_Appnode1/logs/appl/rgf/TXK/out.xml

Page 12: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Single Step Cloning

Previous approach

✓ Two step process to configure target run and patch file system separately (required to executed adcfgclone.pl appsTier twice on target )

New approach

✓ Simplified single step process to clone RUN and PATCH file systems with a single command and pairsfile

$ perl adcfgclone.pl appsTier dualfs=yes

✓ Used by rapid clone & addnode

✓ New command line option in Delta.7 dualfs=yes to invoke new behaviour

Page 13: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

✓ Allows multiple EBS environments to co-exist on the same machine

✓Migration is one way only from global to local only

✓ Both global and local oracle inventories are supported from delta.7

✓Migration script to migrate from global to local inventory

$ txkMigrateInventory.pl

Oracle Inventory Support – Local and Global

Page 14: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

✓WLS Admin Account (weblogic password)$ perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword

✓ Datasource APPS Password$ perl txkManageDBConnectionPool.pl -options=updateDSPassword -contextfile=<Context

File path> - appspass=<APPS password> -adminpass=<WebLogic admin password>

Running txkUpdateEBSDomain.pl -action=updateAdminPassword Command Completes Successfully, But New Weblogic Password Is Not Recognized (Doc ID 2178617.1)

Automated scripts to change weblogic password and update password

Page 15: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |

Source RUN File System using /<sid>/applmgr/EBSapps.env

• $ADMIN_SCRIPTS_HOME/adstrtal.sh – To start all services on a node

• $ADMIN_SCRIPTS_HOME/adstpall.sh – To stop all services on a node

• $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start/stop – To start/stop Weblogic Admin Server

• $ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh <server_name> start/stop – To start/stop Weblogic Managed Server (oacore_server1 , forms_server1)

• $ADMIN_SCRIPTS_HOME/adnodemgrctl.sh start/stop node manager

• .

• .

• .

• Rest all scripts remain same as that of 12.1

Startup / Shutdown of Services

Page 16: E-Business Suite 12.2 Configuration Management II...E-Business Suite 12.2 Applications Architecture Pre 12.2 Configuration Single File System APPL_TOP (EBS Products Code) 10.1.2 AS

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |