Configure database availability group properties

[Dieses Thema gehört zur Vorabdokumentation und kann in künftigen Versionen geändert werden. Leere Themen wurden als Platzhalter hinzugefügt. Wenn Sie Feedback dazu haben, freuen wir uns über Ihre Nachricht. Senden Sie uns eine E-Mail an: ExchangeHelpFeedback@microsoft.com.]  

Gilt für:Exchange Server 2016

Summary: You can use the EAC or the Shell to configure the properties of a database availability group (DAG), including DAG IP address configuration, the witness server, and the witness directory.

The Shell enables you to configure DAG properties that aren't available in the EAC, such as alternate witness server and alternate witness directory information, the TCP port used for replication, and datacenter activation coordination (DAC) mode.

  • Estimated time to complete: 1 minute

  • Bevor Sie diese Verfahren ausführen können, müssen Ihnen die entsprechenden Berechtigungen zugewiesen werden. Informationen zu den von Ihnen benötigten Berechtigungen finden Sie unter "Database availability groups" entry in the High availability and site resilience permissions topic.

  • DAG property values are stored in both Active Directory and the cluster database. However, some properties are stored only in the cluster database. As a result, the underlying cluster for the DAG must be running and have quorum to set the properties for:

    • ReplicationPort

    • NetworkCompression

    • NetworkEncryption

    • DiscoverNetworks

  • Informationen zu Tastenkombinationen für die Verfahren in diesem Thema finden Sie unter Tastenkombinationen in der Exchange-Verwaltungskonsole.

tipTipp:
Liegt ein Problem vor? Bitten Sie in den Exchange-Foren um Hilfe. Besuchen Sie die Foren unter: Exchange Server, Exchange Online oder Exchange Online Protection.

  1. In the EAC, go to Servers > Database Availability Groups.

  2. Select the DAG you want to configure and click Bearbeitungssymbol.

  3. Use the General page to view DAG membership and operational status, and to configure the DAG's witness server, witness directory, and automatic network configuration:

    • Witness server   The host name or fully qualified domain name (FQDN) of the witness server for the DAG. Although this is a required property for all DAGs, the witness server is used when there is an even number of DAG members and the quorum model in use by the cluster is Node and File Share Majority.

    • Witness directory   The full path of the directory used to store the witness.log file on the witness server. Although this is a required property for all DAGs, the witness directory is used only when the DAG's witness server is in use.

    • Database availability group members   A read-only field that displays a list of DAG members and their current operational status.

    • Configure database availability group networks manually   A check box that you select when you want to configure all DAG networks manually. When the check box is clear, the system configures DAG networks automatically based on network interface configuration, and the Set-DatabaseAvailabilityGroupNetwork and New-DatabaseAvailabilityGroupNetwork cmdlets are disabled for the DAG.

  4. Use the IP addresses page to view and modify the IP addresses assigned to the DAG:

    • Select an existing IP address and click Bearbeitungssymbol to modify it.

    • Select an existing IP address and click the minus icon (delete) to remove it.

    • Enter an IP address and click Hinzufügen (Symbol) to add it to the DAG.

  5. Click Save to save any changes that were made.

This example sets the witness directory to C:\DAG1DIR for the DAG DAG1.

Set-DatabaseAvailabilityGroup -Identity DAG1 -WitnessDirectory C:\DAG1DIR

This example preconfigures an alternate witness server of MBX3 and an alternate witness directory of C:\DAGFileShareWitnesses\DAG1.contoso.com for the DAG DAG1.

Set-DatabaseAvailabilityGroup -Identity DAG1 -AlternateWitnessDirectory C:\DAGFileShareWitnesses\DAG1.contoso.com -AlternateWitnessServer MBX3

This example configures the DAG DAG1 to use Dynamic Host Configuration Protocol (DHCP) to obtain an IP address.

Set-DatabaseAvailabilityGroup -Identity DAG1 -DatabaseAvailabilityGroupIPAddresses 0.0.0.0

This example configures the DAG DAG1 to use a static IP address of 10.0.0.8.

Set-DatabaseAvailabilityGroup -Identity DAG1 -DatabaseAvailabilityGroupIPAddresses 10.0.0.8

This example configures the multi-subnet DAG DAG1 with multiple static IP addresses.

Set-DatabaseAvailabilityGroup -Identity DAG1 -DatabaseAvailabilityGroupIPAddresses 10.0.0.8,10.0.1.8

This example configures the DAG DAG1 for DAC mode.

Set-DatabaseAvailabilityGroup -Identity DAG1 -DatacenterActivationMode DagOnly

This example configures the replication port for the DAG DAG1 to be 63132.

Set-DatabaseAvailabilityGroup -Identity DAG1 -ReplicationPort 63132
noteHinweis:
After changing the default replication port for a DAG, you must manually modify the Windows Firewall exceptions on each member of the DAG to allow communication to occur over the specified port.

To verify that you've successfully configured the DAG, do the following:

  • In the Shell, run the following command to display DAG configuration settings and verify the DAG was configured successfully.

    Get-DatabaseAvailabilityGroup <DAGName> | Format-List
    

 
Anzeigen: