I am looking to create a workflow to allow the provisioning of VM's in a more optimized fashion.
The idea is as follows.
User wants to create a set of VM's (1-5)
User provides the info through a web form where they choose:
Number of VM's
OS (Linux/Windows)
IP
Hostname
Project Name
Project owner
Users allowed acces to VM
With that info I would like to forward that request for approval to manager.
Once approved the deployment process will:
Create a New folder in the cluster
Create a new AD group + add members to the group.
Assign permissions to the folder and all VM's below
Deploy the VM's from predefined templates - according to the input received from the form including hostname customization and IP configuration.
Assign the VM's to the correct Portgroup (I will have to provide the logic somehow)
Test that all is up and running(ping - nslookup - login)
Notify user that machines are ready.
I know that this should be broken down into several parts and dealt with one at a time.
I would appreciate any assistance.
Maish
VMware Communities User Moderator
- @maishsk
YES, the process you outlined is certainly a job for Orchestrator. Since you have been following our tutorials, you are on your way You will need to employ either the Microsoft Plugin or utilize Microsoft's Directory Service Tools (Command Line tools that can be called by vCO) to create the new AD group and add members to the group. All of the other steps appear to be calls to vCenter which vCO is obviously quite good at
Visit me at http://www.vcoteam.info for vCenter Orchestrator tips and tutorials Also, don't forget: award points to helpful answers
Would you mind assisting me in the stages?
The first stage.
How do I get the input from the User to be stored into a set of variables that I will use in the workflow?
Maish
VMware Communities User Moderator
- @maishsk
You define the inputs as parameters, these area specified by the person filling out the form. You then fill out the attributes on the back end that you want to fill out for the user yourself
Hi Maish,
for a qick start, just import the added package. It contains one workflow for your input question.
This worklow does only get your mentioned input parameters, nothing else. I 've done some adds on the presentation tab, so you can choose from predefined answers on input.
Let me know, if this is ok for You or if you need more info how to get the user input into workflows.
-
don't forget: award points to helpful answers