Changing gateway nodes in primary

You can add new gateway or remove existing gateway nodes using the mmchnode command. AFM automatically adjusts the existing filesets to use the latest configured gateways.

You must shutdown all the existing gateway nodes and then add or remove gateway using mmchnode command on a cluster that is currently running applications on AFM DR filesets. If the gateway nodes are changed while all gateway nodes are active, the gateway nodes might not be responding, or cluster-wide waiters might be observed after running mmchnode. Recycle the active gateway nodes.

It is not possible to remove existing gateway nodes if they are part of a mapping. You can remove the gateway nodes from the mapping using mmafmconfig command.
Note: Whenever you add or remove a gateway node, ensure that you update the list of IP addresses in the export map at home.