Skip to content

Commit 288b317

Browse files
committed
Add option to not cause an outage and more information on planning, backing up and restoring
1 parent e753836 commit 288b317

File tree

1 file changed

+45
-20
lines changed

1 file changed

+45
-20
lines changed

articles/private-5g-core/region-move.md

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,39 +14,52 @@ ms.custom: template-how-to
1414

1515
In this how-to guide, you'll learn how to move your Azure Private 5G Core resources to a different region. This involves exporting your resources from the source region's resource group and recreating them in a new resource group deployed in the target region.
1616

17-
If you also want to move your Azure Stack Edge (ASE) resources, see TODO:link.
17+
If you also want to move your Arc-enabled Kubernetes cluster, contact your support representative.
1818

1919
## Prerequisites
2020

2121
- Ensure you can sign in to the Azure portal using an account with access to the active subscription you used to create your private mobile network. This account must have the built-in Contributor or Owner role at the subscription scope.
22-
- Verify pricing and charges associated with the target region to which you're moving.
22+
- Refer to [Products available by region](https://azure.microsoft.com/explore/global-infrastructure/products-by-region/) to ensure Azure Private 5G Core supports the region to which you want to move your resources.
23+
- Verify pricing and charges associated with the target region to which you want to move your resources.
2324
- Choose a name for your new resource group in the target region. This must be different to the source region's resource group name.
24-
- Decide whether you want the deployment in the source region to remain fully operational during and after the region move.
25+
- If you want to move your Arc-enabled Kubernetes cluster, ensure you have access to [Azure CLI](/cli/azure/get-started-with-azure-cli).
2526

2627
## Plan a maintenance window
2728

28-
Depending on the resources you want to move and whether you want the deployment in the source region to remain fully operational during and after the region move, you may need to plan for a service outage.
29+
Depending on the resources you want to move and whether you want the deployment in the source region to remain operational during and after the region move, you may need to plan for a service outage.
2930

30-
If you're moving your Arc cluster, we recommend performing the move during a maintenance window to minimize the impact on your service. You should allow up to two hours for the process to complete. <!-- TODO: check outage time advice -->
31+
If you're moving your Arc-enabled Kubernetes cluster, we recommend performing the move during a maintenance window to minimize the impact on your service. You should allow up to two hours for the process to complete. <!-- TODO: check outage time advice -->
3132

33+
If you're not moving your Arc-enabled Kubernetes cluster and you want the deployment in the source region to remain operational during the region move, you'll have the option to move your resources without causing an outage in the original deployment. This will involve making additional changes to your deployment's template to delete all SIMs and custom location entries.
3234

3335
## Back up deployment information
3436

35-
The following list contains the data that will be lost over the region move. Back up any information you'd like to preserve; after the reinstall, you can use this information to reconfigure your packet core instance.
37+
The following list contains the data that will be lost over the region move. Back up any information you'd like to preserve; after the move, you can use this information to reconfigure your deployment.
3638

39+
1. For security reasons, your SIM configuration won't be carried over a region move. Refer to [Collect the required information for your SIMs](provision-sims-azure-portal.md#collect-the-required-information-for-your-sims) to take a backup of all the information you'll need to recreate your SIMs.
3740
1. If you want to keep using the same credentials when signing in to [distributed tracing](distributed-tracing.md), save a copy of the current password to a secure location.
3841
1. If you want to keep using the same credentials when signing in to the [packet core dashboards](packet-core-dashboards.md), save a copy of the current password to a secure location.
3942
1. Any customizations made to the packet core dashboards won't be carried over the region move. Refer to [Exporting a dashboard](https://grafana.com/docs/grafana/v6.1/reference/export_import/#exporting-a-dashboard) in the Grafana documentation to save a backed-up copy of your dashboards.
4043
1. Most UEs will automatically re-register and recreate any sessions after the region move completes. If you have any special devices that require manual operations to recover from a packet core outage, gather a list of these UEs and their recovery steps.
41-
1. For security reasons, your SIM configuration won't be carried over a region move. Refer to [Collect the required information for your SIMs](provision-sims-azure-portal.md#collect-the-required-information-for-your-sims) to take a backup of all the information you'll need to recreate your SIMs.
4244

4345
## Prepare to move your resources
4446

47+
### Optionally, delete the custom location
48+
49+
Only follow this step if you want to move your Arc-enabled Kubernetes cluster. Deleting the custom location will initiate an outage in the source region.
50+
51+
1. Log in to Azure CLI.
52+
1. Delete the custom location you want to move:
53+
54+
```azurecli
55+
az customlocation delete -n <custom location name> -g <resource group name>
56+
```
57+
4558
### Remove SIMs and custom location
4659
47-
Only follow this step if you don't need your deployment to stay online in the original region.
60+
If you want to avoid an outage in the source region's deployment during the region move, skip this step. You'll need to make additional modifications to the export template in [Prepare template](#prepare-template).
4861
49-
Before moving your resources, you'll need to uninstall all packet core instances you want to move by changing their **Custom ARC location** field to **None**.
62+
Before moving your resources, you'll need to delete all SIMs in your deployment. If you didn't delete the custom location in the previous step, you'll also need to uninstall all packet core instances you want to move by changing their **Custom ARC location** field to **None**.
5063
5164
1. Follow [Delete SIMs](manage-existing-sims.md#delete-sims) to delete all the SIMs in your deployment.
5265
1. For each site that you want to move, follow [Modify the packet core instance in a site](modify-packet-core.md) to modify your packet core instance with the changes below. You can ignore the sections about attaching and modifying data networks.
@@ -70,16 +83,23 @@ Your mobile network resources can now be exported via an Azure Resource Manager
7083
7184
## Move resources to a new region
7285
86+
### Optionally, move the Arc-enabled Kubernetes cluster
87+
88+
You can skip this step if you don't want to move your Arc-enabled Kubernetes cluster
89+
90+
1. Move the Arc-enabled Kubernetes cluster by following the steps in [Move Arc-enabled Kubernetes clusters across Azure regions](/azure/azure-arc/kubernetes/move-regions).
91+
1. Follow the steps in TODO <!-- TODO: link to MOP once ASE setup docs are ready --> to recreate the Arc-enabled Kubernetes cluster.
92+
7393
### Prepare template
7494
7595
You'll need to customize your template to ensure all your resources are correctly deployed to the new region.
7696
7797
1. Open the *template.json* file you downloaded in [Generate template](#generate-template).
7898
1. Find every instance of the original region's code name and replace it with the target region you're moving your deployment to. This involves updating the **location** parameter for every resource. See TODO:link for instructions on how to obtain the target region's code name.
7999
1. Find every instance of the original region's resource group name and replace it with the target region's resource group name you defined in [Prerequisites](#prerequisites).
80-
1. If you skipped [Remove SIMs and custom location](#remove-sims-and-custom-location) because you need your deployment to stay online in the original region:
100+
1. If you skipped [Remove SIMs and custom location](#remove-sims-and-custom-location) because you need your deployment to stay online in the original region, make the additional changes to the template:
81101
1. Remove all the SIM resources.
82-
1. Remove the custom location entry.
102+
1. Remove all custom location entries, including any dependencies from other resources.
83103
1. Remove any other resources you don't want to move to the target region.
84104
85105
### Deploy template
@@ -96,23 +116,28 @@ You'll need to customize your template to ensure all your resources are correctl
96116
97117
1. In the Azure portal, navigate to the new resource group and verify that your resources have been successfully recreated.
98118
99-
### Restore SIMs
119+
## Configure custom location
100120
101-
1. Retrieve your backed up SIM information and recreate your SIMs by following one of:
121+
You can now install your packet core instances in the new region. If you moved your Arc-enabled Kubernetes cluster, you'll also need to reinstall the packet core instances that use it in the original region.
102122
103-
- [Provision new SIMs for Azure Private 5G Core Preview - Azure portal](provision-sims-azure-portal.md)
104-
- [Provision new SIMs for Azure Private 5G Core Preview - ARM template](provision-sims-arm-template.md)
123+
For each site in your deployment, follow [Modify the packet core instance in a site](modify-packet-core.md) to reconfigure your packet core custom location. In *Modify the packet core configuration*, set the **Custom ARC location** field to the custom location value you noted down in [Remove SIMs and custom location](#remove-sims-and-custom-location). You can ignore the sections about attaching and modifying data networks.
105124
106-
If you only want to use your target region from now on, recreate your SIMs in the target region's resource group. If you want to use both your original and target regions, recreate your SIMs in both resource groups.
125+
## Restore backed up deployment information
107126
108-
### Configure custom location
127+
Configure your deployment in the new region using the information you gathered in [Back up deployment information](#back-up-deployment-information).
109128
110-
You can now reinstall your packet core instances in the new region.
129+
1. Retrieve your backed up SIM information and recreate your SIMs by following one of:
130+
131+
- [Provision new SIMs for Azure Private 5G Core Preview - Azure portal](provision-sims-azure-portal.md)
132+
- [Provision new SIMs for Azure Private 5G Core Preview - ARM template](provision-sims-arm-template.md)
111133
112-
1. For each site in your deployment, follow [Modify the packet core instance in a site](modify-packet-core.md) to reconfigure your packet core custom location. In [Modify the packet core configuration](modify-packet-core.md#modify-the-packet-core-configuration), set the **Custom ARC location** field to the custom location value you noted down in [Disable custom location](#disable-custom-location).
134+
1. Follow [Access the distributed tracing web GUI](distributed-tracing.md#access-the-distributed-tracing-web-gui) to restore access to distributed tracing.
135+
1. Follow [Access the packet core dashboards](packet-core-dashboards.md#access-the-packet-core-dashboards) to restore access to your packet core dashboards.
136+
1. If you backed up any packet core dashboards, follow [Importing a dashboard](https://grafana.com/docs/grafana/v6.1/reference/export_import/#importing-a-dashboard) in the Grafana documentation to restore them.
137+
1. If you have UEs that require manual operations to recover from a packet core outage, follow their recovery steps.
113138
114139
## Next steps
115140
116141
- Use [Azure Monitor](monitor-private-5g-core-with-log-analytics.md) or the [packet core dashboards](packet-core-dashboards.md) to confirm your deployment is operating normally after the region move.
117-
- If you no longer require a deployment in the old region, [delete the original resource group](/azure/azure-resource-manager/management/manage-resource-groups-portal).
142+
- If you no longer require a deployment in the source region, [delete the original resource group](/azure/azure-resource-manager/management/manage-resource-groups-portal).
118143
<!-- TODO: Learn more about reliability in Azure Private 5G Core. -->

0 commit comments

Comments
 (0)