Schedule scope synchronization using xmlaccess.sh


  1. Query the current configuration to determine if any scheduled synchronizations have already been defined by running xmlaccess.sh with the following the export file...

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

  2. Create an XML request document that sets a time for a scheduled synchronization. For example, to schedule a synchronization to occur at 15:36 hours every day, create a file with...

    <?xml version="1.0" 
          encoding="UTF-8"?> 
    
    <request type="update" 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
             xsi:noNamespaceSchemaLocation="PortalConfig_7.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.

  3. Run xmlaccess.sh, specifying the file containing the scheduling request.

    Scope information for the web content system will then be synchronized automatically according to the schedule you defined.

  4. To set a minimum time before subsequent synchronizations are performed...

    1. Log in to the WAS administrative console and click...

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

      and set...

        tagging.syndication.minimumTagSynchronizationTimeInterval = Number_of_seconds_between_synchronizations

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

    3. Restart the portal.


    Parent

    Synchronize scopes for web content

    Related information

    Set service configuration properties

    Work with xmlaccess.sh

    XML configuration reference

    December 14, 2011
       

     

    Apr 1, 2011 1:26:17 PM

    });


    +

    Search Tips   |   Advanced Search