I currently have NXRM 3 running and am trying to migrate the date from one server to the other.
As I understand it there are three directories in Nexus’ architecture.
- Application - I have installed a fresh instance of Nexus into /app/nexus
- Data Directory - stores config data. I currently have my existing Nexus server putting this to AWS EFS drive which I have mounted to /data-test on the root
- Blob storage - we have this on S3 so not too worried about this.
I have updated the app/nexus/bin/nexus.vmoptions to point to .data-test (example vmoptions below).
However, it appears that after restarting Nexus service it is still pointing to the initial data directory within /app/nexus/. None of my configuration appears to have migrating although the page renders. If I rename /app/nexus/data to /app/nexus/data-backup I begin to get a 504 Bad Gateway which confirms my suspicion that it is still using this and not the migrated EFS data.
What am I doing wrong?
Here is my vmoptions:
-Xms1200M
-Xmx1200M
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Djava.net.preferIPv4Stack=true
-Dkaraf.home=.
-Dkaraf.base=.
-Dkaraf.etc=etc
-Djava.util.loggin.config.file=/data-test/etc/java.util.logging.properties
-Dkaraf.data=/data-test
-Djava.io.tmpdir=/data-test/tmp
-Dkaraf.startLocalConsole=false
Thanks
Barry