Skip Headers
Oracle® Enterprise Manager Cloud Administration Guide
12c Release 4 (12.1.0.4)

E28814-12
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

11 Setting Up the PaaS Infrastructure

The PaaS model allows users to create platforms onto which consumers can deploy their own applications. A platform resource is typically comprised of a host, operating system, and application server, and may be virtualized. The platform may also include a database and even multiple hosts in a cluster.

This chapter covers the common self service operations that need to be performed to enable Platform as a Service (PaaS), which encompasses Database as a Service (DBaaS) using Oracle Single Instance, and RAC or Middleware as a Service (MWaaS) using WebLogic Server. These common tasks must be completed before setting up either DBaaS or MWaaS.

The chapter contains the following sections:

11.1 Getting Started

This section helps you get started by providing an overview of the steps involved in setting up Platform as a Service (PaaS).

Table 11-1 Getting Started

Step Task Role

2

Deploy the necessary plug-ins. See Section 3.2, "Deploying the Required Plug-ins"

Cloud Administrator

3

Define roles for administrators and self service users. See Section 3.3, "Defining Roles and Assigning Users".

Super Administrator

4

Install the Management Agent on unmanaged hosts so that they can be monitored by Enterprise Manager. Section 11.2, "Adding Hosts".

Cloud Administrator

5

Create PaaS Infrastructure zones. See Section 11.3, "Creating a PaaS Infrastructure Zone".

Cloud Administrator


11.2 Adding Hosts

Oracle Management Agent (Management Agent) is one of the core components of Enterprise Manager Cloud Control. It works in conjunction with the plug-ins to monitor the targets running on a managed host. You must install Oracle Management Agents on your unmanaged hosts to monitor them in Enterprise Manager.

To install the Management Agent on an unmanaged server, follow these steps:

  1. Log in to Enterprise Manager as a user with the EM_CLOUD_ADMINISTRATOR role.

  2. From the Setup menu, select Add Target, then select Add Target Manually.

  3. Select the Add Host Targets option and click Add Host.

  4. Add the host names and select the platform. Check the Self Update console, if the Agent software for the desired platform is listed as not available, click Next.

  5. Enter the Agent Install location by clicking the Instance directory field to auto-generate the path, create a named credential for the agent user (provide access to root user either by using sudo or pbrun), and clear the value in the port field (this will enable automatic selection of the port), click Next.

  6. Review all entered values, and click Deploy Agent.

  7. Track the progress of agent deployment on the Add Host Status page. The agent deployment takes between 5-10 minutes.

  8. Select Targets, then select Hosts to navigate to the Hosts page. Confirm if all the hosts are listed on the page.

Note:

  • If the Management Agent does not have Fusion Middleware 12.1.0.3 GC FMW Plug-in for monitoring, the following options will not work:

    - Create and Delete Data Sources

    - Start and Stop Applications

    - View List of Data Sources

    - View Application URLs

  • Verify if the Oracle Fusion Middleware Plug-in has been successfully deployed. From the Setup menu, select Extensibility, then select Plug-ins. Select Oracle Fusion Middleware, then select Deploy On, then select Management Agent. Add the required agent on the target hosts and click Deploy.

11.3 Creating a PaaS Infrastructure Zone

A PaaS Infrastructure Zone can contain a group of resources such as OVM zones or hosts. Each zone can contain homogeneous resources of only one type (hosts or OVM zones). Each resource in a zone represents a location at which a service instance is to be deployed.

The first step in building a PaaS cloud is to create at least one PaaS Infrastructure Zone, which is done by selecting one more Enterprise Manager host targets and identifying the SSA enabled roles that users will need to in order to request resources in this zone.

Figure 11-1 PaaS Infrastructure Zone

PaaS Representation

Prerequisites

Before you create a PaaS Infrastructure Zone, you must ensure that the following prerequisites are met:

  • The EM_CLOUD_ADMINISTRATOR, EM_SSA_ADMINISTRATOR, and EM_SSA_USER roles must have been created. See Section 3.3, "Defining Roles and Assigning Users" for details.

  • Note:

    If you are using an OMS Shared System location in the Software Library, the credentials owner must grant privileges to the CLOUD_ENGINE_USER. Since the CLOUD_ENGINE_USER is a hidden user account, the owner of the named credential cannot grant View privileges from the Enterprise Manager Console. To address this issue, (especially on a Windows host where OMS Agent Filesystem is the recommended approach for setting up Software Library) you need to run the following EMCLI commands:

    emcli login -username=<username> -password =<password>

    emcli grant_privs -name=CLOUD_ENGINE_USER -privileges="GET_CREDENTIAL; CRED_NAME=<namedcred>:CRED_OWNER=<loginusername>

  • You must log in as a user with EM_CLOUD_ADMINISTRATOR privileges to create a PaaS Infrastructure Zone.

