1.Modify the subnet mask of the heartbeat network port on MDS1 to 255.255.0.0 (consistent with that of the heartbeat port on the active MDS). During the modification, do not restart the network.
(1)Run the ifconfig bond1 192.168.0.x netmask 255.255.0.0 command.
(2)Modify the configuration file.
Run the vi /etc/sysconfig/network/ifcfg-bond1 to modify the subnet mask.
2.Wait one minute and check the HA status.
Run the mdsmml mds hastatus command on MDS1 and MDS2 respectively.
The state of the active MDS is primary MDS and the state of the standby MDS is secondary MDS.