This chapter introduces Cloud Management and provides an overview of the various service offerings and components available with the Oracle Cloud platform. It also describes the Consolidation Planner, which is useful in planning your Cloud requirements, as well as various life cycle management capabilities of Oracle Enterprise Manager including resource management, metering and chargeback support.
This chapter contains the following sections:
Enterprises and Cloud service providers can use Oracle Enterprise Manager to build and operate their Cloud services. The functionality provided by Enterprise Manager spans the entire Cloud lifecycle and allows you to setup and manage any type of Cloud service.
Enterprises must support hundreds or even thousands of applications to meet growing business demands. This growth has driven up the cost of acquiring and managing servers and storage. Clouds enable customers to consolidate servers, storage, and database workloads onto a shared hardware and software infrastructure.
By providing on-demand access to servers and storage in a self-service, elastically scalable and metered manner, Enterprise Manager offers the following benefits.
Increasing Quality of Service: IT organizations are not only trying to drive down costs, they are also looking at solutions that will simultaneously improve quality of service in terms of performance, availability and security. Cloud consumers inherently benefit from the high availability characteristics built into the Cloud.
Organizations can also enforce a unified identity and security infrastructure as part of standardized provisioning. Thus, instead of bolting on security policies, these policies and compliance regulations are part of the provisioning process.
Enabling Faster Deployment: Building the Cloud infrastructure using standard building block components (for example, servers, CPUs, storage, and network), configurations, and tools, enables a streamlined, automated, and simplified deployment process.
Providing Resource Elasticity: The ability to grow and shrink the capacity of a given database, both in terms of storage size and compute power, allows applications the flexibility to meet the dynamic nature of business workloads.
Rapid Provisioning: Databases in a Cloud can be rapidly provisioned, often by way of a self-service infrastructure, providing agility in application deployment. This reduces overall time in deploying production applications, development platforms, or creating test bed configurations.
Enterprise Manager allows you to manage the entire Cloud lifecycle which includes the following:
Using Enterprise Manager, you can transform existing data centers into a Cloud environment. Before setting up a Cloud, you should map out your infrastructure requirements, such as the physical and virtual networks, storage arrays, applications and so on.
The Enterprise Manager Consolidation Planner is a powerful tool that helps administrators plan the Cloud architecture. It allows you to identify source and destination targets and applicable technical and functional constraints such as where the application can reside, and so on. You can generate consolidation advisories that may include plans to move from Physical to Virtual (P2V), Physical to Physical (P2P), or Physical to an Exadata solution. The Consolidation Planner can also be used to identify the database consolidation plan which is helpful when setting up Database-as-a-Service (DBaaS). See Section 34, "Using Consolidation Planner" for details.
Enterprise Manager can be used to model Infrastructure-as-a-Service (IaaS), Database-as-a-Service (DBaaS), and Middleware-as-a-Service (MWaaS) clouds. It is important to select the appropriate Cloud Service Model (as discussed in Section 2.3, "Understanding the Oracle Cloud Service Models") that suits the needs of your users and organization. To facilitate Cloud setup, Enterprise Manager offers capabilities for both physical and virtual infrastructure.
For physical infrastructure, Enterprise Manager leverages its core automation framework of deployment procedures, job system, and the enterprise software library. It offers out of the box deployment procedures that can be used for provisioning the pre-requisite software for both databases and middleware. The same automation framework is also used to interact with third party storage systems for the purposes of data cloning and storage management.For virtual infrastructure, it offers bare metal provisioning of hypervisor and setting up server and storage pools. Once completed, you can group all of these into zones based on functional or QoS characteristics. Enterprise Manager leverages the Virtualization Storage Connect technology, where the Cloud setup process is integrated with storage technologies like Netapp, Hitachi, Fujitsu. Administrators can define standardized service templates for databases and middleware platforms, and publish these as services. These services can represent single-tier templates or complex, multi-tier enterprise platforms.
Enterprise Manager uses components called assemblies created by the Oracle Virtual Assembly Builder (OVAB). Assemblies help package a multi-tier platform into a single metadata which can be deployed by the Enterprise Manager Cloud service. An assembly is essentially a complete multi-tier application stack - including database, application server and other middleware components - packaged as a single downloadable entity. When an assembly is deployed, the result is the creation of a set of related virtual machines representing every tier of the application stack.
Using OVAB, platform architects can model the entire platform topology graphically, define all dependencies, deployment constraints, and deliver the entire stack in the form of an assembly. This assembly can then be published to the centralized Software Library in Enterprise Manager, and be made available to developers as a Cloud service – an entire application development stack, that can be provisioned quickly.Administrators can create different types of services depending upon the business needs. For example, administrators may offer a database service based on different versions of the Oracle database, but only the ones approved for use within the business.
Enterprise Manager supports role-driven access control. Resource limits, or quotas, are assigned to roles to control access to services. This prevents unauthorized usage of a service while also preventing a few users from using majority of the resources in the Cloud. Integration with LDAP allows Enterprise Manager to inherit enterprise roles.
Enterprise Manager allows entire applications or components to be packaged and published to the Cloud as a service. This expedites application development and provisioning processes within an organization.
Developers can publish utility components and applications in the form of assemblies and service templates for reuse within their groups. Similarly, allowing applications to be available as assemblies allows testing teams, business analysts or production teams to deploy pre-built applications in a few clicks.
After an application has been built, it needs to be tested. Enterprise Manager provides a testing portfolio that allows users to test both application changes and changes to the database. The testing solution provides the ability to capture a production load and replay in a test environment, so that the results are predictable. The testing solution also leverages the diagnostic capabilities built into the technology layers and provides prescriptions for remediation.Enterprise Manager provides a self-service application that lets end-users deploy a service. This self service application can also be customized. End users can choose to provision application assemblies, along with databases and platforms, in an on-demand manner. For each request, users can specify the amount of underlying resources such as CPU, memory, and so on that they require for each component. Enterprise Manager automatically provisions the requested service and the appropriate resources. The self-service application also lets users define policies to scale out or scale back resources based on schedule or performance metrics. For example, a user could set a policy to elastically scale out a Web server if the processor load on existing Web servers exceeds a certain threshold value.
Enterprise Manger offers a number of inherent monitoring and management features that collectively comprise a full Cloud management system.
For example, Enterprise Manager provides the ability to collate targets into groups for better manageability. The Administration Group feature allows administrators to define monitoring settings, compliance standards and cloud policies through templates and also organize each target in multiple hierarchies, such as Line of Business and Lifecycle status. This allows the monitoring framework to scale to thousands of servers, databases and middleware targets in the Cloud.
Enterprise Manager's built-in Incident Management system allows you to monitor the Cloud for complex operational issues that may affect performance. You can review, suppress, escalate and remediate events that occur as needed, and even integrate incident escalation with existing support ticketing systems. See the Enterprise Manager Cloud Control Administrator's Guide for details.Contractual Service Level Agreements (SLAs) can be defined to govern the contract between the application owner and the provider of the Cloud. Administrators as well as users can also define management policies that automatically adjust the service resources to ensure that SLAs are met.
The configuration management capabilities of Enterprise Manager are optimized for Cloud environments. For example, Enterprise Manager can monitor vast numbers of configurations continuously to discover changes, measure drifts, pin-point configuration errors, and offer insight into system topologies - all through a single console. Enterprise Manager Cloud management capabilities are also integrated with My Oracle Support. This integration delivers facilities such as Patch Advisories, Service Request Management, Knowledge Management right on-premise and in-context of the overall Cloud.
The IaaS, DBaaS, and MWaaS Home pages provided through the Enterprise Manager Cloud Control user interface allow Cloud administrators to get a summary view of the requests, the general state of the service such as zones, pools, servers, service instances, and databases.
The Metering and Chargeback features in Enterprise Manager enable enterprises to account for actual usage versus representative usage. Administrators can also extend the pricing models to account for fixed costs, configurations, administrative expenses, people costs, energy utilization or a combination of these.Cloud Management also entails an ongoing optimization of resources as well as processes to make sure that the service levels are persistent. Enterprise Manager provides administrators and application users with features that help rediscover assets, re-evaluate the performance, rebalance the Cloud, and fine-tune the provisioning process. Chargeback supports basic metrics like CPU, memory, and storage usage. It also offers pricing models based on application usage, database usage, and Middleware-level metrics.
This section describes the available Oracle Cloud service models available.
Oracle's Cloud service models can be divided into two primary categories: Infrastructure as a Service, which allows users to request the physical infrastructure required to run applications; and Platform as a Service, which provides the database and middleware components required by applications.
The IaaS model allows users to request Guest VMs using the Self Service Portal in Enterprise Manager. It also allows users to specify an assembly or a template that is to be deployed on the requested Guest VMs. Using pre-packaged assemblies consisting of the operating system, database software and middleware software, a platform can be deployed using this service.
Users can monitor the services provided using the Self Service Portal and perform limited management operations as permitted. They can also run chargeback reports to review resource usage and chargeback amounts calculated for the resources consumed.
IaaS cloud infrastructure can be built out of Oracle hardware and software components such as Oracle VM, Oracle Solaris, Oracle Enterprise Linux, and so on, or it may have 3rd party components.
Platform as a Service (PaaS) Service Model: The PaaS model allows you to create platforms onto which consumers can deploy their own applications. A platform resource is typically comprised of a host, an operating system, an Oracle WebLogic Application server - all of which can be virtualized. It can also include an Oracle database or RAC cluster.
Models available with PaaS include:
Virtual Machine Based: The database is deployed as a part of a virtual assembly or template, and several virtual machines share the same physical server. This offers the maximum level of isolation (at the operating system level).
Shared Cluster: The database is deployed on existing clusterware. Typically the grid infrastructure (Oracle Clusterware, ASM) and database software is pre-installed; the Cloud service essentially consists of the deployment of databases on top of that infrastructure.
Shared Installation: The database is deployed as a single instance database on an existing database installation.
Pluggable Database as a Service: A pluggable database is deployed. This model provides high consolidation, and minimal administrative and maintenance overhead.
Snap Clone: You can make a thin-clone using copy on write technology of the database. This model requires minimal space, provides instantaneous cloning, and is ideal for functional testing.
Full Clone: You can make a full copy of the database. This model is ideal for load testing with significant data updates.
Shared Database (Schema as a Service): The database service is a schema deployment on an existing database. It is assumed for purposes of metering and chargeback that each of the consumers of the database will use a different service while accessing the database. This service model is also referred to as Schema as a Service.
As in IaaS, users are allowed to perform a few administrative tasks such as start/stop, backup, and recovery of databases. Chargeback reports are also made available for Self Service users.
Middleware as a Service (MWaaS): In this model, users submit requests for middleware domains to be created. Applications can then be deployed into these domains. MWaaS is implemented through the following option:
Physical Provisioning Based: The MWaaS platform is built using physical hosts and Fusion Middleware Provisioning.
Testing as a Service (TaaS): In this model, testing can be made faster and simpler though the Cloud Testing Self Service Portal. The applications being tested can be provisioned to the private cloud using assemblies or to an existing Enterprise Manager target. The TestDrivers need to be provisioned into the private cloud.
The pools in an IaaS zone are collections of one or more Oracle VM servers and their associated storage resources. The pools in DBaaS zones are collections of one or more Oracle Database homes (used for database requests), or databases (used for schema requests) of the same platform and version (for example, Oracle Database 126.96.36.199 RAC on Oracle Linux 6 x86-64), or Oracle Middleware homes of the same platform and version (for example, Oracle Database 188.8.131.52 on Linux x86-64).
In either IaaS or PaaS, Self Service users will request resources at the zone level from a catalog of templates. Enterprise Manager will then determine which pool in the chosen zone can be used to satisfy the request. The needed Enterprise Manager jobs will be initiated on one or more hosts in the selected pool to create the entities required to fulfill the request.
In an IaaS Cloud, self-service users request that servers be created. These are actually guest virtual machines, or Guest VMs. A single IaaS request may result in one or more virtual machines being created complete with database(s), middleware software and deployed applications.
In the DBaaS view of a PaaS Cloud, a self-service user can request that new databases or schemas in existing databases be created. Databases can be single instance or RAC, depending upon the zones and catalog templates to which the user has access. Similarly, in the MWaaS view of the PaaS Cloud, self-service users request that middleware domains be created.
Figure Figure 2-2 shows the Cloud anatomy.
The IaaS Cloud model consists of the following components:
Cloud: A Cloud is a set of storage pools, server pools and zones under the programmatic control of a Cloud Controller and the administrative control of the Cloud Administrator. The Cloud Administrator works with the Cost Center Administrator who has paid for the cloud to determine a resource allocation and charge back policy that meets their needs.
Zone: A Cloud can consist of one of more zones. A zone is a logical grouping of resources - for example, servers and storage entities - that facilitate self-service provisioning and administration. A typical zone may consist of hundreds to thousands of servers.
A zone can be an empty zone or consist of a set of server pools. The second case may be simple to set up and will not require shared storage; however no HA and live migration is permitted within this zone.
Zones are non-overlapping, which means that a resource can only belong to one zone. However, resources within a zone may be accessible from another zone. For example, it is possible for a virtual machine in Zone 1 to interact with a virtual machine in another zone.
Server Pool: A server pool is a set of tightly coupled group of servers (typically up to 32 servers) that hosts a set of Guest VMs. The servers are assumed to be largely homogeneous in capabilities and in connectivity. High Availability and Live Migration is permitted within a server pool boundary. Each server pool needs to have access to a shared storage subsystem (which could just be an NFS mount point) to facilitate live migration. In addition, access to a clustered file system may be required to maintain the HA heartbeat file.
Storage Entity: A storage entity is an individual file system or block store. Each storage entity is served by a storage pool. Some entities are free standing and will exist until they are deleted. Other storage entities that are associated with one or more Guest VMs are deleted when those VMs are retired.
Storage Pool: A storage pool is an abstract storage system that hosts a set of storage entities. A storage pool is generally implemented using a set of storage devices such as disks, SSDs, and storage servers.
The DBaaS and MWaaS Cloud structures consist of the following:
Before you enable or setup DBaaS or MWaaS, you must create a PaaS Infrastructure Zone which allows you to define the placement policy constraints for a specified set of targets and the users to whom this zone will be available.
Software Pool: A software pool is a set of homogeneous resources. You can create software pools for DBaaS and MWaaS. A Database Pool, which is created in DBaaS, is a collection of database homes, databases, or container databases depending on the type of cloud service model selected. You can create a Middleware Pool, used for MWaaS, which is a collection of middleware homes.
A software pool has the following constraints:
A target can belong to only one software pool.
The name of the software pool and the version cannot be modified after it has been created.
All targets in a software pool must be homogeneous.
A service template can use multiple zones but only one software pool within each zone.
Database Provisioning Profile: A database provisioning profile is an entity that captures source database information for provisioning. A profile can represent a complete database or a set of related schemas that form an application.
The TaaS solution is based on the IaaS platform. Before you set up TaaS, ensure that you have set up Enterprise Manager, and the IaaS components. To use TaaS with the Oracle Load Testing TestDriver, you must download this though the Enterprise Manager self-update.
Access to the Oracle Cloud features is either through the standard Enterprise Manager console, or the Self Service Portal, which is also part of Enterprise Manager.
Access to the rest of the Enterprise Manager functionality is restricted. This allows enterprises to safely implement Clouds without worrying about exposing the entire infrastructure to the end users.
Administrators will use the Enterprise Manager Cloud Control console to set up, monitor, and manage Cloud services. Each service is managed using a page specific to that service. For example, IaaS, DBaaS, MWaaS, and TaaS all have their own pages that can be accessed directly from the Cloud Summary page or from the Enterprise Manager menu.
The Enterprise Manager Cloud Summary page is a single pane that contains the summary of all Cloud services. Enterprise Manager enables a layer of abstraction that hides the underlying complexities of the application from the end-user. This abstraction is delivered via a self-service interface, both in Graphical User Interface (GUI) and Application Programming User Interface (API).
To directly manage the Cloud infrastructure, Enterprise Manager provides an out-of-the-box Self Service Portal that allows self-service users to access Cloud services (provisioning applications) without IT intervention. It provides several pre-packaged virtual assemblies and templates for on-demand provisioning, tracks usage of services and resources, and allows data to be used for Chargeback reports and capacity planning.
The Self Service Portal is the Home Page for the self service user. Users who have the necessary privileges can navigate between Services pages by clicking the appropriate radio button. How you use the Portal will vary depending on the type of service you are managing.