VMware Cloud Community
rekhajain1705
Enthusiast
Enthusiast
Jump to solution

VM Deployment using VMware Orchestrator

Hi,

Can you pls help me with VM Deployment using VMware Orchestration?

Thanks

Rekha

1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

Hello Rekha, welcome to vCO Smiley Wink Take a look at my blog to get an idea of how to use vCO. Christophe & I (and a few guests) have posted quite a few tutorials around doing things with Orchestrator. Of particular interest to the subject of this thread would probably be this three part series: 

Create a simple vCO self service VM Provisioning Portal - Part 1

Create a simple vCO self service VM Provisioning Portal - Part 2

Create a Simple vCO Self Service VM Provisioning Portal - Part 3

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

Reply
0 Kudos
11 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

Hello Rekha, welcome to vCO Smiley Wink Take a look at my blog to get an idea of how to use vCO. Christophe & I (and a few guests) have posted quite a few tutorials around doing things with Orchestrator. Of particular interest to the subject of this thread would probably be this three part series: 

Create a simple vCO self service VM Provisioning Portal - Part 1

Create a simple vCO self service VM Provisioning Portal - Part 2

Create a Simple vCO Self Service VM Provisioning Portal - Part 3

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
Reply
0 Kudos
Techstarts
Expert
Expert
Jump to solution

If you really wish to know the product, please refer this video training.

http://vmwarelearning.com/orchestrator/

It will provide you basic information over which it becomes very easy to build any workflow.

Thanks,

Preetam

vZare.com

With Great Regards,
rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Thanks Preetam, I have already gone thru this.

Reply
0 Kudos
rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Thanks Burke, will go thru it and revert back in case of queries. Just wanted to know if we have technical support for Orchestrator.

Reply
0 Kudos
mcfadyenj
Hot Shot
Hot Shot
Jump to solution

you will probably get faster support in these forums. I haven't had huge personal success with VMWare support re vCO.

A number of the folks in here seem to be on the vco dev teams, not that I work or have any association to them its just a personal observation I have made over time.

rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Hi,

I followed the link provided by you, and was able to automate VM provisioning. However our requirement is slightly different. I have used Clone virtual machine, no customization action element in my work flow. Instead of mentioning host, I have mentioned a cluster element. Please find attached the script output of the action item. However when I run the workflow, it throws an error "unable to create virtual machine. Relocate spec: type error. Cannot read property "Parent" from undefined. (Dynamic Script Module Name get relocate spec #8".

I am not good at Java script. Hence pls advice how can I include cluster element rather than host.

Orchestrator Script.jpg

Awaiting response. Thank You.

Reply
0 Kudos
Burke-
VMware Employee
VMware Employee
Jump to solution

This error is because you changed the code to pass a ClusterComputeResource object to the getRelocateSpec object which is NOT a valid input..

The only valid inputs to the getRelocateSpec action are:

datastore (VC:Datastore), disk (Array/Any), host (VC:HostSystem), pool (VC:ResourcePool), transform (VC:VirtualMachineRelocateTransformation)

Look at the getRelocateSpec action and try to understand the code inside of it. If that action doesn't fit your needs then you either:

1) Prepare proper inputs BEFORE calling this library action

2) Duplicate the action, customize it to meet your needs then use this custom version from your workflows

The preferred/recommended approach is number 1.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Thanks Burke. Will try the option no. 1

Reply
0 Kudos
rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Hi,

I have a requirement to input IP, SNM, Gateway to a NIC in a VM. When I select vc:vmnetwork(something like this), its takng the vlan id. When I browsed thru the inbuilt workflow "create sample VM", the parameter to get nic or ip is mentioned as number and when I run the workflow, its just taking the first 2 octects of an IP address. How do I incorporate so the workflow asks for the number of NICs and attaches the IP, SNM and GW to that NIC?

Thanks

Reks.

Reply
0 Kudos
tschoergez
Leadership
Leadership
Jump to solution

Reks, have a look at the workflows in Library/vCenter/Virtual Machine/Clone.

They contatin the logic to ask input parameters based on the number of network cards, you can use them as template for your own work.

Screen Shot 2014-02-28 at 19.57.41.JPG

Cheers,

Joerg

rekhajain1705
Enthusiast
Enthusiast
Jump to solution

Thanks Joerg. That helped.

Reply
0 Kudos