Posts

Showing posts with the label replication

Stop Q Replication in a Right Way

Image
Stop Q Replication in a Right Way Everyone must understand the importance of proper way to stop Q replication. I bet you that your setup will not work properly if you dont do that right way, after many tests personally i prefer the below way to my stop my replication safely. steps: A) stop the capture and apply programs that are running asnqccmd capture_server=TESTA capture_schema=ASNUA asnqacmd apply_server=TESTB apply_schema=ASNUB B) stop the listener and channels We need to login into queue manager to stop the listener and channels db2inst1@sairam:~/setup$ runmqsc QMUA 5724-H72 (C) Copyright IBM Corp. 1994, 2011.  ALL RIGHTS RESERVED. Starting MQSC for queue manager QMUA. stop listener(REPL_LSTR)      1 : stop listener(REPL_LSTR) AMQ8706: Request to stop WebSphere MQ Listener accepted. stop channel(QMUA_TO_QMUB)      2 : stop channel(QMUA_TO_QMUB) AMQ8019: Stop WebSphere MQ channel accepted. stop channel(QMUB_TO_QMUA)      3 : stop ch...