Setting up Active Directory and DNS for RHEV Manager
Active Directory acts as the domain controller for the Windows Server 2003 installation. Therefore, Active Directory must be installed and configured before joining RHEV Manager to the domain .
We need to Create one Active Directory user to use during the installation of RHEV Manager for administration purpose of RHEV .
The RHEV Manager server must be configured with a fully qualified name that is resolvable throughout the system by the host and clients. So you need a proper working DNS in you set up .
In our set up we are going to configure AD/DNS on the same box where we are going to install RHEVM . We also see how to join RHEVM to the existing domain server later in the section and the AD user creation for the RHEV Administration .
AD/DNS Set Up on the same RHEVM System
Computer Name : rhevm
Domain Name : test.example.internal
Full Computer Name: rhevm.test.example.internal
DNS Domain Name: test.example.internal
Reverse Look up Zone Network : 10.10.1.0
DNS Host 1 : rhevh1.test.example.internal(10.10.1.11)
DNS Host 2 : rhevh2.test.example.internal(10.10.1.12)
> server 10.65.70.234
Default server: 10.65.70.234
Address: 10.65.70.234#53
> rhevh1.test.example.internal
Server: 10.65.70.234
Address: 10.65.70.234#53
Name: rhevh1.test.example.internal
Address: 10.65.70.231
> rhevh2.test.example.internal
Server: 10.65.70.234
Address: 10.65.70.234#53
Name: rhevh2.test.example.internal
Address: 10.65.70.232
> rhevm.test.example.internal
Server: 10.65.70.234
Address: 10.65.70.234#53
Name: rhevm.test.example.internal
Address: 10.65.70.234
> 10.65.70.234
Server: 10.65.70.234
Address: 10.65.70.234#53
** server can't find 234.70.65.10.in-addr.arpa.: NXDOMAIN
> 10.65.70.231
Server: 10.65.70.234
Address: 10.65.70.234#53
231.70.65.10.in-addr.arpa name = rhevh1.test.example.internal.
> 10.65.70.232
Server: 10.65.70.234
Address: 10.65.70.234#53
232.70.65.10.in-addr.arpa name = rhevh2.test.example.internal.
The RHEV admin user must have permission to:
-
Add an unlimited number of virtual machines to the domain.
-
Query Active Directory.Start -->> Administrative Tools -->> Active Directory Users and Computers -->> Right Click On Users -->>New User -->> Feed the Login Credentials and Finish .In our example we used a user called rhevadmin to manage our rhevm infrastructure .In order to be able to add more than ten virtual machines to the domain, the user must be a member of either the Account Operators, Domain Admins, or Enterprise Admins group within Active directory. For further information, refer to http://technet.microsoft.com/en-us/library/cc781364(WS.10).aspxNow we will give a domain admin rights to that user by selecting the User Properties -->> Member of -->> Add -->> Domain AdmiN Groups --> Select OK.
Joining RHEVM to the exisitng Domain ControllerTo join an Active Directory domain from Windows Server 2003:-
Go to Start, right-click My Computer and select Properties.
-
Select the Computer Name tab.
-
Ensure that the Computer description field contains the fully qualified computer name. If not, enter it now.
-
Click Change....
-
Enter the domain information and click Ok.
-
When prompted for the credentials of a user that can join machines to the domain, enter the RHEV administrator user credentials created as per the above AD User Creation for RHEV Steps Then click Ok.
-
If successful, a message will be displayed confirming that the computer has been joined to the domain. Click Ok to continue.If a confirmation message was not received, this is likely to be due to one of the following:
-
Domain specified is incorrect.
-
User credentials specified are incorrect.
-
User credentials provided do not have the necessary permissions to join a machine to the domain.
Check your Active Directory configuration and credentials and try again. -
-
Reboot the machine to complete the process.Once it is done you are Ready to Install other RHEVM Components by following this below URL
-
첫댓글 MS에서는 AD를 개발할 때 필요한 언어를 제공하고 있는데 보통 ADSI라고 불리고 API형태로 언어들에 제공되고 있다.