Share via


Create a Database Availability Group Network

Applies to: Exchange Server 2010

You can create multiple networks in a database availability group (DAG) and dedicate them for client access or for replication purposes.

Looking for other management tasks related to DAGs? Check out Managing Database Availability Groups.

What Do You Want to Do?

  • Use the EMC to create a database availability group network
  • Use the Shell to create a database availability group network

Use the EMC to create a database availability group network

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Database availability group" entry in the High Availability Permissions topic.

  1. In the console tree, navigate to Organization Configuration > Mailbox.
  2. In the result pane, click the Database Availability Group tab.
  3. Right-click the DAG for which you want to create the new network, and then click New Database Availability Group Network. You can also select the DAG and then click New Database Availability Group Network in the action pane.
  4. On the New Database Availability Group Network page, provide the following configuration information for the new DAG network.
    • Network name   Provide a unique name for the DAG network (a name that doesn't conflict with the name of any other DAG network). The limit is 128 characters.
    • Network description   Provide an optional description for the DAG network. The limit is 256 characters.
    • Database Availability Group network subnets   Click Add to add each network subnet to the DAG network. Subnets should be entered using a format of IP address/bitmask (for example, 192.168.1.0/24 for IPv4 subnets; 2001:DB8:0:C000::/54 for IPv6 subnets). If you add a subnet that's currently associated with another DAG network, the subnet will be removed from the other DAG network and associated with the network being created.
    • Enable replication   Select this check box to enable the DAG network for use by replication. When a DAG network is enabled for replication, MAPI traffic is restricted on that network. Clear this check box to prevent replication from using the DAG network and to enable MAPI traffic on that network.
  5. Click New to create the DAG network.
  6. On the Completion page, review the following, and then click Finish to close the wizard:
    • A status of Completed indicates that the wizard completed the task successfully.
    • A status of Failed indicates that the task wasn't completed. If the task fails, review the summary for an explanation, and then click Back to make any configuration changes.
  7. Click Finish to close the wizard.

Use the Shell to create a database availability group network

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Database availability group" entry in the High Availability Permissions topic.

In this example, the network DagNet1 is being created with a subnet of 10.0.0.0 and a bitmask of 8 in a DAG named DAG1. Replication is enabled for the network, and an optional description of the network is also being added.

New-DatabaseAvailabilityGroupNetwork -DatabaseAvailabilityGroup DAG1 -Name DagNet1 -Description "Replication network 1" -Subnets 10.0.0.0/8 -ReplicationEnabled:$True

For More Information

Set-DatabaseAvailabilityGroupNetwork

Get-DatabaseAvailabilityGroupNetwork

New-DatabaseAvailabilityGroupNetwork

Remove-DatabaseAvailabilityGroupNetwork