From time to time, you will require a server to be renamed where you have an instance of SharePoint 2010 installed. For example, you may want to clone and rename a server for backup purposes and use it on the same network as the original installation. When carefully executed, you will have the ability to rename your server and retain a fully functional copy of your SharePoint site. Having a flexible and robust Business Intelligence platform and system offers users and operators the best overall experience.
Below are the steps that we here at Decentrix follow to rename one of our servers that contains an installation of SharePoint 2010. These steps were derived with the assistance of Alex Anikin’s blog http://aanikin.wordpress.com/2010/09/01/how-to-rename-SharePoint-2010-server/
as well as the Microsoft Technet article http://technet.microsoft.com/en-us/library/cc261986.aspx.
Renaming a Server with SharePoint 2010:
To begin, use either STSADM or POWERSHELL to rename your server
- Verify that you are a member of the local Administrators group on the local computer in order to run Stsadm.
- Open a cmd window AS ADMINISTRATOR (always do this whenever running stsadm commands – even if you are a local administrator)
- On the drive on which SharePoint Server 2010 is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\14\Bin\
- Type the following command, and then press ENTER: stsadm -o renameserver -oldservername <oldServerName> -newservername <newServerName>
Note: We do not recommend the use of the Windows PowerShell Rename-SPServer cmdlet because it does not work if the server on which the configuration database is stored has already been renamed. Currently, SharePoint supports both PowerShell and STSADM.
1. On the Start menu, click All Programs.
2. Click Microsoft SharePoint 2010 Products.
3. Click SharePoint 2010 Management Shell.
4. At the Windows PowerShell command prompt, type the following command:
Rename-SPServer [-Identity] <OriginalServerName> -Name <NewServerName>
- <OriginalServerName> is the original name of the stand-alone server.
- <NewServerName> is the new name of the stand-alone server.
Rename your server in IIS
To ensure that the rename operation is complete, run iisreset /noforce at a Windows command prompt.
In Internet Information Services Manager: Right Click, Rename, Reset:
Reconfigure your SharePoint 2010 Alternate Access Mappings
In order to get BI components (SSRS, Performance Point, Excel Services, etc.) and other SharePoint Features working with the new server (and SharePoint site) names, the alternate access mappings must be updated to the name of the new server.
Central Admin (with new machine name) -> System Settings ->Configure Alternate Access Mappings
At this point, a majority of SharePoint’s functionality will be functioning properly. Performance Point, SSRS, and Excel Services should all be working. To test if the process was successful, each reporting platform should be able to open a report and refresh data connections without errors or warnings. It may be necessary to update data source definitions if the location of databases or cubes has changed.
Getting Power Pivot reporting and the corresponding SharePoint Power Pivot Gallery is a more in depth process that will be covered in a future blog.