Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Install Oracle FMW - 'Mostly Scripted'

124 views

Published on

Why you should script your FMW Installations and how to do it.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Install Oracle FMW - 'Mostly Scripted'

  1. 1. DARWIN IT-PROFESSIONALS IT Driven Evolution InstallFMW ‘MostlyScripted’ Why and How
  2. 2. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 2© Darwin IT-Professionals B.V.
  3. 3. Who we are 3© Darwin IT-Professionals B.V. Application Development Framework
  4. 4. Who we are 4© Darwin IT-Professionals B.V.
  5. 5. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 5© Darwin IT-Professionals B.V.
  6. 6. Why scriptedinstallation • Consistent installation for – Development / Test / Acceptance / Production / Training • Hides Complexity Enterprise Deployment Guide (EDG) – Installation and FMW Domain config is complex, many choices – Scripts follow EDG as much as possible • Error proof – Once the script is tested and approved, no chance for manual errors • Deployment speed – Faster than manual deployment 6© Darwin IT-Professionals B.V.
  7. 7. Why scriptedinstallation • Alternatives – Manual - High admin effort – Docker - Install once / manage – Virtual Assembly Builder - Install once / manage – MyST - Learning Curve? + License cost – XL Release / XL Deploy - Learning Curve? + License cost – Vagrant + Puppet / Ansible - Learning Curve? Use in house knowledge… • Our choice for this presentation: – Shell (Windows / *nix) – WebLogic Scripting Tool (WLST) 7© Darwin IT-Professionals B.V.
  8. 8. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 8© Darwin IT-Professionals B.V.
  9. 9. Target Architecture as resultof EDG 9 Host 1 HTTP Server Host 2 OSB Server1 WebCenter Portal Server1 Admin Server SOA Server1 WebCenter Content Server1 BAM Server1 WSM Server1 Database OSB Server2 WebCenter Portal Server2 SOA Server2 WebCenter Content Server2 BAM Server2 WSM Server2 OSB Cluster WebCenter Portal Cluster SOA Cluster WebCenter Content Cluster BAM Cluster WSM Cluster
  10. 10. Target Architecture Application 10© Darwin IT-Professionals B.V. WCP_Cluster WCP_Servers Portal Analytics Discussions Portlets WCC_Cluster WCC_Servers Content Server IBR Custom components OSB_Cluster OSB_Servers OSB Projects/ Integrations OSB Server SOA Adapters SOA_Cluster SOA_Servers SOA&BPM Composites Process Engine SOA Adapters SOA/BPM Composers BRE, HWF, etc. BAM_Cluster BAM_Servers Administrator Designer Viewer
  11. 11. EDG Workflow 11
  12. 12. EDG DomainWorkflow 12
  13. 13. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Create Post configuration • DevOps • Q & A 13© Darwin IT-Professionals B.V.
  14. 14. Prepare machine 1-4 Assumptions: • Oracle Enterprise Linux installed. • ROOT access • Network access Scripted: • Install required packages • Make filesystems • Create Oracle group / user • Create Inventory location 14© Darwin IT-Professionals B.V.
  15. 15. Prepare machine 2-4 15© Darwin IT-Professionals B.V.
  16. 16. Prepare machine 3-4 16© Darwin IT-Professionals B.V.
  17. 17. Prepare machine 4-4 17© Darwin IT-Professionals B.V. Considerations: • Entropy: can be considerably low on IaaS, VMs with no desktop • Load Balancer • Firewalls – 1521 for database – 6200 for GridLink / ONS • Database: – Single Node – Grid – Active Standby / Dataguard
  18. 18. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 18© Darwin IT-Professionals B.V.
  19. 19. InstallSoftware In general: • Download required software from My Oracle Support (MOS) or Edelivery • Run the install script – Script checks if the software is installed – If not: • Extract the downloaded software • Install the different software packages (In case of Java, just copy the extracted files) 19© Darwin IT-Professionals B.V.
  20. 20. Install Software Java For time reasons, we’ll restrict to middleware • Download a zip with tar.gz containing complete JDK • On MOS: Search for Doc ID 1439822.1 • Download latest 1.8 (public) patch, eg.: – 25474942 Oracle SERVER JRE 8 Update 131 (just enough server JRE) – 25474935 Oracle JDK 8 Update 131 (complete JDK, incl. jmc, jvisualvm) 20© Darwin IT-Professionals B.V.
  21. 21. Install Software Java: script 21© Darwin IT-Professionals B.V.
  22. 22. Install Software FMW Infrastructure • FMW Specific delivery/package of Weblogic, including a base Repository Creation Utility (RCU) and generic packages specific to FMW • Do not install generic WLS, as this is not sufficient for FMW. • Contains fmw_12.2.1.2.0_infrastructure.jar for the installer. • RCU is expanded with each FMW product. 22© Darwin IT-Professionals B.V.
  23. 23. Install Software FMW Infra: Script 23© Darwin IT-Professionals B.V.
  24. 24. Install Software envsubst • Replace placeholders with environment settings • ${FMW_HOME} := /app/oracle/product/middleware/FMW 12212 24© Darwin IT-Professionals B.V.
  25. 25. Install Software SOA/BPM • Same installer for both SOA and BPM • In 12c enhances/expands the base RCU already installed with FMW Infrastructure • Need to set SOABPM_INSTALL_TYPE to ‘SOA Suite’ or ‘BPM’ 27© Darwin IT-Professionals B.V.
  26. 26. Install Software Rest • Repeat these steps for – Oracle Service Bus – WebCenter Content – WebCenter Portal – Oracle HTTP Server – Development tools • BPM Quickstart • JDeveloper 28© Darwin IT-Professionals B.V.
  27. 27. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 29© Darwin IT-Professionals B.V.
  28. 28. Create Repository Exact same principle... 30© Darwin IT-Professionals B.V.
  29. 29. Create Repository 31© Darwin IT-Professionals B.V. NOTE: Component WLS results in two schema’s: DEV_WLS and DEV_WLS_RUNTIME
  30. 30. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Create Post configuration • DevOps • Q & A 32© Darwin IT-Professionals B.V.
  31. 31. Create domain • Create the domain using wlst 33© Darwin IT-Professionals B.V.
  32. 32. Create domain Templates 34© Darwin IT-Professionals B.V.
  33. 33. Create domain Create domain 35© Darwin IT-Professionals B.V.
  34. 34. Create domain Change AdminServer 36© Darwin IT-Professionals B.V.
  35. 35. Create domain Security 37© Darwin IT-Professionals B.V.
  36. 36. Create domain Templates 38© Darwin IT-Professionals B.V. • Check if a product is enabled • If so, add the template
  37. 37. Create domain Data Sources 39© Darwin IT-Professionals B.V. Loads Repository Data from Service Table (*_STB schema) Service Table contains Schema’s and passwords Used to create data sources
  38. 38. Create domain Machines 40© Darwin IT-Professionals B.V.
  39. 39. Create domain Clusters 41© Darwin IT-Professionals B.V.
  40. 40. Create domain Servers 42© Darwin IT-Professionals B.V.
  41. 41. Create domain Server Groups 43© Darwin IT-Professionals B.V.
  42. 42. Create domain Server Groups 44© Darwin IT-Professionals B.V.
  43. 43. Create domain Boot Properties 45© Darwin IT-Professionals B.V.
  44. 44. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 46© Darwin IT-Professionals B.V.
  45. 45. Post configuration Adapt Datasources • Tuning: Set Min / Max / Initial Connections • Set Test / Retry Connections, based on network topology • Convert file stores for JMS to JDBC stores • Migratable Targets for Persistence Stores, JMS and JTA • Adapt JDBC-URLs for Grid Link support. Simple JDBC => TNS format 47© Darwin IT-Professionals B.V. jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=$DB _HOST)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=$DB_SERVICE))) jdbc:oracle:thin:@$DB_HOST:1521:$DB_SERVICE
  46. 46. Post configuration Connect WebCenter Portal to other components • Content: 48© Darwin IT-Professionals B.V. • SOA – BPM to Content • BI Publisher system components • Oracle HTTP Server configuration • Create separate users for developers, testers, etc. • Create groups with Application Specific Roles
  47. 47. Agenda • Who we are • Why scripted installation • Target architecture • Prepare machine • Install software • Create Repository • Create domain • Post configuration • DevOps • Q & A 49© Darwin IT-Professionals B.V.
  48. 48. DevOps • Persistent Stores: File or Database • JMS artefacts • JDBC Datsources • SOA Adapter configuration. Think about XA and HA! • SOA / BPM Composites • WebCenter artefacts 50© Darwin IT-Professionals B.V.
  49. 49. Q & A 52© Darwin IT-Professionals B.V.

×