The point of this article is to get you started with something you either may not be aware of, or just have attempted before and didn�t know how or where to get started. We won�t be getting advanced so it should be easy to follow.
To start, I want to show you how easy it is to deploy a virtual machine using vCO. I know it�s very easy to deploy a virtual machine through the vSphere Web Client, but later on in the article we�ll look at repetition and how to make your life easier when deploying many similar VMs.
In the library of workflows, expand vCenter > Virtual Machine management > Basic. Select the �Create simple virtual machine,� right-click it and select �Run.�
You will have to fill in the form with the appropriate data. When selecting the �Virtual machine folder,� browse to the �vm� folder under the inventory tree as seen in the image below.
Click �Next,� and on the following screen, you�ll need to select more resources from the inventory tree such as host, resource pool, network, and datastore for the virtual machine placement.
Click �Submit� and view the vSphere Web Client to watch the virtual machine get created.
Again, this is a very simple workflow and I believe the scripting code involved is only allowing for virtual standard switch selection. If you have some experience (or find a good sample online) you can enhance this workflow by duplicating and editing it.
If you want to create more virtual machines just like it and don�t have the time or experience to add to the workflow, you can simple right click on the success token and run it again. In this example, all I changed in the wizard is the virtual machine name, ran it a few times, and more virtual machines were created with the same settings. The remaining settings stay populated from the last time the workflow was run.
While creating one virtual machine didn�t save me any time over the vSphere Web Client, duplicating the virtual machine significantly reduced the number of clicks I had to go through.
When you�re ready to take the next easiest step, I recommend taking a look at this blog here: http://bit.ly/1pYvDY3
What it does is walk you through creating a scriptable task and added it to your workflow. You can then feed an xml file into the workflow and create virtual machines for each name present in the xml file. It doesn�t take that much work and could be a great stepping-stone into the power of VMware vCenter Orchestrator!
Although creating a simple virtual machine may not be exactly what you need, hopefully this helped you become more comfortable with the technologies. You can apply the same techniques to other things such as cloning exists virtual machines or templates, or even creating linked clones from existing virtual machines.
Stay tuned for more easy ways to get started!
Get notification of new blog postings and more by following Harry on Twitter:@HarrySiii
via VMware Blogs http://bit.ly/1mo0bMV
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.