Ubuntu – How to configure MAAS to be able to boot virtual machines via VMware type

maasvmware-workstation

I've installed Ubuntu MaaS using VMware Workstation on a vm with Ubuntu 14.04 and upgraded it via ppa stable.

I'd like to add some vnodes to MaaS and setting them their Power Type as "VMware" but I don't know how I've to make that

enter image description here

I've also installed the package python-pyvmomi

sudo apt-get install python-pyvmomi –install-suggests

as suggested here

http://maas.ubuntu.com/docs1.8/changelog.html

but nothing. anyone knows how making that? thanks in advance

SOLUTION:

as suggested me by Mike, the solution has been:

  • create all my VMs under "Shared VMs";
  • filled all parts in "Add Hardware > Chassis" using as values my Host.

enter image description here

Then after few seconds I've seen all VMs in MaaS

enter image description here

run the commission step

enter image description here

Best Answer

First, for MAAS to be able to manage VMware Workstation VMs, they must exist under the Shared VMs folder in VMware Workstation.

Next, rather than adding nodes manually and then trying to set the power type, I would recommend using the Add Hardware > Chassis feature to add the nodes. This is a much more user friendly experience, as it will automatically discover all the nodes in a particular hypervisor, and configure them properly for use with MAAS, including the power type information.

Be very careful if you are using this with a production VMware system, since performing this operation will change the configuration of your virtual machines. If you are using a VMware setup which contains a mix of VMs which will be MAAS managed and VMs which will not be, I strongly recommend renaming the MAAS-managed VMs within the hypervisor so that their names start with something identifiable, such as "maas". Then you can use the Prefix filter option and specify (for example) "maas" to manage only those nodes.

When you enter your username and password, keep in mind that for VMware workstation, I've found that the username and password are the same as what you use for your OS login. (There are ways to add another user and give it access to your VMs if you aren't comfortable with giving MAAS that information.)

Related Question