VMware Cloud Community
FreddyFredFred
Hot Shot
Hot Shot

target specific AD server in workflows

I've got a problem with active directory replication and creating computer accounts as part of my workflow.

I'm running vRO 7.2.

I have vRO + vcenter at site A, domain controller at site A and vms are created with site A as primary dns.

I have a esxi server in a remote site B but added to vcenter in site A. Computers/vms at site B point to B as their primary DNS.

Replication can be up to 15 minutes between site A and B so if I'm unlucky I'll get issues joining the domain and other fun stuff. (I have to pre-create computer accounts so if replication doesn't happen and I to contact a domain controller without that account when joining, it either takes a long time or times out)

Site A has always been my default and I just added site B but there doesn't seem to be a way to create or destroy computer accounts on site B. I only see a way to target a specific AD server in some of the get methods. Is there a way to target a specific AD_Host when doing other operations?

0 Kudos
2 Replies
parmarr
VMware Employee
VMware Employee

Please try using vRO 2.0 Plugin for Active Directory to Work with Multiple Domains using the workflow " Library/Microsoft/Active Directory/Add an Active Directory server" .

The blogpost might help for your requirement : https://www.jonathanmedd.net/tag/active-directory

Sincerely, Rahul Parmar VMware Support Moderator
0 Kudos
FreddyFredFred
Hot Shot
Hot Shot

I ended up figuring this out myself. Instead of using the prebuilt workflow/actions I had to write the query myself so I could refer to a specific AD server that I added in VRO.

0 Kudos