question

AlexanderGomez-9341 avatar image
0 Votes"
AlexanderGomez-9341 asked Crystal-MSFT commented

Rename the server for Systems Center Virutal Machine Manager 1807

Hi. Wanted to get some feedback on this. I'm walking into a company who has SCVMM 1807 installed, but its been severely neglected for maybe about a year. I'm trying to clean it up and organize it for them. ONE of the things I have on my list is to rename the server, because whoever commissioned it, did not do a good job of sticking with the naming conventions of the organization. The VMM server also has its SQL database installed on the same machine. So I'm pretty sure that I will have to rename the SQL instance. That is no problem. Besides renaming the windows server, and the SQL instance, can anyone tell me any extra steps that I would have to do in order to not 'break' the existing agent connections and be able to still open up SCVMM? Would I have to repoint the VMM software to the new named instance or would renaming the Windows server to the same name already accomplish this for me. Would I have to reinstall the VMM agent on all the managed hosts? Thank you for any feedback.

sql-server-generalwindows-servermsc-operations-managermsc-virtual-machine-managermsc-essentials
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Crystal-MSFT avatar image
0 Votes"
Crystal-MSFT answered Crystal-MSFT commented

@AlexanderGomez-9341, Based as i know, if both SQL server and VMM server are running on the same machine, renaming the server may cause the failure of starting VMM service. So we suggest to schedule a non-business time to do this.

As a reminder, please also ensure we have done backup before we take any action.

To rename the VMM server name, we can refer to the following steps:
1, Uninstall VMM server with "retain database"
2. Rename the computer name and restart the computer
3. Rename the instance of SQL server by using the following commands.

For a renamed computer that hosts a default instance of SQL Server, run the following procedures:
sp_dropserver <old_name>;
GO
sp_addserver <new_name>, local;
GO

For a renamed computer that hosts a named instance of SQL Server, run the following procedures:
sp_dropserver <old_name\instancename>;
GO
sp_addserver <new_name\instancename>, local;
GO
4. Restart the SQL service
5. Re-install the VMM server

Hope it can help.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This worked. The only thing I did different was I changed the SQL instance name and renamed the server at the same time before I rebooted.

0 Votes 0 ·

@AlexanderGomez-9341, Thanks for the update. I am glad to hear that it is working and thanks for sharing your steps. For your questions, I would like to say yes, we can re-install VMM using an existing database. And the VMM server will get the data stored in the database and then all the existing agents will still show in the console. If there's anything we can help in the future, feel free to post in our Q&A.

Thanks and have a nice day!

0 Votes 0 ·
AlexanderGomez-9341 avatar image
0 Votes"
AlexanderGomez-9341 answered

Thank you Crystal. One more question before I give it a try. The last step should then be to reinstall SCVMM using "an existing database"? That should essentially get the result I'm looking for which is a renamed server with all existing agent connections?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.