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, 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, under Central Admin Tutorial » Remote Tasks » Deployed Tasks right click Sync and select Copy to copy the task to the clipboard.
Right-click Remote Tasks and select Paste. A dialog appears asking for you to rename the remote task. Type Sync every hour and click OK.
Right-click on the new Sync every hour task and select Properties. On the Repetition page of the property sheet, 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 on the deployed version of the Sync task and select the Recipients tab.
Right-click on the entry in the table for agent AID_JOHN and select Cancel.
Lastly, deploy the new Sync every hour task and assign it to agent AID_JOHN.
Right-click Sync every hour and choose Deploy. Click Next.
From the Recipients dropdown, choose Specific Agents and assign the task to agent AID_JOHN. Click Next then 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.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|