zoukankan      html  css  js  c++  java
  • 【Teradata】DSA服务器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.

  • 相关阅读:
    hdu 4508
    hdu 4506
    hdu 4505
    hdu 1525
    hdu 2212
    (贪心)删数问题
    (最短路 Dijkstra) hdu 1544
    (次小生成树) poj 1679
    (prim)hdu 1102
    (kruskal)hdu 1863
  • 原文地址:https://www.cnblogs.com/badboy200800/p/10999378.html
Copyright © 2011-2022 走看看