Topic
7 replies Latest Post - ‏2011-08-12T05:17:04Z by geeta_gokhale
geeta_gokhale
geeta_gokhale
15 Posts
ACCEPTED ANSWER

Pinned topic REST API - Create new Virtual Server

‏2011-08-11T10:56:37Z |
I am trying out samples for using REST API with SDMC.
I am able to fetch the list virtual servers(lpars)and browse through them

can anybody tell me how to create a virtual server through API?
is PUT supported?

Thanks.
Updated on 2011-08-12T05:17:04Z at 2011-08-12T05:17:04Z by geeta_gokhale
  • SystemAdmin
    SystemAdmin
    39 Posts
    ACCEPTED ANSWER

    Re: REST API - Create new Virtual Server

    ‏2011-08-11T13:37:11Z  in response to geeta_gokhale
    The REST API on SDMC doesn't support creating virtual servers. That function is provided by VMControl which is not part of the SDMC. The REST API functions are limited to what is available in base Director (Express - no advanced managers).

    To create virtual servers, you will need to use the CLI (mksyscfg -r lpar).
    • geeta_gokhale
      geeta_gokhale
      15 Posts
      ACCEPTED ANSWER

      Re: REST API - Create new Virtual Server

      ‏2011-08-11T16:09:45Z  in response to SystemAdmin
      Thanks so much Amartey.

      Now if I install VMControl plugin, will I be able to use REST api?
      or it is not at all supported.

      also is there a plan to support this is near future ?

      Thanks again.
      • geeta_gokhale
        geeta_gokhale
        15 Posts
        ACCEPTED ANSWER

        Re: REST API - Create new Virtual Server

        ‏2011-08-11T16:35:01Z  in response to geeta_gokhale
        also how do I know if I have VMControl installed on my SDMC setup?
      • geeta_gokhale
        geeta_gokhale
        15 Posts
        ACCEPTED ANSWER

        Re: REST API - Create new Virtual Server

        ‏2011-08-11T16:35:02Z  in response to geeta_gokhale
        also how do I know if I have VMControl installed on my SDMC setup?
      • SystemAdmin
        SystemAdmin
        39 Posts
        ACCEPTED ANSWER

        Re: REST API - Create new Virtual Server

        ‏2011-08-11T16:38:13Z  in response to geeta_gokhale
        Like the HMC, SDMC is a closed appliance - it is not possible to install additional software in SDMC.

        As far as future plans, I can point you to the Statement of Direction made in the announce letter:

        http://www-01.ibm.com/common/ssi/ShowDoc.jsp?docURL=/common/ssi/rep_ca/1/897/ENUS211-101/index.html#h2-sodx
        • geeta_gokhale
          geeta_gokhale
          15 Posts
          ACCEPTED ANSWER

          Re: REST API - Create new Virtual Server

          ‏2011-08-11T16:57:43Z  in response to SystemAdmin
          ok, I found this..

          http://publib.boulder.ibm.com/infocenter/director/sdk/index.jsp?topic=/com.ibm.vmcontrol.ws.doc/html/vmc2_2_api_sdk.html

          but I guess its in initial stage.
  • geeta_gokhale
    geeta_gokhale
    15 Posts
    ACCEPTED ANSWER

    Re: REST API - Create new Virtual Server

    ‏2011-08-12T05:17:04Z  in response to geeta_gokhale
    Thanks.