Oracle EBS Cloning with Delphix 5.0

History of Delphix and Oracle

Oracle EBS non-Production environments often have complex topologies, usually with separate database and application tiers, often with multiple Application servers. The recent Delphix v5.0 releases addressed this challenging requirement with the introduction of support for multiple Application Servers ‘Multi-Node’.

I thought it was a good time to revisit how Delphix virtualises a complete Oracle EBS environment including dbTech stack, Database and AppsTier and also provide a brief overview of Delphix EBS capabilities per release.

Below is a diagram I frequently use to describe the Delphix EBS Architecture, step-by-step virtualisation details can be found at one of my previous posts Virtualising Oracle EBS R12.1 using Delphix

Delphix EBS Virtulisation

 

Delphix v4.0

Delphix v4.0 was the first release to provide full stack Oracle EBS R12.1.x cloning, R12.1 was selected as it remains one of the most widely EBS deployed versions even though it’s getting quite long in the tooth now as you can see from below.

Amazing to think R12.1 was GA (Generally Available) May 2009.

Oracle EBS Releases

Delphix v4.2

Delphix v4.2 was another important release extending support to include the terminal release of 11i (11.5.10.2) and R12.2.x and it’s use of the WebLogic Application Server.

The latest version of Oracle EBS R12.2.5 went GA Oct 2015, this is also fully supported by Delphix.

Delphix v4.3

Delphix v4.3 provided access to JetStream automation, with it’s Ordered Containers environment level management was now possible as you could specify the sequence of operations e.g.

1) dbTechStack
2) Database
3) AppsTier

Delphix v5.0

Delphix v5.0 now provides Out-of-the-Box support for multiple Application servers ‘Multi-Node’, this has previously been possible but required some development effort outside of Delphix.

You can now add additional Application servers to a Delphix Managed Oracle EBS environment from with the Delphix UI with a few extra clicks during initial provisioning or later on during configuration changes.

Configure as normal then click on the green ‘+’

Adding Additional Node

 

Provide Environment, OS User, Hostname, required Services and Display variable details, the Port Pool will be inherited from the primary Apps server

OS User must the same UID (User ID) and GID (Group ID) as the primary Apps server.

Adding additional Node

Click ‘Next and complete the Wizard to finish to your EBS Multi-Node deployment

Fast Backups and Restores

I recently came across an excellent post on Mike Swings’ Blog which does a great job is detailing the impact Delphix can have on Oracle EBS deployments, suggest you check it out – Fast Backups and Restores are Critical during EBS Upgrades, Testing and Development

Advertisements

Creating a Virtual Oracle EBS Environment using Delphix v4.1

Oracle EBS R12.1 Virtualisation

Since v4.0 Delphix has had the ability to Virtualise Oracle E-Business Suite (EBS) environments – (Database, Database Tech Stack & Apps Tier), in this 2nd post I will provide a detailed walkthrough on how you can use Delphix to provision a Virtualised EBS environment.

For this walkthrough I have built an R12.1.1 VIS environment running on a non-RAC Database server and single Application server with the directory structure below.

EBS R12.1
Oracle EBS R12.1 directory structure

