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: README.md
+24-12Lines changed: 24 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,33 @@ It requires two main steps:
6
6
2. Deploy Code to run in an App service using `Deploy to Azure` button below or to a VM by cloning the Git repo and running the `app.py` script.\
7
7
Once started, app will continously keep track of the changes in MongoDB Atlas and replicate them to the MirrorDB created in Step 1.
8
8
9
-
# Step1: Fabric Mount Generation
10
-
To create the mount for replication, we just need to run the `Fabric Generic mount creation/MirrorDB_creation.py` code.
9
+
# Step1: MirrorDB Creation
10
+
To create the MirrorDB, we use the Fabric UI.
11
11
12
-
## Pre-requisites for Step1:
13
-
1. Rename `Fabric Generic mount creation/.env_example_mount` to `Fabric Generic mount creation/.env`
14
-
2. To get the WORKSPACE_ID, Open the Fabric UI, select the Workspace where you want the Mirror DB to be created. The Workspace ID is part of the url. For e.g : In the url "https://app.fabric.microsoft.com/groups/daacbe4d-4fd8-4cbd-bc0b-b211356b30c5/list?experience=power-bi", `daacbe4d-4fd8-4cbd-bc0b-b211356b30c5` is the Workspace Id.
15
-
3. Open Developer Tools, check Network Activity, Select "Disable Cache", get any API (endpoint api or workspace api or any other api). Copy the Bearer Token from the Request Header. This is also explained in the `Fabric Generic mount creation/Generic Mount Creation Steps.pdf` file.
12
+
Follow the steps below for the MirrorDB (LZ) creation.
5. The new MirrorDB creation is complete when you see the below screen showing that replication is “Running”. Note that you can get the LandingZone url also from this screen.
1. The terminal prints will indicate the execution of 4 APIs. The 2nd API will create the Fabric mount and we can verify that in Fabric.
23
-
2. After the 4th API is run, we can check in Fabric and see that Replication Status is `Running`.
24
36
25
37
# Step2: Start Mirroring
26
38
Step 2 is basically executing the ARM template by clicking the `Deploy to Azure` button. But, we need to get the parameters to be provided to the ARM template ready beforehand.
0 commit comments