Managing your exchange architecture

36
Managing your Exchange Architecture LEARN EXCHANGE – PART 2 © 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners. Niels Engelen System Engineer, Veeam Software [email protected] Johan Huttenga System Engineer, Veeam Software [email protected]

description

Slides include general management, troubleshooting, compliance, policies, email archiving and the use of PowerShell. We will review how to monitor Exchange with the Event viewer and System Center, and we will discuss the Exchange best practice analyzer. You can learn more about the latest version of FREE Veeam Explorer for Exchange: http://go.veeam.com/veeam-explorer-for-microsoft-exchange VIDEO for this webinar: http://www.veeam.com/videos/managing-your-exchange-architecture-4813.html

Transcript of Managing your exchange architecture

Page 1: Managing your exchange architecture

Managing your Exchange Architecture LEARN EXCHANGE – PART 2

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Niels Engelen System Engineer, Veeam Software [email protected]

Johan Huttenga System Engineer, Veeam Software [email protected]

Page 2: Managing your exchange architecture

Recap: Last Session

We’ve discussed: ‐ Exchange 2013 Architecture

‐ Deployment Planning

‐ Installing Exchange 2013

Last Time our session on the 21st of August

Page 3: Managing your exchange architecture

Session Overview

We’ll be discussing: ‐ Exchange Management

‐ Troubleshooting Mail Flow

‐ Compliance Policies (including DLP and Email Archiving)

‐ Monitoring Exchange (Events, SCOM, and Best Practice Analyzer)

Page 4: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Co-Existence

Popular Question from last session

Page 5: Managing your exchange architecture

Co-Existence with Exchange 2010 and 2007

‐ You’ll need to plan carefully (will need Exchange 2010 SP3 or higher, Exchange 2007 SP3 rollup 10 or higher and Exchange 2013 CU2 or higher)

‐ Make sure that you’ve verified DNS namespaces, and that Outlook Anywhere is enabled on the older Exchange servers.

Page 6: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Exchange Management

Page 7: Managing your exchange architecture

Management Tools Exchange 2013

