My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

08 April 2009

Problems after farm restore

by Patrik Luca 2 comments

Tag



Introduction

I had to do a topology change for a Microsoft SharePoint Server 2007 installation. The MOSS 2007 installation was currently on one physical server. The change implied splitting off the Database Server to another physical server, and keeping the original physical server as Web-Front End Server and Application Server.

So I started a set of taks:

  1. I performed a farm level backup using the backup utility in SharePoint Central Administration.
  2. I ran the SharePoint Products and Technologies Configuration Wizard to disconnect the server from the configuration database.
  3. I ran the Wizard again to create a new SharePoint farm.
  4. I launched the Office SharePoint Services Search and Windows SharePoint Services Search services.
  5. I restored the farm backup.

All of which went pretty well, till I started doing some test: I ran into several problems.

Problem 1: The search service is currently offline

My search wasn’t functioning. Clicking on the Search Settings link in the Search section of my Shared Services Provider, I got following error: The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also be because an indexer move is in progress.

I restarted a couple of hundred times the search services, both in the SharePoint Central Administration, Operations sections as in the Services tool to start and stop Windows services under Administrative Tools on the Application Server . I relinked the indexer too couple of times, all without result.

Solution: Create a new Shared Services Provider

It all ended up by creating a new Shared Services Provider and change association of my restored Web Application to the newly created Shared Services Provider.

Off course, I deleted my restored Shared Services Provider too and had to reconfigure some settings in my newly created Shared Services Provider.

After this having done, my search service was functioning again in my new topology.

Problem 2: Alerts were not arriving

Alerts were not arriving anymore after the farm restore. After a while, I noticed the Immediate Alerts Timer Job Definition was missing (Central Administration > Operations > Timer Job Defintions).

Apparently, this Timer Job Definition was not restored upon a full farm restore…

Solution: Add the Immediate Alerts Timer Job Definition

Adding the Immediate Alerts Timer Job Definition could be done by running following instruction at the command prompt:

stsadm –o setproperty –pn job-immediate-alerts 
–pv “every 5 minutes between 0 and 59” –url <url>

And hey, alerts were arriving, and the Immediate Alerts Job appeared again in the Timer Job Definition list.


Problem 3: Other Timer Job Definitions missing


While I was looking for the missing Immediate Alerts Job missing, I remarked there were some other Jobs missing too after my farm restore. Following was the list of missing Timer Job Definitions:


  • Change Log

  • Database Statistics

  • Dead Site Delete

  • Disk Quota Warning

  • Recycle Bin

  • Usage Analysis


Solution: Running some other stsadm commands


I tried to use the same trick as for the Immediate Alerts Job, which worked for the Dead Site Delete and Usage Analysis Timer Job Definitions: they re-appeared. Unfortunately, I didn’t find how to let the others re-appear.

To fix the 2 Timer Job Definitions which I managed to let re-appear, run following commands at the command prompt:


stsadm –o setproperty –pn job-dead-site-delete
-pv “Daily at 00:00:00” –url <url>


stsadm –o setproperty –pn job-usage-analysis –pv
”Daily between 00:00:00 and 23:45:00” –url <url>

Comments 2 comments
Anonymous said...

man..that sounds like an afwull experience...

Patrik Luca said...

Be sure it was! Seems this farm backup restore is kind of buggy: especially since I followed the recommendations of Microsoft to execute it...

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Live Traffic Feed

Recent Visitors

Blog Archive

My Blog List

Followers

Guest Links