Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Implementing Edge Services for an Exchange 2010 Environment : Managing and Maintaining an Edge Transport Server

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/23/2011 11:40:47 AM
Exporting and Importing Edge Transport Server Settings

Exporting the Edge Transport configuration from one server for use on another has two apparent benefits:

  • Disaster recovery preparedness

  • Cloning the configuration when multiple Edge Transport servers exist in an organization

This section focuses on exporting the Edge Transport configuration for use in these scenarios.

Note

Exporting and importing the Edge Transport server configuration does not include the Edge subscription file used by a Hub Transport server for EdgeSync replication. When importing the Edge configuration data to a new or restored server, ensure the Edge Transport server has a subscription on the Hub Transport server and that EdgeSync is properly replicating.


Exporting the Edge Transport server configuration requires the use of a script included with Exchange Server 2010 when the Edge Transport server role is selected during installation. The script exports the configuration to an XML file, which can later be used to restore the configuration to the same system or another. The name of this script is ExportEdgeConfig.ps1 and is located in the C:\Program Files\Microsoft\Exchange Server\Scripts\ folder on the Edge Transport server. The ExportEdgeConfig.ps1 script is executed through the Exchange Management Shell using the ExportEdgeConfig command.

Importing the Edge configuration data works in a similar manner, using the ImportEdgeConfig command. The name of this script is ImportEdgeConfig.ps1 and is located in the C:\Program Files\Microsoft\Exchange Server\Scripts\ folder on the Edge Transport server. The ImportEdgeConfig.ps1 script is executed through the Exchange Management Shell using the ImportEdgeConfig command.

Exporting Edge Transport Server Configuration

Exporting the Edge Transport server configuration is a four-step process. The steps to export and import Edge Transport server configuration settings are shown next:

1.
Copy the ExportEdgeConfig.ps file from the C:\Program Files\Microsoft\Exchange Server\Scripts\ folder to the root of your user profile on the Edge Transport server (for example, C:\Documents and Settings\Administrator\ExportEdgeConfig.ps).

2.
Open the Exchange Management Shell and run the following command:

./ExportEdgeConfig –cloneConfigData:"C:\temp\CloneConfigData.xml"

3.
If the export is successful, a confirmation message appears, showing the location of the exported file.

4.
Copy the file to a location where it can be imported by an Edge Transport server.

Note

The CloneConfigData.xml is intended for use on a server with a clean installation of Exchange Server 2010 under the Edge Transport role—with the same name as the server from which the file was exported.


The following items are exported to file:

  • Log paths for receive and send protocols, pickup directory, and routing table

  • Message tracking log path

  • Status and priority of each transport agent

  • Send and Receive Connector information

  • Accepted and remote domain configurations

  • IP Allow and IP Block List information (Provider Lists are not included)

  • Content filtering configuration

  • Recipient filtering configuration

  • Address rewrite entries

  • Attachment filtering entries

Importing Edge Transport Server Configuration

After you’ve exported the Edge Transport server configuration information, you can store the information should you ever need to rebuild the Edge server again, or you might need to configure a secondary Edge server with the exact same configuration settings. The import process brings in the saved configuration settings to a freely installed Edge Server configuration.

To import the Edge Transport server configuration to a system, do the following:

1.
Copy the ExportEdgeConfig.ps file from the C:\Program Files\Microsoft\Exchange Server\Scripts\ folder to the root of your user profile on the Edge Transport server to which you are importing the CloneConfigData.xml file (for example, C:\Documents and Settings\Administrator\ExportEdgeConfig.ps).

2.
Copy the CloneConfigData.xml file you created during the export process to a location on the server (for example, C:\temp\CloneConfigData.xml).

3.
Launch the Exchange Management Shell.

4.
Run the ImportEdgeConfig command to validate the configuration file and create an answer file (CloneConfigAnswer.xml).

./importedgeconfig -CloneConfigData:"C:\temp\CloneConfigData.xml" -IsImport $false -CloneConfigAnswer:"C:\temp\CloneConfigAnswer.xml"


