Вы находитесь на странице: 1из 22

2/15/2013

Enterprise Manager 12c


Cloud Management API

1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Table of Contents

 EM 12c Cloud Management Solution

 Cloud Management APIs

– Why use APIs?

– REST APIs

– Supported Operations

– Resource Models and Specifications

– Examples

– References and Industry Standards


2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

1
2/15/2013

Complete Cloud Lifecycle Management


Plan
• Meter resource utilization and
Optimize
• Identify all IT assets
cloud usage • Decide apps, cost models,
• Optionally chargeback to policies, roles&
application owners, end-users, Meter & Setup • Consolidation planning (P2V,
and/or business departments P2E, DB, App..)
• Optimize cloud performance,
Charge
• Setup infrastructure&
capacity, QOS, agility, • Setup shared services (IaaS,
geography, people, costs& Applications and
DBaaS, PaaS, Apps)
Business Services
Platform as a Service
DBaaS MWaaS
• Self-Service resource Manage Build
management
• Cloud resource and request Infrastructure as a
monitoring Service
• Application to Disk stack • Assemble using shared
management components
• Centralized incident and • Test applications
configuration management Test • Deploy apps through self
• End-user , business-level , service GUI/API
application monitoring Monitor

Deploy

3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Self-Service Access, Metering & Chargeback


 Infrastructure-as-a-Service (IaaS)
– x86 and SPARC
 Platform-as-a-Service (PaaS)
– Database (DBaaS), Java,3.
– Physical and virtual environment support
 Application-to-Disk resource metering
 Chargeback/Showback
 Out-of-box Portal and RESTful APIs

4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

2
2/15/2013

Cloud Management API


Why use APIs?

 Integrate existing IT
infrastructures and resources
with cloud workflows
 Connecting different cloud
services together
 Create a custom self service
portal for cloud workflows

5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Cloud Management API Industry Standards


Reducing friction among clouds

 Oracle Cloud Standards Team is participating in and driving adoption of Oracle Cloud
API in emerging industry cloud standards
 As these standards are released, adopted by ISO and receive market adoption Oracle
will implement for EM and other products
 Three Cloud API standards
 Cloud Storage: Cloud Data Management Interface (CDMI) from the Storage Networking
Industry Association (SNIA); recently adopted by ISO
 IaaS: Cloud Infrastructure Management Interface (CIMI) from the Distributed Management
Task Force (DMTF); Release 1.0 issued, release 1.1 in development.
 PaaS: Cloud Application Management for Platforms (CAMP) from the Organization for the
Advancement of Structured Information Standards (OASIS); release 1.0 in development.

6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

3
2/15/2013

Cloud Management API


Examples of when to use APIs

 Deploying databases and Oracle VM assemblies from custom-built


self-service consoles
 Integration into a bigger orchestration flow, such as a provisioning
preceded with approval workflows
 Deploying databases and Oracle VM assemblies from service desks
 As a part of public clouds for integration with the tenant management
systems

7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Cloud Management API


REST APIs

 EM 12c exposes REST APIs for operations that can be performed by a cloud
self service user
 The RESTful API enables integration to perform the following:
– Browse templates that contain definitions and metadata of a logical unit of service
– Deploy a template into the cloud and form an IT topology on demand
– Perform operations (such as ONLINE, OFFLINE) on the resources
 The API is based on the HTTP (version 1.1) protocol and GET, POST, PUT,
and DELETE requests are all used

8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

4
2/15/2013

Cloud Management API


Resource Models
 Representations of the resources that the API operates on
 Cloud resource representations are made up of name=value fields, encoded
using a JavaScript Object Notation (JSON) dictionary
 Each type of cloud resource has its own Internet Media Type
– application/oracle.com.cloud.<service_family>.Xxxxxxxx+json
 Cloud resources are organized by common service entities
– specific services (e.g. IaaS or DBaaS) extend common service entities
where appropriate

9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Infrastructure as a Service
(IaaS)

