Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join VDI Machines to Domain #146

Open
timbogues opened this issue Jan 16, 2019 · 7 comments
Open

Join VDI Machines to Domain #146

timbogues opened this issue Jan 16, 2019 · 7 comments
Labels

Comments

@timbogues
Copy link

If I want to join the VDI machines to my Windows Domain, how would I go about doing this so that when they are re-populated each time restoring from initial snapshop they re-join the domain with same computer name? Is there a way to pull the machine name from KVM and use that to name it? Any suggestions are welcome...

@Seitanas
Copy link
Owner

You should join domain once on initial machine. After that you should enable virtual snapshots. In this way VDI machines will continue to be in domain, bur their instance will be reset on each reboot. I suggest you use sysprep for that .
More info on that:
https://github.com/Seitanas/kvm-vdi/wiki/KVM:-Our-practice

@timbogues
Copy link
Author

When I use sysprep script, how can I have the VDI machines re-join the domain using a unique name? Like, if I name the initial machine machine01, then how can I have machine02, machine03, etc join the domain using a unique name so that there are no conflictions?

Thank you!

1 similar comment
@timbogues
Copy link
Author

When I use sysprep script, how can I have the VDI machines re-join the domain using a unique name? Like, if I name the initial machine machine01, then how can I have machine02, machine03, etc join the domain using a unique name so that there are no conflictions?

Thank you!

@Seitanas
Copy link
Owner

Seitanas commented Mar 14, 2019

You should run sysprep sript on Initial machine which renames machine/joins it into domain on next startup. After runing this script you should shutdown Initial machine and start VDI instances form that Initial image. This way VDI instances should name themselves and join domain.

@timbogues
Copy link
Author

Ok, but my question is what will they use for the "name"? Something random or can I have it pull from the VM name?

@Seitanas
Copy link
Owner

Seitanas commented Mar 14, 2019

No, you cannot get VM name into virtual machine.
You should find a way to generate your own unique names (like using VM IP, or MAC addres for that).

@timbogues
Copy link
Author

Ok, that works. Thank you for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants