Marking a community for synchronization 

The IBM Lotus Quickr Delayed Synchronizer should automatically propagate changes after a Lotus Quickr server outage; however, in unusual circumstances, such as restoring a Lotus Quickr place from backup, you might want to force a full synchronization to occur. You can mark an IBM Connections community that contains links to a Lotus Quickr Wiki or Teamspace so that the synchronizer performs a full synchronization between the membership of the place and the membership of its associated community when the synchronization task next runs.


Before starting

To use administrative commands, use the wsadmin client. See Starting the wsadmin client for details.


About this task

The Lotus Quickr Delayed Synchronizer propagates community membership changes to associated Lotus Quickr places if the Lotus Quickr server is down when a community change occurs. The synchronizer also grants or removes public access to match the associated community's visibility. The synchronizer runs hourly by default.

Note: You need to ensure that the delayed synchronization task is only enabled on one server in the cluster. For more information, see What to do next in the topic Configure delayed synchronization.


Procedure

To mark a community for synchronization...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./wsadmin.sh -jython
      execfile("communitiesAdmin.py")

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  2. Use the ManagedAppService.addLinkProperty command to update the association between a community and a remote application by adding the NEEDS-TO-BE-SYNCED key property and setting it to true.

      Note: When fetching a link for a community application, to fetch a Lotus Quickr Portal Wiki, use QuickrPortalWiki, and to fetch a Lotus Quickr Portal team place, use QuickrPortalTeamspace.

      For example:

      wsadmin>bycommname=CommunitiesService.fetchCommByName("<community name>")
      wsadmin>link=ManagedAppService.fetchLinkByCommApp(bycommname,"QuickrPortalWiki")
      wsadmin>link2=link.get(0)
      wsadmin>ManagedAppService.addLinkProperty(link2,"NEEDS-TO-BE-SYNCED","true")

Results

The Lotus Quickr Delayed Synchronizer performs a full membership synchronization between the Lotus Quickr place and the associated community when the synchronization task is next run.


Parent topic

Use the Lotus Quickr Delayed Synchronizer


Related tasks


Configure the Delayed Synchronizer in a network deployment
Starting the wsadmin client


   

 

});

+

Search Tips   |   Advanced Search