Book Image

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

By : Ved Antani
Book Image

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

By: Ved Antani

Overview of this book

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.
Table of Contents (12 chapters)

Chargeback EMCLIs

Chargeback verbs for EMCLIs can be used to quickly track chargebacks. You can use custom charge items to create separate chargeback rules from the ones defined by Enterprise Manager. We will go through some examples to illustrate the usage of chargeback EMCLIs.

  • Example: List the items registered to chargeback

    • EMCLI verb: list_charge_item_candidates

    • Usage:

             emcli list_charge_item_candidates -target_type="oracle_database" -source_data_type="metric"

      Value of target_type can be oracle_database, oracle_vm_guest, host, oracle_pdb, or weblogic_j2eeserver.

  • Example: Create a charge item

    • EMCLI verb: create_charge_item

    • Usage:

             emcli create_charge_item -input_file="property_file:/home/vantani/db.prop"

      You need to provide a property file that contains all the necessary values for the creation of the charge item. Property file for this verb contains values in format <key>=<value>.

  • Example: Delete a charge item

    • EMCLI verb: delete_charge_item

    • Usage:

             emcli delete_charge_item...