In my previous post Virtualising Oracle EBS with Delphix  I showed how to injest an Oracle R12.1 EBS environment into Delphix, I will now walkthrough the steps to provision a full Oracle EBS R12.1 environment (Database, Database Tech Stack & Apps Tier onto a non-RAC database server and single Application server.

Provision Database Tech Stack

From the Delphix console select your Environment dbTech Stack we created in part 1 of the Blog and select your Target Oracle EBS Database server and update the fields as required, if like me you prefer to have each EBS environment running as a different OS user select the ‘Environment User’ from the pick list.

dbTech Stack - Target Environment
dbTech Stack – Target Environment

 

 

 

 

 

 

 

 

 

 

 

 

Select your Target ‘Group’ and ‘Snapshot Policy’

dbTech Stack - vFiles Configuration
dbTech Stack – vFiles Configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

Click ‘Next’

dbTech Stack - Hooks
dbTech Stack – Hooks

 

 

 

 

 

 

 

 

 

 

 

 

Review and Click ‘Finish’

dbTech Stack - Summary
dbTech Stack – Summary

 

 

 

 

 

 

 

 

 

 

 

  Provision EBS Virtual Database (VDB)

During the previous step we provision an EBS Oracle Home on the Target Database server, we can now use our new Virtual Oracle Home to provision our Virtual EBS Database (VDB). Enter database name and set the ‘Environment User’ to the same value as the previous step.

Provision VDB - Target Environment
Provision VDB – Target Environment

 

 

 

 

 

 

 

 

 

 

 

 

Provide VDB name and Group, Click Next

Provision VDB - VDB Configuration
Provision VDB – VDB Configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

Click ‘Next’ on the Hooks screen.

Review Summary and Click ‘Finish’ to start the VDB provision process.

Provision Apps Tier

We should now have our EBS Virtual database running on our Target Database Server out of it’s own Virtual Oracle Home, the next step is to provision the Apps Tier.

Select the Target EBS Apps Server and complete the ‘Target Environment’ form providing the ‘applmg’ account name the other details which will be used by the Oracle EBS adcfgclone process

Provision Apps Tier - Target Environment
Provision Apps Tier – Target Environment

 

 

 

 

 

 

 

 

 

 

 

 

 

Click ‘Next’

Provide Name and Group and Click ‘Next’

Provision Apps Tier - vFiles Configuration
Provision Apps Tier- vFiles Configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

Click ‘Next’ on the Hooks screen

Review the Summary and click ‘Finish’ to launch the provision of the AppsTier

Provision Apps Tier - Hooks
Provision Apps Tier – Hooks

We have a now a provisioned a full Virtual EBS environment from our Delphix server running on our Target Database & Apps Server

In the final part of this Trilogy I will show how you can use Delphix to provision an EBS environment in the Cloud

Virtualising Oracle EBS R12.1 using Delphix v.4.1

Oracle EBS R12.1 Virtualisation

Since v4.0 Delphix has had the ability to Virtualise Oracle E-Business Suite (EBS) environments – (Database, Database Tech Stack & Apps Tier), in this post I will provide a quick walkthrough on how you can configure Delphix to Virtualise your EBS environment.

For this walkthrough I have built an R12.1.1 VIS environment running on a non-RAC Database server and single Application server with the directory structure below.

EBS R12.1
Oracle EBS R12.1 Directory Structure

Before you can begin Virtualising your EBS environment you need to register the Source & Target EBS Database and Application Server and Operating System user accounts within Delphix, you can do this by using the Delphix UI thus:

Manage -> Environments -> Add Environments providing your Oracle EBS database (oracle) and Application owner (applmgr) accounts details for the Source and Target Servers.

Virtualising Oracle EBS Database Tech Stack

We are now ready to start Virtualising the Oracle EBS environment, in this example I am going to start with the EBS dbTech Stack.

As you can see below I have set the Data Type to ‘builtin:ebs-db’, this lets Delphix know that you are planning to manage an EBS Oracle Home,  the ‘Environment User’ is set to my Oracle EBS database owner and ‘Data Path’ to the top level directory.

Delphix provides the ability to exclude directories from the dSource, as I have my Oracle database files located under my top level directory I have excluded db/apps_st/data (relative path) as my datafiles will be managed by the database dSource and do not want to import them twice.

I have also excluded ‘bump’, ‘cdump’, ‘udump’ and the ‘diag’ directories as I do not want the log files in my Virtual clones

Add dSource - Source
Add dSource – Source





 

 

 

 

 

 

 

 

 

 

 

Check your entries and if OK click ‘Next’

It’s good practice to give your dSource a meaningful name, I have included the environment name and type in the dSource name to help with the description

Add dSource - dSource Configuration
Add dSource – dSource Configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

Select your ‘Target Group’ and then click ‘Next’

Add dSource - Summary
Add dSource – Summary

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Review the summary screen and if OK click ‘Finish’

Delphix will now kick off a Job to ingest the Oracle Tech Stack, the time taken will be dependent upon your network and infrastructre. My 9.28GB Oracle Tech Stack compressed down to 5.57GB (1.6:1 ratio)

Virtualising Oracle EBS Database

If you have used Delphix to Virtualise a Database before you will be familar with the next steps but I have included them here for completeness.

Click on ‘Add dSource’ select your source EBS Database, and enter the Delphix database username and password.

db1

 

 

 

 

 

 

 

Verify the credentials and if all OK click ‘Next’

db2

 

 

 

 

 

 

Select ‘Target Group’ and click ‘Next’

db3

 

 

 

 

 

 

Take defaults to perform an immediate Load

db4

 

 

 

 

 

Review the settings and click ‘Finish’, Delphix will now kick of a Job to ingest the Oracle Database, the time taken will be dependent upon database size, network and infrastructure.

Virtualising Oracle EBS Apps Tier

It’s now time to Virtualise the Oracle EBS apps Tier.

Here I have set the Data Type to ‘builtin:ebs-app’, this lets Delphix know that you are planning to manage an EBS Oracle Apps Tier the ‘Environment User’ is set to my Oracle EBS Application owner and ‘Data Path’ to the top level directory.

As the Oracle post clone process will recreate the $INST_TOP we can exclude that from the Apps Tier dSource, provide the relative path to $INST_TOP if located under your top level directory.

ap1

 

 

 

 

 

 

 

 

 

 

 

 

Check you ‘Environment User’, ‘Data Path’ and ‘Paths to exlude’ and click ‘Next’

Enter a meaningful dSource Name and select Group as before

ap2

 

 

 

 

 

 

 

 

 

 

 

 

Review and click ‘Next’

ap3

 

 

 

 

 

 

 

 

 

 

 

 

Click ‘Next’ to take the defaults

ap4

 

 

 

 

 

 

 

 

 

 

 

Review the summary screen and if all OK click ‘Finish’

Delphix will now kick of a Job to ingest the Oracle Apps Tier, the time taken will be dependent upon your network and infrastructre.

We have now Virtualised our entire Oracle EBS environment (DB Tech Stack, Database and Apps Tier) within Delphix, in my next post I will walkthrough how can use it to create multiple Virtual Oracle EBS environments on premises or in the Cloud.