How to automatically clean up old devices from Mobility

  • 7009384
  • 16-Sep-2011
  • 10-Dec-2013

Environment

Novell Data Synchronizer Mobility Pack 1.2

Situation

How to automatically clean up old devices from Mobility
How to automatically delete devices that have not connected for a certain number of days
How to clean up devices automatically

Resolution

Please follow the steps listed below
  1. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml .
  2. Find the following tag
     <databaseMaintenanceDeleteDaysInPast>30</databaseMaintenanceDeleteDaysInPast>
  3. Change the number from 30 to any other number of days. By default Mobility will clean up devices if the device has not connected for 30 days.
  4. Save the file if a change was made and restart datasync by typing "rcdatasync restart " and press Enter.

    During Nightly Maintenance, that runs at 12:00 am, all the devices that have not connected within certain number of days as mentioned in the XML will be deleted from the database.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.