<p>I am trying to deploy <code>mysql</code> cluster on <code>openshift</code> with one master and 2 slaves replicas this <a href="https://github.com/praiskup/openshift-mysql/blob/master/5.6/examples/replica/mysql_replica.json" rel="nofollow noreferrer">MySQL-Replication-Example</a>.
I changed the image used in this json template by the latest image and changed the slave replica count to 2 at line 244. It deployed successfully initially.
After some time, I got following errors:</p>
<pre><code>2020-05-07T10:34:57.974142Z 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
2020-05-07T10:34:57.974208Z 0 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
</code></pre>
<p>As per my understanding and investigation, it works fine for single slave replica, but fails for two slave replicas which is a mandatory requirement for me. I cannot kill any slave process.</p>
<p>I am new to the <code>openshift</code>.
What should I change so that it works fine for two slave replicas too?</p>

<p>The <a href="https://github.com/praiskup/openshift-mysql/blob/master/5.6/examples/replica/mysql_replica.json#L62" rel="nofollow noreferrer">MYSQL Example</a> has a <a href="https://github.com/praiskup/openshift-mysql/blob/master/5.6/examples/replica/mysql_replica.json#L55" rel="nofollow noreferrer">Persistent Volume Claim</a> with the Access Mode as type <code>ReadWriteOnce</code>. You can change this to <code>ReadWriteMany</code>. However, you should look at the <a href="https://docs.openshift.com/container-platform/4.4/storage/understanding-persistent-storage.html#pv-access-modes_understanding-persistent-storage" rel="nofollow noreferrer">Access Modes</a> documentation for more information.</p>
