Reader small image

You're reading from  Oracle Enterprise Manager Cloud Control 12c: Managing Data Center Chaos

Product typeBook
Published inDec 2012
Reading LevelIntermediate
PublisherPackt
ISBN-139781849684781
Edition1st Edition
Languages
Right arrow
Author (1)
PORUS HOMI HAVEWALA
PORUS HOMI HAVEWALA
author image
PORUS HOMI HAVEWALA

Porus Homi Havewala works as the Senior Manager (for database management) in the Enterprise Technology Program Office of Oracle Corporation, based in Singapore, and specializes in Oracle Enterprise Manager. He is a double Oracle Certified Master (OCM) in 10g and 11g, as well as the first Oracle employee ACE in the country. He was awarded the prestigious Oracle ACE Director title by Oracle HQ in 2008. There are less than 150 Oracle ACE Directors in the entire world and Poruswas the very first Oracle ACE and ACE Director in Singapore – a recognition of his outstanding achievements in the Oracle world.Porus has had extensive experience in Oracle technology since 1994; this includes him working as a Senior Production DBA, Principal Database Consultant, Database Architect, E-Business Technical DBA, Development DBA, and Database Designer and Modeler (using Oracle Designer). He has published numerous articles on Oracle Enterprise Manager on OTN, and has created http://enterprise-manager. blogspot.com, one of the world's first blogs dedicated to Enterprise Manager (with Oracle Press Credentials). Porus is also the author of the book, Oracle Enterprise Manager Grid Control, Rampant TechPress which was published in 2010.He started in the IT industry in the mid-1980s as a Turbo-C programmer in India and then as a dBase/FoxPro Developer in Australia. In the early 1990s he wrote a book on Microsoft FoxPro, which was his first published technical work. He entered the heady world of Oracle technology from 1994 as an Oracle DBA/Developer (using Oracle Forms, Oracle Reports, and Oracle Designer).In Telstra, the largest telecommunications company in Australia, Porus was the Senior Database Consultant in the central DBA team for a number of years and was responsible for database standards, database architecture, and the architecture, setup, and management of the first production Enterprise Manager Grid Control site in the world. He next worked in Oracle ACS India (Mumbai), and then with an Oracle Platinum Partner, S&I Systems in Singapore, before rejoining Oracle in the same city. Porus is an enthusiast for Oracle technology, especially Oracle Enterprise Manager, on which he has conducted popular seminars and webinars for large MNCs, and implemented this powerful enterprise toolset. The following is a full list of his published technical articles and white papers on the Oracle Technical Network (OTN). A couple of these articles were in the most popular OTN article list in 2009. The OTN is the world's largest community of developers, DBAs, and architects. Published white papers on OTN include: Advanced Uses of Oracle Enterprise Manager 11g Managing Oracle Applications with Oracle Enterprise Manager 11g Published technical articles on OTN include: Using Grid Control with Filer Snapshotting Oracle Enterprise Manager Grid Control Architecture for Very Large Sites Oracle RMAN Backups: Pushing the Easy Button Patch a Thousand Databases, Using Oracle Enterprise Manager Grid Control Easy Disaster Proof Production with Grid Control Using Oracle GoldenGate for Real-Time Data Integration Mask Your Secrets Using Oracle Enterprise Manager Manage Mass Provisioning Using Oracle Enterprise Manager Grid Control Overview of Oracle EM Management Packs Provision Your Oracle RAC Systems Using Oracle Enterprise Manager Ease the Chaos with Automated Patching: Oracle Enterprise Manager Cloud Control 12c For the Internet links to the articles and white papers, please see the blog entry: http://enterprise-manager.blogspot.sg/2012/11/latest-list-ofpublished-white-papers.html In early 2009, Porus was also voted leader of the Oracle RAC Special Interest Group (SIG) in Singapore, a rotating position he held for 2 years.  
Read more about PORUS HOMI HAVEWALA

Right arrow

Chapter 5. Ease the Chaos with Automated Provisioning

Large corporates typically have tens of thousands of systems, including databases, database servers, and middleware application servers. In such a complex environment, the operating systems used may be different, and database versions may also vary considerably. For example, there may be a database firm using the Oracle Database Enterprise Edition (EE) 10g version on Linux servers, and another firm with Oracle 11g databases on Solaris. Middleware application servers may also vary considerably. You may have WebLogic servers or other application servers, and these may also use different Operating Systems with several versions.

