Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I'm using one gateway cluster with a two gateway that working in fail-over mode.
Gateway Cluster:
- Gateway A (primary)
- Gateway B (fail-over secondary)
now I need to set Gateway B as primary and delete Gateway A.
is there a powershell command to set Gateway B as primary?
What is the correct procedure to follow?
Thanks
Solved! Go to Solution.
Why delete A? You will want to keep your failover setup.
The choreography is as follows:
- Have your recovery key handy. Nothing will work without that.
- Delete B from the cluster
- Register B as a replacement Primary in the cluster, kicking out A.
- Add the now orphaned A back into the cluster as a secondary gateway
You will not want to do this via Powershell.
Hi,
Gateway A is dead, I need to promote Gateway B to primary.
I have the recovery key.
What is the correct procedure?
Thanks
Log in to the management app on B. Specify "Take over". Select the Primary. Provide the Recovery key.
When successful B will be the new anchor and A will be orphaned.
Hi Ibendlin,
if I understand correctly the steps to take are:
remove node B from the cluster
uninstall the DataGateway from server B
rerun the DataGateway setup on server B and perform the takeover
is this correct?
Thanks you
no need to remove B from the cluster first (but it also doesn't hurt if you do).
Why delete A? You will want to keep your failover setup.
The choreography is as follows:
- Have your recovery key handy. Nothing will work without that.
- Delete B from the cluster
- Register B as a replacement Primary in the cluster, kicking out A.
- Add the now orphaned A back into the cluster as a secondary gateway
You will not want to do this via Powershell.
do you mean as activity complets for takeover of primary gateway over B, we will see as follows:
- Gateway A (fail-over secondary)
- Gateway B (primary)
There's no failover. All cluster members share the load if you specify it with the checkbox. Primary/Anchor is purely cosmetic.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 8 | |
| 7 |