http://www.sharepointblogs.com/mirjam/archive/2007/08/06/renaming-a-moss-server.aspx
Renaming a MOSS Server
Renaming a MOSS server is meticulous job. If anything goes wrong along the way chances are that you need to reconfigure your whole MOSS environment.
Here are the steps to take, and the order in which to take them if you want to rename a server that has MOSS already installed and configured on it:
*** NOTE: Use only letters, digits and minus for the machine name (so no underscores), max 15 characters.
Change each alternate access mapping for your MOSS/WSS deployment in Central Administration:
Open Central Administration, "Operations" Tab, "Alternate access mappings" link
Modify each mapping item to reflect your newly chosen server name
Use stsadm.exe to invoke the "renameserver" command option:
Open a command prompt window
cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
stsadm -o renameserver -newservername
Rename your Server via Change Name Operation in Windows Server 2003:
Start Menu Control Panel System, "Computer Name" tab, "Change" button.
Input your new server name
Reboot the server NOW.
After reboot, open command prompt
cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
stsadm -o updatefarmcredentials -userlogin
iisreset /noforce
Check all application pool identities in IIS, update where the old machine name is still there.
If you already have a search index drop this, and rebuild it
Your server is now renamed.
But if you already rename the server before doing first step from the blog, you will not be able to access SP server administrator site and SSP sites configuration. So you will need to put old name in the HOST file and after that change alternative mapping according the blog. You can do second step from the blog, you do not need to do 4 and 5 steps (it is already done). And I did not do 6 step.
You need to enter index server name for SSP again.
Hi.
ReplyDeleteThanks for the extra bit of info. We migrated a few of our servers to a new domain this weekend and the MOSS server was done in error. What can be done to get back to normal running if the server is not only renamed before the alternate access paths are created but is also moved to a new AD domain with the associated authentication issues?
Thanks in advance.
N03L
You 'da man!
ReplyDeleteI had a big issue recently with a server rename and fought for hours with it to bring it back alive. Lots of wasted unbillable time.
I tried methods mentioned everywhere else, and no one ever mentioned anything about 'updatefarmcredentials'. How could I have overlooked a command with a name like that. Maybe it was the 'farm' portion. Dunno.
Thanks!
-Brice