Typically, manual methods would have been used to create the myriad of systems in such an environment. The various operating systems would be manually installed by a dedicated team of system administrators, who would need specialized knowledge of each operating system. So there would be a Linux team, a Solaris team...

Lifecycle management


Oracle Enterprise Manager's DBLM Pack includes the powerful capability of provisioning and patch automation. This is in addition to the configuration management capabilities we looked at in the previous chapter. We will now discuss the provisioning features, and move to patch automation in the next chapter.

In a nutshell, the provisioning capabilities of Enterprise Manager allow you to create gold copies of different operating systems, different database versions, or middleware software. You can then use these gold copies to automate the deployment of the OS, database software, or middleware servers in a controlled and highly efficient manner. The actual work is performed out of the box or by customized deployment procedures in Enterprise Manager, which are a series of steps that automate the provisioning of the software. This allows the administrator's labor and effort to be drastically reduced, and quality of service to be increased.

Consider the example of a central...

First steps: Software Library


We decide to take a quick look at database provisioning. From the Enterprise Manager Cloud Control 12c menu, we go to Enterprise | Provisioning and Patching | Database Provisioning. The very first screen that comes up tells us that the Software Library setup is Not Done, as shown in the following screenshot:

Click on the Not Done link. This takes us to the Software Library: Administration page (which can also be accessed by going to Setup | Provisioning and Patching | Software Library). This page displays a warning that the Software Library does not have an upload file location configured. This is one of the two options for file storage that can be used by the Software Library. The other option is Referenced File Location, which we will look into later on. Right now, specifying an upload file location is the very first step that needs to be done:

The Upload File Locations tab is used to upload the files that will go into the Software Library. The Storage Type...

Provisioning library


Navigate to Enterprise | Provisioning and Patching | Procedure Library. This opens the library of deployment procedures that are supplied out of the box with Enterprise Manager Cloud Control 12c. A deployment procedure is an advanced piece of automation that can be fully responsible for the entire process of provisioning or patching, and is also customizable. The library of deployment procedures is shown in the following screenshot:

On this page, we have conducted an advanced search to display only the procedures with the word database in the text description. As we can see, there are a number of deployment procedures for provisioning as well as patching databases.

We can select the appropriate procedure to provision either single-instance or RAC databases, or procedures to scale-up or scale-down the RAC cluster (add or delete RAC nodes). There is also a new type of procedure to create an Oracle database (single-instance or RAC), or to upgrade an existing Oracle database...

Provisioning profiles


We can now test out the actual provisioning of databases. Go to Enterprise | Provisioning and Patching | Database Provisioning. This brings up the Database Provisioning screen as shown in the following screenshot:

Notice that as you are logged in as SYSMAN, you have the rights of a designer. This is shown on the left-hand side corner of this page.

You can create new administrators and assign to them the rights of a Provisioning Designer or Provisioning Operator – this is done by allocating the Enterprise Manager administrator roles EM_PROVISIONING_DESIGNER and EM_PROVISIONING_OPERATOR respectively.

You can create Provisioning Operators directly from the Database Provisioning page by clicking on the Create/Grant link. There are other useful links on this page, such as Credentials, Privilege Delegation, Incident Manager, and Self Update, as well as links to online help on various topics (Key Concepts and Common Tasks).

The table at the top lists the database provisioning...

Deployment procedures


We now proceed to the next step, which is the creation of the customized and locked-down deployment procedure. Move to the Database Provisioning page, select the existing Provision Oracle Database procedure and click on the Create Like... button, as shown in the following screenshot:

On the Create Like Procedure page, rename the new procedure as Sainath Customized Procedure For Provisioning of Oracle Database on the General Information tab, as shown in the following screenshot:

Move to the Procedure Steps tab, this shows the actual sequence of steps as executed by the deployment procedure. You can delete, insert, and edit any step, or you can enable or disable the step. You can also change Error Handling Mode to either Stop On Error, Continue On Error, or Skip Target. In the following screenshot, one of the steps has been successfully edited to Continue On Error:

Customization

This helps you to customize any deployment procedure as per your company's requirements. As...

Summary


