6. Subscribing Edge Transport Servers
When your Exchange organization uses Edge Transport servers and you
want to use the Edge Synchronization feature, you must subscribe the
Edge Transport server to your Exchange organization prior to performing
other configuration tasks on the Edge Transport server. Creating a
subscription allows the Microsoft Exchange EdgeSync
service running on designated Hub Transport servers to establish
one-way replication of recipient and configuration information from
your internal Active Directory database to the AD LDS database on an
Edge Transport server. After you create an Edge subscription,
synchronization is automatic. If problems occur, however, you can force synchronization or remove the Edge subscription.
6.1 Creating an Edge Subscription
A subscribed Edge Transport server receives the following from the EdgeSync service:
-
Send connector configurations
-
Accepted domain configurations
-
Remote domain configurations
-
Safe Senders lists
-
Recipients
Any manually configured accepted domains, message classifications,
remote domains, and Send connectors are deleted as part of the
subscription process, and the related Exchange management interfaces
are locked out as well. To manage these features after a subscription
is created, you must do so within the Exchange organization and have
the EdgeSync service update the Edge Transport server.
Also as part of the subscription process, you must select an Active
Directory site for the subscription. The Hub Transport server or
servers in the site are the servers responsible for replicating Active
Directory information to the Edge Transport server.
You can create a subscription for an Edge Transport server by completing the following steps:
-
Log on to the Edge Transport server for which you are creating a subscription using an administrator account.
-
At the Exchange Management Shell prompt, type the following command:
New-EdgeSubscription -filename "C:\EdgeSubscriptionExport.xml"
-
When prompted, confirm that it is okay to delete any manually
configured accepted domains, message classifications, remote domains,
and Send connectors by pressing A (which answers Yes to all deletion
prompts).
-
Copy the EdgeSubscriptionExport.xml file to a Hub Transport server in your Exchange organization.
-
Log on to a Hub Transport server in your Exchange organization using an account with Exchange administration privileges.
-
On the Hub Transport server, start the Exchange Management Console.
Expand the Organization Configuration node, and then select the Hub
Transport node.
-
In the details pane, the Edge Subscriptions tab lists existing
subscriptions by Edge Transport server name and associated Active
Directory site.
-
Right-click an open area of the details pane, and then select New
Edge Subscription. This starts the New Edge Subscription Wizard, as
shown in Figure 3.
-
On the New Edge Subscription page, click Browse to the right of the
Active Directory Site text box. In the Select Active Directory Site
dialog box, choose the Active Directory site for replication and then
click OK.
Note
REAL WORLD Hub Transport
servers in the Active Directory site you select must be able to resolve
the IP addresses for the Edge Transport server. You need to ensure that
subnets have been created in Active Directory Sites And Services and
that DNS is configured to resolve the fully qualified domain name of
the Edge Transport server. Hub Transport servers in the site must also
be able to connect to the Edge Transport server over TCP port 50636.
-
Click Browse to the right of the Subscription File text box. In the
Open dialog box, locate and then select the Edge Subscription file to
import. Click Open.
-
On the New Edge Subscription page, if you don't want to create the
required Send connectors now, clear Automatically Create A Send
Connector For This Edge Subscription, and then click New to begin the
subscription process. If you want to create Send connectors now, just
click New to begin the subscription process.
-
On the Completion page, click Finish.
After you've completed steps 1–5, you can use the New-EdgeSubscription cmdlet to start a subscription. Example 4
provides the syntax and usage. By default, the
–CreateInboundSendConnector parameter is set to $true, which ensures
that a Send connector from the Edge Transport server to Hub Transport
servers is created. By default, the –CreateInternetSendConnector
parameter is set to true, which ensures that a Send connector to the
Internet is created.
Example 4. New-EdgeSubscription cmdlet syntax and usage
Syntax
New-EdgeSubscription -FileName FilePath
-Site SiteName
[-AccountExpiryDuration <TimeSpan
>]
[-CreateInboundSendConnector <$true | $false>]
[-CreateInternetSendConnector <$true | $false>]
[-DomainController DCName
] [-FileData ByteStr
] [-Force <$true | $false>]
Usage
New-EdgeSubscription -FileName "Z:\EdgeSubscriptionExport.xml"
-Site "Default-First-Site-Name"
-CreateInboundSendConnector $true
-CreateInternetSendConnector $true