When you create a cluster and add instances to it, values such
as the group name and the local address are configured
automatically by AdminAPI. The default values are recommended
for most deployments, but advanced users can override the
defaults by passing the following options to the
groupNameoption to the
dba.createCluster()command to customize the name of the replication group created by InnoDB Cluster. This sets the
group_replication_group_namesystem variable. The name must be a valid UUID.
localAddressoption to the
cluster.addInstance()commands to customize the address which an instance provides for connections from other instances. Specify the address in the format
. This sets the
group_replication_local_addresssystem variable on the instance. The address must be accessible to all instances in the cluster, and must be reserved for internal cluster communication only. In other words, do not use this address for communication with the instance.
For more information see the documentation of the system variables configured by these AdminAPI options.