Forum Discussion

mancio's avatar
mancio
Regular Visitor
1 year ago
Solved

Data gateway - Change Primary

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

  • 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.

7 Replies

  • 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.

    • Anonymous's avatar
      Anonymous
      Not applicable

      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)

      • lbendlin's avatar
        lbendlin
        Super User

        There's no failover. All cluster members share the load if you specify it with the checkbox. Primary/Anchor is purely cosmetic.

  • mancio's avatar
    mancio
    Regular Visitor

    Hi,

    Gateway A is dead, I need to promote Gateway B to primary.

    I have the recovery key.

    What is the correct procedure?

     

    Thanks

     

    • lbendlin's avatar
      lbendlin
      Super User

      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.

      • mancio's avatar
        mancio
        Regular Visitor

        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