Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c
Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c

Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c: Setting up a cloud environment is rarely smooth sailing but with this guide to Oracle Enterprise Manager Cloud Control, it just got a lot more manageable. Practical advice and lots of examples make it the ideal assistant.

By Ved Antani
$22.99 $15.99
Book Nov 2013 112 pages 1st Edition
eBook
$22.99 $15.99
Print
$38.99
Subscription
$15.99 Monthly
eBook
$22.99 $15.99
Print
$38.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Nov 25, 2013
Length 112 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781782177708
Vendor :
Oracle
Languages :
Table of content icon View table of contents Preview book icon Preview Book

Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12c

Chapter 1. Setting Up Enterprise Manager

Cloud computing has changed the way enterprise software is developed and deployed. Cloud computing is becoming the obvious choice for large scale software deployments because of the various cost benefits it offers. Cloud platforms eliminate the need for setting up costly hardware to host your applications. Your applications are hosted on a shared platform managed by specialists. You can focus on building your application and not really involved in managing the platform. Though there are modern software that make it easier to deploy a scalable cloud infrastructure, there are no single-click solutions available yet. This book focuses on two varieties of cloud deployments: IaaS (Infrastructure as a Service) and DBaaS (Database as a Service). We are going to explore Oracle Enterprise Manager Cloud Control 12c to implement these two flavors of Cloud Computing. Oracle's Enterprise Manager is an interesting tool because it combines the prowess of Oracle's Database (though you can configure other databases), Fusion Middleware, as well as virtualization technologies. Oracle Enterprise Manager has quickly established itself as an end-to-end cloud management system. Organizations like CERN have utilized Enterprise Manager to extend their existing Oracle Grid databases and WebLogic Server infrastructure into a scalable elastic cloud.

This book will cover these specific scenarios and we will assume that the reader is familiar with the common components involved in building the cloud platform. We assume that the reader knows the basics of networking, storage, and has a working knowledge of command-line tools. This book takes a hands-on tutorial approach and targets specific areas to achieve the most productive setup of Oracle Enterprise Manager.

This chapter focuses on making sure the basic setup is complete before we start with the complex scenarios of implementing IaaS and DBaaS.

Topics covered in this chapter:

  • Setting up Software Library

  • Discovering and adding targets

  • Creating a database instance for Enterprise Manager

  • Executing Prerequisite Kit Utility

Setting up Software Library


Enterprise Manager is bundled with Software Library, a repository of a number of application software, VM images, and custom scripts used with Oracle Enterprise Manager. Software Library offers useful versioning and patching mechanisms to manage the software. We are going to cover the basic setup for Software Library.

Software Library can be accessed by navigating to Enterprise | Provisioning and Patching | Software Library.

Inside the Software Library page, you will find two types of software sources listed: Oracle-owned folders (tagged by a lock icon) and User-owned folders. Oracle-owned content is shipped with Enterprise Manager. On the other hand, user-owned folders, as the name suggests, are created by users to organize custom entities.

There are a few things that we need to configure before we can start using the Software Library. We will need to configure the storage repository and add an Upload File Storage Location. Make sure this location is on a host where OMS is already running. You can also configure a Referenced File Location, which is a read-only location.

Setting up the storage location

We will discuss ways to configure storage location for the software library. This location is used to upload software library entities and artifacts.

The OMS Agent Filesystem location

The Select the OMS Agent Filesystem option and click on +Add. You will need to provide the following details:

  • Name: It is unique for the storage location (for example, shared_fs).

  • Host: This is the location where OMS is running. You can either manually enter the value of the host or search inside the dialog box.

  • Location: When you open the search dialog in the Location textbox, you will need to log in to the host machine. Once you are logged in, you can select the location where you want to create the agent filesystem.

This action triggers a metadata registration job which can be monitored for completion by refreshing the screen or clicking on Show Detailed Results.

The OMS Shared Filesystem location

You can also set up the storage location as an OMS shared filesystem location. This option sometimes comes in handy when you already have an OMS running.

  1. Select OMS Shared Filesystem from the administration page.

  2. Click on +Add and provide the name of the OMS's host where you want the upload location to be defined and specify the OMS's host address.

Referenced file location

You can configure a storage location that can be used for referring to files from the Software Library entities.

  1. Select Referenced File Location on the Library Administration page.

  2. You can either add an HTTP location or an NFS location as referenced file location:

  3. Enter a name for the referenced file location and an HTTP location path for the storage server that you want to be referenced in the Add HTTP Location dialog.

  4. If you are adding an NFS location, select NFS from the storage type list and add the NFS server details. This value is typically an IP address or a fully qualified domain name for the NFS host (for example, 10.10.90.1 or nfs_service_1.main_domain.domain).

Discovering and adding targets


Components of IaaS or DBaaS such as Oracle Database instances or Oracle WebLogic servers are called targets. The Enterprise Manager lets you monitor these targets inside a unified console, making it very easy to have a real-time view of the entire cloud implementation. Before we can start monitoring the targets, we need to install management agents on those targets. Targets can be either added manually or discovered automatically through a few additional steps. We will briefly look at both of these processes without going into much of the implementation details.

Automatic discovery and promotion

In automatic discovery, a management agent usually runs on the host. This agent scans for unmanaged hosts. When an unmanaged host is found, they can be converted to managed hosts. On managed hosts, targets can be searched and promoted to managed targets. Setting up automatic discovery using management agents is an involved process and requires proper set up of NMap binaries to allow a network scan. The network scan can be restricted to a specific IP range and eventually these network scanned targets are promoted to managed hosts. It is important to ensure we have the added necessary targets to Enterprise Manager before we start configuring them. To discover unmanaged hosts using network scan, navigate to Setup | Add Target | Configure Auto Discovery. Click on the Configure button to configure network scan settings. You can create a new network scan configuration or edit an existing one.

