Users have changed hostname of the production site server before they perform a planned failover or failover for the first time. After the planned failover or failover, users start the DR site server and find that hostname of the DR site server is not updated accordingly.
For Linux servers, if you have changed hostname of the production site server before you perform a planned failover or failover for the first time, this modification will not synchronize to the DR site server.
Set preserve_hostname: false to preserve_hostname: true in the Cloud-Init configuration file /etc/cloud/cloud.cfg to ensure that hostname of the production site server and DR site server are the same after you enable protection.
The procedure is as follows:
sudo vim /etc/cloud/cloud.cfg
After the planned failover or failover, hostname of the DR site server and production site server are the same.
If you have not modified configuration file /etc/cloud/cloud.cfg before the planned failover or failover, log in to the DR site server and manually change hostname of the DR site server to that of the production site server.