Reference Guide
Figure 21. Conīrmation screen
Add server instance to MySQL InnoDB cluster
You must add server instance to the MySQL InnoDB cluster as primary or secondary.
Do the following to add a server instance to the MySQL InnoDB cluster:
1 Login as DB Admin user from the command prompt.
2 Run the following command to add a server instance to the MySQL InnoDB cluster:
cluster.addInstance('root@IPAddress2:3306')
cluster.addInstance('root@IPAddress3:3306')
NOTE
: The IP address and the port numbers are only examples and will vary based on the system that you will be using at
your work place.
3 Run the following command to check the status of the server instance:
cluster.status()
NOTE
: All the nodes should display the status as ONLINE which indicates that the nodes have been added successfully to the
MySQL InnoDB cluster set up.
Achieve high availability for MySQL InnoDB 23