ARTIFACTORY: Nexus2 to Artifactory Migration Without Docker Installation on Nexus2 Host
In this article, we will learn how to migrate from Nexus2 to Artifactory without Docker Installation on Nexus2 Host.
In alignment with the JFrog documentation, the deployment of the Migrator tool (script) necessitates the installation of Docker on the Nexus Repository Manager machine to facilitate the seamless migration process.
However, certain scenarios may arise where the installation of Docker on the Nexus host machine is deemed impractical. It is essential to note that the workaround recommended in a separate article, "Nexus3 to Artifactory Migration without Docker Installation on Nexus3 Host," is specifically tailored for Nexus 3.x. It is not applicable to Nexus 2.x, as the latter relies exclusively on the filesystem data.
In such circumstances, the following methodical steps can be employed to enable Docker deployment and subsequently execute the migration process for the Nexus Server:
Launch a Separate Instance:Deploy a dedicated instance where Docker installation is supported, ensuring its location within the same subnet as the existing Nexus server. Establish communication between the new instance and the Nexus server over the private IP.
Docker Installation:Install Docker on the newly created instance, adhering to system requirements.
Mount the Nexus Work Directory on the New Instance:Mount the Nexus work directory as a volume on the new instance where Docker is operational. External articles can be referenced for guidance on the proper procedure for mounting the same volume between two servers.
Migration Tool Configuration:
During the execution of the migration tool, exercise diligence in utilizing the private IP of the Nexus instance when providing configuration information for the Nexus Server.
Following these initial steps, further documentation can be referred to for subsequent stages of the migration process.