+

Search Tips   |   Advanced Search

Scheduling scope synchronization

We can schedule scope synchronization to be performed at specific times by defining the schedule with the XML configuration interface.

  1. Verify whether any scheduled synchronizations have already been defined for the portal.

    1. Create an export file that we can use with the xmlaccess command. Here is an example of a request we can use to query the current configuration:
      <?xml version="1.0" encoding="UTF-8"?> 
      <request type="export" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd" > 
        <portal action="locate"> 
          <task action="export" name="com.ibm.portal.cp.SynchronizationTask"/> 
        </portal> 
      </request>
      

    2. Run the xmlaccess command, specifying the export file. The resulting output file contains any scheduled synchronization times defined in the portal.

  2. Set the synchronization schedule.

    1. To set a time for a scheduled synchronization, create an XML request document. For example, to schedule a synchronization to occur at 15:36 hours every day, you would use a request like this:

        <?xml version="1.0" encoding="UTF-8"?> 
        <request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"> 
          <portal action="locate"> 
            <task action="create" name="com.ibm.portal.cp.SynchronizationTask"> 
              <startTime>15:36</startTime> 
            </task> 
          </portal> 
        </request>
        

      For each scheduled synchronization, create a separate task element and specify the time with a startTime element.

    2. Run the xmlaccess command, specifying the file containing the scheduling request. Scope information for the web content system will then be synchronized automatically according to the schedule we defined.

  3. To set a minimum time before subsequent synchronizations are performed, specify the property...

      tagging.syndication.minimumTagSynchronizationTimeInterval

    ...in the Web Content Manager configuration service.

    1. Log in to the WebSphere Integrated Solutions Console...

        http://hostname.example.com:10027/ibm/console

    2. Click...

        Resources > Resource Environment > Resource Environment Providers > WP ConfigService > Additional Properties > Custom Properties > New

      ...and set...

        tagging.syndication.minimumTagSynchronizationTimeInterval

    3. Set the string value to the number of seconds between synchronizations.

    4. Click OK, and save the changes to the master configuration.

    5. Restart the portal.


Parent: Synchronize scopes for web content

Related:

Set service configuration properties

Work with xmlaccess.sh

XML configuration reference