We want to rename the machine and preserve all performance data in the SQL Server on the VirtualCenter.

What procedure would you recommend? DNS updates/changes, SQL statements and service console commands.

  • Which machine do you want to rename? The SQL Server or the VC server? Or are they on the same box?
    – andyhky
    Jun 16 '09 at 13:02
  • The VC and SQL server are on the same box, but I want to rename an ESX server connected to them, not the VC/SQL Server. Jun 17 '09 at 12:17

Changing the server name is easy enough - DNS and a tiny bit of console work but keeping the performance data up to date with it seems a bit too much trouble to me.


It seems like there is no current documented way to preserve performance data of the host.

After some thought, it seems like it doesn't matter, anyways, since what matters is the history of the VM, not the host.

So renaming a host was this process:

  1. Change DNS. Create A record for the host with the new name, remove the A record for the old, and create a CNAME for the old name
  2. Evacuate host, place in maintenance mode
  3. Use VI Client to rename host in DNS and Routing
  4. Reboot host.
  5. Remove Host from VI.
  6. Attach to host with new DNS name

When all is said and done, and everything works well, clear out the DNS CNAMEs created.

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .