This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a consolidated database.
In the last lesson you created a remote task to synchronize the remote database once per minute. In this lesson, you change the synchronization interval to once per hour.
Once a remote task is deployed, the deployed version cannot be modified. Instead, you create a new remote task with the desired modifications, and then you cancel the existing task and deploy the new task to replace it.
First, create a new remote task with the desired repeat interval using the existing deployed task as a template.
In the Folders view of Sybase Central under MobiLink 12, expand Central Admin Tutorial, Remote Tasks, Deployed Tasks. Right-click Sync and choose Copy to copy the task to the clipboard.
Right-click Remote Tasks and choose Paste. A window appears asking for you to rename the remote task. Type Sync every hour and click OK.
Right-click the new Sync every hour task and choose Properties. On the Repetition page of the properties window, change the Repeat Every value from 1 minutes to 1 hours and click OK.
Next, cancel the existing remote task that causes synchronization each minute.
In the Folders view, click the deployed version of the Sync task and click the Recipients tab in the right pane.
Right-click the entry in the table for agent AID_JOHN and click Cancel.
Lastly, deploy the new Sync every hour task and assign it to agent AID_JOHN.
Right-click Sync every hour and click Deploy. Click Next.
From the Recipients dropdown list, click Specific Agents and assign the task to agent AID_JOHN. Click Next and then click Next again.
On the Reporting Results and Status page, set If Task Succeeds to Send Only Status Later and set If Task Fails to Send Results And Status Immediately.
Click Finish. Once the Agent receives this new task, it begins to synchronize its remote database once an hour instead of once a minute.
Proceed to Lesson 16: Forcing immediate synchronization.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|