VMware Cloud Community
LordISP
Enthusiast
Enthusiast

Pre-Check Host name overlap with vRA properties in Active Directory

Hey ALL

I'm building the first BluePrints and it basic information. The Challenge I have starts very early. We have an existing Active Directory where manual and automated deployments meat each other. Means vRA and Ops Teams manage AD objects.

I can create host names according to our Corp naming convention using custom properties in vRA but I'm now looking for a way to let vRA check if the generated hostname exists already in active directory, created by an Operator and if it exists vRA shall just increase the next available sequence number.

Any ideas welcome

Many thanks up front

Rafael

http://rafaelcamison.wordpress.com http://communities.vmware.com/people/LordISP/blog
Reply
0 Kudos
2 Replies
pizzle85
Expert
Expert

You'll need to extend vRA into vRO (this process varies depending if you're using vRA 6 or 7).


During the "Building" lifecycle state you'll want to reach out to AD and do a search for a computer object with your selected name and act on that.


If you want to create the new object you can use the vRO AD plugin. If you want to update the name of the VM being created by vRA you would then run the create/modify a property on a VM from the vRO vRA plug-in to update the "hostname" property of them VM with the desired name.

Reply
0 Kudos
pizzle85
Expert
Expert

actually, if you use the vRA properties to add the machine to AD just updating the hostname property would cause a new AD computer object with the correct name to be created in the root "Computers" OU.

Reply
0 Kudos