This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.