To create a PaaS Infrastructure Zone, follow these steps:

  1. From the Setup menu, select Cloud, then select PaaS Infrastructure Zones.

    Figure 11-2 Create PaaS Infrastructure Zone: Navigation

    Create PaaS Infrastructure Zone: Navigation
  2. In the PaaS Infrastructure Zones page, click Create. The Create PaaS Infrastructure Zone: General page appears.

    Note:

    You can also launch the Create PaaS Infrastructure Zone wizard from the Enterprise menu. From the Enterprise menu, select Cloud, then select Middleware and Database Home. From the Middleware and Database Cloud menu, select Create PaaS Infrastructure Zone.

    Figure 11-3 Create PaaS Infrastructure Zone: General

    Create PaaS Infrastructure Zone: General
  3. Enter a name and description for the zone.

  4. Select the Member Type which can be:

    • Host: If you select this type, only host targets can be part of this PaaS Infrastructure zone. You must specify appropriate values for the placement policy constraints based on the resources available to the members. The EM_CLOUD_ADMINISTRATOR can use the placement policy constraints to set maximum ceilings for any host in the zone. Placement policy values are used during deployment to filter out hosts that are overburdened. You can define the following placement policy constraints for each host:

      • Maximum CPU Utilization: The average CPU utilization percentage for the past 7 days.

      • Maximum Memory Allocation: The average memory allocation for the past 7 days.

      Hosts exceeding these thresholds will not be considered for provisioning operations.

    • OVM Zone: An Oracle VM Zone is a collection of virtual server pools that share storage. If you select this type, only Oracle VM Zone targets can be part of this PaaS Infrastructure zone.

  5. Click Next. The Create PaaS Infrastructure Zone page appears. If you selected the Member Type as Host, the following page appears:

    Figure 11-4 Create PaaS Infrastructure Zone: Targets

    Create PaaS Infrastructure Zone: Targets Page
  6. Specify the Named Credentials to be used for provisioning all the targets in this zone. Click the + icon to add new named credentials. The credentials you specify must be global credentials and valid on all host members present in the zone. Unless you explicitly click Test Credential, the credentials are not verified for all hosts in zone.

  7. In the Targets region, click Add to add one or more host targets to the zone. A target can be a host or an OVM Zone. For more information on OVM zones, see Section 5.15, "Creating a Zone" for details.

    Note:

    The host that you select cannot be used in more than one PaaS Infrastructure Zone.
  8. If you selected the Member Type as OVM Zone, click Add to add one or more Oracle VM Zone targets to the PaaS Infrastructure Zone.

  9. Click Next. The Create PaaS Infrastructure Zone: Roles page appears.

    Figure 11-5 Create PaaS Infrastructure Zone: Roles

    Create PaaS Infrastructure Zone: Roles Page
  10. A PaaS Infrastructure Zone can be made available to a restricted set of self service users with the EM_SSA_USER role. Click Add to add and select the roles that can access this PaaS Infrastructure Zone.

  11. Click Next. The Create PaaS Infrastructure Zone: Review page appears. Review the details of the zone being created and click Submit to create the zone. You will return to the Database and Cloud Home page.

    Note:

    You can use EMCLI commands to create a PaaS Infrastructure Zone. For more details, see Section 36.3.1.1, "Creating a PaaS Zone".

11.3.1 Editing a PaaS Infrastructure Zone

To edit a PaaS Infrastructure Zone, follow these steps:

  1. From the Setup menu, select Cloud, then select PaaS Infrastructure Zones. The PaaS Infrastructure Zones page appears.

  2. Select a PaaS Infrastructure Zone from the list and click Edit.

    Note:

    If you do not have access to or own the Named Credentials that have been defined for the PaaS Infrastructure Zone, you must specify new credentials.
  3. Follow the steps in the wizard to edit the necessary parameters and click Submit to accept the changes.

11.3.2 Deleting a PaaS Infrastructure Zone

To delete a PaaS Infrastructure Zone, follow these steps:

  1. From the Setup menu, select Cloud, then select PaaS Infrastructure Zones. The PaaS Infrastructure Zones page appears.

  2. Select a PaaS Infrastructure Zone from the list and click Delete.

  3. A confirmation message is displayed. Click Delete PaaS Infrastructure Zone to delete the zone.

11.4 Creating a PaaS Pool

The second step in building a PaaS cloud is to create software pools (for example, database or middleware Oracle Homes that exist on hosts within the PaaS Infrastructure Zone, or database instances for schema as a service). The figure below shows an example of a PaaS pool.

Figure 11-6 PaaS Pool

PaaS Pool

A PaaS pool must be a homogeneous collection of Oracle Homes of the same platform, type, and version. For example, Solaris 10 Oracle Database single instance version 10.2.0.5 or Oracle Enterprise Linux 5 x86-64 WebLogic Server version 10.3.6. You can create a Database Pool or a Middleware Pool.