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
Copy file name to clipboardExpand all lines: articles/postgresql/migrate/how-to-migrate-single-to-flexible-portal.md
+28-22Lines changed: 28 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ The migration tool comes with a simple, wizard-based experience on the Azure por
52
52
53
53
:::image type="content" source="./media/concepts-single-to-flexible/flexible-overview.png" alt-text="Screenshot of the flexible Overview page." lightbox="./media/concepts-single-to-flexible/flexible-overview.png":::
54
54
55
-
4. Select the **Migrate from Single Server** button to start a migration from Single Server to Flexible Server. If this is the first time you're using the migration tool, an empty grid appears with a prompt to begin your first migration.
55
+
4. Select the **Create** button to start a migration from Single Server to Flexible Server. If this is the first time you're using the migration tool, an empty grid appears with a prompt to begin your first migration.
56
56
57
57
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-grid.png" alt-text="Screenshot of the Migration tab in flexible." lightbox="./media/concepts-single-to-flexible/flexible-migration-grid.png":::
58
58
@@ -89,6 +89,8 @@ The first tab is **Setup**. Just in case you missed it, allowlist necessary exte
89
89
90
90
**Migration name** is the unique identifier for each migration to this Flexible Server target. This field accepts only alphanumeric characters and doesn't accept any special characters except a hyphen (-). The name can't start with a hyphen and should be unique for a target server. No two migrations to the same Flexible Server target can have the same name.
91
91
92
+
**Source server type** indicates the source. In this case, it is Azure Database for PostgreSQL Single server
93
+
92
94
**Migration Option** gives you the option to perform validations before triggering a migration. You can pick any of the following options
93
95
-**Validate** - Checks your server and database readiness for migration to the target.
94
96
-**Migrate** - Skips validations and starts migrations.
@@ -102,42 +104,46 @@ It's always a good practice to choose **Validate** or **Validate and Migrate** o
102
104
103
105
If **Online** migration is selected, it requires Logical replication to be turned on in the source Single server. If it's not turned on, the migration tool automatically turns on logical replication at the source Single server. Replication can also be set up manually under **Replication** tab in the Single server side pane by setting the Azure replication support level to **Logical**. Either approach restarts the source single server.
104
106
105
-
Select the **Next** button.
107
+
Select the **Next : Connect to Source** button.
106
108
107
109
### Source tab
108
110
109
111
The **Source** tab prompts you to give details related to the Single Server that is the source of the databases.
110
112
111
-
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-source.png" alt-text="Screenshot of source database server details." lightbox="./media/concepts-single-to-flexible/flexible-migration-source.png":::
112
-
113
113
After you make the **Subscription** and **Resource Group** selections, the dropdown list for server names shows Single Servers under that resource group across regions. Select the source that you want to migrate databases from. You can migrate databases from a Single Server to a target Flexible Server in the same region. Cross region migrations are enabled only for servers in India, China and UAE.
114
114
115
115
After you choose the Single Server source, the **Location**, **PostgreSQL version**, and **Server admin login name** boxes are populated automatically. The server admin login name is the admin username used to create the Single Server. In the **Password** box, enter the password for that admin user. The migration tool performs the migration of single server databases as the admin user.
116
116
117
-
After filling out all the fields, select the **Next** button.
117
+
After filling out all the fields, click the **Connect to source** link. This validates that the source server details entered are correct and source server is reachable.
118
+
119
+
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-source.png" alt-text="Screenshot of source database server details." lightbox="./media/concepts-single-to-flexible/flexible-migration-source.png":::
120
+
121
+
Select the **Next : Select migration target** button to continue.
118
122
119
123
### Target tab
120
124
121
-
The **Target** tab displays metadata for the Flexible Server target, like subscription name, resource group, server name, location, and PostgreSQL version.
125
+
The **Target** tab displays metadata for the Flexible Server target, such as subscription name, resource group, server name, location, and PostgreSQL version.
122
126
123
127
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-target.png" alt-text="Screenshot of target database server details." lightbox="./media/concepts-single-to-flexible/flexible-migration-target.png":::
124
128
125
-
For **Server admin login name**, the tab displays the admin username used during the creation of the Flexible Server target. Enter the corresponding password for the admin user.
129
+
For **Server admin login name**, the tab displays the admin username used during the creation of the Flexible Server target. Enter the corresponding password for the admin user. After filling out the password, click the **Connect to target** link. This validates that the target server details entered are correct and target server is reachable.
126
130
127
-
Select the **Next** button.
131
+
Click the **Next** button to select the databases to migrate.
128
132
129
133
### Select Database(s) for Migration tab
130
134
131
-
Under this tab, there's a list of user databases inside the Single Server. You can select and migrate up to eight databases in a single migration attempt. If there are more than eight user databases, the migration process is repeated between the source and target servers for the next set of databases.
135
+
Under this tab, there's a list of user databases inside the Single Server. You can select and migrate up to eight databases in a single migration attempt. If there are more than eight user databases, the migration process is repeated between the source and target servers for the next set of databases. By default, selected databases with the same name on the target are overwritten.
132
136
133
137
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-database.png" alt-text="Screenshot of Databases to migrate." lightbox="./media/concepts-single-to-flexible/flexible-migration-database.png":::
134
138
135
139
>[!NOTE]
136
140
> The tool migrates only user databases. System databases or template databases such as template0, template1 will not be migrated.
137
141
138
-
### Review
142
+
Click the **Next** button to review the details.
143
+
144
+
### Summary
139
145
140
-
The **Review** tab summarizes all the details for creating the validation or migration. Review the details and click on the start button.
146
+
The **Summary** tab summarizes all the details for creating the validation or migration. Review the details and click on the start button.
141
147
142
148
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-review.png" alt-text="Screenshot of details to review for the migration." lightbox="./media/concepts-single-to-flexible/flexible-migration-review.png":::
143
149
@@ -147,7 +153,7 @@ After you click the start button, a notification appears in a few seconds to say
147
153
148
154
:::image type="content" source="./media/concepts-single-to-flexible/flexible-migration-monitor.png" alt-text="Screenshot of recently created migration details." lightbox="./media/concepts-single-to-flexible/flexible-migration-monitor.png":::
149
155
150
-
The grid that displays the migrations has these columns: **Name**, **Status**, **Source DB server**, **Resource group**, **Region**, **Databases**, and **Start time**. The entries are displayed in the descending order of the start time with the most recent entry on the top.
156
+
The grid that displays the migrations has these columns: **Name**, **Status**, **Migration type**, **Migration mode**, **Source server**, **Source server type**, **Databases**, **Start time** and **Duration**. The entries are displayed in the descending order of the start time with the most recent entry on the top.
151
157
152
158
You can use the refresh button to refresh the status of the validation or migration.
153
159
You can also select the migration name in the grid to see the associated details.
@@ -164,16 +170,16 @@ The validation moves to the **Succeeded** state if all validations are either in
164
170
165
171
:::image type="content" source="./media/concepts-single-to-flexible/validation-successful.png" alt-text="Screenshot of the validation grid." lightbox="./media/concepts-single-to-flexible/validation-successful.png":::
166
172
167
-
The validation grid has the following columns
168
-
-**Finding**- Represents the validation rules that are used to check readiness for migration.
169
-
-**Finding Status** - Represents the result for each rule and can have any of the three values
173
+
The validation grid has the
174
+
-**Validation details for instance**and **Validation details for databases** sections which represent the validation rules that are used to check readiness for migration.
175
+
-**Validation Status** - Represents the result for each rule and can have any of the three values
170
176
-**Succeeded** - If no errors were found.
171
177
-**Failed** - If there are validation errors.
172
178
-**Warning** - If there are validation warnings.
173
-
-**Impacted Object** - Represents the object name for which the errors or warnings are raised.
174
-
-**Object Type** - This can have the value **Database** for database level validations and **Instance** for server level validations.
179
+
-**Duration** - Time taken for the Validation operation.
180
+
-**Start and End time** - Start and end time of the validation operation in UTC.
175
181
176
-
The validation moves to **Validation Failed** state if there are any errors in the validation. Click on the **Finding**in the grid whose status is **Failed** and a fan-out pane gives the details and the corrective action you should take to avoid this error.
182
+
The **Validation status**moves to **Failed** state if there are any errors in the validation. Click on the **Validation name**or **Database name** validation that has failed and a fan-out pane gives the details and the corrective action you should take to avoid this error.
177
183
178
184
:::image type="content" source="./media/concepts-single-to-flexible/validation-failed.png" alt-text="Screenshot of the validation grid with failed status." lightbox="./media/concepts-single-to-flexible/validation-failed.png":::
179
185
@@ -199,16 +205,16 @@ In this option, validations are performed first before migration starts. After t
199
205
- If validation has errors, the migration moves into a **Failed** state.
200
206
- If validation completes without any error, the migration starts and the workflow will move into the sub state of **Migrating Data**.
201
207
202
-
You can see the results of validation under the **Validation** tab and monitor the migration under the **Migration** tab.
208
+
You can see the results of **Validate and Migrate** once the operation is complete.
> Support for **Online** migrations is currently available in UK South, South Africa North, UAE North, and all regions across Asia and Australia.
215
+
> Support for **Online** migrations is currently available in Central US, France Central, Germany West Central, North Central US, South Central US, North Europe, all West US regions, UK South, South Africa North, UAE North, and all regions across Asia and Australia. In other regions, Online migration can be enabled by the user at a subscription-level by registering for the **Online PostgreSQL migrations to Azure PostgreSQL Flexible server** preview feature as shown in the image.
216
+
217
+
:::image type="content" source="./media/concepts-single-to-flexible/online-migration-feature-switch.png" alt-text="Screenshot of online PostgreSQL migrations to Azure PostgreSQL Flexible server." lightbox="./media/concepts-single-to-flexible/online-migration-feature-switch.png":::
212
218
213
219
In case of both **Migrate** as well as **Validate and Migrate**, completion of the Online migration requires another step - a Cutover action is required from the user. After the copy/clone of the base data is complete, the migration moves to `WaitingForUserAction` state and `WaitingForCutoverTrigger` substate. In this state, user can trigger cutover from the portal by selecting the migration.
0 commit comments