Friday, May 18, 2012


Automatic RAC & DB Provisioning and Deployment Using OEM 11g (Part 2)

Part II - Create the images of the existing GI and RAC home binaries 

Continued from part I...

In this part I will run you thru the process of how to create the images of the existing Grid Infrastructure and RDBMS Home binaries so that it can be deployed on the new host.
The good part is that is that you can use these images in combination with other images in combination as they behave like individual components.

For Example -  I have following images
1. GI - 11201 & 11202
2. RDBMS - 10205 & 11201
Hence we can do following combinations.

Internally it uses the cloning mechniasm to create the images. so in naive man's language you can say that you are creating the archive of the binaries to be used for cloning later.

So, lets get started.
Navigate to [Deployment] tab and click on [components]



In [Components] tab, click on [Create Component]  

This will lead you to the following page where you need to fill in the details. Mendatory fields are
Type - Oracle Clusterware Clone
Name - Name of the Image you are creating


Select the reference host from which you need to create image. Depending on the type of the component you are creating, Oracle Home will be automatically choosen by OEM. Dont forget to enter your Oracle/owner user credentials


Review the [Summary] and click [Next] 

Once you are done, you will get [Confirmation] that the job has been submitted. You can click the on link to review the progress of the Job.

You have to manually refresh the page to review the progress.

Now all you have to do is to wait for around 30-40 minutes(depending upon the configuration of server) to get your images ready. During my few runs with this, i never faced any issues except if I am running low on space my /tmp partition.

One can even use NFS mounts instaed of /tmp. Once done, these images are uploaded from reference host to OEM Software Library and will be displayed under [components] tab.

Next we have to create image for RDBMS binaries

Navigate to [Deployment] tab and click on [components] 
In [Components] tab, click on [Create Component] 

Fill in the details as follows

Review the information & click [Finish]

You will see the confirmation as follows. Click on the link for details and progress of the job


Once your image is ready click on [Components] tab, and you will be able to see both the images you created.
One need to click on individual images and then click on [Activate] button promote them to Active status.

You may also notice that [Maturity] of the images is Untested initially. So when you do the deployments of the image, with every deployment the Maturity level will be increased. After few successful deployments the image will be titled as GOLD IMAGE
Now all you have to do is to deploy the image to the newly acquired targets.

Happly Learning.

Coming soon

Part 3-  Deploy the images on the newly acquired hosts

No comments:

Post a Comment