Thursday, June 30, 2016

Wednesday, June 15, 2016

Oracle Data Guard configuration

With June release, two options for Oracle Data Guard configuration are now available!

High Availability
The primary and standby database are automatically placed in different availability domains to provide isolation at the infrastructure level.

Disaster Recovery
The primary and standby database are automatically placed in different data centers to provide isolation at the infrastructure level and geographical separation to provide availability in the event of catastrophic events.

ABCS Youtube Channel

ABCS (Application Builder Cloud Service) Youtube channel is available at
https://www.youtube.com/channel/UCFMTiIZAE6f3Ib91sY6Ms3g

Tuesday, June 7, 2016

Create DBCS Instance using REST API

Since my previous post, REST API changed !
The following shows how to create an Oracle Database Cloud Service instance 12g using the REST API:

Documentation:

https://docs.oracle.com/cloud/latest/dbcs_dbaas/CSDBR/op-paas-service-dbcs-api-v1.1-instances-%7BidentityDomainId%7D-post.html#examples

Command:

curl --include --request POST --cacert "D:\Distribs\cacert.pem" --user "user:my_password" --header "X-ID-TENANT-NAME:my_identity_domain" --header "Content-Type:application/json" --data "@D:\OPC_Demo\createMyDB.json" https://dbcs.emea.oraclecloud.com/paas/service/dbcs/api/v1.1/instances/my_identity_domain

Result




createMyDB.json file :

 {
  "serviceName": "DB12RESTDemo",
  "version": "12.1.0.2",
  "level": "PAAS",
  "edition": "EE",
  "subscriptionType": "MONTHLY",
  "description": "VM Created using REST API",
  "shape": "oc3",
  "vmPublicKeyText": "ssh-rsa AAAAB3NzaKvGXmw== rsa-key-20150105",
  "parameters": [
    {
      "type": "db",
      "usableStorage": "15",
      "adminPassword": "Manager12#",
      "sid": "ORCL",
      "pdb": "PDB1",
      "failoverDatabase": "no",
      "backupDestination": "NONE"
    }
  ]
  }
}}


Monday, June 6, 2016

Oracle Management Cloud 16.2.5 Release

Oracle announced the availability of 16.2.5 release of the Oracle Management Cloud.
In the 16.2.5 release there are following key updates:
  • Application Performance Monitoring Cloud Service
    Expanded Platform Coverage [.NET, JBoss, and SOA Suite] 
  • Log Analytics Cloud Service
    User Defined Extended Fields & Inline Condition Evaluation with Labels
    Search Enhancements and UI Improvements
    Additional Out-of-Box Parsers and Log Sources

Sunday, June 5, 2016

Private Cloud : Easy Cloud Deployment with Oracle Private Cloud Appliance

Don't miss this new webcast on how Oracle Private Cloud Appliance (PCA) with Enterprise Manager 13c make enabling cloud deployments easier than ever.

Date: Tuesday, May 31, 2016
Time: 02:00 PM Pacific Daylight Time

Join the event by clicking on the URL below.:
http://event.on24.com/wcc/r/1128148/96221CD94E914C8FE2B0099B35CD611A

Wednesday, June 1, 2016

Orchestration

An orchestration defines the attributes and interdependencies of a collection of compute, networking, and storage resources in Oracle Compute Cloud Service.

In the following example, we use orchestration to automate the provisioning of an entire virtual compute topology


jpporch_networking.json
{
  "relationships" : [ ],
  "account" : "/Compute-YOURIDENTITYDOMAIN/default",
  "description" : "",
  "schedule" : {
    "start_time" : "2016-06-01T08:35:52Z",
    "stop_time" : null
  },
  "oplans" : [ {
    "obj_type" : "ip/reservation",
    "ha_policy" : "",
    "label" : "ip_jpporch",
    "objects" : [ {
      "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/ip_jpporch",
      "parentpool" : "/oracle/public/ippool",
      "permanent" : true
    } ]
  } ],
  "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_networking"
}



jpporch_storage.json
{
  "relationships" : [ ],
  "account" : "/Compute-
YOURIDENTITYDOMAIN/default",
  "description" : "",
  "schedule" : {
    "start_time" : "2016-06-01T08:35:52Z",
    "stop_time" : null
  },
  "oplans" : [ {
    "obj_type" : "storage/volume",
    "ha_policy" : "",
    "label" : "jpporch_storage",
    "objects" : [ {
      "account" : "/Compute-
YOURIDENTITYDOMAIN/default",
      "managed" : true,
      "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_storage",
      "tags" : [ ],
      "bootable" : true,
      "hypervisor" : null,
      "description" : "",
      "quota" : null,
      "uri" : null,
      "imagelist_entry" : 2,
      "snapshot" : null,
      "machineimage_name" : "/oracle/public/OL_6.6_20GB_x11-1.3.0-20160409-041817",
      "shared" : false,
      "imagelist" : "/oracle/public/OL-6.6-20GB-x11-RD",
      "writecache" : false,
      "properties" : [ "/oracle/public/storage/default" ],
      "size" : "23622320128"
    } ]
  } ],
  "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_storage"
}



jpporch_instance.json
{
  "relationships" : [ ],
  "account" : "/Compute-
YOURIDENTITYDOMAIN/default",
  "description" : "",
  "schedule" : {
    "start_time" : "2016-06-01T08:36:20Z",
    "stop_time" : null
  },
  "oplans" : [ {
    "obj_type" : "launchplan",
    "ha_policy" : "",
    "label" : "jpporch_instance",
    "objects" : [ {
      "instances" : [ {
        "networking" : {
          "eth0" : {
            "seclists" : [ "/Compute-
YOURIDENTITYDOMAIN/default/default" ],
            "nat" : "ipreservation:/Compute-
YOURIDENTITYDOMAIN/USERNAME/ip_jpporch"
          }
        },
        "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch/159b0b26-448a-4293-b898-965fbbf68948",
        "storage_attachments" : [ {
          "volume" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_storage",
          "index" : 1
        } ],
        "boot_order" : [ 1 ],
        "label" : "jpporch",
        "shape" : "oc3",
        "imagelist" : "/oracle/public/OL-6.6-20GB-x11-RD",
        "sshkeys" : [ "/Compute-
YOURIDENTITYDOMAIN/USERNAME/orchkey" ],
        "tags" : [ ]
      } ]
    } ]
  } ],
  "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_instance"
}



jporch_master
{
  "relationships" : [ {
    "to_oplan" : "jpporch_storage",
    "oplan" : "jpporch_instance",
    "type" : "depends"
  } ],
  "account" : "/Compute-
YOURIDENTITYDOMAIN/default",
  "description" : "",
  "schedule" : {
    "start_time" : "2016-06-01T08:35:50Z",
    "stop_time" : null
  },
  "oplans" : [ {
    "obj_type" : "orchestration",
    "ha_policy" : "",
    "label" : "jpporch_storage",
    "objects" : [ {
      "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_storage",
      "uri" : null
    } ]
  },
  {
    "obj_type" : "orchestration",
    "ha_policy" : "",
    "label" : "jpporch_networking",
    "objects" : [ {
      "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_networking",
      "uri" : null
    } ]
  },  {
    "obj_type" : "orchestration",
    "ha_policy" : "",
    "label" : "jpporch_instance",
    "objects" : [ {
      "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_instance",
      "uri" : null
    } ]
  } ],
  "name" : "/Compute-
YOURIDENTITYDOMAIN/USERNAME/jpporch_master"
}