In large and complex environments, the provisioning process if performed manually can easily take up to 50 percent of an administrator's time. There are many disparate pieces of hardware and software that need to be provisioned using different procedures. During the course of this chapter, we have seen how a great deal of the provisioning process can be automated by Enterprise Manager Cloud Control 12c, using the powerful gold images, provisioning profiles, and deployment procedures. This will greatly reduce the provisioning effort and save the valuable time of the administrator.

A Provisioning Designer, normally a Senior DBA in the database engineering department, can create a locked-down procedure that can be published to the Provisioning Operator, who may be the Junior DBA. The Provisioning Operator can then seamlessly perform the actual action of provisioning without being able to change the locked-down inputs, and new databases can thus be provisioned as almost exact replicas...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Oracle Enterprise Manager Cloud Control 12c: Managing Data Center Chaos
Published in: Dec 2012Publisher: PacktISBN-13: 9781849684781
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
PORUS HOMI HAVEWALA

Porus Homi Havewala works as the Senior Manager (for database management) in the Enterprise Technology Program Office of Oracle Corporation, based in Singapore, and specializes in Oracle Enterprise Manager. He is a double Oracle Certified Master (OCM) in 10g and 11g, as well as the first Oracle employee ACE in the country. He was awarded the prestigious Oracle ACE Director title by Oracle HQ in 2008. There are less than 150 Oracle ACE Directors in the entire world and Poruswas the very first Oracle ACE and ACE Director in Singapore – a recognition of his outstanding achievements in the Oracle world.Porus has had extensive experience in Oracle technology since 1994; this includes him working as a Senior Production DBA, Principal Database Consultant, Database Architect, E-Business Technical DBA, Development DBA, and Database Designer and Modeler (using Oracle Designer). He has published numerous articles on Oracle Enterprise Manager on OTN, and has created http://enterprise-manager. blogspot.com, one of the world's first blogs dedicated to Enterprise Manager (with Oracle Press Credentials). Porus is also the author of the book, Oracle Enterprise Manager Grid Control, Rampant TechPress which was published in 2010.He started in the IT industry in the mid-1980s as a Turbo-C programmer in India and then as a dBase/FoxPro Developer in Australia. In the early 1990s he wrote a book on Microsoft FoxPro, which was his first published technical work. He entered the heady world of Oracle technology from 1994 as an Oracle DBA/Developer (using Oracle Forms, Oracle Reports, and Oracle Designer).In Telstra, the largest telecommunications company in Australia, Porus was the Senior Database Consultant in the central DBA team for a number of years and was responsible for database standards, database architecture, and the architecture, setup, and management of the first production Enterprise Manager Grid Control site in the world. He next worked in Oracle ACS India (Mumbai), and then with an Oracle Platinum Partner, S&I Systems in Singapore, before rejoining Oracle in the same city. Porus is an enthusiast for Oracle technology, especially Oracle Enterprise Manager, on which he has conducted popular seminars and webinars for large MNCs, and implemented this powerful enterprise toolset. The following is a full list of his published technical articles and white papers on the Oracle Technical Network (OTN). A couple of these articles were in the most popular OTN article list in 2009. The OTN is the world's largest community of developers, DBAs, and architects. Published white papers on OTN include: Advanced Uses of Oracle Enterprise Manager 11g Managing Oracle Applications with Oracle Enterprise Manager 11g Published technical articles on OTN include: Using Grid Control with Filer Snapshotting Oracle Enterprise Manager Grid Control Architecture for Very Large Sites Oracle RMAN Backups: Pushing the Easy Button Patch a Thousand Databases, Using Oracle Enterprise Manager Grid Control Easy Disaster Proof Production with Grid Control Using Oracle GoldenGate for Real-Time Data Integration Mask Your Secrets Using Oracle Enterprise Manager Manage Mass Provisioning Using Oracle Enterprise Manager Grid Control Overview of Oracle EM Management Packs Provision Your Oracle RAC Systems Using Oracle Enterprise Manager Ease the Chaos with Automated Patching: Oracle Enterprise Manager Cloud Control 12c For the Internet links to the articles and white papers, please see the blog entry: http://enterprise-manager.blogspot.sg/2012/11/latest-list-ofpublished-white-papers.html In early 2009, Porus was also voted leader of the Oracle RAC Special Interest Group (SIG) in Singapore, a rotating position he held for 2 years.  
Read more about PORUS HOMI HAVEWALA