HPE Morpheus VM Essentials Software
1857751 Members
6509 Online
110380 Solutions
New Discussion

VME Manager API/Scripting Capabilities

 
Craig_Manson
Occasional Contributor

VME Manager API/Scripting Capabilities

Does the VM Essentials Manager provide an API or similar capability?

We would love to have some automation scripts triggered externally to perform tasks such as putting a Host into maintenance mode / migrating all the VMs off before running an update/upgrade on a host.   Take a snapshot of a guest before running a script on the guest.  Query the manager for all active snapshots so we can name and shame people who forget to remove snapshots in a timely manner.

3 REPLIES 3
Arnout_Verbeken
HPE Pro

Re: VME Manager API/Scripting Capabilities

Hello,

It certainly provides an API that you can access in multiple ways.  Note that below items are used in Morpheus Enterprise, but are also available in VME.  However only the items relevant for VME will work of course.

Take a look at https://apidocs.morpheusdata.com/reference/listactivity for the full list of API endpoints.  It supports live calling if your environment is reachable.
It has syntaxes for a lot of different languages and implementations.

You can also build a full Postman collection yourself by using the YAML of the OpenAPI spec on https://github.com/HewlettPackard/morpheus-openapi
Use redcoly CLI to compress the API (since it's otherwise too large).

I myself am a big fan of the "morpheus-cli": a shell where you can just type what you want.  You can compare it a little bit with Powershell.

Install Guide: https://clidocs.morpheusdata.com/en/8.0.7/CLI-Manual.html

Be sure to check:
Getting Started: https://github.com/gomorpheus/morpheus-cli/wiki/Getting-Started
Managing Instances: https://github.com/gomorpheus/morpheus-cli/wiki/Managing-Instances


For additional tips on using Morpheus CLI, visit https://github.com/gomorpheus/morpheus-cli/wiki/Getting-Started

 

To learn more about the Morpheus API, visit https://apidocs.morpheusdata.com



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Convergo
Frequent Advisor

Re: VME Manager API/Scripting Capabilities

Hi,

Would it be possible to build up a new Red Had Openshift environment (for a kuberneters environment) on top of a new HVM cluster ? In case of a Red Hat Openshift  (on-prem kubernetes) environment running on vSphere, I would like to know possibilities to migrate such a solution from VMware to HPE Morpheus VM Essentials.

CalvinZito
Neighborhood Moderator

Re: VME Manager API/Scripting Capabilities

@Convergo I suggest you ask this as a new question. My experience on the forums is when a new question is asked in an existing thread, they often go unanswered. 



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo