|
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 MSXML4 from
http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en on Server 2.
Install IIS (WWW, FTP, SMTP, NNNT) 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 SP4 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.5 media from
https://members.microsoft.com/serviceproviders/webhosting/hostedmessaging/default.mspx (documenation at
https://members.microsoft.com/serviceproviders/webhosting/hostedmessagingdocs/main.aspx)
Install Active Directory Domain Controller on Server 1 using the dcpromo.exe tool in Windows root directory.
Join Server 2 to installed domain (first configure a Server2 to use of new DNS on server1).
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 Service Provisioning\DeploymentTool
To install the Deployment Tool on Server 2, run the following from the
command prompt: Deployment Tool.msi
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
the 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.
Restart winbox after MPS (Microsoft Provisioning Service) deployment tool has been
installed.
Create an MPS SQL Service Account for MPS Interaction with SQL-based Servers
Procedure DWSPV.11: To create a SQL service account on the domain controller
Log on to \\Server1 using an account that is a member of the domain administrators group.
On the taskbar, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
Expand fabrikam.com (domain).
Right-click Users, point to New, and then click User.
In the New Object-User dialog box, type MPSSQLService as the First name and the User logon name, and then click Next.
In the next New Object - User dialog box, clear the User must change password at next logon check box. Enter the password
(twice), and then select Password never expires.
Click Next. Verify the information you have entered, and then click Finish.
Add MPSSQLService to the Local Administrators Group
Procedure DWSPV.12: To add MPSSQLService to the local administrators group
Log on to \\Server2 as a member of the domain administrators group.
On the taskbar, click Start, point to All Programs, then to Administrative Tools, and then click Computer Management.
Expand Local Users and Groups, and then click Groups.
Double-click Administrators.
Click Add, and then type MPSSQLService. Click Check Names to make sure that the name resolves, and then click OK.
Click OK to close the Administrator Properties window.
Install the MPF (Microsoft Provisioning Framework) Engine and Database
Procedure DWSPV.20: To deploy the Core Platform
Log on to \\server2 as a member of the enterprise administrators group. Set your screen resolution to 1024 x 768 to properly
display the Provisioning Deployment Tool interface when you start it.
On the \\server2 desktop, double-click the shortcut to the MPS Deployment Tool.
Click the Servers tab, and then, under SQL Servers, click Add.
In the Add SQL Server dialog box, type <Server 2 name>, and then click OK.
Under MPS Servers, click Add.
In the Add Server dialog box, type the name of the MPF Engine server as <Server 2 name>, and then click OK.
In the Requirements Status pane, expand Core Platform, expand Initialize Active Directory, right-click Native Mode, and then
select Confirm irreversible Native Mode conversion. In the Active Directory /Native Mode dialog box, click OK. Right-click Native Mode
and then select Install.
Under the Initialize Active Directory component, right-click List Object Mode, and then select Install.
In the Requirements Status pane, expand Core MPF Install, 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.
In the Requirements Status pane,under Core MPF Install, expand MPF Config Database. Right-click SQL not assigned, select
Install on SQL Instance, and then click <Server 2 name>.
Repeat step 10 for each of the MPF database components:
- Resource Manager Database
- MPF Audit Database
- MPF Transaction Database
In the Requirements Status pane, under Core MPF Install, right-click the MPF Audit and Recovery component, point to Install
on Server, and then click Add New Server.
Right-click the MPF Audit and Recovery component, point to Install on Server, and then click Add New Server.
In the Requirements Status pane, right-click Core Platform, and select Install all in this group.
If prompted with the Confirm Install on Dependents dialog box, review the list of actions to be performed, and 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.
Install the Plans Database
Procedure DWSPV.21: To deploy the Hosting Platform
In the MPS Deployment Tool, in the Requirements Status pane, expand Hosting Platform, expand Hosted PlansDatabase, then expand
Plans Database.
Right-click Server not assigned, click Install on Server, then click <Server 2 name>.
Under Plans Database, right-click <Server 2 name> and click Select SQL instance.
In the Select SQL Server dialog box, type <Server 2 name> and then click OK.
In the Requirements Status pane, below Hosting Platform, expand Initialize Default Services.
Right-click Initialize Active Directory for Hosting, then select Set procedure parameters.
When prompted for the name of the hosting organization, accept the default of Hosting and then click OK.
In the Requirements Status pane, right-click Hosting Platform, and select Install all in this group.
Click Start Deployment to start the installation of the Plans Database and Hosting Platform Service Components.
Monitor the deployment session on the Install Details tab.
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>.
Under Business Web Service-><Server 2 name>, right-click on 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 Web Services->Resource Manager Web Client, select Install on Server, and then
select <Server 2 name>.
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.
In the Requirements Status pane, expand Hosted Exchange.
Expand Exchange Platform.
Right-click Hosted Exchange Namespace, and then click Execute. Initialize Hosted Exchange Namespace. Make sure to check
if Exchange organization is being set correctly.
Click Start Deployment.
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.
Initialize Hosted Exchange Provisioning Platform.
In this procedure you will initialize your environment for Hosted Exchange provisioning.
Configure the Microsoft Provisioning System Server for Hosted Exchange
Procedure DP.3: To initialize Hosted Exchange provisioning namespaces
Log on to <Server 2 name> as a member of the Domain Administrators group.
Run the MPS Deployment Tool.
Expand Hosted Exchange.
Expand Exchange Platform.
Right-click Native Mode, and then click "Confirm irreversible Native Mode conversion".
At the Microsoft Exchange/Native Mode dialog box, click OK.
Right-click Exchange Platform, and then select Install all in this group.
Click Start Deployment.
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 (only fro enterprise 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
Restat IIS on server2
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 (Server and Public Store names you can find in Exchange System Manager).
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) 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"/>
example test.ts.com Value="DC=test,DC=ts,DC=com"
- 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.
|