SMS.6517 rsync Not Installed on the Source Server
Symptom
When you started the Agent installed on a Linux source server, the "rsync not installed on the source server" message was reported, as shown in Figure 1. You need to install rsync and restart the Agent.
Possible Causes
Linux migration depends on rsync. If rsync is not installed on the source server, the Agent cannot be started.
Solutions
The operations for different OSs are as follows:
- Use PuTTY or another SSH client to log in to the source server as user root.
- Check whether rsync exists in the yum repository.
yum search rsync
- If rsync exists, go to step 3.
- If rsync does not exist and the source server runs CentOS 8, update the yum repository.
mv /etc/yum.repos.d /etc/yum.repos.d.huawei.bak
mkdir /etc/yum.repos.d
vi /etc/yum.repos.d/CentOS-Base.repo (Enter the following information, and save the changes and exit.)[BaseOS] name=CentOS-$releasever - Base baseurl=https://repo.huaweicloud.com/centos-vault/$contentdir/$releasever/BaseOS/$basearch/os/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
yum clean all
yum makecache
- Install rsync.
- Enter y and press Enter.
- Display rsync details.
If the following information is displayed, rsync has been installed:
- Start the Agent.
- Read the displayed information carefully, enter y, and press Enter.
Figure 2 Confirmation
- Enter the AK/SK pair of the Huawei Cloud account that you migrate to.
When the following information is displayed, the Agent has been started up and will automatically start reporting source server information to SMS.
- Use PuTTY or another SSH client to log in to the source server as user root.
- Install rsync.
- Enter y and press Enter.
- Display rsync details.
If the following information is displayed, rsync has been installed:
- Start the Agent.
- Read the displayed information carefully, enter y, and press Enter.
Figure 3 Confirmation
- Enter the AK/SK pair of the Huawei Cloud account that you migrate to.
When the following information is displayed, the Agent has been started up and will automatically start reporting source server information to SMS.
- Use PuTTY or another SSH client to log in to the source server as user root.
- Install rsync.
- Display rsync details.
If the following information is displayed, rsync has been installed:
- Start the Agent.
- Read the displayed information carefully, enter y, and press Enter.
- Enter the AK/SK pair of the Huawei Cloud account that you migrate to.
When the following information is displayed, the Agent has been started up and will automatically start reporting source server information to SMS.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.