13.3 Monitoring File Meta-Data Synchronization in a Filr Cluster

Synchronization requests can go to any of the Filr appliances in a Filr cluster, regardless of which appliance a user logs in to. This makes monitoring the status of outstanding synchronization requests a little more involved.

All synchronization status is logged to /var/opt/novell/tomcat-filr/logs/ssf.log. However, this is a per-server log. In a Filr clustered implementation, all of the Filr appliances’ ssf.logs need to be examined.

  1. On each server, run the following command:

    grep -i "(full) Starting" /var/opt/novell/tomcat-filr/logs/ssf.log

    This lists all of the sync processes that have been started and have been recorded in the log file.

    If the command finds any log entries, it returns something similar to:

    2013-07-08 14:27:54,418 INFO  [Sitescape_Worker-1] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Starting synchronization on folder [/Home Workspace/Net Folders/shared] (id=41)
    2013-07-08 09:05:25,969 INFO  [http-apr-8443-exec-1] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Starting synchronization on folder [/Home Workspace/Net Folders/support] (id=305)
    2013-07-08 09:29:36,566 INFO  [http-apr-8443-exec-3] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Starting synchronization on folder [/Home Workspace/Net Folders/shared] (id=41)
    2013-07-08 09:32:27,887 INFO  [http-apr-8443-exec-6] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Starting synchronization on folder [/Home Workspace/Net Folders/shared] (id=41)

    This shows that on this particular server, four full synchronization tasks were started in the last 24 hours. Prior to this time, the ssf.log would have already been rolled over to a different file name. The lines extracted from the log show the folder name that is being synced.

  2. After the Filr Appliance that executed the sync has been found, another grep can be used:

    grep -i "(full) Completed synchronization" /var/opt/novell/tomcat-filr/logs/ssf.log

    This shows the number of completed synchronization tasks within the scope of the log file.

  3. Based on the previous output, the following text could be retrieved.

    grep -i "(full) Completed synchronization" /var/opt/novell/tomcat-filr/logs/ssf.log
    2013-07-08 08:29:39,215 INFO  [Sitescape_Worker-1] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Completed synchronization on folder [/Home Workspace/Net Folders/shared] (id=41) -
    2013-07-08 09:05:26,084 INFO  [http-apr-8443-exec-1] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Completed synchronization on folder [/Home Workspace/Net Folders/support] (id=305) -
    2013-07-08 09:31:03,127 INFO  [http-apr-8443-exec-3] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Completed synchronization on folder [/Home Workspace/Net Folders/shared] (id=41) -
    2013-07-08 09:33:28,973 INFO  [http-apr-8443-exec-6] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Completed synchronization on folder [/Home Workspace/Net Folders/shared] (id=41) 

    This shows that each of the tasks that started on the server actually finished.

  4. Further details of a completed synchronization can be extracted by using the vi or less commands on the log file in question.

    In vi, issue the following command to see the first occurrence of the “Completed” string.

    /Completed

    This will find the text “Completed” in the log file and will show something similar to the text below:

    2013-07-08 08:29:39,215 INFO  [Sitescape_Worker-1] [com.novell.teaming.module.folder.impl.PlusFolderModule] - (full) Completed synchronization on folder [/Home Workspace/Net Folders/shared] (id=41) -
      Sync time: 104.010406956 seconds
      Files: found=2484 add=0 modify=0 expunge=0 acl=0 ownership=0
      Folders: found=260 add=0 expunge=0 acl=0 ownership=0 processed=261 qsize=120
      Entries: expunge=0
      Failure count=0

    If this is not the sync in question, then selecting “n” will page through the log file until you find the correct information.