Skip to content

Commit ab7a40c

Browse files
committed
Incorporated Reviewer feedback
1 parent f51c056 commit ab7a40c

37 files changed

+28
-28
lines changed

articles/postgresql/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
- name: Single Server to Flexible Server migration (preview)
1818
items:
1919
- name: Single to Flexible server migration (Preview) - Concepts
20-
href: concepts-single-to-flexible.md
20+
href: migrate/concepts-single-to-flexible.md
2121
- name: Single to Flexible server migration (Preview) - Migrate using portal
22-
href: how-to-migrate-single-to-flex-portal.md
22+
href: migrate/how-to-migrate-single-to-flexible-portal.md
2323
- name: Single to Flexible server migration (Preview)- Migrate using CLI
24-
href: how-to-migrate-single-to-flex-cli.md
24+
href: migrate/how-to-migrate-single-to-flexible-cli.md
2525
- name: Single to Flexible server migration (Preview) - Set up Azure AD app using portal
26-
href: how-to-setup-aad-app-portal.md
26+
href: migrate/how-to-set-up-azure-ad-app-portal.md
2727
- name: Migrate data with pg_dump and pg_restore
2828
href: single-server/how-to-migrate-using-dump-and-restore.md
2929
displayName: pg_dump, pg_restore

articles/postgresql/migrate/concepts-single-to-flexible.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You choose the source server and can select up to eight databases from it. This
4040

4141
The following diagram shows the process flow for migration from Single Server to Flexible Server via the migration tool.
4242

43-
:::image type="content" source="./media/concepts-single-to-flexible/concepts-flow-diagram.png" alt-text="Diagram that shows the migration from Single Server to Flexible Server." lightbox="./media/concepts-single-to-flexible/concepts-flow-diagram.png":::
43+
:::image type="content" source="./media/concepts-single-to-flexible/concepts-flow-diagram.png" alt-text="Diagram that shows the Migration from Single Server to Flexible Server." lightbox="./media/concepts-single-to-flexible/concepts-flow-diagram.png":::
4444

4545
The steps in the process are:
4646

@@ -118,17 +118,17 @@ Before you start using the migration tool:
118118

119119
- If you are using any PostgreSQL extensions on the Single Server, it has to allow-listed on the Flexible Server before initiating the migration using the steps below:
120120

121-
1. Use select command in the Single Server environment to list all the extensions in use.
121+
1. Use select command in the Single Server environment to list all the extensions in use.
122122

123-
```
124-
select * from pg_extension
125-
```
123+
```
124+
select * from pg_extension
125+
```
126126
127-
The output of the above command gives the list of extensions currently active on the Single Server
127+
The output of the above command gives the list of extensions currently active on the Single Server
128128
129-
2. Enable the list of extensions obtained from step 1 in the Flexible Server. Search for the 'azure.extensions' parameter by selecting the Server Parameters tab in the side pane. Select the extensions that are to be allow-listed and click Save.
129+
2. Enable the list of extensions obtained from step 1 in the Flexible Server. Search for the 'azure.extensions' parameter by selecting the Server Parameters tab in the side pane. Select the extensions that are to be allow-listed and click Save.
130130
131-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-azure-extensions.png" alt-text="Screenshot of PG extension support in the Flexible Server Azure portal." lightbox="./media/concepts-single-to-flexible/single-to-flex-azure-extensions.png":::
131+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-azure-extensions.png" alt-text="Screenshot of PG extension support in the Flexible Server Azure portal." lightbox="./media/concepts-single-to-flexible/single-to-flex-azure-extensions.png":::
132132
133133
### Data and schema migration
134134

articles/postgresql/migrate/how-to-migrate-single-to-flexible-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ az postgres flexible-server migration --help
5555

5656
That command gives you the following output:
5757

58-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-cli-help.png" alt-text="Screenshot of Azure C L I help." lightbox="./media/concepts-single-to-flexible/single-to-flex-cli-help.png":::
58+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-cli-help.png" alt-text="Screenshot of Azure Command Line Interface help." lightbox="./media/concepts-single-to-flexible/single-to-flex-cli-help.png":::
5959

6060
The output lists the supported migration commands, along with their actions. Let's look at these commands in detail.
6161

@@ -92,7 +92,7 @@ az postgres flexible-server migration create [--subscription]
9292
For example:
9393

9494
```azurecli-interactive
95-
az postgres flexible-server migration create --subscription 5c5037e5-d3f1-4e7b-b3a9-f6bf9asd2nkh0 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --properties "C:\Users\Administrator\Documents\migrationBody.JSON"
95+
az postgres flexible-server migration create --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --properties "C:\Users\Administrator\Documents\migrationBody.JSON"
9696
```
9797