5.
A confirmation message is displayed if the answer file was properly exported.

6.
Open the CloneConfigAnswer.xml file that was created in the previous step. If the file is blank, the configuration is correct and no modification is necessary. If any configuration items cause a discrepancy, they will be included in the answer file and must be modified for the correct configuration (for example, server name, invalid SMTP Connector IP address, log file path, and so on). Save your changes.

7.
After you have reviewed and made any necessary modifications to the answer file, you must import both the CloneConfigData.xml file and the modified CloneConfigAnswer.xml file. The following syntax is for the ImportEdgeConfig command to accomplish this:

Note

If the answer file is blank, the configuration is correct and can be used and there is no need to import the answer file.

./importedgeconfig -CloneConfigData:"C:\temp\CloneConfigData.xml" -IsImport $true -CloneConfigAnswer:"C:\temp\CloneConfigAnswer.xml"


8.
After the XML file(s) have been imported, a message stating “Importing Edge Configuration Information Succeeded” appears.

9.
Configure and run EdgeSync and ensure replication is occurring successfully.

Export the Edge Transport server configuration file and test importing it on a regular basis, especially when multiple changes have been made to the Edge Transport server and to ensure the configuration will work in the event of a disaster or outage. Network Load Balancing and other mechanisms can also help offset the impact of a disaster or system outage.

Viewing Antispam Reports Using Included PowerShell Scripts

The Edge Transport server includes several antispam reports that contain information about the top blocked items, such as IP addresses, domains, and senders, how frequently those items are blocked, how many times those items have been blocked, and who in the organization receives the most spam. The information contained in these reports can assist administrators in fine-tuning the spam-filtering agents to achieve a higher level of spam detection while simultaneously reducing the number of false positives.

Antispam reports can only be generated using an Exchange Management Shell command. Each shell command will parse the logs files to create a report. The logs for each Antispam agent are stored in C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\.

To run any of the following scripts to generate the respective Antispam report, perform the following steps:

1.
Launch the Exchange Management Shell on the Edge Transport server.

2.
Change to the C:\Program Files\Microsoft\Exchange Server\v14\Scripts\ folder using the command cd $exscripts.

3.
Enter a ./ and the name of the script for the Antispam report you want to review:

./Get-AntispamTopBlockedSenderDomains

A handful of PowerShell scripts are included with Exchange Server 2010 to generate Antispam reports from the log files. Some of the default scripts are as follows:

  • Get-AntispamFilteringReport— Generates a report displaying a summary of messages that have been rejected by connection, command, or filtering agent.

  • Get-AntispamSCLHistogram— Generates a report summarizing the amount of email identified with each SCL threshold (1 to 9 total).

  • Get-AntispamTopBlockedSenderDomains— Generates a report summarizing how many times and how frequently a domain has been blocked.

  • Get-AntispamTopBlockedSenderIPs— Generates a report summarizing how many times and how frequently an IP address of a sending mail server has been blocked.

  • Get-AntispamTopBlockedSenders— Generates a report summarizing how many times and how frequently a sender’s email address has been blocked.

  • Get-AntispamTopRecipients— Generates a report summarizing spam volume for recipients and the amount of spam messages received.

Other -----------------
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 8) - Deploying Virtual Desktops & Deploying RD Licensing
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 7) - Deploying RD Gateway
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 6) - Deploying RemoteApp and Desktop Connection
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 5) - Deploying RD Connection Broker
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 4) - Deploying RD Web Access
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 3) - Additional RD Session Host Server Configuration Tasks
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 2) - Deploying the RD Session Host Role Service
- Windows Server 2008 R2 : Deploying Remote Desktop Services (part 1) - Enabling Remote Desktop for Administration & Enabling Remote Assistance
- Windows Server 2008 R2 : Planning for Remote Desktop Services
- Microsoft SharePoint 2010 PerformancePoint Services : Installing Dashboard Designer
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server