10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

5
2/15/2013

Requirements
Infrastructure as a Service on x86

 Licenses
– Oracle Cloud Management Pack for Oracle Database for Database Assemblies
– Oracle Cloud Management Pack for Oracle Middleware for Weblogic Assemblies
– Template provisioning is part of base Enterprise Manager

 Product Version:
– EM 12cR2

11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Model
Infrastructure as a Service (IaaS)
• VM Template: Oracle VM
Template

• Assembly Template: Oracle


Virtual Assembly (OVA)

• VM: Guest Virtual Machine

• Assembly Instance: Result of


Oracle Virtual Assembly (OVA)
deployment

• IaaS Zone: IaaS Zone that allows


Oracle VM Template and OVA
deployments

12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

6
2/15/2013

Resource Model
IaaS Resource Specifications

URI
Resource Media Type
[https://example.us.oracle.com]

Cloud /em/cloud application/oracle.com.cloud.common.Cloud+json

IaaS Zone /em/cloud/iaas/zone/<zone id> application/oracle.com.cloud.common.iaas.Zone+json

VM Template
/em/cloud/iaas/servicetemplate/vm/<template id> application/oracle.com.cloud.common.VMTemplate+json
[Service Template]
Assembly Template
/em/cloud/iaas/servicetemplate/assembly/<template id> application/oracle.com.cloud.common.AssemblyTemplate+json
[Service Template]
VM
/em/cloud/iaas/server/byrequest/<request id> application/oracle.com.cloud.common.VM+json
[Service Instance]
Assembly Instance
/em/cloud/iaas/assemblyrequest/<request id> application/oracle.com.cloud.common.AssemblyInstance+json
[Service Instance]

13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Supported Operations
Infrastructure as a Service (IaaS)
 List all IaaS Zones in the Cloud
 List all Service Templates (are either VM Templates and Assembly Templates)
 List all Service Instances (are either VMs or Assembly Instances)
 Request Service Instances in a IaaS Zone
 Deploy VM Templates or Assembly Templates
 Change VM status
 Change VM size
 Delete Service Instances

14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

7
2/15/2013

Supported Operations
Infrastructure as a Service (IaaS)

Operations
Resource Description
GET POST PUT DELETE

Cloud Represents the user's starting view of all accessible resources    


Is an infrastructure boundary within which IaaS servicies can be
IaaS Zone
deployed.    
VM Template Represents an Oracle VM Template, which is essentially a
[Service Template] packaged virtual machine image    
Assembly Template Represents a multi-tier application packaging built using Oracle
[Service Template] Virtual Assembly (OVA) Builder tool.    
VM
[Service Instance]
Represents a single Guest Virtual Machine    
Assembly Instance
[Service Instance]
Represents one instance of an assembly deployment    

15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Examples
Creating a service instance: VM Creation

URL:
https://example.oracle.com/em/cloud/iaas/zone/D73AF0D42C8459E11419862797D1F37D

There are two ways to Headers:


Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
provision a VM: Content-Type: application/oracle.com.cloud.common.VM+json

1. POST to the IaaS Zone within Body:


{
which the VM is to reside "based_on":"/em/cloud/iaas/servicetemplate/vm/
oracle%3AdefaultService%3Aem%3Aprovisioning%3A1%3Acmp%
Inputs: 3AVirtualization%3ATemplate%3AC76CEB5563EA5E13E040578CDA817FAF%3A0.1",
"cpu" : [2,0],
• VM template "memory" : "512",
• CPU and Memory "params":{
• VM name prefix "server_prefix":"ZONEPOST",
"vnc_password":"welcome1",
• VNC and root passwords "root_password":"welcome1"
}
}

16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

8
2/15/2013

Examples
Creating a service instance: VM Creation (Cont'd)

URL:
https://example.oracle.com/em/cloud/iaas/servicetemplate/vm/oracle%3AdefaultServ
ice%3Aem%3Aprovisioning%3A1%3Acmp%3AVirtualization%3ATemplate%3AC76CEB5563EA5E13
E040578CDA817FAF%3A0.1
2. POST to the VM Template Headers:
from which the VM is to be Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
deployed Content-Type: application/oracle.com.cloud.common.VM+json

Body:
Inputs: {
• IaaS Zone "zone":"/em/cloud/iaas/zone/D73AF0D42C8459E11419862797D1F37D",
"cpu" : [2,0],
• CPU and Memory "memory" : "512",
• VM name prefix "params":{
• VNC and root passwords "server_prefix":"STPOST",
"vnc_password":"welcome1",
"root_password":"welcome1"
}
}

17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Examples URL:
https://example.oracle.com/em/cloud/iaas/server/vm/C5CA59AF9386975E8AEA45B0F04
Changing VM Size 0F095?resource_state

Headers:
Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
Content-Type: application/oracle.com.cloud.common.VM+json

Body:
{
"cpu":[1,0], "memory":"1024"
The CPU and Memory of a VM }
can be adjusted to increase or
decrease the capacity. EXAMPLE RESPONSE

{
For example, to adjust the VM's "resource_state" : {
CPU to 1 vCPU and increase the "state" : "READY" ,
"messages" :
memory from 512 to 1024, a PUT [
request can be issued. {
"text" : "'PUT' resource operation on
'application/oracle.com.cloud.common.VM' identified by
'C5CA59AF9386975E8AEA45B0F040F095' is successfully submitted with reference
'106'" ,
"date" : "2012-08-20T01:15:28+0000"
}
]
}
}

18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

9
2/15/2013

Database as a Service
(DBaaS)

19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Requirements
Database as a Service

 Licenses
– Oracle Cloud Management Pack for Oracle Database

 Product Version:
– EM 12cR2 with Oracle Cloud Application plug-in 12.1.0.4 and patch 16085618
– EM 12cR2 with Oracle Cloud Application plug-in 12.1.0.5*

*API support for Schema-aaS is planned

20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

10
2/15/2013

Supported Operations
Database as a Service

 List all PaaS infrastructure zones (or just zone) used for DBaaS
 List all database service templates
 List all databases
– Deployed to a zone
– Deployed using a database service template
 Request databases by deploying service templates
 Monitor and manage databases
 Delete databases

21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Models
Database as a Service
DB Platform Template
• Database Service Template

DB Platform Instance
• Single Instance or RAC
Database

DBaaS Zone
• PaaS Infrastructure Zone
that allows Database requests

22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

11
2/15/2013

Resource Models
DBaaS REST Operations

Operations
Resource Description
GET POST PUT DELETE

A cloud represents the user's starting view of all accessible


Cloud
resources    
Service Family Type A service family type is a category of services that are offered
by the cloud. For example, IaaS, DBaaS, MWaaS, etc. These
categories are predefined.
   
A DBaaS zone represents a logical boundary where the
DBaaS Zone resources may reside to support deployment of database
services
   
DB Platform Template A DB platform template represents the definition of the
[Service Template] deployable database service    
DB Platform Instance A DB platform instance describes the metadata about
[Service Instance] databases deployed using the service templates.    

23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Models
DBaaS Resource Specifications

URI
Resource Media Type
[https://example.us.oracle.com]

Cloud /em/cloud application/oracle.com.cloud.common.Cloud+json

Service Family Type


/em/cloud/service_family_type/dbaas application/oracle.com.cloud.common.ServiceFamilyType+json

DBaaS Zone /em/cloud/dbaas/zone/<zone id> application/oracle.com.cloud.common.DbZone+json

DB Platform Template
/em/cloud/dbaas/dbplatformtemplate/<template id> application/oracle.com.cloud.common.DbPlatformTemplate+json
[Service Template]

DB Platform Instance
/em/cloud/dbaas/dbplatforminstance/byrequest/<request id> application/oracle.com.cloud.common.DbPlatformInstance+json
[Service Instance]

24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

12
2/15/2013

Examples
Creating a DB Platform Instance: DB Creation

URL:
https://example.oracle.com/em/cloud/dbaas/zone/82CF1C28FA20A183C99D138FF8065F19
There are two ways to
provision a Database Headers:
Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
service: Content-Type: application/oracle.com.cloud.common.DbPlatformInstance+json
Accept: application/oracle.com.cloud.common.DbPlatformInstance+json
1. POST to the DBaaS Zone on
Body:
which DB is to reside. {
"based_on":
Inputs: "/em/cloud/dbaas/dbplatformtemplate/CC3BBB665A6BC6FFE040F00AEF252456",
"name": "<Request name>",
• DB platform template "description": "<Request Description>",
• Request name "params":
• Request description {
"username": "Master Account username for the DB",
• Master account username "password": "Password for the Master Account on the DB"
and password }
}

25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Examples
Creating a DB Platform Instance: DB Creation (Cont'd)

URL:
https://example.oracle.com/em/cloud/dbaas/dbplatformtemplate/CC3BBB665A6BC6FFE04
0F00AEF252456

2. POST to the DB Platform Headers:


Template of which the DB is Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
Content-Type: application/oracle.com.cloud.common.DbPlatformInstance+json
to be based on. Accept: application/oracle.com.cloud.common.DbPlatformInstance+json

Inputs: Body:
{
• DBaaS Zone "zone": "/em/cloud/dbaas/zone/82CF1C28FA20A183C99D138FF8065F19",
• Request name "name": "<Request name>",
• Request description "description": "<Request Description>",
"params":
• Master account username {
and password "username": "Master Account username for the DB",
"password": "Password for the Master Account on the DB"
}
}

26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

13
2/15/2013

Examples URL:
https://example.oracle.com/em/cloud/dbaas/dbplatforminstance/byrequest/7

GET Database Status Headers:


Authorization: basic ZGVtb3VzZXI6ZGVtb3VzZXI=
Accept: application/oracle.com.cloud.common.DbPlatformInstance+json

The Database could be in


EXAMPLE RESPONSE
different states: {
"uri": "/em/cloud/dbaas/dbplatforminstance/byrequest/7",
1. Scheduled "name": "DBbbfc45.server1.example.com",
"resource_state":
2. Creating {
3. Ready / Running "state": "READY"
4. Deleting },
"context_id": "7",
"media_type":
"application/oracle.com.cloud.common.DbPlatformInstance+json",
"status": "RUNNING",
To get database status, perform
"created": "2012-10-18 05:00:02",
a GET on the DB Platform "based_on":
Instance resource. /em/cloud/dbaas/dbplatformtemplate/CC3BBB665A6BC6FFE040F00AEF252456",
"connect_string":
"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=server1.example.com)(
PORT=1521)))(CONNECT_DATA=(SID=DBbbfc45)))",
"database Type": "oracle_database",
"destination_zone":
"/em/cloud/dbaas/zone/82CF1C28FA20A183C99D138FF8065F19",
"total_sessions": "28“ . . . .

