You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a namespace, you see the following highlighted message when you select a region that has availability zones.
27
27
28
-
:::image type="content" source="./media/event-hubs-geo-dr/eh-az.png" alt-text="Image showing the Create Namespace page with region that has availability zones":::
28
+
:::image type="content" source="../event-hubs/media/event-hubs-geo-dr/eh-az.png" alt-text="Image showing the Create Namespace page with region that has availability zones":::
29
29
30
30
> [!NOTE]
31
31
> When you use the Azure portal, zone redundancy via support for availability zones is automatically enabled. You can't disable it in the portal. You can use the Azure CLI command [`az eventhubs namespace`](/cli/azure/eventhubs/namespace#az-eventhubs-namespace-create) with `--zone-redundant=false` or use the PowerShell command [`New-AzEventHubNamespace`](/powershell/module/az.eventhub/new-azeventhubnamespace) with `-ZoneRedundant=false` to create a namespace with zone redundancy disabled.
@@ -55,7 +55,7 @@ Let's say you have two virtual networks: VNET-1, VNET-2 and these primary and se
55
55
- On EventHubs-Namespace1-Primary, create two private endpoints that use subnets from VNET-1 and VNET-2
56
56
- On EventHubs-Namespace2-Secondary, create two private endpoints that use the same subnets from VNET-1 and VNET-2
57
57
58
-

58
+

59
59
60
60
Advantage of this approach is that failover can happen at the application layer independent of Event Hubs namespace. Consider the following scenarios:
61
61
@@ -130,16 +130,16 @@ You first create or use an existing primary namespace, and a new secondary names
130
130
1. In the Azure portal, navigate to your primary namespace.
131
131
1. Select **Geo-recovery** on the left menu, and select **Initiate pairing** on the toolbar.
132
132
133
-
:::image type="content" source="./media/event-hubs-geo-dr/primary-namspace-initiate-pairing-button.png" alt-text="Initiate pairing from the primary namespace":::
133
+
:::image type="content" source="../event-hubs/media/event-hubs-geo-dr/primary-namspace-initiate-pairing-button.png" alt-text="Initiate pairing from the primary namespace":::
134
134
1. On the **Initiate pairing** page, follow these steps:
135
135
1. Select an existing secondary namespace or create one in a different region. In this example, an existing namespace is selected.
136
136
1. For **Alias**, enter an alias for the geo-dr pairing.
137
137
1. Then, select **Create**.
138
138
139
-
:::image type="content" source="./media/event-hubs-geo-dr/initiate-pairing-page.png" alt-text="Select the secondary namespace":::
139
+
:::image type="content" source="../event-hubs/media/event-hubs-geo-dr/initiate-pairing-page.png" alt-text="Select the secondary namespace":::
140
140
1. You should see the **Geo-DR Alias** page. You can also navigate to this page from the primary namespace by selecting **Geo-recovery** on the left menu.
141
141
142
-
:::image type="content" source="./media/event-hubs-geo-dr/geo-dr-alias-page.png" alt-text="Geo-DR alias page":::
142
+
:::image type="content" source="../event-hubs/media/event-hubs-geo-dr/geo-dr-alias-page.png" alt-text="Geo-DR alias page":::
143
143
1. On the **Geo-DR Alias** page, select **Shared access policies** on the left menu to access the primary connection string for the alias. Use this connection string instead of using the connection string to the primary/secondary namespace directly.
144
144
1. On this **Overview** page, you can do the following actions:
145
145
1. Break the pairing between primary and secondary namespaces. Select **Break pairing** on the toolbar.
@@ -167,7 +167,7 @@ If you initiate the failover, two steps are required:
167
167
> [!NOTE]
168
168
> Only fail forward semantics are supported. In this scenario, you fail over and then re-pair with a new namespace. Failing back is not supported; for example, in a SQL cluster.
169
169
170
-
:::image type="content" source="./media/event-hubs-geo-dr/geo2.png" alt-text="Image showing the failover flow":::
170
+
:::image type="content" source="../event-hubs/media/event-hubs-geo-dr/geo2.png" alt-text="Image showing the failover flow":::
171
171
172
172
## Manual failover
173
173
This section shows how to manually fail over using Azure portal, CLI, PowerShell, C#, etc.
@@ -234,4 +234,4 @@ Review the following samples or reference documentation.
0 commit comments