Topic
1 reply Latest Post - ‏2013-03-13T10:01:29Z by SystemAdmin
SystemAdmin
SystemAdmin
17 Posts
ACCEPTED ANSWER

Pinned topic Unable to create virtual server through API call

‏2013-01-15T12:46:19Z |
I am trying to create the Virtual server on VMware virtual environment:

API CALL : Post https://<<hostname>>:8422/ibm/director/rest/VMControl/hosts/6197/virtualServers
{
"virtualServer":{
"properties":[
{
"name": "name",
"value": "VM03"
},
{
"name": "gos",
"value": "15"
},
{
"name": "cpu",
"value": 1
},
{
"name": "memsize",
"value": 1024
},
{
"name": "memunitsize",
"value": "MB"
},
{
"name": "existingdisks",
"value": "VM1"
},
{
"name": "ethernet",
"value": "Discovered/VM Network/0"
}
]
}
}

Below is the error:

http://DNZVMK154E You must add an existing disk or create a new disk.

Please correct!
Updated on 2013-03-13T10:01:29Z at 2013-03-13T10:01:29Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    17 Posts
    ACCEPTED ANSWER

    Re: Unable to create virtual server through API call

    ‏2013-03-13T10:01:29Z  in response to SystemAdmin
    Please provide the ISD API version number.
    Please provide which version of VMC is installed there.
    Please provide the response output for GET https://<<hostname>>:8422/ibm/director/rest/VMControl/hosts/6197/virtualServers/customization