27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Java as a Service
(JaaS)

28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

14
2/15/2013

Requirements
Java as a Service

 Licenses
– Oracle Cloud Management Pack for Oracle Middleware

 Product Version:
– EM 12cR2 with Oracle Cloud Application plug-in 12.1.0.5

29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Supported Operations
Java as a Service
 List all PaaS infrastructure zones (or just zone) used for JaaS
 List all Java Service Templates
 List all Java Instances
– Deployed to a zone
– Deployed using a Java Service Template

 Request Java Platform Instance by deploying service templates


 Monitor and manage Java Instance
 Delete Java Instance

30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

15
2/15/2013

Supported Operations
Java as a Service (cont’d)

 Deploy / un-deploy application to / from Java Instance


 Add / remove datasource for Java Instance
 Start / stop Java Instance
 Start / stop application

31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Models
Java as a Service

Java Platform Template


• Middleware Service
Template

Java Platform Instance


•Single Middleware
instance

JaaS Zone
• PaaS Infrastructure Zone
that allows Java requests

32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

16
2/15/2013

Resource Models
JaaS REST Operations

Operations
Resource Description
GET POST PUT DELETE

A cloud represents the user's starting view of all accessible


Cloud
resources    
Service Family Type A service family type is a category of services that are offered
by the cloud. For example, IaaS, DBaaS, MWaaS, etc. These
categories are predefined.
   
