When I build a farm with the intention of not having any GUIDs I use the Central Administration page Manage Service Applications to create most of my service applications. And for most of the service application that have databases the GUI gives me the chance to name the database, which means I can avoid having those gosh darns GUIDs. There are two service apps that don't play nice with this strategy Search and PerformancePoint Services (PPS). I covered how to do the Search rename so now it is time to get rid of the PPS database GUID.
Thankfully this is pretty straightforward.
First I went into Central Admin > Manage Service Applications and clicked New > PerformancePoint Service Application. I named it Blog PerformancePoint Service App
If I jump over to SQL I now have the highlighted database
So now what?
Rename the PPS database
Go to SQL Management Studio and rename the database
- Open SQL Management Studio. You may have to go to your SQL Server to do this.
- Attach to the instance that host SharePoint
- Find your database
Right click on the database name and choose Rename
Delete the GUID off the end of the name or make the name whatever you want then press Enter. SQL Database is now renamed. Notice I changed all of the spaces to underscores. Why? Because DBAs hate spaces in names more than they hate GUIDs and I am a nice guy.
Now go to your SharePoint Server and use PowerShell to set the database name.
- Click Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell. If you have UAC enabled be sure to run it as Administrator.
Then run the following line. Be sure to replace your info for service app and database name.
Now you can celebrate you have saved the world another GUID. I have a master post here with all of the anti GUID posts linked in one place. Right here.