Topic
  • 20 replies
  • Latest Post - ‏2015-12-03T14:03:17Z by amarthey
JCantu
JCantu
41 Posts

Pinned topic Rest API For PowerVM (HMC and/or IVM)

‏2014-02-25T21:36:45Z |

Hello,

I'm relatively new to PowerVM.  Does anyone out there know if there is a Rest API available to retrieve topology and performance metrics?  If so, is this something that would be an add-on or does it come with VIOS?  How easy is it to setup and are there any links you could share which might be helpful?


Thanks,
Jonathan

  • Amartey
    Amartey
    10 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-27T17:43:43Z  

    There currently is no formally documented REST API, however we do expect that to change at some point in the near future.  Once this is available, we'll include documentation.

    The current approach to obtaining data is via CLI.  The HMC & VIOS CLI in general are easily parse-able by scripts, producing CSV style output.

    - Amartey

    IBM Power Software Development

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-27T17:45:35Z  
    • Amartey
    • ‏2014-02-27T17:43:43Z

    There currently is no formally documented REST API, however we do expect that to change at some point in the near future.  Once this is available, we'll include documentation.

    The current approach to obtaining data is via CLI.  The HMC & VIOS CLI in general are easily parse-able by scripts, producing CSV style output.

    - Amartey

    IBM Power Software Development

    Thanks Amartey.  Where can I find out more about the HMC and VIOS CLI?  Is there documentation which covers this?

     

    Best Regards,
    Jonathan

  • Amartey
    Amartey
    10 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-27T17:57:31Z  
    • JCantu
    • ‏2014-02-27T17:45:35Z

    Thanks Amartey.  Where can I find out more about the HMC and VIOS CLI?  Is there documentation which covers this?

     

    Best Regards,
    Jonathan

    HMC CLI reference:

    http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=%2Fp7edm%2Fp7edm_kickoff.htm

    VIOS CLI reference:

    http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=%2Fiphcg%2Fiphcgkickoff_alphabetical.htm

    You can find examples of folks using this - for example the well regarded lpar2rrd tool:

    http://www.lpar2rrd.com/

     

    - Amartey

    IBM Power Software Development

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-27T18:06:17Z  
    • Amartey
    • ‏2014-02-27T17:57:31Z

    HMC CLI reference:

    http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=%2Fp7edm%2Fp7edm_kickoff.htm

    VIOS CLI reference:

    http://pic.dhe.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=%2Fiphcg%2Fiphcgkickoff_alphabetical.htm

    You can find examples of folks using this - for example the well regarded lpar2rrd tool:

    http://www.lpar2rrd.com/

     

    - Amartey

    IBM Power Software Development

     

    Thanks again Amartey.

    One final question if you don't mind.  In my search, I stumbled across this link on IBM's website:

    http://pic.dhe.ibm.com/infocenter/director/devsdk/topic/com.ibm.vmcontrol.ws.24.doc/html/vmc2_2_api_resources.html

    Have you heard of this product before?  It appears that it may be specific to VMWare but I'm not certain.

    Thanks!

     

  • Amartey
    Amartey
    10 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-27T18:29:22Z  
    • JCantu
    • ‏2014-02-27T18:06:17Z

     

    Thanks again Amartey.

    One final question if you don't mind.  In my search, I stumbled across this link on IBM's website:

    http://pic.dhe.ibm.com/infocenter/director/devsdk/topic/com.ibm.vmcontrol.ws.24.doc/html/vmc2_2_api_resources.html

    Have you heard of this product before?  It appears that it may be specific to VMWare but I'm not certain.

    Thanks!

     

    VMControl provides a higher level of virtualization management for PowerVM.  The new product we have not to fit this role is PowerVC which is an open-stack based product.  PowerVC will respond to the standard OpenStack REST API.

    http://www-03.ibm.com/systems/power/software/virtualization-management/

    - Amartey

    IBM Power Software Development

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-28T16:03:58Z  
    • Amartey
    • ‏2014-02-27T18:29:22Z

    VMControl provides a higher level of virtualization management for PowerVM.  The new product we have not to fit this role is PowerVC which is an open-stack based product.  PowerVC will respond to the standard OpenStack REST API.

    http://www-03.ibm.com/systems/power/software/virtualization-management/

    - Amartey

    IBM Power Software Development

     

    Thanks Amartey.

    Is VMControl a free product (or included with VIOS)?  Or is does it need to be purchased and installed independently of VIOS and other core components of the PowerVM software stack?



    Thanks,
    Jonathan

  • gcorneau
    gcorneau
    8 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-28T16:19:11Z  
    • JCantu
    • ‏2014-02-28T16:03:58Z

     

    Thanks Amartey.

    Is VMControl a free product (or included with VIOS)?  Or is does it need to be purchased and installed independently of VIOS and other core components of the PowerVM software stack?



    Thanks,
    Jonathan

    VMControl is a priced plug-in to IBM Systems Director, which is itself a priced product.  For a customer today with existing AIX Enterprise Edition license, IBM Systems Director Standard Edition (which itself includes VMControl) is included.

    http://www-03.ibm.com/systems/software/director/vmcontrol/index.html

    VMControl supports virtualization management of Power and x86 hypervisor environments, with varying capabilites depending on the hypervisor.

    Neither VMControl nor IBM Systems Director are part of the PowerVM license.

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-28T16:38:25Z  
    • gcorneau
    • ‏2014-02-28T16:19:11Z

    VMControl is a priced plug-in to IBM Systems Director, which is itself a priced product.  For a customer today with existing AIX Enterprise Edition license, IBM Systems Director Standard Edition (which itself includes VMControl) is included.

    http://www-03.ibm.com/systems/software/director/vmcontrol/index.html

    VMControl supports virtualization management of Power and x86 hypervisor environments, with varying capabilites depending on the hypervisor.

    Neither VMControl nor IBM Systems Director are part of the PowerVM license.

     

    So I really can't count 100% on that component being there?  Sound like my only option is to use the CLI.

     

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-02-28T17:09:58Z  
    • gcorneau
    • ‏2014-02-28T16:19:11Z

    VMControl is a priced plug-in to IBM Systems Director, which is itself a priced product.  For a customer today with existing AIX Enterprise Edition license, IBM Systems Director Standard Edition (which itself includes VMControl) is included.

    http://www-03.ibm.com/systems/software/director/vmcontrol/index.html

    VMControl supports virtualization management of Power and x86 hypervisor environments, with varying capabilites depending on the hypervisor.

    Neither VMControl nor IBM Systems Director are part of the PowerVM license.

    Hi gcorneau and Amartey,

     

    Mostly what I am looking for is to obtain topology and metrics (no management) of the PowerVM environment.  Would VMControl (REST API) be a good fit for this application or is my best option to stick with the CLI?

     

    Thanks,

    Jonathan

  • Amartey
    Amartey
    10 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-03-03T16:17:27Z  
    • JCantu
    • ‏2014-02-28T17:09:58Z

    Hi gcorneau and Amartey,

     

    Mostly what I am looking for is to obtain topology and metrics (no management) of the PowerVM environment.  Would VMControl (REST API) be a good fit for this application or is my best option to stick with the CLI?

     

    Thanks,

    Jonathan

    VMControl is not where you should be looking.  PowerVC is a better option - but it is an optional product for a customer.   It really depends on what you are trying to do - but likely your best bet is to go directly to the HMC CLI to obtain the data.

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-03-07T19:27:08Z  
    • Amartey
    • ‏2014-03-03T16:17:27Z

    VMControl is not where you should be looking.  PowerVC is a better option - but it is an optional product for a customer.   It really depends on what you are trying to do - but likely your best bet is to go directly to the HMC CLI to obtain the data.

    Hi Amartey and Glenn,

    Why would PowerVC be a better option?  Is it possible to obtain topology and metric information via REST by having PowerVC?  What would PowerVC typically cost a customer?

     

    Thanks,
    Jonathan

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-03-18T20:00:22Z  
    • JCantu
    • ‏2014-02-28T17:09:58Z

    Hi gcorneau and Amartey,

     

    Mostly what I am looking for is to obtain topology and metrics (no management) of the PowerVM environment.  Would VMControl (REST API) be a good fit for this application or is my best option to stick with the CLI?

     

    Thanks,

    Jonathan

    Hello,

     

    After downloading the PowerVC software and reviewing the installation guide, it appears that PowerVC can't be installed on a P5 or P6 system.  Is this correct?

    In this case, it would seem that this wouldn't be a reasonable thing to expect every IBM virtualization customer to have.

     

    Thanks,

    Jonathan

  • gcorneau
    gcorneau
    8 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-03-19T22:18:25Z  
    • JCantu
    • ‏2014-03-18T20:00:22Z

    Hello,

     

    After downloading the PowerVC software and reviewing the installation guide, it appears that PowerVC can't be installed on a P5 or P6 system.  Is this correct?

    In this case, it would seem that this wouldn't be a reasonable thing to expect every IBM virtualization customer to have.

     

    Thanks,

    Jonathan

    Where the PowerVC server runs is based on current hardware offerings and testing (so P7 only).  I've run it on a P6 server in the lab and it was pretty slow; so now I run it on a P7 LPAR and it's much better.

    The target managed servers are P6 and P7 for the Standard Edition.

    POWER7-based servers have been around since 1Q 2010.

    I wouldn't anticipate any statements of support for any older hardware.

  • Amartey
    Amartey
    10 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-08-12T22:38:10Z  

    We have now released documentation for the REST API supported in the V8 HMC.   You can find the documentation at the following link:

     

    https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=0196fd8d-7287-4dff-8526-102b5bcf0df5#fullpageWidgetId=W395818bd593b_487f_a7ec_79c3c27093f8&file=567cef95-775a-42a3-bba5-1d19725bd62d

  • JCantu
    JCantu
    41 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2014-08-14T20:44:45Z  
    • Amartey
    • ‏2014-08-12T22:38:10Z

    Excellent!  Thanks Amartey!  I appreciate the heads up.  Cheers!

  • amarthey
    amarthey
    3 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2015-12-02T21:31:23Z  
    • Amartey
    • ‏2014-08-12T22:38:10Z

    Is there any hardware restriction to have REST API on HMC? Like 7013-CR4.

  • sashok
    sashok
    7 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2015-12-02T23:35:32Z  
    • amarthey
    • ‏2015-12-02T21:31:23Z

    Is there any hardware restriction to have REST API on HMC? Like 7013-CR4.

    Yes.  V8 HMC only runs on CR5-CR8, and C08.

  • amarthey
    amarthey
    3 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2015-12-03T13:11:33Z  
    • sashok
    • ‏2015-12-02T23:35:32Z

    Yes.  V8 HMC only runs on CR5-CR8, and C08.

    Yes, I understand HMC version 8 is for CR5 or later. I was referring to REST API. REST API is available only for HMC version 8?

    I remember that I impelmented PowerVC with HMC version 7,

  • sashok
    sashok
    7 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2015-12-03T13:55:04Z  
    • amarthey
    • ‏2015-12-03T13:11:33Z

    Yes, I understand HMC version 8 is for CR5 or later. I was referring to REST API. REST API is available only for HMC version 8?

    I remember that I impelmented PowerVC with HMC version 7,

    Correct, the REST API became available in V8.  In V7, it's restricted to PowerVC usage only.

  • amarthey
    amarthey
    3 Posts

    Re: Rest API For PowerVM (HMC and/or IVM)

    ‏2015-12-03T14:03:17Z  
    • sashok
    • ‏2015-12-03T13:55:04Z

    Correct, the REST API became available in V8.  In V7, it's restricted to PowerVC usage only.

    Thanks so much for clarification!