T
T
Thomas Storm2016-11-22 20:20:55
Ansible
Thomas Storm, 2016-11-22 20:20:55

What solutions for creating vmware virtual machines do you recommend?

Colleagues, good morning, day and night!
Got into an awkward situation. We need a simple and beautiful solution for the automatic deployment of virtual machines. In a utopian world - the proger presses a button, indicates the role, the number of cores, memory, you name it, presses OK, and magic happens - the virtual machine is created. In harsh reality - the proger writes the config file according to the instructions, makes a pull request, we merged it, the CI webhook works - the virtual machine is created, the OS is installed, the role config is rolled, and so on.
Everything is there - PXE, IPAM, config management. It remains a trifle - to automate the creation of a virtual machine.
First I looked in the direction of ansible vsphere_guest - it does not know how to work only with the Resource Pool, it requires you to specify the esx host - it does not apply to us, because we do not have the rights to create virtual machines directly on the host, only in the pool.
I looked in the direction of terraform - I broke off at the moment that terraform does not know how to work with datastore clusters.
I posted an issue to both github repositories, but I don’t want to wait for the weather by the sea. Can anyone suggest a good solution?
do not offer vmware cli, it works only under Windows and Nix - we have different ecosystems (there are people on Windows, Ubuntu, I'm sitting on an apple) - you need such a tool to test it on your knee. Cross-platform in one word. And it must be smart enough to work with Resource pool and Datastore Cluster.
If someone has already invented a bicycle or knows some thread of a good vendor solution (of course, open source), I will hug you and treat you with beer when we meet.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2016-11-23
@opium

it is obvious that you yourself must write the bike because the task is not specific at all and most likely it would be logical to solve it differently without any binding to users' computers.

A
Alexey Strukov, 2016-11-23
@astrukov

Judging by the description, you need a private cloud, with the delegation of rights and the allocation of resource-pools, as well as the ability to access users through a web interface.
I implemented this myself on MS SC VMM, but since you need open source - look towards Apache CloudStack, judging by what they write about it - it fits the requirements you described.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question