Prepare the Environment for Migration
To successfully migrate all data from Classic On-Premises to the Virtual Appliance, certain configurations must be performed on the source Controller and Events Service servers. Follow these steps to prepare your environment for migration:
-
Enterprise Console:
After you upgrade Enterprise Console to 25.10, restart the Enterprise Console with the JVM config setting. For more information, see Restart Enterprise Console.
-
Source, Destination, and the NFS server are on the Same Network:
Ensure that the Classic On-Premises Controller, EUM, Virtual Appliance, and NFS are on the same network so that they can have consistent access to one another during migration.
-
Add Migration User to the Super User Doer (sudo) list:
Add the user account being used for migration to the
sudolist on each host to enable passwordless sudo access to the migration tool.Example Commands:In this example,CODEsudo visudo -f /etc/sudoers.d/appduser appduser ALL=(ALL) NOPASSWD:ALL sudo chmod 440 /etc/sudoers.d/appduserappduserrepresents the user account used to log into the Controller and other hosts. Replaceappduserwith your actual username as needed. -
Install NFS Client Packages and Verify NFS Server:
Ensure that all Classic On-Premises and Virtual Appliance hosts have the necessary NFS client packages installed. Confirm that the NFS server is running on the NFS host. For more information, see Install the NFS Client Packages on Classic On-Premises.
-
Enable MySQL Binary Logging (bin-log):
Enable bin-log in the MySQL server of Classic On-Premises Controller and EUM. See, Enable bin-log of the MySQL Server.
-
Set Up SSH Key Pairs:
Set up SSH key pairs for all the components. These key pairs are required to enable secure communication among all the components.
Note: Ensure that all the SSH keys exist under ~/.ssh on the Virtual Appliance node. The ~/.ssh/id_* files must have owner permissions (chmod 600).Copy the private and public keys for each component. Example SSH key pairs that you can add in the Virtual Appliance node:CODE~/.ssh/id_classic_controller ~/.ssh/id_classic_events ~/.ssh/id_classic_eum ~/.ssh/id_classic_synth ~/.ssh/id_nfs ~/.ssh/id_va_ip1 ~/.ssh/id_va_ip2 ~/.ssh/id_va_ip3For classic On-Premises Controller host, Events Service host, and Virtual Appliance, add the public key corresponding to its private key in the authorized keys file (
~/.ssh/authorized_keys).If you prefer not to share private keys with the hosts, you can alternatively generate an SSH key pair on your local machine by running the following command:CODEssh-keygen -t rsa -b 4096 -C "your_email@example.com" -f ~/.ssh/my_custom_keyExample of custom key-pairs:CODE~/.ssh/my_custom_key ~/.ssh/my_custom_key.pub
These configurations establish the foundational infrastructure for the migration tool to operate efficiently, automating tasks such as mounting NFS shares, transferring data stores, and managing service restarts.
Restart Enterprise Console
Enable bin-log of the MySQL Server
Enabling binary logging (bin-logs) on MySQL servers is required when migrating from classic on-prem Controller and EUM to the Virtual Appliance (VA).
Install the NFS Client Packages on Classic On-Premises
| Linux Flavor | Command |
|---|---|
|
CODE
|
| Fedora |
CODE
|
|
CODE
|
| SLES12 and SLES15 |
CODE
|
Set Up the NFS Server
- AlmaLinux
-
CODE
dnf install nfs-utils - Ubuntu
-
CODE
sudo apt install nfs-kernel-server