DAOS: How To Set Up A Regularly Scheduled Resynchronization
The best way to do this is via a "program document" defined in the Administrator. Note that if a resync operation is performed when the DAOS catalog is already in 'Synchronized' state, the operation detect that there is no work to do, and will exit immediately.
Even run during non-business hours, there are other factors to consider. The DAOS "prune" task and database deletion scan are similarly configured to execute around 2 AM, and neither will attempt their assignment if the catalog is in need of or is currently being resynchronized. They will merely exit and try again the next evening.
Let's take a look at how you would create a regularly scheduled catalog resynchronization. From the Administrator, select Programs under the Server menu in the left-hand pane.
Press the "Add Program" button and complete the Basics tab as follows. The program name is the server itself (enter "server" without the quotes). In the Command line field, we'll use the -c option to pass a tell command to the server. In this case, that looks like this:
-c "tell daosmgr resync" (this time you do want the quotes).
Indicate the appropriate server and leave an optional comment.
Further to the right of this same tab is the scheduling section. The best times to run the resynchronization will be different for each administrator, so this is just an example of how it would appear for the scenario we've been discussing.