|
Last modified: 27 Dec 2007
This document is a rough version of MS Exchange hosting documentation. For all questions and feedback, please
contact us.
Before you start using MS Exchange hosting, you need to
prepare at least 2 servers, separately of H-Sphere, with the following software installed:
- Server 1 (Primary Domain Controller): Windows 2003 SP1, Active Directory Domain Controller
- Server 2 (MS Exchange Server): Windows 2003 SP1, MSSQL 2000 SP3, MS Exchange 2003 SP1,
Hosted Messaging and Collaboration 3.0,
WS Exchange Provider Adapter Namespace
To prepare Servers for MS Exchange Hosting:
- Install Required Software On The Servers
- Deploy Hosted Messaging and Collaboration
- Install WS Exchange Provider Adapter Namespace
- Create Reseller Organization Unit
1. Install Required Software On The Servers
Install Window 2003 SP1 on both servers with English language interface.
Install MDAC 2.8 on Server 2.
Install IIS and ASP.NET on Server 2:
On the taskbar, click Start, click Control Panel, select Add or Remove Programs,
and then click Add/Remove Windows Components.
Select Application Server, and then click Details.
Select
Internet Information Services (IIS), and then click Details.
Install the following components: Internet Information Services Manager,
World Wide Web Services, Common Files, ASP.NET
Click OK, click OK again, and then click Next.
After the wizard completes, click Finish and close the Add or Remove
Programs dialog box.
Install MSSQL Server 2000 on Server 2.
Install MSSQL Server 2000 SP3 on Server 2.
Enable Network DTC and COM+ Network Access
On the taskbar, click Start,
open Control Panel, and then click Add or Remove Programs.
Click the Add/Remove Windows
Components button.
Highlight Application Server,
and then click Details.
Select EnableNetwork COM+
access.
Select EnableNetwork DTC
access. Click OK.
Click Next. When the Windows
Components Wizard completes, click Finish.
Enable Inbound and Outbound DTC Access on Server 2
Click Start, point to All
Programs, point to Administrative Tools, and then click Component
Services.
Click and expand Component
Services, and then click and expand Computers.
Right-click My Computer, and
then select Properties.
Select the MSDTC Tab.
Click the Security
Configuration button.
Ensure that Network DTC Access
is enabled. Then, ensure that the Allow Inbound and Allow Outbound
options are selected in the Transaction Manager Communication
section. Leave all other options as default.
Click OK to save the settings.
Select Yes if you are prompted to restart the service.
Obtain Hosted Messaging and Collaboration 3.0 media from
Microsoft website
Install Active Directory Domain Controller on Server 1 using the dcpromo.exe tool in Windows root directory.
Join Server 2 to installed domain.
Log on to Server 2 as a member of the Domain Administrators group.
Install MS Exchange server 2003 on Server 2.
Install MS Exchange server 2003 SP1 on Server 2.
2. Deploy Hosted Messaging and Collaboration
Log on to Server 2 as a member of the Domain Administrators group.
Install the MPS (Microsoft Provisioning Service) deployment tool.
Quit all running programs.
Open command prompt, and change the directory to SolutionMedia\Service Provisioning\Deployment Tool.
To install the Deployment Tool on Server 2, run the following from the
command prompt: cscript initdeploymenttool.wsf.
Note: If you are not installing from CD, you will be prompted to enter a
path to the root directory of the solution media source files.
When
prompted for the server name for configuration files, enter
\\<Server 2 name>, and then click OK.
When
prompted for the server name for installation files, enter
\\<Server 2 name>, and then click OK.
In the confirm configuration dialog box, click Yes if the settings are
correct, or click No to cancel.
In Do you want to install the deployment tool to the local computer? dialog box, click Yes.
A shortcut for the Deployment Tool will be added to the desktop of Server 2.
Install the MPF (Microsoft Provisioning Framework) Engine and Database
Run the MPS Deployment Tool,
and then click the Servers tab.
Under SQL Servers, click Add.
Enter <Server 2 name>,and
then click OK.
Under MPS Servers, click Add.
Enter the name of the MPF
Engine server as <Server 2 name>, and then click OK.
In the Requirements Status
pane, expand the Active Directory component, right-click Native
Mode, and then select User input on the contextual menu that
appears. In the Active Directory Native Mode dialog box, click OK.
Under the Active Directory
component, right-click List Object Mode, and then select User Input
on the contextual menu that appears. The Active Directory/list
Object Mode dialog box appears and prompts you as to whether or not
you want to proceed. Click OK.
In the Requirements Status
pane, right-click the MPF Engine component, select Install on
Server, and then click <Server 2 name>.
The icon next to the MPF Engine
component changes to a silver disk to indicate that you have
scheduled the installation of this component.
Note: Because of inherent
dependencies, when you configure the MPF Engine to be installed on
Server 2, other core MPS components are also installed on Server 2,
and the MPFServiceAcct is scheduled to be created in Active
Directory.
In the Requirements Status
pane, right-click the MPF Config Database component, select Install
on SQL Server, and then click <Server 2 name>.
Repeat step 3.10 for each of
the MPF database components:
- Resource Manager Database
- MPF Audit Database
- MPF Transaction Database
In the Requirements Status
pane, right-click the Windows-based Hosting component, and then
select Install this Group to install all the components. The
Install This Group dialog box will display the list of items to be
installed and actions to be performed. Click OK.
Click Start Deployment to start
the installation of the MPF Engine, databases, and
namespaces/providers on the server.
Monitor the deployment session
on the Install Details tab.
When the deployment is
complete, on the Action History tab, click View Details to review
events.
Close the Provisioning
Deployment Tool.
Note: When deployment completes,
you will see that the following Namespace Initialization procedures
are displayed with a red X, and the Install Details pane displays
an unable to create the credential error.
Managed
Helpers:InitializeNamespaceSecurity
Managed Web Hosting:InitializeNamespaceSecurity
Managed Sharepoint Hosting:InitializeNamespaceSecurity
This is an expected error.
Verify the MPFClientAccts Group on Server 2
Click Start, point to
AllPrograms, point to AdministrativeTools, and then click Computer
Management.
Expand Local Users and Groups,
and then click Groups.
Double-click Distributed COM
Users, and then click the Members tab.
Verify that the <domain
name>\MPFClientAccts group is member of Distributed COM Users
group. Click OK.
Click OK to close the
Distributed COM Users Properties dialog box.
Add MPFServiceAccts to the Local Administrators Group
On the taskbar, click Start,
click All Programs, click Administrative Tools, and then click
Computer Management.
Expand Local Users and Groups,
and then click Groups.
Double-click the Administrators
group.
Click Add, and then enter
MPFServiceAccts. Select the Check Names check box to make sure that
the name resolves, and then click OK.
Click OK to close the
Administrator Properties window.
Reboot Server 2
Initialize Namespaces
Run the MPS Deployment Tool.
In the Requirements Status
pane, expand the Namespace Initialization component. Right-click
Managed Helpers:InitializeADforHosting, and then select User Input.
When prompted for the name of
the hosting organization, accept the default of Hosting, and then
click OK.
Right-click Managed
Helpers:InitializeADforHosting, and then select Execute
Initialization Procedure.
In the Confirm Operation dialog
box, click Yes.
Right-click Managed
Helpers:InitializeNamespaceSecurity, and then select Execute
Initialization Procedure.
In the Confirm Operation dialog
box, click
When the deployment completes,
close the MPS Deployment Tool.
Install the Plans Database
Run the MPS Deployment Tool.
In the Requirements Status
pane, right-click Plans Database, select Install on Server, and
then select <Server 2 name>.
Click Start Deployment.
When deployment completes, close the MPS Deployment Tool.
Run the MPS Deployment Tool.
In the Requirements Status
pane, expand Namespace Initialization.
Right-click Managed Helpers:
InitializePlanDatabase, and then select Execute Initialization
Procedure.
In the Confirm Operation dialog
box, click Yes.
When deployment completes,
close the MPS Deployment Tool.
Install the MPS Web Services on Server 2
Run the MPS Deployment Tool.
In the Requirements Status
pane, right-click Web Service, select Install on Server, and then
select <Server 2 name>.
Below Web Service, right-click
<Server 2 name>, and then select User Input.
In the New Virtual Directory
box, enter MPSWS, and then click OK.
Note: After you assign the Web
service and input the virtual directory name, the MPF Client will
automatically be assigned for installation on Server 2
Click Start Deployment.
When the deployment completes,
click OK, and then quit the MPS Deployment Tool.
Install Resource Manager Web Client on Server 2
Run the MPS Deployment Tool.
In the Requirements Status
pane, right-click Resource Manager Web Client, select Install on
Server, and then select <Server 2 name>.
Below Web Service, right-click
<Server 2 name>, and then select User Input.
In the New Virtual Directory
box, enter ResourceManagerWebClient, and then click OK.
Click Start Deployment.
When the deployment completes,
click OK, and then quit the MPS Deployment Tool.
Initialize Hosted Exchange Provisioning Namespaces
Run the MPS Deployment Tool.
Expand Namespace
Initialization.
Right-click Hosted Exchange:
InitializeHostedExchange, and then select Execute Initialization
Procedure. At the Confirm Operation dialog box, click Yes.
Configure the MPFServiceAccts Group As Exchange Full Administrator
Click Start, point to Programs,
point to Microsoft Exchange, and then click System Manager.
In the console tree,
right-click the top node where the name of your Exchange
organization is displayed, and then click Delegate control to start
the wizard.
Click Next, click Add, click
Browse, select MPFServiceAccts from the list, and then click OK.
On the drop-down menu, click
Exchange Full Administrator, click OK, click Next, and then click
Finish. If prompted with a security dialog box, click OK.
Configure the Microsoft Provisioning System Server for Hosted Exchange
Run the MPS Provisioning
Deployment Tool.
Under Microsoft Exchange,
right-click Delegate Exchange Administration, then select Force
State. At the Force State dialog box, select the Verified radio
button and click OK.
Under Microsoft Exchange,
right-click Disable Domain RUS, then select Install. The Confirm
Operation dialog box appears and prompts you as to whether or not
you want to proceed with an action that has an immediate effect.
Click Yes.
Under Microsoft Exchange,
right-click Secure All Address Lists, then select Install. The
Confirm Operation dialog box appears and prompts you as to whether
or not you want to proceed with an action that has an immediate
effect. Click Yes.
Under Microsoft Exchange,
right-click Native Mode, then select Install. The Confirm Operation
dialog box appears and prompts you as to whether or not you want to
proceed with an action that has an immediate effect. Click Yes.
Check the log information at the
bottom of the Configuration Wizard screen to verify that the
configuration was successfully set.
Configure the MPSExchangeAccts Group As Exchange Full Administrator
Click Start, point to Programs,
point to Microsoft Exchange, and then click System Manager.
In the console tree,
right-click the top node where the name of your Exchange
organization is displayed, and then click Delegate control to start
the wizard.
Click Next, click Add, click
Browse, select MPSExchangeAccts from the list, and then click OK.
On the drop-down menu, click
Exchange Full Administrator, click OK, click Next, and then click
Finish. If prompted with a security dialog box, click OK.
Configure the All Address Lists Container
Click Start, point to Programs,
point to Microsoft Exchange, and then click System Manager.
In the console tree, click the
Recipients node, expand the tree.
Right-click the All Address
Lists and select Properties.
Click the Security tab, click
Advanced, and then click Add under Permissions.
In the Name text box, type
MPSExchangeAccts, and then click OK.
In the Apply onto list, select
This object and subcontainers.
In the Permissions list, click
Full Control.
Click OK three times.
Add the MPSExchangeAccts Group to Local Administrators Group
Create Mailbox Stores for Hosted Exchange
Click Start, point to Programs,
point to Microsoft Exchange, and then click System Manager.
In the console tree, expand
Servers, then expand <Exchange Server>, and then expand First
Storage Group.
Create any appropriate mailbox
stores will be used as a Business Mailstores.
Initialize Resource Management
Launch Internet Explorer, and
go to
http://localhost/ResourceManagerWebClient/QueryResources.aspx.
When prompted for Username and
Password, log in as <domain name>\Administrator.
Enter <Server 1 fullname>
in the Preferred Domain Controller text box. Click Submit.
In the left pane, click
Exchange Resource Manager. Then, select the Business Mailstores
tab.
Add Business Mailstore
resources.
Important: The <shared>
value should always be set to 1 for Business mail stores
In the left pane, click
Exchange Resource Manager. Then, select the Public Stores tab.
Under Publicstores, click Add
New Resource.
Add Public Store resources
In the left pane, click
Exchange Resource Manager, and then, select the OAB Servers tab.
Under OAB Servers, click Add
New Resource.
Add OAB Server resources.
- Install the Hosted Exchange Offline Address Book (OAB) and Update Batch Application
Deploy the MPS Sample Web Client
Run SetupMPSSampleWeb.msi from
the Windows-based Hosting distribution media in the
\Samples\Provisioning\MPSSampleWeb directory.
On the MPPSSampleWeb Setup
Wizard Welcome page, click Next.
On the Select Installation
Address page, accept the default Virtual Directory (MPSSampleWeb)
and Port (80), and then click Next.
On the Confirm Installation
page, click Next.
On the Installation Complete
page, click Close.
Open the Internet Information
Services (IIS) Manager, and then expand the default Web site.
Right-click MPSSampleWeb, and
then select Properties.
Click the Directory Security
tab, and then, under Authentication and access control, click Edit.
Clear the Enable anonymous
access check box.
Ensure that the Integrated
Windows Authentication check box is cleared.
Select the Basic authentication
check box, and then, in the warning dialog box, click Yes.
Enter a backslash “\”
in the default domain field.
Click OK, and then click OK
again.
Close the IIS Manager window.
Edit the Web.Config
file in the root directory of the MPS Sample Web Client (usually
\inetpub\wwwroot\MPSSampleWeb). Set the following preferredDC and
DefaultNamingContext key values to your preferred domain controller
and default naming context. For example:
<appSettings>
<add key="preferredDC" value="Server_1_full_name>"/>
<add key="DefaultNamingContext" Value="DC=domain_name_part1,DC=domain_name_part2"/>
- Disable the EventSink:
- Go to C:\Program Files\Microsoft Hosting\Provisioning\MPSWS\ and open file web.config.
- Find the <add key="EnableEventSink" value="1"/> string and change value to 0
(<add key="EnableEventSink" value="0"/>)
- Save changes.
It will allow creating Exchange Recipient Policy for new SMTP domains.
3. Install WS Exchange Provider Adapter Namespace
WS Exchange Provider Adapter Namespace (WS stands for "Web service") provides communication between H-Sphere and
MS Exchange provider via HTTP in order to manage MS Exchange hosting in H-Sphere CP.
- Download WS Exchange Provider Adapter Namespace installation.
- Run the downloaded MSI file and follow the installation instructions.
4. Create Reseller Organization Unit
Create reseller organization unit under which H-Sphere users signed up for MS Exhange plans
will be hosted. On Server 2:
In Internet Explorer, go to http://localhost/MPSSampleWeb
When prompted, log on as Domain Administrator.
Leave the Current Reseller and Current Customer fields empty.
Select the General tab.
In the left-hand pane, click Create a Reseller Organization.
Enter information about the organization in the appropriate boxes on the Create Reseller Org
page
Click Submit Request.
When the request completes, you can review the XML response at the bottom of the page.
After that, you can proceed to
configuring Microsoft Provisioning Framework in admin CP.
That's how the organization unit may look like when it is created and used for H-Sphere hosting:

In the above screenshot, Organization1 is the reseller organization unit, and its organization units like
exchange are H-Sphere user accounts with emails and distribution lists.
|