How to change the hostname of a VMware replication agent

How to change the hostname of a VMware replication agent

Task

Change the hostname of a VMware replication agent.

Solution

The VMware replication agent hostname ("hwragent", by default) can be changed from the agents's console.
  1. Go to the agent command line by pressing the "To console" button in TUI.
  2. Edit /var/run/hostname file and change the hostname of the agent machine.
  3. Reboot the VMware VM gracefully for the changes to take effect.

    • Related Articles

    • How to edit the "hosts" file of a VMware replication agent

      Task Edit the "hosts" file of a VMware replication agent. Solution The "hosts" file of the VMware agent is mounted into the agent system and can be edited from its console. Perform the following steps: Go to the agent command line by pressing the "To ...
    • How to turn on debug logging for Hystax VMware Replication Agent

      Task Turn on debug logging to perform advanced troubleshooting of Hystax VMware Replication Agent (HVRAgent) Solution Go to the agent console and create a flag to enable debug logging: touch /var/run/agent/debug_logs The next step is to restart ...
    • How to change network settings of a Replication Agent in VMware

      Challenge Hystax VMware Replication Agent (HVRAgent) is deployed as a virtual machine to a source ESXi host. It uses DHCP for its single NIC by default.  However, these default settings might not work in case the source VMware infrastructure doesn't ...
    • How to set volume exclusion for the Windows replication agent

      Task Set a volume exclusion for the Windows replication agent. Solution In case there are disks on the machines that are not needed for replication, they can be excluded by setting certain parameters in the cbt configuration file: 1. Stop the ...
    • How to turn on debug logging for Hystax Linux Replication Agent

      Task Turn on debug logging to perform advanced troubleshooting of Hystax Linux Replication Agent (HLRAgent) Solution Stop the HLRAgent service with the following command: sudo service hlragent stop Enable debug logs, set the value ...