Perform the following prerequisite steps at the source clusters:
- Run the following commands and ensure that all the nodes and pods are healthy and running.
kubectl get nodes -A
kubectl get pods -A - Run the following command to install the rsync package on the Dell Telecom Infrastructure Automation Foundation Global Controller (CP1) node.
For Ubuntu operating system:
sudo apt-get update
sudo apt-get install rsyncFor Red Hat Enterprise Linux operating system:
sudo yum install rsync
- Edit the sudoers file on the Dell Telecom Infrastructure Automation Foundation Global Controller (CP1) node to grant permission to run the rsync, cat, and ls commands using sudo.
- Open the sudoers file using vi or similar editor:
sudo vi /etc/sudoers
- Add the commands to the Cmnd_Alias definition. Press the I key to switch to insert mode and edit the file.
Cmnd_Alias BIN=...existing commands...,/usr/bin/rsync,/usr/bin/cat,/usr/bin/ls
- If the Cmnd_Alias definition does not exist in the sudoers file, add the following lines in the file at the end.
Cmnd_Alias BIN=/usr/bin/rsync,/usr/bin/cat,/usr/bin/ls
dell ALL=NOPASSWD: BIN - Save the file and quit the editor.
- Open the sudoers file using vi or similar editor: