My Oracle Support Banner

Creating An Innodb Cluster From An Existing Group Replication Not Working In MySQL Shell 1.0.10 (Doc ID 2311219.1)

Last updated on SEPTEMBER 26, 2017

Applies to:

MySQL Server - Version 5.7 to 5.7 [Release 5.7]
Information in this document applies to any platform.

Symptoms

In the latest release of MySQL Shell v1.0.10, when performing the command on a working InnoDB Cluster:

var cluster = dba.createCluster('prodCluster', {adoptFromGR: true});

An error is displayed:

Dba.createCluster: Dba.checkInstanceConfiguration: The instance 'cluster@dhcp-10-172-234-131.pt.oracle.com:25635' is already part of a Replication Group (RuntimeError)

 

In MySQL Shell v1.0.9, the same command run with success and an InnoDB Cluster is created as expected:

mysql-js> var cluster = dba.createCluster('prodCluster', {adoptFromGR: true});
A new InnoDB cluster will be created on instance 'cluster@dhcp-10-172-234-131.pt.oracle.com:25635'.

Creating InnoDB cluster 'prodCluster' on 'cluster@dhcp-10-172-234-131.pt.oracle.com:25635'...
Adding Seed Instance...

Cluster successfully created. Use Cluster.addInstance() to add MySQL instances.
At least 3 instances are needed for the cluster to be able to withstand up to one server failure.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.