How to edit the hosts file of a VMware agent

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

Task

Edit the "hosts" file of a VMware 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:
  1. Go to the agent command line by pressing the "To console" button in TUI.
  2. Edit /etc/hosts file as required.
  3. Restart services for the changes to take effect by pressing the "Restart services" button in TUI.

    • Related Articles

    • 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. Go to the agent command line by pressing the "To console" button in TUI. Edit ...
    • 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 by creating a flag file with the following command: sudo touch ...
    • 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.conf 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 ...
    • How to turn on debug logs for Hystax Windows Replication Agent

      Task Turn on debug logging to perform advanced troubleshooting for Hystax Windows Replication Agent (HWRAgent). Solution HWRAgent is running as two separate processes - HWRAgent service and Replication Manager (Repman_x64.exe), so you need to turn on ...