A JaaS zone represents a logical boundary where the
JaaS Zone resources may reside to support deployment of middleware    
services

Java Platform Template A Java platform template represents the definition of the
[Service Template] deployable middleware service    
Java Platform Instance A Java platform instance describes the metadata about
[Service Instance] databases deployed using the service templates.    

33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Models
JaaS REST Operations

Operations
Resource Description
GET POST PUT DELETE

Application Instance
Component
Represents the application component in the software library    
Application Instance Represents an instance of the Component Deployed in a
Deployment Middleware    

Data Source Data Source instance created on the middleware    

34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

17
2/15/2013

Resource Models
JaaS Resource Specifications

URI
Resource Media Type
[https://example.us.oracle.com]

Cloud /em/cloud application/oracle.com.cloud.common.Cloud+json

Service Family Type /em/cloud/service_family_type/jaas application/oracle.com.cloud.common.ServiceFamilyType+json

JaaS Zone /em/cloud/jaas/zone/<zone id> application/oracle.com.cloud.common.Zone+json

JaaS Platform Template


/em/cloud/jaas/javaplatformtemplate/<template id> application/oracle.com.cloud.jaas.JavaPlatformTemplate+json
[Service Template]

JaaS Platform Instance


/em/cloud/jaas/javaplatforminstance/<instance id> application/oracle.com.cloud.jaas.JavaPlatformInstance+json
[Service Instance]

35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Resource Models
JaaS Resource Specifications (Cont'd)

URI
Resource Media Type
[https://example.us.oracle.com]

Application Instance /em/cloud/jaas/applicationinstancecomponent/<app application/oracle.com.cloud.jaas.ApplicationInstanceComponent


Component component id> +json

Application Instance application/oracle.com.cloud.jaas.ApplicationInstanceDeploymen


/em/cloud/jaas/applicationinstancedeployment/<instance id>
Deployment t+json

Data Source /em/cloud/jaas/datasource/<datasource id> application/oracle.com.cloud.common.Zone+json

36 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

18
2/15/2013

Examples POST Request /em/cloud/jaas/javaplatformtemplate/D016AADD465462ACE040F20AD18167BA


Host: example.us.oracle.com
Authorization: Basic xxxxxxx
Creating a Accept: application/oracle.com.cloud.jaas.JavaPlatformInstance+json
Content-Type: application/oracle.com.cloud.jaas.JavaPlatformInstance+json

Java Platform Instance Body


{
"name" : “accountsinstance",
"zone" : "/em/cloud/jaas/zone/A1B44A4EBCC4563125D9D0A3AAE4FD51"

Response:
{
POST on "uri" : "/em/cloud/jaas/javaplatforminstancerequest/14" ,
"name" : “accountsinstance_Create_20120717_045804697" ,
JavaPlatformTemplate URI to "resource_state" : {
create JavaPlatformInstance "state" : "INITIATED" ,
"messages" :
[
{
Inputs: "text" : “progress" ,
• Name “date" : "2012-07-17T09:16:13+0000"
}
• zone ]
},
"context_id": "1”,
"media_type": "application/oracle.com.cloud.jaas.JavaPlatformInstance+json" ,
"service_family_type": "jaas" ,
"status": "SCHEDULED"
}

37 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

GET on URL
Examples httpd://example.oracle.com/em/cloud/jaas/javaplatforminstance/960A4A8244145EC7949303B4ECD650D
Headers
Authorization: Basic xxxxxxx
GET JaaS Instance Accept: application/oracle.com.cloud.jaas.JavaPlatformInstance+json

{
"uri" : "/em/cloud/jaas/javaplatforminstance/960A4A8244145EC7949303B4EC0" , "data_sources" : {
"name" : "jb__sd_platform_12_24_2012_13_38_28" , "media_type" : "application/oracle.com.cloud.jaas.DataSource+json" ,
"resource_state" : { "total" : "0" ,
"state" : "READY" "elements" :
}, [ ]
"context_id" : "960A4A8244145EC7949303B4ECD650D0" , },
"media_type" : "application/oracle.com.cloud.jaas.JavaPlatformInstance+json" , "jdbc_drivers" :
"service_family_type" : "jaas" , [
"status"
. : "RUNNING" , "com.ddtek.jdbc.oracle.OracleDriver" ,
"zone" : { "oracle.jdbc.xa.client.OracleXADataSource" ,
"uri" : "/em/cloud/jaas/zone/A1B44A4EBCC4563125D9D0A3AAE4FD51" , "oracle.jdbc.OracleDriver" ,
"name" : "Zone1" , "com.ddtek.jdbcx.oracle.OracleDataSource"
"context_id" : "A1B44A4EBCC4563125D9D0A3AAE4FD51" , ],
"media_type" : "application/oracle.com.cloud.jaas.Zone+json" , "server_count" : "1" ,
"service_family_type" : "jaas" "application_instance_deployments" : {
}, "media_type" :
"based_on" : { "application/oracle.com.cloud.jaas.ApplicationInstanceDeployment+json" ,
"uri" : "/em/cloud/jaas/javaplatformtemplate/D016AADD465462ACE040F20" , "total" : "0" ,
"name" : "PS4_LowHeapTemplate" , "elements" :
"context_id" : "D016AADD465462ACE040F20AD18167BA" , [ ]
"media_type" : "application/oracle.com.cloud.jaas.JavaPlatformTemplate+json" , }
"service_family_type" : "jaas" }
},

38 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

19
2/15/2013

Metering/Showback API

39 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Get Metering Data

emcli get_metering_data
[-start_date=<start date in mmddyyyy> [-end_date=<end_date in mmddyyyy>]] [ -
target_type=<target type> [-target_name= <target name> ] ] [ -cost_center=<cost center
emcli verb to retrieve name> ] [ -charge]
hourly data and perform:
Example:
•emcli get_metering_data -start_date=01152011 -end_date=02152011 -
• Rollup aggregation target_type=oracle_database: Returns metering information for all Oracle DB targets
• Integration with billing (active or enabled in Chargeback) that are owned by the logged in user, starting from 15th
January 2011 until the 15th February 2011
systems
• Showback over sliding •emcli get_metering_data -target_type=host target_name=my_host -
cost_center=organization1: Returns metering and charge information for "my_host" target
time windows (of type host) for the current report cycle for "organization1" cost-center

40 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

20
2/15/2013

Using Oracle’s Open API’s and Industry Standard APIs


APIs Allow Customers to Add Their Own Value

 As management applications are written to the API’s we comply with, the


application will work against multiple clouds
 Oracle strategy is to implement Oracle APIs first and Industry Standard
APIs as they mature and development schedules allow.
 Customer can feel secure in adopting our APIs without fear of being locked in –
competitors who do not implement standards cannot say this
 Standards enable portability
 allow data and compute workloads to move easily between clouds,
offering choice in best of breed offerings
 Standards also offer stability and discipline of version compatibility to the API

41 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

References

 Specifications and Standards


– Specific contributions have been made in
 Cloud Application Management for Platforms (CAMP) for PaaS
 Cloud Infrastructure Management Interface (CIMI) for IaaS
 Collateral
– Cloud Management Page on OTN
– Cloud Administration Guide

42 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

21
2/15/2013

43 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

22

Вам также может понравиться