Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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. –  Mike Fiedler Jun 17 '09 at 12:17

2 Answers 2

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.

share|improve this answer
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.