<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Is this thing on?</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/scottschnoll/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/scottschnoll/feed.xml</link>
    <description>Scott Schnoll&amp;#039;s weblog</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:16:24 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Get to know the new Service Trust Portal</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/get-to-know-the-new-service-trust-portal</link>
      <pubDate>Tue, 21 Nov 2017 22:21:03 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/?p=3076</guid>
      <description><![CDATA[On November 16, we released a major update to the Service Trust Portal (STP)[1]. This update...]]></description>
      <content:encoded><![CDATA[On November 16, we released a major update to the <a target="_blank" href="https://aka.ms/stp" rel="noopener">Service Trust Portal</a> (STP)<a href="#_ftn1">[1]</a>. This update includes two significant changes to the STP:
<ol>
 	<li>We re-organized the content into <strong>Guides</strong>.</li>
 	<li>We released a <a target="_blank" href="https://techcommunity.microsoft.com/t5/Security-Privacy-and-Compliance/Compliance-Manager-Preview-is-now-available/ba-p/124662" rel="noopener">Preview</a> of a new feature called <a target="_blank" href="https://go.microsoft.com/fwlink/?linkid=862109" rel="noopener">Compliance Manager</a><a href="#_ftn2"><span>[2]</span></a>.</li>
</ol>
<h1>Guides</h1>
The current Guide experience is like the previous STP experience, which provided Compliance Reports and Trust Documents. There are three categories of Guides: <strong>Compliance Guides</strong>, <strong>Trust and Transparency Guides</strong>, and <strong>Azure Blueprints</strong>.<a href="#_ftn3">[3]</a>
<ul>
 	<li>Compliance Guides include ISO, SOC, FedRAMP and other audit reports, bridge letters and materials related to independent, third-party audits of Microsoft’s cloud services such as Microsoft Azure, Microsoft Office 365, Microsoft Dynamics 365, and others.</li>
 	<li>Trust and Transparency Guides include deep dive whitepapers that provide details on how we design and operate our cloud services, FAQs, end-of-year security assessments, and penetration test results.</li>
 	<li>Azure Blueprints provide turn-key compliance solutions and support tailored to the needs of industry verticals that accelerate cloud adoption and usage for customers with regulated or restricted data. Available blueprints include U.S. Department of Defense, FedRAMP, Healthcare, NIST, PCI-DSS, and U.K. G-Cloud.</li>
</ul>
As we continue to develop the Guides feature of the STP, you’ll see things change from the old naming to Guides. We will also be introducing search features that provide results from both public and controlled (e.g., documentation that requires authentication to download) and Guide filters that will enable personalization of Guide delivery based your role or industry.
<h1>Compliance Manager</h1>
Compliance Manager provides tools to track, implement, and manage the auditing controls to help your organization reach compliance with security or data protection industry standards when measured against Microsoft cloud services, such as Office 365 and Azure. It helps the person who oversees the data protection strategy for your organization (sometimes called a <em>data protection officer</em>) to manage the compliance and risk assessment process.

Compliance Manager combines the information from <a target="_blank" href="https://blogs.technet.microsoft.com/scottschnoll/2016/06/17/service-assurance-and-audited-controls-2/" rel="noopener">Audited Controls</a> with a compliance management system that can be used to track and report on your organization’s compliance activities. It is implemented as a dashboard that provides a summary of your data protection and compliance stature, and recommendations for improvement. These are only recommendations, though; it is up to each customer to evaluate the effectiveness of the recommendations in their environment. The recommendations in Compliance Manager should not be interpreted as a guarantee of compliance.

Compliance Manager:
<ul>
 	<li><strong>Enables you to conduct risk assessment</strong> of Microsoft cloud services: Combines the detailed information provided by Microsoft to auditors and regulators as part of various third-party audits of Microsoft ‘s cloud services against various standards (such as International Organization for Standardization 27001:2013 and ISO 27018:2014) and information that Microsoft compiles internally for its compliance with regulations (such as the EU General Data Protection Regulation or GDPR) with your own self-assessment of your organization’s compliance with these standards and regulations.</li>
 	<li><strong>Provides you recommended actions</strong> and detailed guidance to improve your data protection capabilities that can help you meet regulatory requirements.</li>
 	<li><strong>Simplifies your compliance workflow</strong> and enables you to assign, track, and record compliance and assessment-related activities, which can help your organization cross team barriers to achieve your organization’s compliance goals. It also provides a secure repository for you to upload and manage evidence and other artifacts related to your compliance activities, so that you can produce richly detailed reports in Microsoft Excel that document the compliance activities performed by Microsoft and your organization, which can be provided to auditors, regulators, and other compliance stakeholders.</li>
</ul>
Check out the demo video below to see Compliance Manager Preview in action.
<p style="text-align: center">[embed]https://www.youtube.com/watch?v=-ScjtTIOnQs[/embed]</p>

<h2>Controlling Access to Compliance Manager</h2>
As with the rest of the STP, by default, everyone in your organization with an Office 365 or Azure Active Directory account has access to Compliance Manager and can perform almost any action in Compliance Manager<a href="#_ftn4">[4]</a>. The target user audience for Compliance Manager are those individuals in your organization that are responsible for:
<ul>
 	<li>Compliance</li>
 	<li>Privacy</li>
 	<li>Security</li>
 	<li>Risk assessments</li>
 	<li>Auditing</li>
 	<li>Data protection</li>
 	<li>IT administration</li>
</ul>
These users may already have a variety of Azure Active Directory <a target="_blank" href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-assign-admin-roles-azure-portal" rel="noopener">administrator roles</a> assigned to them, such as:
<ul>
 	<li>Global administrator</li>
 	<li>Exchange administrator</li>
 	<li>Skype for Business administrator</li>
 	<li>SharePoint administrator</li>
 	<li>Compliance administrator</li>
 	<li>Security administrator</li>
 	<li>And <a target="_blank" href="https://support.office.com/en-us/article/About-Office-365-admin-roles-da585eea-f576-4f55-a1e0-87090b6aaa9d" rel="noopener">others</a></li>
</ul>
To control who has access to Compliance Manager (along with the level of access) using built-in Role Based Access Control (RBAC) for permissions, you must change the default permissions and configure Compliance Manager to be accessible to a limited set of users by adding at least one user to each Compliance Manager role (see <a target="_blank" href="https://support.office.com/en-us/article/Use-Compliance-Manager-in-the-Service-Trust-Portal-Preview-5756d342-5af9-4496-82e8-4dd50fa39942#permissions_1" rel="noopener">these instructions</a>). After a user has been added to each role, the default permissions are removed, and only users who have been added to a role will be able to access Compliance Manager and perform the actions allowed by that role.

For example, if you add a user to the role that lets users manage Assessments, only members of that role can manage Assessments. Similarly, if you don't add a user to the role that lets users read the data in Assessments, then all users in your organization can access Compliance Manager and read data in any Assessment.
<h2>Compliance Manager Data</h2>
Compliance Manager is integrated with your Office 365 or Azure Active Directory organization for authentication and access control purposes. Beyond this integration, Compliance Manager does not have access to any other data within your cloud subscription(s). Unlike some security and compliance features that can scan your organization’s tenant configuration settings, such as Office 365 Secure Score, <strong><u>Compliance Manager has no access to your tenant’s settings or data</u></strong>.

Compliance Manager does provide you with the ability to enter information and upload files within the Customer Managed Controls section. Any data that you upload and store in Compliance Manager will be accessible to your entire organization, unless you restrict access to Compliance Manager as described above. Microsoft personnel do not have access to this data, which is stored within Microsoft cloud storage that is compliant with the data protection standards in Tier C of our <a target="_blank" href="http://download.microsoft.com/download/1/4/3/1434ABAB-B8E9-412D-8C3A-187B5FCB7A2F/Compliance%20Framework%20document.pdf" rel="noopener">Compliance Framework for Industry Standards</a>.
<h2>Compliance Manager Feedback</h2>
The new Service Trust Portal and Compliance Manager are currently in Preview and we need your feedback to make it as useful to you as possible. Please use the Feedback button on the bottom of the page and tell us what you think. You can even include screenshots. All feedback is read by the STP and Compliance Manager development team at Microsoft. All feedback is anonymous, unless you include your email address.

<a href="#_ftnref1">[1]</a> The STP is different from the <a target="_blank" href="https://www.microsoft.com/en-us/trustcenter/default.aspx" rel="noopener">Microsoft Trust Center</a>.

<a href="#_ftnref2">[2]</a> The original announcement for Compliance Manager can be found <a target="_blank" href="https://techcommunity.microsoft.com/t5/Security-Privacy-and-Compliance/Manage-Your-Compliance-from-One-Place-Announcing-Compliance/ba-p/106493" rel="noopener">here</a>.

<a href="#_ftnref3">[3]</a> As a convenience to those customers who have an Office 365 subscription, we also provide the Compliance Guides and the Trust and Transparency Guides in the <a target="_blank" href="https://support.office.com/en-us/article/Service-assurance-in-the-Office-365-Security-Compliance-Center-47e8b964-4b09-44f7-a2d7-b8a06e8e389c" rel="noopener">Service Assurance area of the Office 365 Security &amp; Compliance Center</a>.

<a href="#_ftnref4">[4]</a> Only Tenant Admins and STP Portal Admins will be able to see and access the Settings page.]]></content:encoded>
    </item>
    <item>
      <title>New Bill of Materials for Risk Assurance Documentation Library</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/new-bill-of-materials-for-risk-assurance-documentation-library</link>
      <pubDate>Thu, 10 Aug 2017 17:03:14 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/?p=3055</guid>
      <description><![CDATA[A short time ago, I wrote a post called What Happens to My Data in Office 365?  In that post, I...]]></description>
      <content:encoded><![CDATA[A short time ago, I wrote a post called <a target="_blank" href="https://techcommunity.microsoft.com/t5/Office-365-Blog/What-Happens-to-My-Data-in-Office-365/ba-p/84059" rel="noopener noreferrer">What Happens to My Data in Office 365?</a>  In that post, I reiterated that:
<ul>
 	<li>We use your customer data only to provide the services we have agreed upon, and for purposes that are compatible with providing those services.</li>
 	<li>We do not share your data with our advertiser-supported services, nor do we mine it for marketing or advertising.</li>
 	<li>If you leave our services, we take the necessary steps to ensure your continued ownership of your data.</li>
</ul>
The post also included links to whitepapers in our library that discuss in greater detail the talking points about how we process customer content in Office 365; things like how we isolate one tenant’s data from another’s, how we encrypt and replicate data, and how data is protected against and monitored for unauthorized access. All the documents in our library are living documents that are updated as needed. The aka.ms URL won't change, so you'll always be able to download the latest version using the same URL.

To make the library even easier to use, I have created a <a href="https://msdnshared.blob.core.windows.net/media/2017/08/Office-365-Your-Data.ppsx">Bill of Materials</a> for the library that you can use to have the latest whitepapers from our risk assurance documentation library at your fingertips. It's designed as a PowerPoint show file, so it can be used in discussions with security officers, risk officers, compliance officers, and similar professionals.  Simply download the file and double-click to open and it.

As always, we welcome your feedback on the Bill of Materials and the content library.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Office 365 Service Assurance and Audited Controls</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/service-assurance-and-audited-controls-2</link>
      <pubDate>Fri, 17 Jun 2016 18:30:57 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/?p=3035</guid>
      <description><![CDATA[At Microsoft, we believe that transparency is key to earning customer trust. When you entrust your...]]></description>
      <content:encoded><![CDATA[At Microsoft, we believe that transparency is key to earning customer trust. When you entrust your data to the Microsoft Cloud, you will have questions:
<ul>
	<li>Where is it and who can access it?</li>
	<li>What is Microsoft doing to protect it?</li>
	<li>What does Microsoft do to comply with regulatory requirements?</li>
	<li>How can I verify that Microsoft is doing what it says?</li>
</ul>
Because it’s your data, you decide who has access, and you work with us to decide where it is located. To safeguard your data, we use advanced security technology and cryptography. Our compliance with US and international standards is independently audited, and we’re transparent on many levels—from how we handle legal demands for customer data to the security of our code. We offer detailed trust information on each of our cloud services, which we group into four categories:
<ul>
	<li>Secure</li>
	<li>Private</li>
	<li>Compliant</li>
	<li>Transparent</li>
</ul>
We do this not just to be transparent, but to also help you answer the questions above, and to make it easier for you to perform your own risk assessment of using Office 365. And we do this to help you understand how the controls within Office 365 meet the security, compliance, and privacy requirements of your organization.

To that end, we have launched a new <a href="https://support.office.com/en-us/article/Go-to-the-Office-365-Security-Compliance-Center-7e696a40-b86b-4a20-afcc-559218b7b1b8" target="_blank">Office 365 Security &amp; Compliance Center</a>, which is designed to be a one-stop portal for protecting your Office 365 data. It is a new portal that is an evolution of the Office 365 Compliance Center. The Security &amp; Compliance Center is designed for organizations that have data protection or compliance needs, or that want to audit user and administrator activity. You can use the Security &amp; Compliance Center to manage compliance for all of your organization’s data across Office 365.

You can access the Security &amp; Compliance Center at <a href="http://protection.office.com" target="_blank">http://protection.office.com</a> using your Office 365 admin account. Administrators can also delegate access to compliance, security, and other teams in your organization. For more information, see <a href="https://support.office.com/en-us/article/Give-users-access-to-the-Security--Compliance-Center-2cfce2c8-20c5-47f9-afc4-24b059c1bd76" target="_blank">Give users access to the Security &amp; Compliance Center</a>.

The Security &amp; Compliance Center includes several navigation panes that provide access to several auditing and reporting features:
<ul>
	<li><strong>Permissions</strong>   Enables you to <a href="https://support.office.com/en-us/article/Give-users-access-to-the-Office-365-Security-Compliance-Center-2cfce2c8-20c5-47f9-afc4-24b059c1bd76">assign permissions</a> such as Compliance Administrator, eDiscovery Manager, and others to people in your organization so they can perform tasks in the Security &amp; Compliance Center.</li>
	<li><strong>Security policies</strong>   Enables you to create and apply device management policies using <a href="https://support.office.com/en-us/article/Overview-of-Mobile-Device-Management-for-Office-365-faa7d8e5-645d-4d59-839c-c8d4c1869e4a">Office 365 Mobile Device Management</a> and to set up <a href="https://support.office.com/en-us/article/Overview-of-data-loss-prevention-policies-1966b2a7-d1e2-4d92-ab61-42efbb137f5e">Data Loss Prevention</a> (DLP) policies for your organization.</li>
	<li><strong>Data management</strong>   Enables you to <a href="https://support.office.com/en-us/article/Import-PST-files-or-SharePoint-data-to-Office-365-ba688e0a-0fcb-4bd7-8e57-2b669564ea84">import email or SharePoint from other systems into Office 365</a>, <a href="https://support.office.com/en-us/article/Enable-archive-mailboxes-in-the-Office-365-Security-Compliance-Center-268a109e-7843-405b-bb3d-b9393b2342ce">configure archive mailboxes</a>, and set <a href="https://support.office.com/en-us/article/Retention-in-the-Office-365-Security-Compliance-Center-2a0fc432-f18c-45aa-a539-30ab035c608c">retention policies</a> for email and other content within your organization.</li>
	<li><strong>Search &amp; investigation</strong>   Provides <a href="https://support.office.com/en-us/article/Run-a-Content-Search-in-the-Office-365-Security-Compliance-Center-61852fd9-fe8a-4880-a339-cb19ed3bff4a">content search</a>, <a href="https://support.office.com/en-us/article/Search-the-audit-log-in-the-Office-365-Security-Compliance-Center-0d4d0f35-390b-4518-800e-0c7ec95e946c">audit log</a> and <a href="https://support.office.com/en-us/article/Manage-eDiscovery-cases-in-the-Office-365-Security-Compliance-Center-edea80d6-20a7-40fb-b8c4-5e8c8395f6da">eDiscovery case management</a> tools to quickly drill into activity across Exchange Online mailboxes, groups and public folders; SharePoint Online, and OneDrive for Business.</li>
	<li><strong>Reports</strong>   Enables you to quickly access <a href="https://support.office.com/en-us/article/Reports-in-the-Office-365-Security-Compliance-Center-7acd33ce-1ec8-49fb-b625-43bac7b58c5a">reports</a> for SharePoint Online, OneDrive for Business, Exchange Online, and Azure AD.</li>
	<li><strong>Service assurance</strong>   Provides information about how Microsoft maintains security, privacy and compliance with global standards for Office 365, Azure, Microsoft Dynamics CRM Online, Microsoft Intune, and other cloud services. Also includes access to third-party ISO, SOC and other audit reports, as well as Audited Controls, which provides details about the various controls that have been tested and verified by third-party auditors of Office 365.</li>
</ul>
<h2>Service Assurance</h2>
Many of our customers in regulated industries are subject to extensive compliance requirements. To perform their own risk assessments, customers often need in-depth information on how Office 365 maintains the security and privacy of their data. Office 365 is committed to the security and privacy of customer data in its cloud services and to earning customer trust by providing a transparent view of its operations, and easy access to independent compliance reports and assessments.

As mentioned above, the Service Assurance area provides information about how Microsoft's cloud services maintain security, privacy and compliance with global standards. The Service Assurance area includes independent third-party audit reports for Office 365, Yammer, Azure, CRM Online, and Intune, as well implementation and testing details for the security, privacy, and compliance controls used by Office 365 to protect customer data, which can be found in the Audited Controls area.

The Service Assurance section in the Security &amp; Compliance Center provides transparency of operations and information on how Microsoft maintains the security, privacy and compliance of customer data in Office 365. Customers can use the third-party reports on advanced security and compliance standards, along with a library of white papers, FAQs, and other materials on Office 365 topics such as data encryption, data resiliency, security incident management and more, to perform their own regulatory risk assessments. Compliance officers can assign the “Service Assurance User” role in Permissions to give users access to the Service Assurance dashboard. The tenant administrator can also provide external users, such as independent auditors, with access to information in the Service Assurance dashboard through the <a href="http://aka.ms/STP" target="_blank">Microsoft Cloud Service Trust Portal</a> (STP). For details on how to access the STP, visit Get started with the Service Trust Portal for Office 365 for business, Azure, and Dynamics CRM Online subscriptions.
<h2>Audited Controls</h2>
The Audited Controls area provides information about how the controls used within Office 365 meet security, compliance, and privacy requirements. Microsoft's internal control system is based on the National Institute of Standards and Technology (NIST) special publication 800-53.  With Audited Controls, we are also mapping our internal control system to other standards, such as International Organization for Standardization (ISO) 27001:2013 and ISO 27018:2014.

Using the Audited Controls feature, customers can perform their own assessment of the risks of using Office 365. Customers view the details of a given control, that includes:
<ul>
	<li>Control ID (as assigned by the particular mapped standard)</li>
	<li>Test status (whether or not the control passed testing)</li>
	<li>Test date (when the control was last tested)</li>
	<li>Tested by (typically third-party auditors or Microsoft)</li>
	<li>Control implementation details (how the control is implemented)</li>
	<li>Testing performed to evaluate control effectiveness (how the control was tested)</li>
</ul>
The following figure is an example of a control and the available details for it:

[caption id="attachment_3045" align="alignnone" width="258"]<a href="https://msdnshared.blob.core.windows.net/media/2016/06/Physical-Perimeter-Security-Control-for-Office-365.png"><img class="size-medium wp-image-3045" src="https://msdnshared.blob.core.windows.net/media/2016/06/Physical-Perimeter-Security-Control-for-Office-365-258x300.png" alt="Example control from the Audited Controls area of Service Assurance" width="258" height="300" /></a> Example control from the Audited Controls area of Service Assurance[/caption]

Because a control can map to multiple standards, the Test Date is the date when the control was last tested during any audit. As a result, the Test Date may me more recent than the date of the audit for the standard to which it is mapped. For example, a control such as one of our cryptographic key management policy controls, is typically tested by multiple third-party auditors as part of separate audits that are being conducted (e.g., ISO, SOC, etc.).

Audited Controls also enables customers to download an Excel file containing the details on all of the controls that were tested as part of a specific audit (e.g., ISO 27001:2013, or ISO 27018:2014, etc.). As of this writing, the only standards mapping files available are for ISO, but additional mapping against other standards is planned for a future release.

Check out Service Assurance and Audited Controls and let us know what you think.  You can use the Feedback mechanism in Service Assurance to send us anonymous or non-anonymous comments and feedback.]]></content:encoded>
    </item>
    <item>
      <title>Keeping up to date with what’s happening with Set-MailboxDatabase II</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/keeping-up-to-date-with-whats-happening-with-set-mailboxdatabase-ii</link>
      <pubDate>Fri, 27 Jun 2014 11:22:06 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2014/06/27/keeping-up-to-date-with-whats-happening-with-set-mailboxdatabase-ii/</guid>
      <description><![CDATA[Tony Redmond is absolutely correct when he says “No matter how long you work with software, it’s...]]></description>
      <content:encoded><![CDATA[<p>Tony Redmond is absolutely correct when he <a href="http://windowsitpro.com/blog/keeping-date-whats-been-happening-set-mailboxdatabase" target="_blank">says</a> “No matter how long you work with software, it’s impossible to master every possible detail, especially when you’re talking about a complex product like Exchange 2013.”&nbsp; With the pace of innovation faster today than ever before, and even faster tomorrow, it can be difficult to stay on top of the endless waves of changes that are occurring.&nbsp; Even with rigorous testing, substantive validation and other confirmatory processes, a small change can elude even those closest to the process.</p> <p>I call this post <strong>Keeping up to date with what’s happening with Set-MailboxDatabase II</strong> because it builds upon Tony’s post about the changes to the <a href="http://technet.microsoft.com/en-us/library/bb123971(v=exchg.150).aspx" target="_blank">Set-MailboxDatabase</a> cmdlet in Exchange 2013.</p> <p>The first change Tony mentions is the description for the <em>AutoDagExcludeFromMonitoring</em> parameter.&nbsp; The purpose of this parameter is to exclude a database from Managed Availability’s ServerOneCopyMonitor.&nbsp; We consider the ServerOneCopyMonitor, which executes only on DAG members and not standalone Mailbox servers, to be our most important redundancy protection mechanism from an HA perspective.&nbsp; As Tony also mentions, it is the latest incarnation of the database redundancy checks we introduced and <a href="http://blogs.technet.com/b/exchange/archive/2010/05/20/3409984.aspx" target="_blank">I blogged about</a> in May 2010. We think it is very important that all customers monitor for situations in which database redundancy is compromised and immediately take action to restore database redundancy to avoid catastrophic data loss.&nbsp; What started as an external script was later shipping in the box and configured automatically on all Mailbox servers (which is why the Task Scheduler service is a requirement for installing the Mailbox role in Exchange 2010).&nbsp; And in Exchange 2013, the checks are now done in code as part of Managed Availability.&nbsp; As a result, there are no scheduled tasks configured by Exchange, and the Task Scheduler service is not required to install the Mailbox role in Exchange 2013.</p> <p>The ServerOneCopyMonitor checks databases once a minute on all DAG members.&nbsp; It specifically is looking for databases that where:</p> <ul> <li>The database copy is (Healthy || Mounted) &amp;&amp;  </li><li>ServerComponentState is NOT Offline &amp;&amp;  </li><li>The database copy is NOT Activation Blocked &amp;&amp;  </li><li>The server is NOT exceeding MaxActive &amp;&amp;  </li><li>The copy queue length &lt; AutoDatabaseMountDial &amp;&amp;  </li><li>The server is NOT Activation Disabled</li></ul> <p> <p>30 consecutive failures are considered an escalating condition by Managed Availability.&nbsp; In this event, the ServerOneCopyMonitor is notified and transitions into an Unhealthy state.</p>When databases are being monitored for redundancy, events will be logged in the Application event log when redundancy is compromise and/or restored (event 4113 when you are down to a single copy of a database, and event 4114 when redundancy has been restored). The <em>AutoDagExcludeFromMonitoring</em> parameter is a mechanism to tell the ServerOneCopyMonitor not to alert on a specific database (for example, a non-replicated database that is hosted on a DAG member).&nbsp; The default value for this parameter is False. Set the value of <em>AutoDagExcludeFromMonitoring</em> to True, and ServerOneCopyMonitor does not report on its redundancy.&nbsp; Or at least that is the way it is supposed to work, and that is what I wrote on TechNet about how it should work, too.  <p>And that is the way it will work in Exchange Server 2013 Cumulative Update 6 (CU6).&nbsp; But in CU5 and earlier, that’s not quite how it works.&nbsp; As Tony reported, about 15 minutes after setting <em>AutoDagExcludeFromMonitoring</em> to True, it mysteriously reverts back to False, and the ServerOneCopyMonitor generates 4113 alerts about databases that should have been excluded.&nbsp; And that brings us back to those small changes that can elude even those closest to the process.&nbsp; As it turns out, the resetting of <em>AutoDagExcludeFromMonitoring</em> from True wasn’t a huge mystery or major code bug.&nbsp; Rather, it was a function of a datacenter (Exchange Online) process that made its way into the enterprise (on-premises) product.&nbsp; Can you think of a feature in Exchange 2013 that is mysterious and makes changes to your servers behind the scenes and under the covers?&nbsp; That’s right…it was Managed Availability again.&nbsp; As it turns out, Exchange 2013 on-premises ships with an Exchange Online responder called EnableDatabaseMonitoringResponder that is part of the DataProtection health set used in Exchange Online.&nbsp; I bet you can guess from the name of the responder and the context of this blog as to what that responder does.</p> <p>As you probably guessed, that responder runs every 15 minutes, and if it finds any databases excluded from monitoring, it re-includes them by changing the value of <em>AutoDagExcludeFromMonitoring</em> from True to False. The primary purpose of the <em>AutoDagExcludeFromMonitoring</em> parameter is to allow administrators to exclude a non-replicated database in a DAG from single copy alerting. But in Exchange Online, we don’t have any non-replicated databases in our DAGs. All databases in all Exchange Online DAGs are replicated. As such, databases should not be excluded from monitoring, and <em>AutoDagExcludeFromMonitoring</em> should always be set to False. To ensure that we catch cases in Exchange Online where <em>AutoDagExcludeFromMonitoring</em> was somehow set to True, we created the EnableDatabaseMonitoringResponder to check the value of <em>AutoDagExcludeFromMonitoring</em> and change it back to False if it finds it set to True. And because the EnableDatabaseMonitoringResponder was included in Exchange Server, this behavior is happening in on-premises environments, too.</p> <p>As I mentioned before, we have fixed this in a later build, and it will be included in CU6.&nbsp; In the meantime, if you have set the value of <em>AutoDagExcludeFromMonitoring</em> to True because you want to exclude a database, you should be able to override the EnableDatabaseMonitoringResponder by using a server or global override; for example:</p> <blockquote> <p><strong><font face="Courier New">Add-GlobalMonitoringOverride -Identity DataProtection\EnableDatabaseMonitoringResponder -ItemType Responder -PropertyName “Enabled” -PropertyValue “0”</font></strong></p></blockquote> <p>For the above override, also add either –Duration or –Build to specify a time length or have the override apply to a <a href="http://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx" target="_blank">specific build</a> of Exchange 2013.  <p>After this override takes effect, <em>AutoDagExcludeFromMonitoring</em> should remain set to True.  <p>The second change Tony mentions is the MaintenanceSchedule parameter.&nbsp; I actually opened a bug to remove this parameter from Exchange 2013 way back in September 2012.&nbsp; No, that is not a typo.&nbsp; That was one of three mailbox database parameters that we deprecated and discussed removing from Exchange 2013:  <ul> <p>1. MaintenanceSchedule – because we no longer have scheduled maintenance<br />2. PublicFolderDatabase&nbsp; - because we no longer have public folder databases<br />3. QuotaNotificationSchedule – because we no longer schedule quota notifications; we check at logon time now</p></ul> <p>We went through several rounds of discussions about this, and decided that instead of removing the parameters, they should be deprecated. The primary reason for this was to avoid any interoperability issues in mixed environments that contained Exchange 2013 and legacy (e.g., Exchange 2010 and/or Exchange 2007) servers and databases. For example, the PublicFolderDatabase&nbsp; parameter is used by Exchange admins to point Exchange 2013 users to legacy public folder databases in single-forest coexistence deployments. </p> <p>We also wanted to be particularly sensitive about any custom scripts that might be out there in use by admins that were leveraging these parameters. If we left the parameters in, but returned a Not_Supported error, that would break these scripts.&nbsp; If we took the parameters out altogether, that would break these scripts.&nbsp; Of course, with functionality being removed, these scripts need to be fixed anyway, but we wanted the experience to be as frictionless as possible.&nbsp; So we opted for a third path – deprecate the parameters in content and in the product.</p> <p>So for the <em>MaintenanceSchedule</em> parameter, we documented in TechNet that “This parameter has been deprecated in Exchange 2013 and it no longer does anything.”&nbsp; However, as Tony and fellow MVP Jaap Wesselius discovered, that last part is not true.&nbsp; Sort of.&nbsp; It depends on how you look at it.&nbsp; If you look at it from a pure parameter perspective, then TechNet is right.&nbsp; The parameter no longer does anything.&nbsp; But if you look at it from cmdlet perspective, Set-MailboxDatabase -MaintenanceSchedule does do something.&nbsp; It will change the value of the database’s MaintenanceSchedule property; but like the parameter of the same name, the property does nothing on Exchange 2013 databases because scheduled maintenance no longer exists in Exchange 2013. But to avoid any further customer confusion, I changed the description of this parameter in TechNet to read as follows:</p> <blockquote> <p>“This parameter has been deprecated in Exchange 2013. While it can be used to change the MaintenanceSchedule property of a database, that property is ignored in Exchange 2013 because scheduled maintenance no longer exists.”</p></blockquote> <p>That change will go live with the next content refresh to TechNet.</p> <p>As Tony says at the end of his post, “All of this goes to prove that you have to keep your wits about you to keep up to date with changes that are made to a major product like Exchange 2013. It makes the job interesting – or demanding.”&nbsp; I choose to think of it as <em>interesting</em>.&nbsp; <img class="wlEmoticon wlEmoticon-smile" style="border-top-style:none;border-bottom-style:none;border-right-style:none;border-left-style:none;" alt="Smile" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/wlEmoticon-smile_4090596C.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/wlEmoticon_2D00_smile_5F00_4090596C.png" /></p></p></p></p></p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Server 2012 R2 and Database Availability Groups</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/windows-server-2012-r2-and-database-availability-groups</link>
      <pubDate>Tue, 25 Feb 2014 15:20:00 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2014/02/25/windows-server-2012-r2-and-database-availability-groups/</guid>
      <description><![CDATA[Exchange Server 2013 Service Pack 1 (SP1) has released, and among other features and improvements,...]]></description>
      <content:encoded><![CDATA[<p>Exchange Server 2013 <a href="https://aka.ms/E15SP1" target="_blank">Service Pack 1 (SP1)</a> has released, and among other <a href="/b/exchange/archive/2014/02/25/exchange-server-2013-service-pack-1-available.aspx" target="_blank">features and improvements</a>, SP1 includes <a href="http://technet.microsoft.com/en-us/library/bb691354(v=exchg.150).aspx" target="_blank">support for Windows Server 2012 R2</a>. This means that a database availability group (DAG) running Exchange 2013 SP1 on Windows Server 2012 R2 automatically takes advantage of the improvements in and changes to Windows Failover Clustering (WFC) in Windows Server 2012 R2. In addition, an administrator can manually take advantage of even more changes to WFC. Check out the <a href="http://technet.microsoft.com/en-us/library/dn265972.aspx" target="_blank">documentation</a> about changes to WFC in Windows Server 2012 R2.</p>
<p>In this post, I&rsquo;ll focus on two important changes in Windows Server 2012 R2 that increase DAG resilience, namely:</p>
<ul>
<li>Dynamic Quorum</li>
<li>Dynamic Witness</li>
</ul>
<p>Of course, Dynamic Quorum is not new in Windows Server 2012 R2; it was introduced in Windows Server 2012.&nbsp; But since it is enabled by default in Windows Server 2012 R2, it&rsquo;s worth discussing here, as well (and everything I write about Dynamic Quorum applies to DAGs running on Windows Server 2012).</p>
<p>I&rsquo;ll also talk about a new way to create DAGs on Windows Server 2012 R2: a DAG without a cluster administrative access point.</p>
<p>In addition to the behavior changes, some WFC terminology has changed in Windows Server 2012 R2. For example, in Windows Server 2012 R2, the parameters for <a href="http://technet.microsoft.com/en-us/library/hh847275.aspx" target="_blank">Set-ClusterQuorum</a> no longer use the same quorum mode terminology used in previous versions of WFC, such as NodeMajority, NodeAndFileShareMajority or NodeAndDiskMajority. Instead, simplified cmdlet parameters are used, such as NoWitness, FileShareWitness, and DiskWitness. In the Validate Quorum Configuration report, simple terminology is used, such as Witness Type and Witness Resource. Where applicable, this new terminology is integrated into this post, and will be integrated into the Exchange 2013 <a href="http://technet.microsoft.com/en-us/library/dd638137(v=exchg.150).aspx" target="_blank">High Availability and Site Resilience</a> documentation on TechNet.</p>
<h1>Dynamic Quorum</h1>
<p>In Windows Server 2008 R2, quorum majority is fixed, and based on the initial cluster configuration. Unless an administrator manually removes a node&rsquo;s vote, a node always has a vote, and the number of votes needed to maintain a majority is always the same.</p>
<div></div>
<p>In Windows Server 2012 and Windows Server 2012 R2, quorum majority is determined by the set of nodes that are active members of the cluster at a given time. This behavior is called Dynamic Quorum (DQ), and it is enabled for all clusters by default.</p>
<div></div>
<p>Unless manually disabled by an administrator, DQ is therefore enabled on all DAGs that are deployed on Windows Server 2012 or Windows Server 2012 R2. With DQ, the cluster dynamically manages the assignment of votes to nodes, based on the state of each node, and dynamically recalculates quorum requirements. It&rsquo;s pretty simple, actually:</p>
<div></div>
<ul>
<li>When a node shuts down, crashes, or loses connectivity with the cluster, it loses its quorum vote</li>
<li>When a node rejoins the cluster, it regains its quorum vote</li>
</ul>
<p>If the cluster maintains quorum after a shutdown or failure, and whenever a node rejoins the cluster, the number of votes required to maintain quorum will be recalculated, based on this change in vote count.</p>
<p>DQ&rsquo;s ability to dynamically manage votes is different from the ability an administrator has to manually remove a vote from a node. If an administrator removes a node&rsquo;s vote by setting it&rsquo;s <em>NodeWeight</em> property to a value of 0, <span style="text-decoration:underline;">then DQ does not dynamically give back the vote</span>.</p>
<p>The idea behind DQ is that, by adjusting the assignment of quorum votes and dynamically increasing or decreasing the number of quorum votes required to keep running, the cluster can sustain sequential node shutdowns (or failures) all the way down to a single node (referred to as a &ldquo;<em>last man standing</em>&rdquo;).</p>
<p>As long as quorum is maintained after a shutdown or a failure, DQ can recalculate quorum requirements, and the cluster will reduce the number of votes needed to maintain quorum. And that is a fundamental requirement for DQ: <span style="text-decoration:underline;">quorum must be maintained after a shutdown or failure</span>. If quorum is lost, DQ does nothing for you. DQ does not allow a cluster to sustain a simultaneous failure of the majority of voting members.</p>
<h2>Determining Assigned and Current Vote Counts</h2>
<p>Even though a node is Up, it might not have a vote (for reasons other than an administrator removing the vote).. For example, when a cluster is down to the last two active nodes, DQ will remove the vote from one of the nodes. One node will have a vote, and the other node will not. It is important that in this configuration the administrator be aware of which node has the vote. In this scenario, although an administrator can safely shut down the node that does not have a vote, if they shut down the node with a vote, there are no votes left in the cluster, and the remaining node (without a vote) terminates service.</p>
<p>You can see which nodes have a vote using <a href="http://technet.microsoft.com/library/hh847268.aspx" target="_blank">Get-ClusterNode</a>. For example:</p>
<p><span style="font-family:Courier New;">Get-ClusterNode &lt;Name&gt; | ft name, dynamicweight, state</span></p>
<p><span style="font-family:Segoe UI;">The output you&rsquo;ll see is similar to the following:</span></p>
<table style="width:392px;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="128" align="right" valign="top">
<p align="right">Name <br />------- <br />EX1</p>
</td>
<td width="138" align="right" valign="top">
<p align="right">DynamicWeight <br />------------------ <br />1</p>
</td>
<td width="124" align="right" valign="top">
<p align="right">State <br />------ <br />Up</p>
</td>
</tr>
</tbody>
</table>
<p>A <em>DynamicWeight</em> value of 1 indicates the node has a vote, and a value of 0 indicates the node does not have a vote (because DQ took it away).</p>
<p>You can also view this information in Failover Cluster Manager, provided your DAG has an administrative access point (see the section below).</p>
<p>If your DAG does not have an administrative access point, then you can use Get-ClusterNode as described above, or run the cluster validation tests using <a href="http://technet.microsoft.com/en-us/library/hh847274.aspx" target="_blank">Test-Cluster</a> to view voting information. For example: <br /> <br /><span style="font-family:Courier New;">Test-Cluster -Node EX4 -Include Cluster</span></p>
<p>Test-Cluster will create a Validate Quorum Configuration report that will display the assigned and current vote count, as shown below.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/image_208D37A2.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/image_5F00_208D37A2.png"><img width="398" height="300" title="image" style="margin-right:auto;margin-left:auto;float:none;display:block;background-image:none;" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/image_thumb_39F53ADC.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/image_5F00_thumb_5F00_39F53ADC.png" border="0" /></a></p>
<h2>Best Practices for Dynamic Quorum</h2>
<p>The WFC team&rsquo;s best practice recommendation is to keep DQ enabled for your clusters because it generally increases the availability of the cluster, and it allows the cluster to continue running in failure scenarios that are not possible if DQ is disabled.</p>
<p>The Exchange team&rsquo;s best practice recommendation is to keep DQ enabled for your DAGs. Exchange is not DQ-aware, but DQ can increase the availability of a DAG in failure scenarios where a Windows Server 2008 R2 DAG would have lost quorum. It&rsquo;s worth noting that all of our internal testing on Windows Server 2012 and Windows Server 2012 R2 is performed with DQ enabled, and DQ is enabled for all DAGs in Office 365 that run on those platforms, as well.</p>
<p>That being said, customers should not factor DQ into their capacity planning and sizing plans for Exchange Server 2013. For example, if you are planning to deploy an 8-member DAG, you would not size each server to handle the entire 8-server workload in case it became the last man standing. Continue to following the <a href="https://aka.ms/Ex2013PerfBlog" target="_blank">published guidance</a> and use the <a href="https://aka.ms/E2013Calc" target="_blank">Server Role Requirements Calculator</a> for sizing your DAGs.</p>
<p>Note that while we recommend DQ remain enabled for all DAGs, we have not tested it with DAGs that use applications that support the <a href="http://technet.microsoft.com/en-us/library/dd638137(v=exchg.150).aspx#API" target="_blank">third party replication API</a> built into Exchange 2013. If you are using third-party replication for your DAG instead of the built-in continuous replication, consult with your replication vendor to determine if DQ should remain enabled for your DAG.</p>
<h1>Dynamic Witness</h1>
<p>All DAGs must have a valid server configured for the DAG&rsquo;s WitnessServer property. However, the witness server and cluster File Share Witness resource are configured for use within the DAG&rsquo;s cluster only when the DAG contains an even number of members and is using the FileShareWitness (previously Node and File Share Majority) quorum model. If the DAG contains an odd number of members, the DAG server management tasks will execute subtasks that configure the DAG to use a NoWitness (previously Node Majority) quorum model.</p>
<p>In previous versions of WFC, when a cluster is configured to use the FileShareWitness quorum model, it will use the configured witness server as an extra vote to maintain quorum when the cluster is one vote away from losing quorum. It is at that point where a file on the witness server called witness.log would be locked by one of the DAG members, and the witness would count as a vote for quorum calculation purposes.</p>
<p>Prior to Windows Server 2012 R2, if when needed for quorum the File Share Witness cluster resource is in a <strong>Failed</strong> state, the cluster service will try to restart it <span style="text-decoration:underline;">once</span> in an attempt to bring the resource online so that the witness.log file on the witness server can be locked. If the cluster can bring the resource online, a lock can be established. If the cluster cannot bring the resource online, the witness server and share will not be available for use, and a lock cannot be established. In this event, quorum would be lost and service within the DAG would terminate (e.g., databases would dismount). If when needed for quorum the File Share Witness resource is in an <strong>Offline</strong> state (a state which can be achieved only via administrator action), the cluster service <span style="text-decoration:underline;">will not</span> try to bring the resource online, and quorum will be lost and service within the DAG will terminate.</p>
<p>In Windows Server 2012 R2, a cluster configured to use DQ (which is all clusters by default), will also use a feature called Dynamic Witness (DW). In DW, the witness vote is dynamically adjusted based on the number of current votes. Like DQ, the logic used here is pretty simple:</p>
<ul>
<li>If there are an odd number of votes, the witness does not have a vote.</li>
<li>If there are an even number of votes, the witness has a vote.</li>
</ul>
<p>The witness vote is also dynamically adjusted based on the state of the witness resource. If the File Share Witness resource is Offline <em>or</em> Failed, the cluster sets the witness vote to 0.</p>
<p>This is an important change over previous versions of WFC. With DW, the cluster decides whether to use the witness vote based on the number of votes that are currently available in the cluster.</p>
<h2>Check the Witness Vote</h2>
<p>You can see if the witness server currently has a vote by using <a href="http://technet.microsoft.com/en-us/library/hh847254.aspx" target="_blank">Get-Cluster</a>. Windows Server 2012 R2 includes the new <em>WitnessDynamicWeight</em> cluster common property that you can use to view the witness vote. For example:</p>
<p><span style="font-family:Courier New;">(Get-Cluster).WitnessDynamicWeight</span></p>
<p>or</p>
<p><span style="font-family:Courier New;">Get-Cluster &ndash;Name EX4 | FT Name, WitnessDynamicWeight &ndash;auto</span></p>
<p>0 means the witness does not have a vote, and 1 means the witness has a vote.</p>
<h2>Best Practices for Dynamic Witness</h2>
<p>Like DQ, the WFC team&rsquo;s best practice recommendation is to keep DW enabled for your clusters. It significantly reduces the risk that the cluster will lose quorum because of witness or witness resource failure.</p>
<p>The Exchange team&rsquo;s best practice recommendation is to keep DW enabled for your DAGs. Exchange is not DW-aware, but DW can increase the availability of a DAG in failure scenarios where a Windows Server 2008 R2 DAG would have lost quorum due to witness failure. All of our internal testing on Windows Server 2012 R2 is performed with DW enabled, and DW is enabled for DAGs in Office 365 that run on Windows Server 2012 R2.</p>
<h1>DAG Without a Cluster Administrative Access Point</h1>
<p>All DAGs running Windows Server 2008 R2 or Windows Server 2012 require at least one IP address on every subnet included in the MAPI network. The IP address(es) assigned to the DAG are used by the DAG&rsquo;s cluster. The name you assign to the DAG becomes the cluster network name (also known as the cluster administrative access point, or AAP), which enables name resolution and connectivity to the cluster using the cluster&rsquo;s IP address (or more precisely, connectivity to the cluster member that currently owns the cluster core resource group) using the cluster name.</p>
<p>Windows Server 2012 R2 enables you to create a failover cluster without an AAP. A Windows failover cluster without an AAP has the following characteristics:</p>
<ul>
<li>There are no IP addresses assigned to the cluster, and therefore no IP Address resources in the cluster core resource group.</li>
<li>There is no name assigned to the cluster, and therefore no Network Name resources in the cluster core resource group.</li>
<li>Because there is no name or IP address assigned to the cluster, there is no DNS entry for the cluster, and the cluster is not resolvable on the network.</li>
<li>A cluster name object (CNO) is not used, and therefore not created in Active Directory.</li>
<li>The cluster cannot be managed using Failover Cluster Manager. It must be managed using Windows PowerShell, and the PowerShell cmdlets must be run against individual nodes.</li>
</ul>
<p>Clusters without AAPs can be created with <a href="http://technet.microsoft.com/en-us/library/hh847246.aspx" target="_blank">New-Cluster</a> by setting the <em>AdministrativeAccessPoint</em> property to a value of <strong>None</strong>.</p>
<p>Exchange Server 2013 SP1 supports creating a DAG without a cluster AAP as a new optional configuration. A DAG without an AAP has the following characteristics:</p>
<ul>
<li>There are no IP addresses assigned to the DAG. Because the IP address properties are required properties for DAG objects, they are populated with a placeholder/pseudo IPv4 address value of 255.255.255.255.</li>
<li>The DAG has a name, and that name appears in the cluster properties of each DAG member, but it is not used by the cluster for any purpose, it is not registered in DNS, and it is not resolvable on the network.</li>
</ul>
<p>Creating a DAG without an AAP reduces the complexity of your DAG and simplifies DAG management. In addition, it also reduces the attack surface by removing a network access point to the node that owns the default cluster resource group, by removing the cluster/DAG name from DNS, and by eliminating a CNO.</p>
<p>When running Exchange 2013 SP1 on Windows Server 2012 R2, you can create a DAG without an AAP using the Exchange Admin Center (EAC) or the Shell. The process in each of these tools is very different when it comes to the DAG IP address (e.g., the <em>DatabaseAvailabilityGroupIPAddresses</em> parameter):</p>
<ul>
<li>In the EAC, you give the DAG an IP address of <strong>255.255.255.255</strong> while <span style="text-decoration:underline;">creating</span> the DAG</li>
<li>In the Shell, you <span style="text-decoration:underline;">create</span> the DAG using <a href="http://technet.microsoft.com/en-us/library/dd351107(v=exchg.150).aspx" target="_blank">New-DatabaseAvailabilityGroup</a> and use a specific syntax for the <em>DatabaseAvailabilityGroupIPAddresses</em> parameter. For example: <br /> <br /><strong><span style="font-family:Courier New;">New-DatabaseAvailabilityGroup &ndash;Name D2 &ndash;WitnessServer ex3.e15demos.com -DatabaseAvailabilityGroupIPAddresses ([System.Net.IPAddress])::None </span></strong></li>
</ul>
<p>When you create a DAG using either of the above methods, Exchange will automatically create a cluster for the DAG without an AAP.</p>
<h3>DEMO: Creating a DAG without an Administrative Access Point</h3>
<p>I created some simple videos to demonstrate the two different ways to create a DAG without an AAP. These videos have no audio, they are meant to be watched in HD, and they have been time compressed:</p>
<ul>
<li>In the <a href="https://www.youtube.com/watch?v=XUANkfgBSEc&amp;feature=player_embedded" target="_blank">first video</a>, I create a DAG without an AAP using the EAC.</li>
<li>In the <a href="https://www.youtube.com/watch?v=tIOJvWVvvvo&amp;list=UUTY9uCHMrxlUdN2N1NdNoRg&amp;feature=player_detailpage" target="_blank">second video</a>, I create a DAG without an AAP using the Shell.</li>
</ul>
<p>My demo topology is very simple, and consists of four servers:</p>
<ul>
<li>DC1 &ndash; domain controller/global catalog server running Windows Server 2012</li>
<li>EX4 &ndash; Exchange Server 2013 SP1 CAS/Mailbox running Windows Server 2012 R2</li>
<li>EX5 &ndash; Exchange Server 2013 SP1 CAS/Mailbox running Windows Server 2012 R2</li>
<li>EX3 &ndash; witness server running Windows Server 2012</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/SP1-Demo-Environment_0554DEA1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/SP1_2D00_Demo_2D00_Environment_5F00_0554DEA1.png"><img width="338" height="261" title="SP1 Demo Environment" style="margin-right:auto;margin-left:auto;float:none;display:block;background-image:none;" alt="SP1 Demo Environment" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/SP1-Demo-Environment_thumb_65A604D8.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/SP1_2D00_Demo_2D00_Environment_5F00_thumb_5F00_65A604D8.png" border="0" /></a></p>
<h2>Converting an Existing DAG</h2>
<p>In WFC, you can configure administrative access point settings <span style="text-decoration:underline;">only when you create a cluster</span>. Thus, a DAG with one or more members <span style="text-decoration:underline;">cannot</span> have its configuration changed from having an AAP to not having an AAP, or vice versa.&nbsp; There is no supported way to do this because WFC does not support it. So don&rsquo;t even try it.&nbsp; But, I know some of you will anyway, so&hellip;</p>
<p>If you have a DAG with members without an AAP, and you use <a href="http://technet.microsoft.com/en-us/library/dd297934(v=exchg.150).aspx" target="_blank">Set-DatabaseAvailabilityGroup</a> to try to assign it an IP address or configure it to use DHCP, you will get a warning and an error message similar to the following:</p>
<blockquote>
<p><em>WARNING: An unexpected error has occurred and a Watson dump is being generated: Some or all identity references could not be translated.</em><em>&nbsp; <br /></em><em>Some or all identity references could not be translated. <br />&nbsp;&nbsp;&nbsp; + CategoryInfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : NotSpecified: (:) [Set-DatabaseAvailabilityGroup], IdentityNotMappedException <br />&nbsp;&nbsp;&nbsp; + FullyQualifiedErrorId : System.Security.Principal.IdentityNotMappedException,Microsoft.Exchange.Management.SystemConfigurationTasks. <br />&nbsp;&nbsp; SetDatabaseAvailabilityGroup <br />&nbsp;&nbsp;&nbsp; + PSComputerName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ex4.e15demos.com</em></p>
</blockquote>
<p>In this event, the properties of the DAG <span style="text-decoration:underline;">will</span> change, but the properties of and IP addresses assigned to the cluster <span style="text-decoration:underline;">will not</span>(and a CNO will not be created). Attempting such a procedure can break your DAG. In this case, you must immediately run Set-DatabaseAvailabilityGroup and reconfigure the DAG with the 255.255.255.255 IP address.</p>
<p>If you try to change the IP address settings in EAC (for example, by removing 255.255.255.255 and adding a static IP address), you&rsquo;ll receive a similar error message:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/image_3824E515.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/image_5F00_3824E515.png"><img width="320" height="278" title="image" style="margin-right:auto;margin-left:auto;float:none;display:block;background-image:none;" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/47/98/metablogapi/image_thumb_18760B4D.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-47-98-metablogapi/image_5F00_thumb_5F00_18760B4D.png" border="0" /></a></p>
<p>Similarly, if you have a DAG with members and with an AAP and you try to use the Shell to remove the AAP, you will get a warning message similar to the following:</p>
<blockquote>
<p><em>WARNING: No static address matched networks &#39;Cluster Network 1&#39;. Specified static addresses: &#39;255.255.255.255&#39;</em></p>
</blockquote>
<p>In addition, the cluster core resource group will fail, as the Set-DatabaseAvailabilityGroup does remove the IP Address resource, which causes the Network Name resource to go into a Failed state. In this state, the Network Name resource cannot be brought online or deleted. In this event, you must run Set-DatabaseAvailabilityGroup and re-assign the DAG&rsquo;s previous IP address(es). This will recreate the IP address resource in the cluster, and allow the Network Name resource to come back online.</p>
<p>In any event, WFC does not support changing this configuration option, and neither does Exchange. If you have a DAG that has one or more members, you must first remove <span style="text-decoration:underline;">all</span> of them (which in turn destroys/removes the existing cluster). Then, you can change the DAG properties (e.g., use Set-DatabaseAvailabilityGroup to change the IP address settings for the DAG). When you add members to the DAG, the DAG and cluster will use the new property settings. Note, though, that <span style="text-decoration:underline;">this process will result in downtime.</span></p>
<p>Keep in mind that creating a DAG without an AAP is <span style="text-decoration:underline;">completely optional</span>. Although a DAG does not require a cluster AAP, you may be using third-party applications that are levering the AAP of your DAG&rsquo;s cluster (for example, backup, management, and monitoring applications). When Exchange Server 2013 SP1 is running on Windows Server 2012 R2, you can decide for yourself, on a DAG-by-DAG basis, whether or not a DAG should have an AAP:</p>
<ul>
<li>Creating a DAG with one or more static IP addresses, or using DHCP for the DAG&rsquo;s IP address(es), creates a DAG with an AAP.</li>
<li>Creating a DAG using the process described in this post and demonstrated in the linked videos creates a DAG without an AAP.</li>
</ul>
<p>For more information about creating a DAG without a cluster AAP, see <a href="http://technet.microsoft.com/en-us/library/dd298065(v=exchg.150).aspx#Cr" target="_blank">Creating DAGs</a> and <a href="http://technet.microsoft.com/en-us/library/dd351172(v=exchg.150).aspx" target="_blank">Create a Database Availability Group</a>.</p>
<h2>Windows Server 2012 R2 and DAGs</h2>
<p>Windows Server 2012 R2 is an excellent platform for DAGs and for all Exchange Server 2013 SP1 servers. It streamlines deployment, because it already includes most of the Exchange pre-requisites (the only thing you need to download separately to install Exchange 2013 is the UCMA package), and it enables you to build DAGs that can take advantage of the improvements in WFC.</p>]]></content:encoded>
    </item>
    <item>
      <title>New Managed Availability Documentation Available</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/new-managed-availability-documentation-available</link>
      <pubDate>Mon, 25 Nov 2013 09:35:38 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2013/11/25/new-managed-availability-documentation-available/</guid>
      <description><![CDATA[Ensuring that users have a good email experience has always been the primary objective for messaging...]]></description>
      <content:encoded><![CDATA[<p>Ensuring that users have a good email experience has always been the primary objective for messaging system administrators. To help ensure the availability and reliability of your messaging system, all aspects of the system must be actively monitored, and any detected issues must be resolved quickly.</p>  <p>In previous versions of Exchange, monitoring critical system components often involved using an external application such as Microsoft System Center 2012 Operations Manager to collect data, and to provide recovery action for problems detected as a result of analyzing the collected data. Exchange 2010 and previous versions included health manifests and correlation engines in the form of management packs. These components enabled Operations Manager to make a determination as to whether a particular component was healthy or unhealthy. In addition, Operations Manager also used the diagnostic cmdlet infrastructure built into Exchange 2010 to run synthetic transactions against various aspects of the system.</p>  <p>Exchange 2013 takes a new approach to monitoring and preserving the end user experience natively using a feature called <em>Managed Availability</em> that provides built-in monitoring and recovery actions.</p>  <h1>Overview</h1>  <p align="left">Managed availability, also known as <em>Active Monitoring</em> or <em>Local Active Monitoring</em>, is the integration of built-in monitoring and recovery actions with the Exchange high availability platform. It's designed to detect and recover from problems as soon as they occur and are discovered by the system. Unlike previous external monitoring solutions and techniques for Exchange, managed availability doesn't try to identify or communicate the root cause of an issue. It's instead focused on recovery aspects that address three key areas of the user experience:</p>  <ul>   <li><strong>Availability</strong>&#160;&#160; Can users access the service?</li>    <li><strong>Latency</strong>&#160;&#160; How is the experience for users?</li>    <li><strong>Errors</strong>&#160;&#160; Are users able to accomplish what they want?</li> </ul>  <p>Managed availability is an internal process that runs on every Exchange 2013 server. It polls and analyzes hundreds of health metrics every second. If something is found to be wrong, most of the time it will be fixed automatically. But there will always be issues that managed availability won’t be able to fix on its own. In those cases, managed availability will escalate the issue to an administrator by means of event logging.</p>  <p>For more information about this new feature, see the newly published topic <a href="http://technet.microsoft.com/en-us/library/dn482056(v=exchg.150).aspx" target="_blank">Managed Availability</a>.</p>  <h1>Health Sets</h1>  <p>From a reporting perspective, managed availability has two views of health, one internal and one external. The internal view uses <em>health sets</em>. Each component in Exchange 2013 (for example, Outlook Web App, Exchange ActiveSync, the Information Store service, content indexing, transport services, etc.) is monitored by managed availability using probes, monitors, and responders. A group of probes, monitors and responders for a given component is called a health set. A health set is a group of probes, monitors, and responders that determine if that component is healthy. The current state of a health set (e.g., whether it is healthy or unhealthy) is determined by using the state of the health set’s monitors. If all of a health set’s monitors are healthy, then the health set is in a healthy state. If any monitor is not in a healthy state, then the health set state will be determined by its least healthy monitor.</p>  <p>For detailed steps to view server health or health sets state, see the newly published topic <a href="http://technet.microsoft.com/en-us/library/dn482054(v=exchg.150).aspx">Manage Health Sets and Server Health</a>.&#160; For information on troubleshooting health sets, see <a href="http://technet.microsoft.com/en-us/library/dn195892(v=exchg.150).aspx" target="_blank">this</a> topic.</p>  <h1>Health Groups</h1>  <p>The external view of managed availability is composed of health groups. Health groups are exposed to System Center Operations Manager 2007 R2 and System Center Operations Manager 2012.</p>  <p>There are four primary health groups:</p>  <ul>   <li><strong>Customer Touch Points Components</strong> that affect real-time user interactions, such as protocols, or the Information Store</li>    <li><strong>Service Components Components</strong> without direct, real-time user interactions, such as the Microsoft Exchange Mailbox Replication service, or the offline address book generation process (OABGen)</li>    <li><strong>Server Components</strong> The physical resources of the server, such as disk space, memory and networking</li>    <li><strong>Dependency Availability</strong> The server’s ability to access necessary dependencies, such as Active Directory, DNS, etc.</li> </ul>  <p>When the Exchange 2013 Management Pack is installed, System Center Operations Manager (SCOM) acts as a health portal for viewing information related to the Exchange environment. The SCOM dashboard includes three views of Exchange server health:</p>  <ol>   <li><strong>Active Alerts Escalation</strong> Responders write events to the Windows event log that are consumed by the monitor within SCOM. These appear as alerts in the Active Alerts view.</li>    <li><strong>Organization Health</strong> A rollup summary of the overall health of the Exchange organization health is displayed in this view. These rollups include displaying health for individual database availability groups, and health within specific Active Directory sites.</li>    <li><strong>Server Health</strong> Related health sets are combined into health groups and summarized in this view.</li> </ol>  <h1>Overrides</h1>  <p>Overrides provide an administrator with the ability to configure some aspects of the managed availability probes, monitors, and responders. Overrides can be used to fine tune some of the thresholds used by managed availability. They can also be used to enable emergency actions for unexpected events that may require configuration settings that are different from the out-of-box defaults.</p>  <p>Overrides can be created and applied to a single server (this is known as a server override), or they can be applied to a group of servers (this is known as a global override). Server override configuration data is stored in the Windows registry on the server on which the override is applied. Global override configuration data is stored in Active Directory.</p>  <p>Overrides can be configured to last indefinitely, or they can be configured for a specific duration. In addition, global overrides can be configured to apply to all servers, or only servers running a specific version of Exchange.</p>  <p>For detailed steps to view or configure server or global overrides, see <a href="http://technet.microsoft.com/en-us/library/dn482055(v=exchg.150).aspx">Configure Managed Availability Overrides</a>.</p>  <p>When you configure an override, it will not take effect immediately. The Microsoft Exchange Health Manager service checks for updated configuration data every 10 minutes. In addition, global overrides will be dependent on Active Directory replication latency.</p>  <p>Below are some examples of adding and removing global and server overrides:</p>  <p><strong>Example 1 - Make Information Store maintenance assistant alerts non-urgent for 60 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity Store\MaintenanceAssistantEscalate -ItemType Responder -PropertyName NotificationServiceClass -PropertyValue 1 -Duration 60.00:00:00</font></p>  <p><strong>Example 2 - Change the maintenance assistant monitor to look for 32 hours of failures for 30 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity Store\DirectoryServiceAndStoreMaintenanceAssistantMonitor -ItemType Monitor -PropertyName MonitoringIntervalSeconds -PropertyValue 115200 -Duration 30.00:00:00</font></p>  <p><strong>Example 3 - Remove the maintenance assistant monitor override added in Example 2:</strong></p>  <p><font face="Courier New">Remove-GlobalMonitoringOverride -Identity Store\DirectoryServiceAndStoreMaintenanceAssistantMonitor -ItemType Monitor -PropertyName MonitoringIntervalSeconds</font></p>  <p><strong>Example 4 - Remove the Information Store maintenance assistant alerts non-urgent override added in Example 1:</strong></p>  <p><font face="Courier New">Remove-GlobalMonitoringOverride -Identity Store\MaintenanceAssistantEscalate -ItemType Responder -PropertyName NotificationServiceClass</font></p>  <p><strong>Example 5 - Apply the database repeatedly mounting threshold override (change to 60 minutes) for a period of 60 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity Store\DatabaseRepeatedMountsMonitor -ItemType Monitor -PropertyName MonitoringIntervalSeconds -PropertyValue 3600 -Duration 60.00:00:00</font></p>  <p><strong>Example 6 - Remove the database repeatedly mounting threshold override added in Example 5:</strong></p>  <p><font face="Courier New">Remove-GlobalMonitoringOverride -Identity Store\DatabaseRepeatedMountsMonitor -ItemType Monitor -PropertyName MonitoringIntervalSeconds</font></p>  <p><strong>Example 7 - Change the database dismounted alert from HA to Store for a period of 7 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity Store\DatabaseAvailabilityEscalate -ItemType Responder -PropertyName ExtensionAttributes.Microsoft.Mapi.MapiExceptionMdbOffline -PropertyValue Store -Duration 7.00:00:00</font></p>  <p><strong>Example 8 - Disable VersionBucketsAllocated monitor for a period of 60 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity Store\VersionBucketsAllocatedMonitor -ItemType Monitor -PropertyName Enabled -PropertyValue 0 -Duration 60.00:00:00</font></p>  <p><strong>Example 9 - Update logs threshold in DatabaseSize monitor for a period of 60 days:</strong></p>  <p><font face="Courier New">Add-GlobalMonitoringOverride -Identity MailboxSpace\DatabaseSizeMonitor -ItemType Monitor -PropertyName ExtensionAttributes.DatabaseLogsThreshold -PropertyValue 100GB -Duration 60.00:00:00</font></p>  <p><strong>Example 10 - Applying a server override to disable quarantine monitor across all database copies for a period of 7 days:</strong></p>  <p>(get-mailboxDatabase &lt;DB Name&gt;).servers | %{Add-ServerMonitoringOverride -Server $_.name -Identity &quot;Store\MailboxQuarantinedMonitor\&lt;DB Name&gt;&quot; -ItemType Monitor -PropertyName Enabled -PropertyValue 0 -Duration:7.00:00:00 -Confirm:$false;}</p>  <h1>Management Tasks and Cmdlets</h1>  <p>There are three primary operational tasks that administrators will typically perform with respect to managed availability:</p>  <ul>   <li>Extracting or viewing system health</li>    <li>Viewing health sets, and details about probes, monitors and responders</li>    <li>Managing overrides</li> </ul>  <p>The two primary management tools for managed availability are the Windows Event Log and the Shell. Managed availability logs a large amount of information in the Exchange ActiveMonitoring and ManagedAvailability crimson channel event logs, such as:</p>  <ul>   <li>Probe, monitor, and responder definitions, which are logged in the respective *Definition event logs.</li>    <li>Probe, monitor, and responder results, which are logged in the respective *Results event logs.</li>    <li>Details about responder recovery actions, including when the recovery action is started, and it is considered complete (whether successful or not), which are logged in the RecoveryActionResults event log.</li> </ul>  <p>There are 12 cmdlets used for managed availability, which are described in the following table.</p>  <table cellspacing="2" cellpadding="2" width="578" border="1"><tbody>     <tr>       <td valign="top" width="209"><strong>Cmdlet</strong></td>        <td valign="top" width="361"><strong>Description</strong></td>     </tr>      <tr>       <td valign="top" width="212"><a href="http://technet.microsoft.com/en-us/library/jj218703(v=exchg.150).aspx" target="_blank">Get-ServerHealth</a></td>        <td valign="top" width="359">Used to get raw server health information, such as health sets and their current state (healthy or unhealthy), health set monitors, server components, target resources for probes, and timestamps related to probe or monitor start or stop times, and state transition times.</td>     </tr>      <tr>       <td valign="top" width="214"><a href="http://technet.microsoft.com/en-us/library/jj218724(v=exchg.150).aspx" target="_blank">Get-HealthReport</a></td>        <td valign="top" width="357">Used to get a summary health view that includes health sets and their current state.</td>     </tr>      <tr>       <td valign="top" width="216"><a href="http://technet.microsoft.com/en-us/library/jj218668(v=exchg.150).aspx" target="_blank">Get-MonitoringItemIdentity</a></td>        <td valign="top" width="356">Used to view the probes, monitors, and responders associated with a specific health set.</td>     </tr>      <tr>       <td valign="top" width="217"><a href="http://technet.microsoft.com/en-us/library/jj218642(v=exchg.150).aspx" target="_blank">Get-MonitoringItemHelp</a></td>        <td valign="top" width="355">Used to view descriptions about some of the properties of probes, monitors, and responders.</td>     </tr>      <tr>       <td valign="top" width="218"><a href="http://technet.microsoft.com/en-us/library/jj218628(v=exchg.150).aspx" target="_blank">Add-ServerMonitoringOverride</a></td>        <td valign="top" width="354">Used to create a local, server-specific override of a probe, monitor, or responder.</td>     </tr>      <tr>       <td valign="top" width="219"><a href="http://technet.microsoft.com/en-us/library/jj218664(v=exchg.150).aspx" target="_blank">Get-ServerMonitoringOverride</a></td>        <td valign="top" width="353">Used to view a list of local overrides on the specified server.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/dn482411(v=exchg.150).aspx" target="_blank">Remove-ServerMonitoringOverride</a></td>        <td valign="top" width="353">Used to remove a local override from a specific server.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/jj218683(v=exchg.150).aspx" target="_blank">Add-GlobalMonitoringOverride</a></td>        <td valign="top" width="353">Used to create a global override for a group of servers.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/jj218627(v=exchg.150).aspx" target="_blank">Get-GlobalMonitoringOverride</a></td>        <td valign="top" width="353">Used to view a list of global overrides configured in the organization.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/jj218675(v=exchg.150).aspx" target="_blank">Remove-GlobalMonitoringOverride</a></td>        <td valign="top" width="353">Used to remove a global override.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/jj218699(v=exchg.150).aspx" target="_blank">Set-ServerComponentState</a></td>        <td valign="top" width="353">Used to configure the state of one or more server components.</td>     </tr>      <tr>       <td valign="top" width="220"><a href="http://technet.microsoft.com/en-us/library/jj218713(v=exchg.150).aspx" target="_blank">Get-ServerComponentState</a></td>        <td valign="top" width="353">Used to view the state of one or more server components.</td>     </tr>   </tbody></table>]]></content:encoded>
    </item>
    <item>
      <title>Where Did Email Come From?</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/where-did-email-come-from</link>
      <pubDate>Mon, 29 Jul 2013 08:47:09 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2013/07/29/where-did-email-come-from/</guid>
      <description><![CDATA[Corporations, organizations and other entities use email as a communication device. Every day,...]]></description>
      <content:encoded><![CDATA[<p>Corporations, organizations and other entities use email as a communication device. Every day, billions of emails are sent by people and computers to recipients in domains all over the world (some valid and some not). With the ability to transmit documents, spreadsheets, slide decks and other attachments, email is our most used, if not our most powerful tool for interaction and collaboration. When the systems and networks are operating properly, email conveniently blends the advantages of written correspondence with delivery times that border on instantaneous.</p>  <p>Information workers need to communicate and collaborate, and organizations are continuously looking for more efficient and economical ways to facilitate this. The de facto method is email. In just a short time, email has become a necessary component of business. For many businesses, email is mission-critical. At least one study has found that the overwhelming majority of business workers consider email more necessary than the telephone, and that the loss of email would present a greater hardship than the loss of the phone service.<sup>1</sup></p>  <p>The success of many companies is tied to their information technology infrastructure and how it is used. In business today it is critical for information to get to the right people at the right time so that informed decisions can be made quickly. Corporate information can generally be put into one of two categories: that which is used to support the purpose of the business, such as sales and marketing data, and that which is used to support the business’ infrastructure, such as payroll and accounting data.</p>  <p>Today, a significant percentage of corporate information flows through corporate email systems, and over the Internet. It is generally accepted that in order to do this, messaging and collaboration systems must be:</p>  <ul>   <li>Reliable—the system must continuously work as expected, without loss of service or failure of core functionality.</li>    <li>Secure—the system must support secure messaging features, such as encryption of transmitted data, verification and authentication of messages and message origins, and privacy features that protect confidential content. In addition, the system must be secured against tampering, unauthorized access, unauthorized use of services and other maliciousness.</li>    <li>Interoperable—the system must interoperate with all other email systems on the Internet and inside an organization.</li>    <li>Accessible—end-users should be able to access messaging and collaboration services regardless of their location, platform, or available bandwidth.</li>    <li>Standards-based—in order to interoperate and be accessible from any location and any platform, the system must use public protocols for communication and transmission of data.</li>    <li>Economical—the system must be inexpensive and cost-effective, with the lowest total cost of ownership (TCO) possible.</li> </ul>  <p>But how did email get its start, and where did it come from?</p>  <h2>A Brief History of BBN</h2>  <p>You may not have heard of a company called Bolt Beranek and Newman (BBN) or a BBN engineer named Ray Tomlinson. Nor might you be aware of their impact on business messaging and collaboration. In 1948, two MIT professors, Richard Bolt and Leo Beranek started a small consulting firm in the field of acoustics. A year later, they hired one of Bolt’s former students—Robert Newmann—and founded BBN. Between 1948 and 1997, BBN was a small, independent R&amp;D company. They worked on various ways to improve sound and sound quality, reduce noise pollution from aircraft, and establish standards for noise metrics.</p>  <p>GTE purchased BBN in 1997, and in 2000, GTE merged with Bell Atlantic to create a new company—Verizon. Certainly Verizon has had an impact on business messaging with its cell phone, wireless and broadband services. But the real impact on business messaging; that which brought business messaging to the masses, happened more than 30 years ago.</p>  <p>Although they began their work in the field of acoustics, they later expanded their research into the most sophisticated areas of computer science. In 1960, BBN developed a priority-interrupt system for a Digital Equipment Corporation (DEC) computer called the PDP-1. For the first time, a computer could multi-task: processes could consume computing resources based on priority, as scheduled by the system’s kernel. After demonstrating the first time-sharing computer system in 1962, BBN designed the world’s first computer modem (the Data-Dial) in 1963.</p>  <p>Throughout the next several years, BBN worked to create new computer languages, refine calculations and formulas for predicting structural and noise vibrations, and even created the Grafacon—a tablet-based device that digitized graphical data for input into a computer. The Grafacon is literally the first ancestor of the Tablet PC, and other pen-based computing devices.</p>  <h2>Building ARPANET</h2>  <p>Taken individually, these accomplishments have had major impacts on the human race, but they pale in comparison to work BBN began in 1968, when the government awarded BBN a contract to create the Advanced Research Projects Agency Network (ARPANET), a network that would connect military and educational institutions using packet-switching protocols. ARPANET would later undergo several name changes, but ultimately settled on the one we all use today—the Internet.</p>  <p>In less than a year, they had established a network with four sites, with one node at each site. Not that it was a reliable network, however. The first transmission of data was successfully from a node in Stanford to a node in UCLA on August 29, 1969. However, when that same data was sent to a third node, it crashed the third node. Once the network was stabilized, additional nodes were added, and the network was primarily used for transferring files and for logging on to remote systems using technology called Telnet that is still in use today.</p>  <p>One of the scientists at BBN who worked on the ARPANET project was Ray Tomlinson. Tomlinson and his team worked on a project called CYPNET. CYPNET research and development concentrated on a primitive file transfer protocol that was the forbearer to today’s File Transfer Protocol (FTP). One of Ray’s other projects was an equally primitive method of sending messages called SNDMSG and its companion RDMAIL. These components worked together to allow users on the same machine to send messages to each other. A user creates a text file which was then delivered to one or more mailboxes on the same machine. On this system, a mailbox was simply a text file to which text was appended. The name of the mailbox was nothing more than the name of the text file. In addition, data could be added, but not deleted or changed. Of course, the bigger limitation was that all users had to use the same computer; SNDMSG could not send messages to a user on a different computer.</p>  <p>Tomlinson changed all of this with a series of ideas. First, he realized that the file sharing technology in CYPNET very closely met the functionality needed to transfer messages between computers. It dawned on him that just as computers could exchange files, they could also exchange messages. Combining a protocol that can transfer files with one that can transfer messages was described by Tomlinson as a “no-brainer” and as a “neat idea.”<sup>2</sup> Once he realized this, he modified the file sharing code from CYPNET so that it could append to a file. This was a simple and quick change. After that, Tomlinson made another quick decision that would impact every Exchange administrator and user, and every Internet email user that was to come.</p>  <p>The problem was location; or put slightly different, although email from one user to another user on the same computer had been used for some time, network email—email between users on different computers—did not exist. If the user did not have a local mailbox, and instead had their mailbox located on another computer, you could not send them a message. A mechanism would be needed so that a message could be sent to a remote user at a remote computer. As it turned out, the key word here was <strong><em>at</em></strong> or in computer symbols, <strong><em>@</em></strong>. According to Tomlinson, after less than a minute of thought on the problem, he chose the @ symbol to separate the username (also called the mailbox name) from the computer name (also called host name) because it enabled him to indicate that the user was at some other host and not local. Effectively, Tomlinson created the format of a user’s email address by using a mailbox name, an @ symbol, and the name of the host containing the mailbox.</p>  <p>After making some minor code modifications in late 1971, Tomlinson did some tests and sent the world’s first email between two different computers that sat side-by-side.<sup>3</sup> Legend has that the first email ever sent had something like “QWERTYUIOP” or possibly “TESTING 1 2 3 4” in its body, however, nothing was ever saved or recorded for history or posterity, and Tomlinson himself no longer remembers exactly what it said. Nonetheless, history was made that would forever change human communication. Tomlinson had created networked email—messaging for the masses.</p>  <p>OK, maybe not yet for the masses. Network email had no features other than the ability to send a text message to another user on another computer. There were no attachments, no rich-text, no spell checking, no file or folders, and no ability to reply to or forward messages. There was also no electronic address book or directory. Instead, email addresses were listed on printed paper directories and distributed to email users.</p>  <h2>Email at the Speed of Light</h2>  <p>By 1972, the first email management program had been written and distributed. RD (no fancy marketing names here), by programmer Larry Roberts at ARPANET, enabled users to list incoming messages, store them in a file-system like environment, and forward and reply to messages. RD would later inspire others to create email management programs (now generically referred to as email clients), including some that are still in use today, such as Eudora.</p>  <p>Within two years of Tomlinson’s first email to himself, 75% of all traffic on ARPANET was email. By 1978, ARPANET was providing email services to a large number of government institutions and universities, as well as a few private businesses, such as BBN and DEC. Although it wasn’t called it at the time, the first unsolicited commercial email (UCE)—also known as spam—was sent by a DEC employee on May 3, 1978, in violation of the acceptable use policy for ARPANET in effect at the time. It is not truly known if this spam was accidental or intentional, but one thing is clear: the baby Internet was already a miniature model of things to come—email is hugely popular among those with access to it, and the system is wide-open for abuse.</p>  <p>Between 1971 and 1976, Request for Comments proposals (RFCs) for standards-based mailbox and messaging protocols had been published. The very first RFC for a mailbox protocol—published on July 20, 1971—was RFC 196, &quot;Mail Box Protocol,&quot; by Richard W. Watson. Later came RFC 561, &quot;Standardizing Network Mail Headers&quot;, and RFC 680, &quot;Message Transmission Protocol.” These were later rendered obsolete by RFC 733, “Standard for the Format of ARPA Network Text Messages.”</p>  <p>In November 1975, Jon Postel wrote RFC 706, &quot;On the Junk Mail Problem.” In it, Postel noted that ARPANET had no mechanism for that allowed a host to selectively refuse messages. Each host that accepted email had to accept every message it was sent. There was no way to filter out email; it was simply all or nothing (a spammer’s paradise if spammers had existed back then). On September 1, 1980, Postel and fellow researcher S. Sluizer published RFC 772, &quot;Mail Transfer Protocol.&quot; This in turn led to a series of RFCs which eventually led to RFCs 821 and 822, which initially defined one of the Internet email protocols in use today—the Simple Message Transfer Protocol (SMTP). Those RFCs were superseded by RFCs 2821 and 2822, respectively, which were then obsoleted by RFC 5321 in October 2008.&#160; By the way, if you’re going to administer Exchange, you should read these RFCs, which you can do at <a href="http://www.ietf.org/"><strong>http://www.ietf.org</strong></a>.</p>  <h2>Conclusion</h2>  <p>So that’s where email came from.&#160; Email has come a long way since Ray Tomlinson sent the world’s first message between two different computers in late 1971. Now more than forty years later, billions of email messages are sent around the globe every day.&#160; And some of them are even worth reading!</p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <p><sup>1</sup> April 22, 2013: META Group, Inc. (Senior Executive Panel)</p>  <p><sup>2</sup> <a href="http://www.rit.edu"><strong>http://www.rit.edu</strong></a></p>  <p><sup>3</sup>&#160;<a href="http://openmap.bbn.com/~tomlinso/ray/ka10.html"><strong>http://openmap.bbn.com/~tomlinso/ray/ka10.html</strong></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Recommended Hotfixes for Windows Server 2012 Failover Clusters</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/recommended-hotfixes-for-windows-server-2012-failover-clusters</link>
      <pubDate>Mon, 17 Jun 2013 11:10:05 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2013/06/17/recommended-hotfixes-for-windows-server-2012-failover-clusters/</guid>
      <description><![CDATA[Today, Microsoft released Knowledge Base article 2784261, which describes the hotfixes we recommend...]]></description>
      <content:encoded><![CDATA[<p>Today, Microsoft released Knowledge Base article <a href="http://support.microsoft.com/kb/2784261" target="_blank">2784261</a>, which describes the hotfixes we recommend being installed on all Windows Server 2012 failover clusters.&#160; This includes Exchange database availability groups that are running on Windows Server 2012, as well.</p>  <p>Although these hotfixes are generally recommended for all customers, we recommend that you evaluate each fix to determine whether it applies to your environment. If you determine a server in your organization is affected by the problem(s) that a fix addresses, install the fix on each cluster node by using the procedures that are described in Knowledge Base article <a href="http://support.microsoft.com/kb/174799" target="_blank">174799: Patching Windows Server Failover Clusters.</a> </p>  <p>The recommended hotfixes include two important updates:</p>  <ul>   <li><a href="http://support.microsoft.com/kb/2848344">2848344</a> – This is an updated roll-up hotfix that replaces 2838669.&#160; This fix is most important for any Hyper-V deployment, and critical for any deployment using DPM for backup.</li>    <li><a href="http://support.microsoft.com/kb/2838043">2838043</a> – This is a fix for NetName, that addresses a password synchronization issue.&#160; This has been a top CSS call generator, where Repair was used in the past.</li> </ul>  <p>The hotfixes we recommend for Windows Server 2012 failover clusters are as follows:</p>  <p><font style="font-size: 12pt;"><SCRIPT style="list-style-type: disc; border-spacing: 0px 0px;" type="text/javascript">
        loadTOCNode(2, 'moreinformation');
      </SCRIPT></font></p>  <div class="kb_nowrapper" style="list-style-type: disc; border-spacing: 0px 0px;">   <div id="MT3" class="kb_nowrapper"><font size="3"></font></div>   <font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font><font size="1"></font>    <table id="MT4" class="table" cellspacing="0" cellpadding="0" width="581" border="1"><tbody>       <tr>         <th width="56"><font size="1">Date added</font></th>          <th width="188"><font size="1">Title and Link</font></th>          <th width="66"><font size="1">Component</font></th>          <th width="269"><font size="1">Why we recommend this hotfix</font></th>       </tr>        <tr>         <td width="58">           <p align="center"><font size="1">6/14/2013</font></p>         </td>          <td width="191"><font size="1"><a href="http://support.microsoft.com/kb/2848344" target="_blank">Update improves cluster resiliency in Windows Server 2012</a></font></td>          <td width="68"><font size="1">Failover Cluster Service, CSV Filter and NTFS.sys</font></td>          <td width="269"><font size="1">This hotfix prevents a CSV failover by fixing an underlying issue in NTFS and by increasing the overall resilience of the Cluster service and CSV during expected pause states. Available for individual download.</font></td>       </tr>        <tr>         <td width="60">           <p align="center"><font size="1"> 6/14/2013</font></p>         </td>          <td width="193"><font size="1"><a href="http://support.microsoft.com/kb/2838043" target="_blank">Can't access a resource that is hosted on a Windows 8 or Windows Server 2012-based failover cluster</a></font></td>          <td width="70"><font size="1">Failover Cluster Resource DLL</font></td>          <td width="269"><font size="1">This hotfix prevents an error when accessing resources hosted on a Windows 8-based or Windows Server 2012-based failover cluster from a Windows XP-based or Windows Server 2003-based client computer.              <br />              <br />It also resolves an Event ID 1196 with error <b>The handle is invalid</b> when the cluster network name resource fails to come online and register in DNS. Available for individual download.</font></td>       </tr>        <tr>         <td width="62">           <p align="center"><font size="1"> 1/23/2013</font></p>         </td>          <td width="194"><font size="1"><a href="http://support.microsoft.com/kb/2803748" target="_blank">Failover Cluster Management snap-in crashes after you install update 2750149 on a Windows Server 2012-based failover cluster</a></font></td>          <td width="71"><font size="1">Failover Cluster Management snap-in</font></td>          <td width="269"><font size="1">Resolves a crash in the Failover Cluster Management snap-in after update 2750149 is installed on a Windows Server 2012-based failover cluster. Available from Windows Update or Microsoft Download Center.</font></td>       </tr>        <tr>         <td width="63">           <p align="center"><font size="1"> 11/13/2012</font></p>         </td>          <td width="195"><font size="1"><a href="http://support.microsoft.com/kb/2770917" target="_blank">Windows 8 and Windows Server 2012 cumulative update: November 2012</a>               <br /></font></td>          <td width="72"><font size="1">Multiple</font></td>          <td width="269"><font size="1">Improves clustered server performance and reliability in Hyper-V and Scale-Out File Server scenarios. Improves SMB service and client reliability under certain stress conditions. Install update 2770917 by using Windows Update in order to receive the cumulative update as described in KB 2770917.</font></td>       </tr>        <tr>         <td width="64">           <p align="center"><font size="1"> 11/13/2012</font></p>         </td>          <td width="196"><font size="1"><a href="http://support.microsoft.com/kb/976424">Error code when the kpasswd protocol fails after you perform an authoritative restore: &quot;KDC_ERROR_S_PRINCIPAL_UNKNOWN”</a>               <br /></font></td>          <td width="73"><font size="1">KDCSVC</font></td>          <td width="269"><font size="1">Install on every domain controller running Windows Server 2008 Service Pack 2 or Windows Server 2008 R2 in order to add a Windows Server 2012 failover cluster. Otherwise Create Cluster may fail when attempting to set the password for the cluster computer object with error message: <b>CreateClusterNameCOIfNotExists (6783): Unable to set password on &lt; ClusterName$&gt;</b> This hotfix is included in Windows Server 2008 R2 Service Pack 1.</font></td>       </tr>     </tbody></table> </div>  <p>For more information, see <a title="http://support.microsoft.com/kb/2784261" href="http://support.microsoft.com/kb/2784261">http://support.microsoft.com/kb/2784261</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>High Availability Changes in Exchange Server 2013 Cumulative Update 1</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/high-availability-changes-in-exchange-server-2013-cumulative-update-1</link>
      <pubDate>Tue, 02 Apr 2013 10:12:16 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2013/04/02/high-availability-changes-in-exchange-server-2013-cumulative-update-1/</guid>
      <description><![CDATA[Exchange Server 2013 Cumulative Update 1 (CU1) has been released and is now available for...]]></description>
      <content:encoded><![CDATA[<p>Exchange Server 2013 Cumulative Update 1 (CU1) has been released and is now available for <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38176" target="_blank">download</a>!&#160; CU1 is the first release to use the <a href="http://blogs.technet.com/b/exchange/archive/2013/02/08/servicing-exchange-2013.aspx" target="_blank">servicing model</a> introduced with Exchange 2013.&#160; CU1 includes new features, new functionality and bug fixes, including in the area of high availability.&#160; The <a href="http://blogs.technet.com/b/exchange/archive/2013/04/02/released-exchange-server-2013-rtm-cumulative-update-1.aspx" target="_blank">announcement post</a> on the Exchange Team Blog already has some great information on what’s new in CU1, but I wanted to augment that announcement with some additional details.&#160; Below is a list of some of the high availability-related changes in CU1.&#160; This is by no means an exhaustive list; just a list of some of the changes that we have made.</p>  <h1>Witness Server Warning Message When Using Certain Database Availability Group Tasks</h1>  <p>I first <a href="http://blogs.technet.com/b/scottschnoll/archive/2011/06/08/witness-server-warning-message-when-using-certain-database-availability-group-tasks.aspx" target="_blank">wrote</a> about this issue back in June 2011.&#160; This is where the system displays an incorrect warning message when you are using a non-Exchange server as your witness server, even when you have configured things correctly.&#160; This issue was eventually fixed in Exchange 2010 Service Pack 2 RU5, but it didn’t make it’s way into Exchange 2013 RTM.&#160; Fortunately, the fix did make its way into CU1.</p>  <h1>Self-recovery Behaviors</h1>  <p>Exchange 2013 continues the innovation introduced in Exchange 2010 by including functionality that allows the system to self-recover from failures that affect resiliency or redundancy. In addition to the Exchange 2010 self-recovery behaviors, Exchange 2013 RTM includes additional <a href="http://technet.microsoft.com/en-us/library/dd638137(v=exchg.150).aspx" target="_blank">behaviors</a> for long I/O times, excessive memory consumption by the Microsoft Exchange Replication service (MSExchangeRepl.exe), and severe cases where threads can't be scheduled. For example, every 30 seconds, the Exchange Replication service heartbeats the <a href="http://technet.microsoft.com/en-us/library/dd351258(v=exchg.150).aspx#Crimson" target="_blank">crimson channel</a>, as it is a required component for normal operations. If this heartbeat fails, an indication that the crimson channel is inaccessible for some reason, the Exchange Replication service self-recovers the server by forcibly rebooting the server, thereby triggering a server failover.</p>  <p>In addition to the <a href="http://technet.microsoft.com/en-us/library/dd638137(v=exchg.150).aspx" target="_blank">behaviors in Exchange 2013 RTM</a>, CU1 includes new behaviors:</p>  <ul>   <li><strong>Bus Resets</strong> – Event 129 is logged in the System event log when a bus reset occurs.&#160; Bus resets, particularly the rare but possible bus reset storm, can often result in storage issues, such as hung IO. When these events occur, it typically requires administrator intervention to resolve the issue. To obviate the need for administrator intervention, CU1 includes new functionality that triggers a forcible reboot of the server when event 129 is detected in the System event log. </li>    <li><strong>Replication service endpoints not responding</strong> – Exchange periodically verifies that the TCPListener component in the Exchange Replication service is responding to connection requests by periodically heart beating the local instance of the Exchange Replication service.&#160; If the TCPListener does not respond, the system will automatically self-recover by forcibly rebooting the server. </li> </ul>  <h1>&#160;</h1>  <h1>Autoreseed</h1>  <p>Automatic reseed, or AutoReseed, is a feature that's the replacement for what is normally administrator-driven action in response to a disk failure, database corruption event, or other issue that necessitates a reseed of a database copy. When <a href="http://technet.microsoft.com/en-us/library/jj619303.aspx" target="_blank">properly configured</a>, AutoReseed is designed to automatically restore database redundancy after a disk failure by using spare disks that have been provisioned on the system.</p>  <p>CU1 includes numerous fixes to AutoReseed, including fixes for issues around AutoReseed not detecting spare disks correctly and AutoReseed not using detected spare disks.&#160; In addition, the following enhancements have been made to AutoReseed:    <br /></p>  <ul>   <li>GetCopyStatus now has a new field 'ExchangeVolumeMountPoint', which shows the mount point of the database volume under C:\ExchangeVolumes (or a custom folder if you are not using the default setting of C:\ExchangeVolumes).&#160; This is useful information to know because in a configuration that uses multiple disks per volume, the LogicalDisk performance counters show up as the first mount point (which would be the one under C:\ExchangeVolumes) instead of as the database path like they used to in Exchange 2010 with a single disk per volume. </li>    <li>We now have better internal tracking around mount paths and the ExchangeVolume path. </li>    <li>The limits for AutoReseed have been increased from 4 databases per volume in Exchange 2013 RTM to 8 databases per volume in CU1. </li>    <li>AutoReseed properties have been added to Active Directory that allow you to enable and disable automatic reseeding and the DiskReclaimer function (which formats Exchange volumes). The two new properties are:      <ul>       <li>AutoDagAutoReseedEnabled - Setting AutoDagAutoReseedEnabled to false turns off AutoReseed (including automatic resume, sparing, and in-place reseeds). </li>        <li>AutoDagDiskReclaimerEnabled - Setting AutoDagDiskReclaimerEnabled to false turns off the DiskReclaimer, which formats exchange volumes. The default setting is true, and it only tries to format volumes mounted under C:\ExchangeVolumes. </li>     </ul>   </li>    <li>The unused AutoDagFailedVolumesRootFolderPath property was also removed from the DAG object. </li> </ul>  <p>As a result of these and other changes, the workflow for AutoReseed in CU1 has changed.&#160; The primary input condition for the AutoReseed workflow is still a database copy that is in an Failed and Suspended (F&amp;S) state for 15 consecutive minutes.&#160; When that condition is detected, the following AutoReseed workflow is initiated:</p>  <ol>   <li>The system will first try to resume the database copy up to 3 times, with 5 minute sleeps in between each try.&#160; Sometimes, after an F&amp;S database copy is resumed, the copy remains in a Failed state. This can happen for a variety of reasons, so this first step is designed to handle all such cases; AutoReseed will automatically suspend a database copy that has been Failed for 10 consecutive minutes to keep the workflow running. If the suspend and resume actions don’t result in a healthy database copy, the workflow continues. </li>    <li>Next, AutoReseed will perform a variety of pre-requisite checks. For example, it will verify that a spare disk is available, that the database and its log files are configured on the same volume, and in the appropriate locations that match the required naming conventions. In a configuration that uses multiple databases per volume, AutoReseed will also verify that all database copies on the volume are in an F&amp;S state. </li>    <li>Next, AutoReseed will attempt to assign a spare volume up to 5 times, with 1 hour sleeps in between each try. </li>    <li>Once a spare has been assigned, AutoReseed will perform an InPlaceSeed operation using the SafeDeleteExistingFiles seeding switch.&#160; If one or more database files exists, AutoReseed will wait for 2 days before in-place reseeding (based on the LastWriteTime of the database file).&#160; This provides an administrator with an opportunity to preserve data, if needed.&#160; AutoReseed will attempt a seeding operation up to 5 times, with 1 hour sleeps in between each try. </li> </ol>  <p>Once all retries are exhausted, the workflow stops.&#160; If, after 3 days, the database copy is still F&amp;S, the workflow state is reset and it starts again from Step 1.&#160; This reset/resume behavior is useful (and intentional) since it can take a few days to replace a failed disk, controller, etc..</p>  <h1>Update-MailboxDatabaseCopy</h1>  <p>The <a href="http://technet.microsoft.com/en-us/library/dd335201.aspx" target="_blank">Update-MailboxDatabaseCopy</a> cmdlet includes some new parameters in CU1 that are designed to aid with automation of seeding operations.&#160; These parameters include:</p>  <ul>   <li><strong>BeginSeed</strong> – This is useful for scripting reseeds, because with this parameter, the task asynchronously starts the seeding operation and then exits the cmdlet. </li>    <li><strong>MaximumSeedsInParallel</strong> – This is used with the <i>Server</i> parameter to specify the maximum number of parallel seeding operations that should occur across the specified server during a full server reseed operation. The default value is <code>10</code>. </li>    <li><strong>SafeDeleteExistingFiles</strong> – This is used to perform a seeding operation with a single copy redundancy pre-check prior to the seed. Because this parameter includes the redundancy safety check, it requires a lower level of permissions than the <i>DeleteExistingFiles</i> parameter, enabling a limited permission administrator to perform the seeding operation. </li>    <li><strong>Server</strong> – This is used as part of a full server reseed operation to reseed all database copies in a Failed and Suspended state. It can be used with the <i>MaximumSeedsInParallel</i> parameter to start reseeds of database copies in parallel across the specified server in batches of up to the value of the <i>MaximumSeedsInParallel</i> parameter copies at a time. </li> </ul>  <h1>   <br />Set-DatabaseAvailabilityGroup</h1>  <p>The <a href="http://technet.microsoft.com/en-us/library/dd297934.aspx" target="_blank">Set-DatabaseAvailabilityGroup</a> cmdlet includes a new parameter named SkipDagValidation.&#160; It is used to bypass the validation of the DAG's quorum model and the health check on the DAG's witness during certain DAG configuration operations.&#160; While this parameter has some usefulness for us in Exchange Online (and that is why it was introduced), and while it is enabled for on-premises use, it won’t be of much use to on-premises environments. I’m only pointing it out because, as I said, it is enabled for on-premises use.</p>  <h1>Managed Availability: Get-ServerHealth and Get-HealthReport</h1>  <p>The <a href="http://technet.microsoft.com/en-us/library/jj218703(v=exchg.150).aspx" target="_blank">Get-ServerHealth</a> and <a href="http://technet.microsoft.com/en-us/library/jj218724(v=exchg.150).aspx" target="_blank">Get-HealthReport</a> cmdlets are used to get and process raw health set data from Managed Availability, the new monitoring and recovery framework used by the various components within Exchange. Get-ServerHealth can be used to view the various health sets and their current status.&#160; In Exchange 2013 RTM, the Get-HealthReport cmdlet consumed results from Get-ServerHealth to produce a summary rollup of health.&#160; But the way in which it was implemented made it very slow and inefficient.</p>  <p>With CU1, instead of piping Get-ServerHealth to Get-HealthReport, Get-HealthReport is now capable of reporting the consolidated results on its own, and it now takes an Identity parameter that enables you to specify a server instead of InputObject/InputEntries.&#160; Get-HealthReport also includes a new HealthSet parameter, which is used to return the health state for a group of monitors. However, to use a rollup group, a list of names must be pipelined to Get-HealthReport. Unfortunately, Get-HealthReport -Identity does not support an array of names, so our recommended way to do this is to simply get the list of DAG members and pipe that to Get-HealthReport. For example to display a rollup summary of transport health on members of a DAG, you would run:</p>  <p><font face="Courier New">(Get-DatabaseAvailabilityGroup DAG1).Servers | Get-HealthReport -RollupGroup -HealthSet HubTransport</font></p>  <p>There are a couple of changes for Get-ServerHealth in CU1; namely, two parameters have also been added:</p>  <ul>   <li>HaImpactingOnly – This is used to display only monitors that have HaImpacting set. </li>    <li>HealthSet – This is used to return the health state of a group of monitors. </li> </ul>  <h1>&#160;</h1>  <h1>Best Copy and Server Selection Changes</h1>  <p>Best Copy and Server Selection (BCSS) is the algorithm used by Active Manager in Exchange 2013 to select the best database copy to activate in response to a failover or a target-less switchover. In CU1, a change was made so that the Primary Active Manager (PAM) now keeps track of the number of active databases per server, so that during BCSS it can honor the value of MaximumActiveDatabases, if configured.&#160; The server holding the PAM role now keeps an in-memory state that tracks the number of active databases per server. When the PAM role moves or when the Exchange Replication service is restarted on the PAM, this information is rebuilt from the cluster database.</p>  <p>This change allows Active Manager to exclude servers that are already hosting the maximum amount of active databases when determining potential candidates for activation.&#160; Prior to this change, Active Manager would not evaluate whether a potential server candidate for activation was already at its configured active database limit. Thus, if such a server were selected for activation, the activation process would fail during the mount attempt, and a new server would have to be selected (if available). This scenario is now avoided as a result of this change.</p>  <h1>Other CU1 Changes</h1>  <p>Of course there are other changes in CU1 besides the above, so be sure to read the <a href="http://technet.microsoft.com/en-us/library/jj150489(v=exchg.150).aspx" target="_blank">Release Notes</a> and other appropriate documentation when everything is released.</p>]]></content:encoded>
    </item>
    <item>
      <title>Storage, High Availability and Site Resilience in Exchange Server 2013, Part 3</title>
      <link>https://docs.microsoft.com/archive/blogs/scottschnoll/storage-high-availability-and-site-resilience-in-exchange-server-2013-part-3</link>
      <pubDate>Thu, 01 Nov 2012 11:41:50 GMT</pubDate>
      <dc:creator><![CDATA[Scott Schnoll [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/scottschnoll/2012/11/01/storage-high-availability-and-site-resilience-in-exchange-server-2013-part-3/</guid>
      <description><![CDATA[Microsoft Exchange Server 2013 continues to innovate in the areas of storage, high availability, and...]]></description>
      <content:encoded><![CDATA[<p>Microsoft Exchange Server 2013 continues to innovate in the areas of storage, high availability, and site resilience. In this three-part blog series, I’ll describe the significant improvements in Exchange 2013 related to these three areas. <a href="http://blogs.technet.com/b/scottschnoll/archive/2012/09/19/storage-high-availability-and-site-resilience-in-exchange-server-2013-part-1.aspx">Part 1</a> focuses on the storage improvements that we’ve made. <a href="http://blogs.technet.com/b/scottschnoll/archive/2012/10/01/storage-high-availability-and-site-resilience-in-exchange-server-2013-part-2.aspx">Part 2</a> focuses on high availability. And Part 3 will focus on site resilience.</p>  <p>Although Exchange 2013 continues to use DAGs and Windows Failover Clustering for Mailbox server role high availability and site resilience, site resilience is not the same in Exchange 2013. Site resilience is <u>much better</u> in Exchange 2013 because it has been operationally simplified. The underlying architectural changes that were made in Exchange 2013 have significant impact on site resilience configurations and their recovery aspects.</p>  <h1>Challenges with Exchange 2010 Site Resilience</h1>  <p>Exchange 2010 undoubtedly made achieving site resilience for the messaging service and data easier than any previous version of Exchange. By combining the native site resilience features in Exchange 2010 with proper planning, you were able to activate a second datacenter to serve a failed datacenter's clients. The process you perform to do this is referred to as a <i>datacenter switchover</i>. This is a well-documented and generally well-understood process, although it takes time to perform, and it requires human intervention in order to begin the process.</p>  <p>Anyone who has performed a datacenter switchover in Exchange 2010 will tell you that they are operationally complex. This is in part because in Exchange 2010, recovery of mailbox data (DAG) and client access (namespace) are tied together. This leads to other challenges for Exchange 2010 in certain scenarios:</p>  <ul>   <li>If you lose all or a significant portion of your Client Access servers, or the VIP for the array, or the top of rack (TOR), or if you lose a significant portion of your DAG, you were in a situation where you needed to do a datacenter switchover. </li>    <li>You could deploy a DAG across two datacenters and host the witness in a third datacenter and enable failover for the Mailbox role for either datacenter. But you didn’t get failover for the messaging service, because the namespace still needed to be switched over for the non-Mailbox roles. </li> </ul>  <p>But all of that aside, the biggest challenge with Exchange 2010 is that <u>the namespace is a single point of failure</u>. In Exchange 2010, the most significant single point of failure in the messaging system is the FQDN that you give to users because it tells the user where to go. Changing the IP address for that FQDN is not that easy because you have to change DNS and deal with DNS latency, which in some parts of the world is very bad. And you have name caches in browsers which are typically around 30 minutes or more that also have to be dealt with.</p>  <h1>Exchange 2013 Addresses the Challenges</h1>  <p>Significant changes have been made in Exchange 2013 that address the challenges with Exchange 2010 site resilience head on. With the namespace simplification, consolidation of server roles, removal of AD-sited-ness, separation of CAS array and DAG recovery, and load balancing changes, Exchange 2013 provides new site resilience options, such as the ability to use a single global namespace. In addition, for customers with more than two locations in which to deploy messaging service components, Exchange 2013 also provides the ability to configure the messaging service for automatic failover in response to failures that required manual intervention in Exchange 2010.</p>  <p>Specifically, site resilience has been operationally simplified in Exchange 2013. In addition, in Exchange 2013, the namespace does not need to move with the DAG. Exchange leverages fault tolerance built into the namespace through multiple IP addresses, load balancing (and if need be, the ability to take servers in and out of service). One of the most significant changes we made in Exchange 2013 was to leverage the clients’ ability to get more than one place to go. Assuming the client has the ability to use more than one place to go (which almost all HTTP clients do, and since almost all of the client access protocols in Exchange 2013 are HTTP based (Outlook, Outlook Anywhere, EAS, EWS, OWA, EAC, RPS, etc.), all supported HTTP clients have the ability to use multiple IP addresses), thereby providing failover on the client side. You can configure DNS to hand multiple IP addresses to a client during name resolution. The client asks for mail.contoso.com and gets back two IP addresses, or four IP addresses, for example. However many IP addresses the client gets back will be used reliably by the client. This makes the client a lot better off because if one of the IP addresses fails, the client has one or more others to try to connect to. If a client tries one and it fails, it waits around 20 seconds and then tries the next one in the list. Thus, if you lose the VIP for the CAS array, and you have a second VIP for a second CAS array, recovery for the clients happens automatically, and in about 21 seconds.</p>  <p>Modern HTTP clients (operating systems and Web browsers that are ten years old or less) simply work with this redundancy automatically. The HTTP stack can accept multiple IP addresses for an FQDN, and if the first IP it tries fails hard (e.g., cannot connect), it will try the next IP in the list. In a soft failure (connect lost after session established, perhaps due to an intermittent failure in the service where, for example, a device is dropping packets and needs to be taken out of service), the user might need to refresh their browser.</p>  <h1>Operationally Simplified Site Resilience</h1>  <p>So what does it mean that site resilience has been operationally simplified in Exchange 2013? Going back to the failure scenarios discussed above for Exchange 2010, if you encounter those scenarios in Exchange 2013, depending on your site resilience configuration, you might not need to perform a datacenter switchover. With the proper configuration, failover will happen at the client level and clients will be automatically redirected to a second datacenter that has operating Client Access servers, and those operating Client Access servers will proxy the communication back to the user’s Mailbox server, which remains unaffected by the outage (because you don’t do a switchover). Instead of working to recover service, the service recovers itself and you can focus on fixing the core issue (e.g., replacing the failed load balancer). Any administrator will tell you that the stress involved with replacing a failed piece of equipment that isn’t blocking service is much lower than the stress involved in restoring service and data access via a datacenter switchover.</p>  <p>So by comparison, in Exchange 2010, if you lose the load balancer in your primary datacenter and you don’t have another one in that site, you had to do a datacenter switchover. In Exchange 2013, if you lose the load balancer in your primary site, you simply turn it off (or maybe turn off the VIP) and repair/replace it.</p>  <p>Clients that aren’t already using the VIP in the secondary datacenter will automatically failover to the secondary VIP without any change of namespace, and without any change in DNS. Not only does that mean you no longer have to perform a switchover, but it also means that all of the time normally associated with a datacenter switchover recovery is not spent either. In Exchange 2010, you had to deal with DNS latency (hence, the recommendation to set the TTL to 5 min, and the introduction of the Failback URL). In Exchange 2013, you don’t need to do that because you get fast failover (~21 seconds) of the namespace between VIPs (datacenters).</p>  <p>Since you can failover the namespace between datacenters now, all that is needed to achieve a datacenter failover is a mechanism for failover of the Mailbox role across datacenters. To get automatic failover for the DAG, you simply architect a solution where the DAG is evenly split between two datacenters, and then place the witness server in a <u>third location</u> so that it can be arbitrated by DAG members in either datacenter, regardless of the state of the network between the datacenters that contain the DAG members. The key is that third location is isolated from network failures that affect the first and/or second location (the locations containing the DAG members).</p>  <p>In this scenario, the administrator’s efforts are geared toward simply fixing the problem, and not spent restoring service. You simply fix the thing that failed; all the while service has been running and data integrity has been maintained. The urgency and stress level you feel when fixing a broken device is nothing like the urgency and stress you feel when you’re working to restore service. It’s better for the end user, and less stressful for the admin.</p>  <p>You can allow failover to occur without having to perform switchbacks (sometimes mistakenly referred to as failbacks). If you lose CAS in your primary datacenter and that results in a 20 second interruption for clients, you might not even care about failing back. At this point, your primary concern would be fixing the core issue (e.g., replacing the failed load balancer). Once that is back online and functioning, some clients will start using it, while others might remain operational through the second datacenter.</p>  <p>Exchange 2013 also provides functionality that enables administrators to deal with intermittent failures. An intermittent failure is where, for example, the initial TCP connection can be made, but nothing happens afterwards. An intermittent failure requires some sort of extra administrative action to be taken because it might be the result of a replacement device being put into service. While this repair process is happening, the device might be powered on and accepting some requests, but not really ready to service clients until the necessary configuration steps are performed. In this scenario, the administrator can perform a namespace switchover by simply removing the VIP for the device being replaced from DNS. Then during that service period, no clients will be trying to connect to it. Once the replacement process has completed, the administrator can add the VIP back to DNS and clients will eventually start using it.</p>  <h1>Conclusion</h1>  <p>Microsoft Exchange Server 2013 continues to innovate in the areas of storage, high availability, and site resilience, with its plethora of new, innovative features, such as:</p>  <ul>   <li>Multiple databases per volume </li>    <li>Autoreseed </li>    <li>Automatic recovery from storage failures </li>    <li>Lagged copy enhancements </li>    <li>Managed Availability </li>    <li>Best Copy and Server Selection enhancements </li>    <li>Maintenance Mode </li>    <li>Automatic DAG network configuration </li>    <li>Operationally simplified site resilience </li>    <li>Separation of Mailbox and Client Access recovery </li>    <li>Leveraging client-side DNS behaviors, such as IP failover for the namespace </li> </ul>  <p>It’s important to understand that major architectural changes had to take place in Exchange 2013 in order to enable these features. That means that while the Exchange 2010 design guidelines can apply to an Exchange 2013 organization, the additional enhanced Exchange 2013 design guidelines cannot be applied to Exchange 2010. All of the goodness above around new behaviors and design options applies to Exchange 2013 only.</p>]]></content:encoded>
    </item>
  </channel>
</rss>