Resetting MySQL Replication
From Junos Space Network Management Platform Release 17.2R1 onward, you can reset MySQL replication in runtime. In releases before Junos Space Platform Release 17.2R1, the resetting of MySQL replication is done by backing up and restoring the Junos Space Platform database, which involves backing up the of MySQL database. You can now reset MySQL replication from the Reset MySQL Replication page under the Administration workspace in Junos Space Platform.
Resetting the replication of the MySQL database enables continuous and uninterrupted data replication between the VIP and non-VIP MySQL nodes. This uninterrupted data replication ensures that there is no loss of data or network downtime.
You are alerted on the break in MySQL replication through e-mail notification, an SNMP trap, the MySQL in out of sync state parameter in the System Health Report, or the Database column on the Administration > Fabric page.
To reset MySQL replication in Junos Space Network Management Platform, a user must be a Super Administrator or a System Administrator.
To reset the replication of the MySQL database:
Failure of the reset job indicates that the database nodes are still not synchronized. You can retry the procedure to reset the replication.
Resetting the MySQL replication resets only the replication between database nodes on the active site. If you have configured disaster recovery, we recommend that you back up and restore MySQL database nodes on the standby site as well. To back up and restore MySQL nodes on the standby site, stop and restart the disaster recovery process on Junos Space Network Management Platform.
Log in to the CLI of the Junos Space node at the active site on which the VIP or the eth0:0 interface is configured.
The Junos Space Settings Menu is displayed.
-
Enter 7while using a virtual appliance at the Junos Space Settings Menu prompt to run shell commands.
You are prompted to enter the administrator password.
Enter the administrator password.
Type
jmp-dr stop
at the shell prompt and press Enter.The disaster recovery process on both sites is stopped.
To restart the disaster recovery process on both sites, type
jmp-dr start
and press Enter.The disaster recovery process is restarted on both sites.
The MySQL nodes at the standby site are backed up and restored.