Setup Merge job to Restart Itself?

Setup Merge job to Restart Itself?

Post by Shirley Kelly [M » Sat, 17 Aug 2002 02:11:51



Hello Barbara,

You can adjust the schedule of the job running the agent.  I'm guessing that the agent is running continuously.  If you change it to run every 5
minutes or so, it will automatically restart itself when errors occur.

The parameters for each agent profile are documented in SQL Server Books OnLine.  Look at the topic "Merge Agent Profile".

Increasing the Query Timeout parameter is a workaround, but won't solve the actual problem.  "Timeout Expired" messages are normally
related to network connectivity problems between the distributor and subscriber.  It's also possible that there is a performance issue on one
of those machines and the agent cannot complete its task within the Query Timeout value you've specified.

Regards,
Shirley Kelly, MCSE, MCDBA
SQL Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure?  For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

 
 
 

Setup Merge job to Restart Itself?

Post by Shirley Kelly [M » Thu, 22 Aug 2002 02:11:54


Hello Barbara,

No, you don't have to break replication to change the agent schedule.  Go to the merge agent in Enterprise Manager, then right click on the
agent and select "Agent Properties".  Go to the Schedules tab and click on Edit.  Change the radio button to "Recurring", then you can click
on "Change" to select the new schedule.  The new schedule will take effect the next time the Merge Agent is started.

Regards,
Shirley Kelly, MCSE, MCDBA
SQL Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure?  For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

 
 
 

Setup Merge job to Restart Itself?

Post by Shirley Kelly [M » Tue, 12 Nov 2002 22:29:16


MOS,

Edit the job schedule, not the job steps.  If you change the job to run every 10 minutes, the merge agent job will attempt to start every 10 minutes
(or whatever interval you specified).  Go to the Replication Monitor folder in SQL Enterprise Manager, then to the Agents/Merge Agents folder.  
Find the Merge agent and right click on Properties, then change the schedule in the Schedules tab.

Regards,
Shirley Kelly, MCSE, MCDBA
SQL Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure?  For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

 
 
 

1. AS Restarting Itself

I am trying to process a Very Large Dimension (1.4 Million
Rows) with 12 virtual dimensions and 8 Member Properties
on it(The virtual Dimensions are also built off Member
Properties). When it completes and says commiting
transactions in database, it returns with an error saying
can't open DB and rolls back the transaction. Analysis
services then restarts itself. HOwever once AS is
restarted it says that the dimensions are all processed?

Can anyone explain why this is happening?

2. ADO MSDAORA Oracle9i

3. SQL7 Stopping and Restarting Itself

4. Data format between UNIX box and Windows clients?

5. SQL Server Agent cannot restart itself

6. Can not enable Full-Text search for a database.

7. merging table data on itself?

8. Importing/exporting scripts.

9. Restarting continuous merge replication produces a mess

10. Restart Merge-Replication

11. Problem restarting merge replication

12. Restart Merge Agent

13. HELP:6.5 Setup / Restart Problem