Replication interval changes
To change the replication interval, perform the following steps:
- Start the command line: On Windows systems:
On Linux systems:iem login --server=servername:serverport --user=username --password=password./iem login --server=servername:serverport --user=username --password=password - Retrieve the replication server settings by running the following command: On Windows systems:
iem get replication/server/0 > c:\temp\replicationServer0.xmlOn Linux systems:./iem get replication/server/0 > /appo/replicationServer0.xml - Edit the following keyword of the
replicationServer0.xmlfile:
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.<ReplicationIntervalSeconds>300</ReplicationIntervalSeconds>This is an example of the
replicationServer0.xmlfile:<?xml version="1.0" encoding="UTF-8"?> <BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd"> <ReplicationServer Resource="http://9.87.126.68:52311/api/replication /server/0"> <ServerID>0</ServerID> <URL>http://nc926068.romelab.it.ibm.com:52311</URL> <DNS>nc926068.romelab.it.ibm.com</DNS> <ReplicationIntervalSeconds>300</ReplicationIntervalSeconds> <ReplicationLink Resource="http://9.87.126.68:52311/api/replication /server/0/link/3"> <SourceServerID>0</SourceServerID> <DestinationServerID>3</DestinationServerID> <Weight>1</Weight> <IsConnected>0</IsConnected> <LastReplication>Fri, 01 Mar 2013 11:17:12 +0000 </LastReplication> <LastError>19NoMatchingRecipient - Fri, 01 Mar 2013 11:17:12 +0000 </LastError> </ReplicationLink> <ReplicationLink Resource="http://9.87.126.68:52311/api/replication/server/ 3/link/0"> <SourceServerID>3</SourceServerID> <DestinationServerID>0</DestinationServerID> <Weight>1</Weight> <IsConnected>1</IsConnected> <LastReplication>Fri, 01 Mar 2013 11:17:18 +0000 </LastReplication> </ReplicationLink> </ReplicationServer> </BESAPI> - Upload the modified file by running the following command:On Windows:
iem post c:\temp\replicationServer0.xml replication/server/0On Linux:./iem post /appo/replicationServer0.xml replication/server/0