Firstly, log on your XenServer by SSH or console(like HP iLO ) as root
Like joining a domain for a windows machine, please configure the DNS server for your all XenServers in your pool.
e.g. if your DNS server is 192.168.0.20, type following:
In this example, my domain name is "demo.gx"
Forget all netbios domain name as XenServer does not know what it is.
Type following:
xe pool-enable-external-auth auth-type=AD service-name=
config:user=
Now you have joined a domain for a XenServer pool.
You can see something like following if you logon XenCenter
Friendly reminder: after joining domain , you can still access XenServer using root account.
PS: Don't ask me why not use XenCenter to do all jobs. you will feel how shit XenCenter is if you use it for administration. ^.^
Next time, I will show you how to assign permission of XenServer to Active Directory users/groups.
I am getting the following error when after running the CLI syntax. Please see following error and if you don't mind some guidance on why I am getting this error.
ReplyDeleteERROR:
The pool failed to enable external authentication.
message: Failed to look up the domain controller for the given domain.
Thank you,
set XenServer DNS pointing to your domain controller just like joining Windows machine to domain.
ReplyDelete