Exchange Admin Center (http://<server>/ecp)

Exchange Management Shell

Page 8: Managing your exchange architecture

PowerShell baby! Exchange 2013

‐ Mailbox management: ‐ New-Mailbox, Get-Mailbox, Enable-Mailbox, Remove-Mailbox,...

‐ Mailbox configuration: ‐ New-MailboxFolder, Get-MailboxFolder, New-MailMessage

Remember: Get-Help <cmdlet>

For example, Get-Help Get-Mailbox

Page 9: Managing your exchange architecture

PowerShell baby! Exchange 2013

‐ Active Directory

‐ Anti-spam and anti-malware

‐ Client Access

‐ Cmdlet extension agent

‐ Email address and address book

‐ Federation and hybrid

‐ High availability

‐ Mail flow

‐ Mailbox

‐ Mailbox database

‐ Mailbox server

‐ Move and migration

‐ Organization

‐ Permissions

‐ Policy and compliance

‐ Security

‐ Server health, monitoring, and performance

‐ Sharing and collaboration

‐ Unified Messaging

‐ Users and groups

Page 10: Managing your exchange architecture

Certificate Management Exchange 2013

‐ You’ll need to configure split brain DNS, UPN (User Principal Names) accepted domains, and then setup certificates for public facing CAS servers.

‐ You can have a look at the details here: www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/managing-certificates-exchange-server-2013-part1.html

Page 11: Managing your exchange architecture

DAG Management Exchange 2013

‐ A single NIC for DAG members is supported, but members must have the same networks (for MAPI and Replication traffic). Remember binding order!

‐ Don’t use circular logging for VSS support.

‐ Having a few DAGs that are smaller instead of really large ones (improved

DAG replication), but having less disks reduces snapshot creation time for VM backup. Remember witness file shares!

‐ You can change heartbeats to avoid cluster failover (multi-site

deployments):

cluster /prop

Page 12: Managing your exchange architecture

Maintenance Mode for Mailbox Servers

‐ Ensures that your users wont be affected by patching and hardware maintenance.

Exchange 2013

Set-ServerComponentState <server> -Component HubTransport -State Draining -Requester Maintenance Restart-Service MSExchangeTransport #if server is multi-role: Restart-Service MSExchangeTransport Restart-Service MSExchangeFrontEndTransport Redirect-Message -Server <server> -Target <MailboxServerFQDN> Suspend-ClusterNode <server> Set-MailboxServer <server> -DatabaseCopyActivationDisabledAndMoveNow $True Get-MailboxServer <server> | Select DatabaseCopyAutoActivationPolicy Set-MailboxServer <server> -DatabaseCopyAutoActivationPolicy Blocked Set-ServerComponentState <server> -Component ServerWideOffline -State Inactive -Requester Maintenance

Page 13: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Troubleshooting Mail Flow

Page 14: Managing your exchange architecture

Mail Transport

‐ SMTP is used to transfer messages (send and receive) in and out of the email organization.

Exchange 2013

Page 15: Managing your exchange architecture

Oh no, something is wrong

‐ Delivery reports can be run in the Exchange Admin Center

Troubleshooting Mail Flow

Page 16: Managing your exchange architecture

PowerShell baby!

‐ Exchange 2013 is all about PowerShell

‐ Test health and functionality of your servers

‐ All cmdlets start with Test-

‐ Pre-defined scripts! ‐ C:\Program Files\Microsoft\Exchange Server\V15\scripts

‐ Or using

Troubleshooting Mail Flow

Get-Command -Verb Test | Where Module -match $env:computername

PS: cd $exscripts

Page 17: Managing your exchange architecture

PowerShell baby!

‐ Creating the test user:

‐ Testing the mailflow:

‐ Testing DAG replication:

Troubleshooting Mail Flow

.\new-TestCasConnectivityUser.ps1

Test-MailFlow

Test-ReplicationHealth –Identity <server>

Get-MailboxDatabaseCopyStatus

Page 18: Managing your exchange architecture

‐ Testing the Outlook Web Service

‐ Testing if all the Mailbox Databases are ok

‐ Testing if you can use a mobile device to a mailbox

Test-ActiveSyncConnectivity

Test-OutlookWebServices

PowerShell baby! Troubleshooting Mail Flow

Test-MAPIConnectivity –Server <server>

Page 19: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Compliance Policies

Page 20: Managing your exchange architecture

Messaging policy and compliance

‐ In-place eDiscovery & hold

‐ Auditing

‐ Data Loss Prevention

‐ Retention Policies

‐ Journaling

Compliance Management

Page 21: Managing your exchange architecture

In-place eDiscovery & hold

‐ In-place eDiscovery ‐ Search mailbox data

‐ Copy them to a Discovery mailbox

‐ In-place hold: preserve ESI! ‐ Search mailbox data

‐ Preserve messages from deletion, modification and tampering

Compliance Management

Page 22: Managing your exchange architecture

Auditing

‐ Reports to find changes made ‐ Mailboxes

‐ Configuration settings

‐ Even log administrators mailboxes!

‐ Enabled per mailbox

Compliance Management

Set-Mailbox -Identity “Johan" -AuditEnabled $true Set-Mailbox -Identity “Niels" -AuditEnabled $false

Page 23: Managing your exchange architecture

Data Loss Prevention

‐ Protect sensitive data from being send or deleted

‐ Comes pre-defined with regulatory standards

Compliance Management

Page 24: Managing your exchange architecture

Retention policies

‐ MRM: Messaging Records Management

‐ How long should messages be retained?

‐ Where should the messages be retained?

‐ Should all messages be retained for the same period?

Compliance Management

Page 25: Managing your exchange architecture

Journaling

‐ Not the same as archiving!

‐ Record all communications via a transport agent

‐ Can be configured on internal, external or all messages

‐ Reports can be generated for audits

Compliance Management

Page 26: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Email Archiving

Page 27: Managing your exchange architecture

Making sure the Exchange server runs smoothly

‐ Exchange 2013 is designed to use less IOPS.

Exchange archiving

Page 28: Managing your exchange architecture

What do we need?

‐ An archive database

‐ Enable the archive option per mailbox

‐ Optional: multiple archives (used in most cases)

‐ Optional: automated archival

Exchange archiving

‐ Easy setup: all done via the Exchange Administration Center ‐ PowerShell is also supported!

Page 29: Managing your exchange architecture

What do we need?

‐ Creating the archive database

Exchange archiving

Page 30: Managing your exchange architecture

What do we need?

‐ Enabling archiving for a user

Exchange archiving

Page 31: Managing your exchange architecture

© 2014 Veeam Software. All rights reserved. All trademarks are the property of their respective owners.

Monitoring Exchange

Page 32: Managing your exchange architecture

Using Event Viewer

An overview of logs for monitoring, compliance and troubleshooting.

Exchange monitoring

Page 33: Managing your exchange architecture

Using SCOM

An overview of all components: state, health, and performance

Exchange monitoring

Page 34: Managing your exchange architecture

Using BPA

Is integrated with Office 365, and allows you to review your environment for issues, and provides additional information where necessary.

Exchange monitoring

Page 35: Managing your exchange architecture

Further Reading and References

We will be doing a third part of this series, and will publish some supporting material as well at veeam.com.

However if you’d like there is a lot more detailed information available (some of which

we used to create this series):

http://microsoftvirtualacademy.com

http://blogs.technet.com/b/exchange/ (you had me at EHLO)

Page 36: Managing your exchange architecture

Next time

We’ll be discussing: ‐ Exchange Security

‐ High Availability and Recovery

‐ Built-in and Veeam Instant Recovery as well Item-level recovery

‐ Exchange patch testing with Veeam’s Virtual Lab

Niels Engelen System Engineer, Veeam Software [email protected]

Johan Huttenga System Engineer, Veeam Software [email protected]

Questions?