APIPythonOpen-Source Solutions

 View Only
  • 1.  API Creating Oracle RAC Environment

    Posted 05-02-2018 08:10:00 AM
    Hello, 

    I am trying to add an Oracle Cluster Environment through API but I'm having some trouble with it. 

    I am using the following json:

    {
    "type": "OracleClusterCreateParameters",
    "primaryUser": {
    "type": "EnvironmentUser",
    "name": "user",
    "credential": {
    "type": "PasswordCredential",
    "password": "pass"}
    },
    "cluster": {
    "crsClusterName": "ClusterEnv",
    "crsClusterHome": "clusterhomepath",
    "type": "OracleCluster"},
    "nodes": [
    {
    "type": "OracleClusterNodeCreateParameters",
    "hostParameters": {
    "type": "UnixHostCreateParameters",
    "host": {
    "type": "UnixHost",
    "toolkitPath": "tookitpath",
    "address": "node1ip"}}
    },
    {
    "type": "OracleClusterNodeCreateParameters",
    "hostParameters": {
    "type": "UnixHostCreateParameters",
    "host": {
    "type": "UnixHost",
    "toolkitPath": "toolkitpath",
    "address": "node2ip"}}
    }]
    }


    and I'm getting the following error: 

    ENVIRONMENT_CREATE job for "ClusterEnv" failed due to an internal error during execution.
    Contact Delphix Support.

    On the other hand, when I manually add the environment I don't get any error.

    Can anybody help me with this?

    Thank you, 
    Mary




  • 2.  RE: API Creating Oracle RAC Environment

    Posted 05-02-2018 08:15:00 AM
    Hi Mary,

    An internal error message suggests an unexpected fault, we'd need to look through the debug logs from the Virtualization Engine to determine why it's failing. If the input JSON was simply invalid you should have received a more meaningful response from the API.

    Can you please raise a Support case for this, upload a new Support Bundle, and we'll investigate.

    Best Regards,

    Scott.


  • 3.  RE: API Creating Oracle RAC Environment

    Posted 05-02-2018 11:56:00 AM
    Thank you Scott.
    We just opened a support case as you suggested.

    Regards, 
    Mary


  • 4.  RE: API Creating Oracle RAC Environment

    Posted 05-02-2018 12:01:00 PM
    Thanks Mary, I have taken ownership of the case, I will investigate.

    Best Regards,

    Scott.