9898
The `migration-name` argument used in the `create` command will be used in other CLI commands, such as `update`, `delete`, and `show.` In all those commands, it will uniquely identify the migration attempt in the corresponding actions.
@@ -200,7 +200,7 @@ az postgres flexible-server migration list [--subscription]
200200

201201
The `migration_name` parameter is the name assigned to the migration during the `create` command. Here's a snapshot of the sample response from the CLI command for showing details:
202202

203-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-cli-migration-name.png" alt-text="Screenshot of C L I migration name." lightbox="./media/concepts-single-to-flexible/single-to-flex-cli-migration-name.png":::
203+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-cli-migration-name.png" alt-text="Screenshot of Command Line Interface migration name." lightbox="./media/concepts-single-to-flexible/single-to-flex-cli-migration-name.png":::
204204

205205
Note these important points for the command response:
206206

@@ -240,7 +240,7 @@ az postgres flexible-server migration update [--subscription]
240240
To set logical replication on your source server, pass the value `true` to the `initiate-data-migration` property. For example:
241241

242242
```azurecli-interactive
243-
az postgres flexible-server migration update --subscription 5c5037e5-d3f1-4e7b-b3a9-f6bf9asd2nkh0 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --initiate-data-migration true"
243+
az postgres flexible-server migration update --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --initiate-data-migration true"
244244
```
245245

246246
If you enable it manually, *you still need to issue the preceding `update` command* for the migration to move out of the `WaitingForUserAction` state. The server doesn't need to restart again because that already happened via the portal action.
@@ -260,7 +260,7 @@ az postgres flexible-server migration update [--subscription]
260260
To give the migration permissions to overwrite any existing data in the target server, you need to pass the value `true` to the `overwrite-dbs` property. For example:
261261

262262
```azurecli-interactive
263-
az postgres flexible-server migration update --subscription 5c5037e5-d3f1-4e7b-b3a9-f6bf9asd2nkh0 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --overwrite-dbs true"
263+
az postgres flexible-server migration update --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --overwrite-dbs true"
264264
```
265265

266266
#### WaitingForCutoverTrigger
@@ -282,7 +282,7 @@ az postgres flexible-server migration update [--subscription]
282282
For example:
283283

284284
```azurecli-interactive
285-
az postgres flexible-server migration update --subscription 5c5037e5-d3f1-4e7b-b3a9-f6bf9asd2nkh0 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --cutover"
285+
az postgres flexible-server migration update --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1 --cutover"
286286
```
287287

288288
After you use the preceding command, use the command for showing details to monitor if the cutover has finished successfully. Upon successful cutover, migration will move to a `Succeeded` state. Update your application to point to the new Flexible Server target.
@@ -307,7 +307,7 @@ az postgres flexible-server migration delete [--subscription]
307307
For example:
308308

309309
```azurecli-interactive
310-
az postgres flexible-server migration delete --subscription 5c5037e5-d3f1-4e7b-b3a9-f6bf9asd2nkh0 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1"
310+
az postgres flexible-server migration delete --subscription 11111111-1111-1111-1111-111111111111 --resource-group my-learning-rg --name myflexibleserver --migration-name migration1"
311311
```
312312

313313
For more information about this command, use the `help` parameter:

articles/postgresql/migrate/how-to-migrate-single-to-flexible-portal.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The migration tool comes with a simple, wizard-based experience on the Azure por
4343

4444
3. In the **Overview** tab of the Flexible Server, on the left menu, scroll down to **Migration (preview)** and select it.
4545

46-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png" alt-text="Screenshot of Migration tab details." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png":::
46+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png" alt-text="Screenshot of the details belonging to Migration tab." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png":::
4747

4848
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.
4949

@@ -71,7 +71,7 @@ Alternatively, you can initiate the migration process from the Azure Database fo
7171

7272
5. Once the Flexible Server is deployed, select to open the Flexible Server menu. On the left panel, scroll down to **Migration (preview)** and select it.
7373

74-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png" alt-text="Screenshot of Migration tab details." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png":::
74+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png" alt-text="Screenshot of the details related to Migration tab." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-preview.png":::
7575

7676
6. 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.
7777

@@ -85,7 +85,7 @@ Alternatively, you can initiate the migration process from the Azure Database fo
8585

8686
The first tab is **Setup**. It has basic information about the migration and the list of prerequisites for getting started with migrations. These prerequisites are the same as the ones listed in the [Migrate from Azure Database for PostgreSQL Single Server to Flexible Server](./concepts-single-to-flexible.md) article.
8787

88-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-setup.png" alt-text="Screenshot of Setup tab details." lightbox="./media/concepts-single-to-flexible/single-to-flex-setup.png":::
88+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-setup.png" alt-text="Screenshot of the details belonging to Setup tab." lightbox="./media/concepts-single-to-flexible/single-to-flex-setup.png":::
8989

