Moving from a High Availability Deployment to a Single Instance
This topic provides instructions to follow should you need to move from a clustered, highly available Nexus Repository deployment to a single instance.
Container-Based Instructions
Scale replicas to 0 in the
deployment.yml
or using the kubectl.In your
$data-dir/sonatype-work/nexus3/etc/nexus.properties
, setnexus.datastore.clustered.enabled
tofalse
.Set
nexus.datastore.enabled
totrue
(required to use the PostgreSQL database).Set replicas to
1
in thedeployment.yml
or using the kbectl.
Non-Container-Based Instructions
Stop Nexus Repository instances.
In the
$data-dir/sonatype-work/nexus3/etc/nexus.properties
file for the instance, turn back on, set thenexus.datastore.clustered.enabled
tofalse
.In this same instance, set
nexus.datastore.enabled
totrue
(required to use the PostgreSQL database).Start the Nexus Repository instance.