You can provide IP address ranges (for example, 10.0.0-255.1-250) in the scan table or provide specific hostnames. You can submit the scan once the settings are correctly configured. Once the hosts are discovered, you can go ahead and convert unmanaged hosts into managed hosts. For this, navigate to Setup | Add Target | Auto Discovery Results. You will find all discovered hosts under the Network-scanned Targets tab. From this table, select all the unmanaged hosts and click on the Promote button.

Adding targets manually

Unmanaged hosts can be converted into managed hosts by installing the Management Agent on each host. The Add Host Wizard is used to add targets using the guided process.

Creating a database instance for Enterprise Manager


We will need to configure the underlying Oracle database instance to hold the Enterprise Manager data and artifacts before we can do anything useful with Enterprise Manager. While the Enterprise Manager installer can configure the database for you, we recommend you do it beforehand to make sure there are no errors in this very critical step.

Oracle provides pre-configured and tested sets of database templates. You can download these templates from http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/db-templates-1959276.html. Please do make sure that you are downloading the correct version of the database template for your Operation System. After downloading this template, extract the template into the following location on your Oracle database host:

$<DB_HOME>/assistants/dbca/templates

For example,

D:\app\oracle\product\12.1.0\dbhome_1\assistants\dbca\templates (on Windows machines)

Create the database in Advanced mode by running Oracle Database Configuration Assistant from <DB_HOME>/bin/dbca. On the Database Template screen, select the template which is suitable for your deployment:

When you run Oracle Database Configuration Assistant, the option Configure Enterprise Manager (EM) Database Express is checked by default. Make sure you uncheck it:

One final step to verify all the necessary setup is done, is to run the Prerequisite Kit script. The nice thing about this tool is that it detects incorrect configuration problems and tries to fix them, if possible. When you install Enterprise Manager, the installation wizard runs this script as a part of the installation process, but we can run this script standalone to make sure all configurations are correct.

Running Prerequisite Kit scripts from Software Kit


The Prerequisite Kit is available in the following location of the downloaded Enterprise Manager:

<download location of the script>/install/requisites/bin/emprereqkit (on Microsoft Windows, the namefilename is emprereqkit.bat)

Example: D:\OracleMS\install\requisites\bin (on Windows path)

To run this prerequisite script without taking any corrective actions, we can run it as follows:

<download location>/install/requisites/bin/emprereqkit -executionType <install/upgrade/postrequisite/plugindeploy> -prerequisiteXMLLoc <prerequisite_xml_location> -connectString <connection_string> -dbUser SYS -dbPassword <password_for_sys_account> -dbRole sysdba -reposUser SYSMAN -showPrereqs

For example on a Windows installation:

D:\OracleMS\install\requisites\bin\emprereqkit.bat
-executionType install
-prerequisiteXMLLoc $ORACLE_HOME/install/requisites/list/
-connectString "(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=EnterpriseManager)))"
-dbUser SYS
-dbPassword mypwd
-dbRole sysdba
-reposUser SYSMAN
-showPrereqs

If you want to take corrective actions, you can use the flag --runCorrectiveActions in the script.

Summary


This was a whirlwind tour of Oracle Enterprise Manager Cloud Control. We could have only scratched the surface of all the setup required to get started, but that was the idea of this chapter. We have seen how to verify the most critical pieces of the setup so that we are equipped to move ahead and take a detailed look at more advanced use cases of building an Infrastructure as a Service, which will be the focus of our next chapter.

Left arrow icon Right arrow icon

Key benefits

  • Perform and set up your cloud environment one step at a time using this lucid guide
  • Understand how to build a solid foundation for your cloud infrastructure
  • Comprehend and create new chargeback models

Description

Cloud computing has transformed the way that we write and deploy enterprise software. Oracle Enterprise Manager Cloud Control 12c has been designed to work with the cloud platform and reduce downtime, while improving performance and productivity. You can quickly set up, manage, and support enterprise clouds. This practical, example-oriented guide untangles many of the complexities involved in setting up a complete cloud computing platform. This book explores several methods of setting up IaaS and DBaaS using Oracle's Enterprise Manager. Step-by-step, this guide will quickly familiarize you with the most important aspects of setting up a cloud platform. This book delves deep into the complexities surrounding cloud computing and comprehensively explores the approach that you need to take to build an effective infrastructure. You will start with a step-by-step approach to building an Infrastructure as a Service (IaaS), and take an in-depth view of building a Database as a Service (DBaaS) model of cloud computing. Following on from this, you will learn how the chargeback mechanism works and how it can be configured for your needs. Next, you will also learn how to use a programmable interface to manage your cloud via APIs and web services. This guide will walk you through the various components of Oracle Enterprise Manager and will teach you how to use them efficiently. This book will also explain how you can use cloud APIs to program your cloud.

What you will learn

Set up important parts of Oracle Enterprise Manager Assemble a scalable Infrastructure as a Service (IaaS) platform Construct a Database as a Service (DBaaS) Establish cloud monitoring Configure and use chargeback metrics for your cloud Utilize cloud APIs and CLIs to program your cloud Institute effective notification rules and automated correction mechanisms Put together alerts and events to effectively monitor the health of the infrastructure

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Nov 25, 2013
Length 112 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781782177708
Vendor :
Oracle
Languages :

Table of Contents

12 Chapters
Managing IaaS and DBaaS Clouds with Oracle Enterprise Manager Cloud Control 12 Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Setting Up Enterprise Manager Chevron down icon Chevron up icon
Infrastructure as a Service Chevron down icon Chevron up icon
Database as a Service Chevron down icon Chevron up icon
Enterprise Monitoring Chevron down icon Chevron up icon
Cloud APIs Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.