9090
**Migration name** is the unique identifier for each migration to this Flexible Server target. This field accepts only alphanumeric characters and does not 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.
9191

@@ -155,7 +155,7 @@ After you choose a subnet, select the **Next** button.
155155

156156
The **Review + create** tab summarizes all the details for creating the migration. Review the details and select the **Create** button to start the migration.
157157

158-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-review.png" alt-text="Screenshot of migration review." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-review.png":::
158+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-review.png" alt-text="Screenshot of details to review for the migration." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-review.png":::
159159

160160
## Monitor migrations
161161

@@ -165,15 +165,15 @@ After you select the **Create** button, a notification appears in a few seconds
165165

166166
You should automatically be redirected to the **Migration (Preview)** page of Flexible Server. That page has a new entry for the recently created migration.
167167

168-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-review-tab.png" alt-text="Screenshot of migration details." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-review-tab.png":::
168+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-review-tab.png" alt-text="Screenshot of recently created migration details." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-review-tab.png":::
169169

170170
The grid that displays the migrations has these columns: **Name**, **Status**, **Source DB server**, **Resource group**, **Region**, **Version**, **Databases**, and **Start time**. By default, the grid shows the list of migrations in descending order of migration start times. In other words, recent migrations appear on top of the grid.
171171

172172
You can use the refresh button to refresh the status of the migrations.
173173

174174
You can also select the migration name in the grid to see the details of that migration.
175175

176-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-grid.png" alt-text="Screenshot of the migration grid." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-grid.png":::
176+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-grid.png" alt-text="Screenshot of the the migration grid containing all migrations." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-grid.png":::
177177

178178
As soon as the migration is created, the migration moves to the **InProgress** state and **PerformingPreRequisiteSteps** substate. It takes up to 10 minutes for the migration workflow to move out of this substate. The reason is that it takes time to create and deploy Database Migration Service, add the IP address on the firewall list of source and target servers, and perform maintenance tasks.
179179

@@ -185,7 +185,7 @@ For offline mode, the migration moves to the **Succeeded** state as soon as the
185185

186186
For online mode, the migration moves to the **WaitingForUserAction** state and the **WaitingForCutOver** substate after the **Migrating Data** substate finishes successfully.
187187

188-
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-status-wait.png" alt-text="Screenshot of migration status." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-status-wait.png":::
188+
:::image type="content" source="./media/concepts-single-to-flexible/single-to-flex-migration-status-wait.png" alt-text="Screenshot of migration status after clicking on the migration." lightbox="./media/concepts-single-to-flexible/single-to-flex-migration-status-wait.png":::
189189

190190
Select the migration name to open the migration details page. There, you should see the substate of **WaitingForCutover**.
191191

articles/postgresql/migrate/how-to-setup-azure-ad-app-portal.md renamed to articles/postgresql/migrate/how-to-set-up-azure-ad-app-portal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ An Azure AD app helps with role-based access control (RBAC). The migration infra
4646

4747
9. In the **Value** column, copy the Azure AD app secret. You can copy the secret only during creation. If you miss this step, you'll need to delete the secret and create another one for future tries.
4848

49-
:::image type="content" source="./media/how-to-setup-azure-ad-app-portal/azure-ad-client-secret-value.png" alt-text="Screenshot of copying a client secret." lightbox="./media/how-to-setup-azure-ad-app-portal/azure-ad-client-secret-value.png":::
49+
:::image type="content" source="./media/how-to-setup-azure-ad-app-portal/azure-ad-client-secret-value.png" alt-text="Screenshot that displays copying of a client secret." lightbox="./media/how-to-setup-azure-ad-app-portal/azure-ad-client-secret-value.png":::
5050

5151
## Add contributor privileges to an Azure resource
5252

@@ -78,7 +78,7 @@ The following steps add contributor privileges to a Flexible Server target. Repe
7878

7979
4. On the **Members** tab, keep the default option of **User, group, or service principal** for **Assign access to**. Click **Select Members**, search for your Azure AD app, and then click **Select**.
8080

81-
:::image type="content" source="./media/how-to-setup-azure-ad-app-portal/azure-ad-review-and-assign.png" alt-text="Screenshot of the Members tab." lightbox="./media/how-to-setup-azure-ad-app-portal/azure-ad-review-and-assign.png":::
81+
:::image type="content" source="./media/how-to-setup-azure-ad-app-portal/azure-ad-review-and-assign.png" alt-text="Screenshot of the Members tab to be added as Contributor." lightbox="./media/how-to-setup-azure-ad-app-portal/azure-ad-review-and-assign.png":::
8282

8383

8484
## Next steps
210 KB
Loading
210 KB
Loading
288 KB
Loading
277 KB
Loading
153 KB
Loading

0 commit comments

Comments
 (0)