VMware Cloud Community
wllp
Enthusiast
Enthusiast

vRA 7.1 - Join Provisioned VM to Domain without vCenter Custom Specs

How can I join a provisioned VM to the domain without a vCenter custom specs?

Which custom properties can I use?

Thanks in advance! Smiley Happy

0 Kudos
5 Replies
kallischlauch
Enthusiast
Enthusiast

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=20562...

I did use a VCO workflow to create the CNO during VM provisioning (at building machine time)

then I used netdom to join the domain. I actually did leave the username and password for the domain join (doesn't have to be dom admin anymore if the CNO is created). Used a service account

I also added two more lines to the script to delete itself (delete the script) and then reboot

this actually does work. but maybe you can come up with a better hide to somehow hide/encrypt/use that password

that problem is also discussed here:How to Pass Encrypted Custom Properties to vRealize Automation Guest Agent


that was the good thing about vCenter customization, you didn't have to worry about that.





0 Kudos
GrantOrchardVMw
Commander
Commander

In 7.1 you can use the Active Directory Policies to achieve this.

Grant http://grantorchard.com
0 Kudos
wllp
Enthusiast
Enthusiast

Hi Grant,

Do you have any guide or reference that I can refer to on using the Active Directory Policies?

Thanks!

0 Kudos
GrantOrchardVMw
Commander
Commander

Let me know if this doesn't help, I'll provide some more specifics.

vRealize Automation 7.1 Information Center

Grant http://grantorchard.com
0 Kudos
wllp
Enthusiast
Enthusiast

Hi Grant,

I have created the AD Endpoint and the AD Policy. This was applied to the Business Group.

However, the provisioned VM was not joined to domain. The IP Address was allocated from Network Profile but was not configured on the VM itself. It still has the default IP Address from the Template.

0 Kudos