Time to complete: 60 minutes
Objective: Creating a virtual machine serving as a domain controller for the tutorial environment.
Purpose: In a single BizTalk Server deployment scenario, you can use local accounts for the BizTalk groups and users. In a multiple BizTalk Server deployment scenario, you could still use local accounts. However this requires you to make sure the account names and passwords are identical on all the BizTalk Servers and SQL Servers. It is not practical to do so. In the real-world production environment, BizTalk Servers and SQL Servers are usually a part of a domain. SQL Server failover cluster nodes have to be in a domain.
In this lesson, you setup a domain controller to host the Contoso.com domain and manage Active Directory® for the scenario.
If your deployment scenario is similar to the Alternative Deployment Scenario B described in Planning a Multi-Server Environment, and you use an existing domain controller on the corporate domain, you can skip all the steps except the last step for creating domain accounts. You can either obtain the domain administration rights to create the accounts yourself, or request a domain administrator to create the accounts for you.
If your deployment scenario is similar to the Alternative Deployment Scenario A described in Planning a Multi-Server Environment, you can skip the steps until the step called "Running DCPromo"
You start this lesson by registering and configuring ContosoDC virtual machine. The next step is to configure the network adapter so it uses a static IP address, and the static IP address is in the same subnet of ContosoISA. Then you promote the server as a domain controller in a new forest. At the end, you create a domain user that will be used to install and configure the BizTalk environment.
Domain Name System (DNS) Server service will be configured during domain controller promotion. Dynamic Host Configuration Protocol (DHCP) will not be used to keep things simple.
-
Before you begin this lesson, you must complete all the steps in:
-
Windows Server 2003 R2 Enterprise Edition installation media, used during promoting domain controller.
In this lesson, you perform the following steps to create a domain controller virtual machine:
Tip |
|---|
| The tutorial provides normal track with detailed instructions and a fast track for the experienced system administrators. The Procedure section starts with a list of tasks for the lesson. Properties for completing each of the tasks are listed. If you need detailed instructions, you can use the normal track which follows the task list. |
-
Adding the ContosoDC virtual machine to the virtual server
The virtual machine has the following properties:
|
Property
|
Value
|
|---|
|
Fully qualified path to file
|
D:\BTSAdminTutorial\ContosoDC.vmc
|
|
Virtual hard disk 1: Fully qualified path to file
|
D:\BTSAdminTutorial\ContosoDC.vhd
|
-
Turning on the ContosoDC virtual machine
Log on ContosoISA as the local administrator. The password you created is pass@word1.
-
Configuring the ContosoDC network adapter
ContosoDC has one virtual network adapter with the following configuration:
|
Property
|
Value
|
|---|
|
Network connection name
|
Contoso Network
|
|
IP address
|
192.168.0.2
|
|
Subnet mask
|
255.255.255.0
|
|
Default gateway
|
192.168.0.1
|
|
Preferred DNS server
|
192.168.0.2
|
|
Alternate DNS server
|
(leave it empty)
|
-
Changing the ContosoDC host name to "ContosoDC"
-
Promoting ContosoDC as the domain controller
Run DCPromo from the command prompt with the following configuration:
|
Property
|
Value
|
|---|
|
Domain controller for a new domain
|
(selected)
|
|
Domain in a new forest
|
(selected)
|
|
Full DNS name for new domain
|
Contoso.com
|
|
Domain NetBIOS name
|
CONTOSO
|
|
Install and configure the DNS server on this computer, and set this computer to use this DNS server as its preferred DNS server
|
(selected)
|
|
Restore Mode Password
|
pass@word1
|
-
Create a domain user account used for installing and configuring the BizTalk Server environment
Create a domain user account that will be used for installing and configuration BizTalk Server.
|
Property
|
Value
|
|---|
|
First name
|
BizTalk
|
|
Last name
|
Installer
|
|
User logon name
|
BTInstaller
|
|
Password
|
pass@word1
|
|
Confirm password
|
pass@word1
|
|
User must change password at next logon
|
(clear)
|
|
User cannot change password
|
(selected)
|
|
Password never expires
|
(selected)
|
|
Account is disabled
|
(clear)
|
Adding the ContosoDC Virtual Machine to the Virtual Server
In Lesson 3: Creating a Base Virtual Machine, you created ContosoDC.vmc and ContosoDC.vhd based on ContosoBase virtual machine files. In this step, you register the ContosoDC virtual machine to the virtual server.
To add a virtual machine by using an existing configuration file
-
Open the Virtual Server Administration Website by browsing to http://<host operating system host name or IP address>:<virtual server port>/VirtualServer/VSWebApp.exe. The default port for Windows Server 2003 Virtual Server is 1024, and the default port for Windows XP Virtual Server is 80.
-
In the navigation pane, under Virtual Machines, click Add.
-
Under Add Virtual Machine, in the Fully qualified path to file box, type D:\BTSAdminTutorial\ContosoDC.vmc, and then click Add.
The ContosoDC.vmc is a copy of te ContosoBase.vmc. You must update the fully qualified path to the ContosoDC.vhd file. It used to point to D:\BTSAdminTutorial\ContosoBase.vhd.
To configure the ContosoDC virtual machine
-
Open the Virtual Server Administration Website.
-
In the navigation pane, under Virtual Machines, point to Configure, and then click ContosoDC.
-
Under "ContosoDC" Configuration, click Hard disks.
-
Under "ContosoDC" Virtual Hard Disk Properties, in the Fully qualified path to file box, enter D:\BTSAdminTutorial\ContosoDC.vhd, and then click OK.
After the virtual machine is configured, the configuration should look like the following:
Turning on the ContosoDC Virtual Machine
You must start the ContosoDC virtual machine to promote it as a domain controller.
To start the ContosoDC virtual machine
-
Open the Virtual Server Administration Website.
-
In the navigation pane, under Navigation, click Master Status.
-
Under <host operating system host name> Status, point to ContosoDC, and then click Turn On.
-
Under <host operating system host name> Status, point to ContosoDC, and then click Remote Control.
-
Log on to the ContosoDC virtual machine as the local administrator. The password you created is pass@word1.
Configuring the ContosoDC Network Adapter
The ContosoBase virtual machine is configured with one internal network. By default, all of the network adapters use DHCP. Domain controller requires a static IP address. In this step, you assign 192.168.0,2 to the network adapter.
To configure the ContosoDC virtual machine network adapter
-
If you haven't already logged on. log on to ContosoDC as the local administrator.
-
Click Start, point to Control Panel, right-click Network Connections, and then select Open.
-
Right-click Local Area Connection, and click Rename.
-
Type Contoso Network, and then press ENTER.
-
Right-click Contoso Network, and then select Properties.
-
Under Contoso Network Properties, select Internet Protocol (TCP/IP), and click Properties.
-
Under Internet Protocol (TCP/IP) Properties, select Use the following IP Address, and then enter the following values:
|
Name
|
Value
|
|---|
|
IP address
|
192.168.0.2
|
|
Subnet mask
|
255.255.255.0
|
|
Default gateway
|
192.168.0.1
|
|
Preferred DNS server
|
192.168.0.2
|
|
Alternate DNS server
|
(leave it empty)
|
-
Under Internet Protocol (TCP/IP) Properties, Click OK.
-
Under Contoso Network Properties, click OK. After the network adapter is configured, you should be able to ping ContosoISA by its IP address, 192.168.0.1 from a command prompt.
Changing the ContosoDC Host Name
The ContosoDC virtual machine is a copy of the ContosoBase virtual machine. You must change the host name.
To change the ContosoISA virtual machine host name.
-
If you haven't logged on, log on to ContosoDC as the local administrator.
-
Click Start, point to Control Panel, and then click System.
-
From System Properties, click Computer Name, and then click Change.
-
In the Computer name box, enter ContosoDC, and then click OK. ContosoDC doesn't join a domain yet.
-
Click OK to acknowledge the reboot requirement.
-
From System Properties, click OK.
-
Click Yes, to restart the virtual machine.
Promoting ContosoDC as the Domain Controller
DCPROMO.EXE is the utility that promotes a new Windows Server to run as an Active Directory domain controller. It requires the Windows Server 2003 installation media.
To promote ContosoDC to a domain controller
-
If you haven't logged on, log on to ContosoDC as ContosoDC\Administrator .
-
Click Start, click Run, type DCPromo, and then click OK.
-
Once the Active Directory Installation Wizard appears, click Next.
-
Review the Operating System Compatibility information, and then click Next.
-
On the Domain Controller Type page, select Domain controller for a new domain (default), and then click Next.
-
On the Create New Domain page, select Domain in a new forest, and then click Next.
-
On the New Domain Name page, in the Full DNS name for new domain box, type Contoso.com, and then click Next.
-
In the NetBIOS Domain Name box, accept the default value of CONTOSO, and then click Next.
-
On the Database and Log on Locations page, accept the defaults, and then click Next.
-
On the Shared System Volume page, accept the defaults, and then click Next.
-
The DNS Registration Diagnostics page includes a DNS verification summary. After reviewing the results, keep the default value, Install and Configure DNS Server, and then click Next.
-
On the Permissions page, accept the default value, and then click Next.
-
On the Directory Services Restore Mode Administrator Password page, type pass@word1 for Restore Mode Password and Confirm password. Click Next.
-
Confirm your selections on the Summary page, and then click Next.
-
On the Completing the Active Directory Installation Wizard page, click Finish.
-
On Active Directory Installation Wizard, click Restart Now.
Creating a Domain User Account Used for Installing and Configuring the BizTalk Server environment
In the development environment, the BizTalk Server 2006 installation program and the BizTalk Server 2006 Configuration Wizard require the use of an account with administrative rights on the BizTalk Server 2006 and SQL Server systems. Rights can be revoked or the account disabled as soon as setup and configuration are complete. The account must also belong to several BizTalk groups, covered in Lesson 10: Creating the First BizTalk Server Virtual Machine.
To create a domain user account for installing and configuring the BizTalk Server environment
-
If you haven't logged on, log on to ContosoDC as the domain administrator. The password you created is pass@word1.
-
Click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
-
If it is not already expanded, click the plus sign (+) to expand the Contoso.com domain.
-
Right-click Users, point to New, and then click User.
-
From New Object - User, enter the following values, and then click Next.
|
Property
|
Value
|
|---|
|
First name
|
BizTalk
|
|
Last name
|
Installer
|
|
User logon name
|
BTInstaller
|
-
From New Object - User, enter the following values, and then click Next.
|
Property
|
Value
|
|---|
|
Password
|
pass@word1
|
|
Confirm password
|
pass@word1
|
|
User must change password at next logon
|
(clear)
|
|
User cannot change password
|
(selected)
|
|
Password never expires
|
(selected)
|
|
Account is disabled
|
(clear)
|
-
Click Finish.
In this lesson, you registered and configured the ContosoDC virtual machine. ContosoDC has one network adapter with a static IP address. You promoted the server as a domain controller using DCPromo.exe. You also created a domain account used for installing and configuring the environment.
Create a SQL Server failover cluster with two nodes. The domain controller is required by SQL Server failover cluster, and it makes BizTalk configuration and management easier.
Concepts
Lesson 4: Creating the ISA Server Virtual Machine
Lesson 6: Creating the First SQL Server Failover Cluster Node Virtual Machine
Lesson 7: Creating the Second SQL Server Failover Cluster Node Virtual Machine
Lesson 8: Creating the SQL Server Failover Cluster
Lesson 9: Clustering the Master Secret Server
Lesson 10: Creating the First BizTalk Server Virtual Machine
Lesson 11: Creating the Second BizTalk Server Virtual Machine