码迷,mamicode.com
首页 > 其他好文 > 详细

【Teradata】DSA服务器tdactivemq重启清理消息队列步骤

时间:2019-06-10 18:27:40      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:config   out   app   art   Once   tin   ati   normal   director   

1) Modify the ActiveMQ configuration file to clear out the messages queues. Note that after the broker restart, the parameter should be set back to ‘false’ (normal setting).

Make a backup and edit the /opt/teradata/tdactivemq/config/td-broker.xml file.

Change the deleteAllMessagesOnStartup from false to true.

 

<broker xmlns="http://activemq.apache.org/schema/core"

brokerName="TeradataActiveMQ"

dataDirectory="${tdactivemq.base}/data"

deleteAllMessagesOnStartup="true"

advisorySupport="false">

 

2) Once the change is applied restart the broker and all the components:

Stop Sequence:

/etc/init.d/clienthandler stop (on all client servers)

/etc/init.d/dsc stop

/etc/init.d/tdactivemq stop

 

Start Sequence:

/etc/init.d/tdactivemq start

/etc/init.d/dsc start

/etc/init.d/clienthandler start (on all client servers)

 

3) Put back the original td-broker.xml file.

【Teradata】DSA服务器tdactivemq重启清理消息队列步骤

标签:config   out   app   art   Once   tin   ati   normal   director   

原文地址:https://www.cnblogs.com/badboy200800/p/10999378.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!