Changing the replication interval on Linux systems

On Linux systems if you have multiple servers in your deployment, you can schedule when each one replicates.

The default is five minutes, but you can shorten the time for greater recoverability or increase it to limit network activity:

To change the replication interval, perform the following steps:

  1. From the /opt/BESServer/bin command prompt, start the command line:
    ./iem login --server=servername:serverport --user=username 
  2. From the /opt/BESServer/bin command prompt, run the following command:
    ./iem get replication/server/0 > /appo/replicationServer0.xml 
  3. In the /appo/replicationServer0.xml file, edit the following keyword:
    to change the value in seconds of the replication interval. Using longer replication intervals means that the servers replicate data less often, but have more data to transfer each time.
    <?xml version="1.0" encoding="UTF-8"?>
    <BESAPI xmlns:xsi="" 
       <ReplicationServer Resource="
          <ReplicationLink Resource="
                  <LastReplication>Fri, 01 Mar 2013 11:17:12 +0000
                  <LastError>19NoMatchingRecipient - Fri, 01 Mar 2013 11:17:12 +0000
          <ReplicationLink Resource="
                       <LastReplication>Fri, 01 Mar 2013 11:17:18 +0000
  4. Upload the modified file by running the following command:
    ./iem post /appo/replicationServer0.xml  replication/server/0