pause Pause the consumer: the replication ofthe events is stopped and can be resumed later. resume When the consumer has been paused, let it replay again. change-provider <tonode> Make <tonode> become thenew provider forthe current node.
2.2 暂停复制 pause
1 2 3 4
[pg91@redhat6 londiste]$ londiste3 s_skytf.ini pause 2013-04-0115:05:37,25614808 INFO [node_s] Consumer job_skytf tagged as paused 2013-04-0115:05:37,26014808 INFO Waiting for worker to accept 2013-04-0115:05:38,26914808 INFO Consumer 'job_skytf'on node 'node_s' paused
2.3 继续开启复制 resume
1 2 3 4
[pg91@redhat6 londiste]$ londiste3 s_skytf.ini resume 2013-04-0115:07:14,13214831 INFO [node_s] Consumer job_skytf tagged as resumed 2013-04-0115:07:14,13914831 INFO Waiting for worker to accept 2013-04-0115:07:15,15214831 INFO Consumer 'job_skytf'on node 'node_s' resumed
2.4 更改 provider 节点
change-provider 暂没实验,以后补上。
复制管理命令
3.1 语法
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
add-table <table> [args] Add the table to the replication. See ADD ARGUMENTS below for the list of possible arguments. remove-table <table> Remove the table from the replication. add-seq <seq> [args] Add the sequence to the replication. See ADD ARGUMENTS below for the list of possible arguments. remove-seq <seq> Remove the sequence from the replication. resync <table> Do full copy of the table, again.