TeradataDSA服务器tdactivemq重启清理消息队列步骤

Posted badboy200800

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了TeradataDSA服务器tdactivemq重启清理消息队列步骤相关的知识,希望对你有一定的参考价值。

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.

以上是关于TeradataDSA服务器tdactivemq重启清理消息队列步骤的主要内容,如果未能解决你的问题,请参考以下文章

如何在 nginx 服务器上做 301 重定向

java重定向问题

重定向与负载均衡

java中转发和重定向的区别

重定向和转发的区别

IP地址重定向