• RabbitMQ的安装和管理


    c:Program Files (x86)RabbitMQ Server abbitmq_server-3.5.1sbin>
    -----------------------------------------------------------------------------------------
    rabbitmqctl.bat forget_cluster_node rabbit@APP02
    rabbitmqctl.bat cluster_status
    rabbitmqctl.bat status
    rabbitmqctl.bat force_boot
    -----------------------------------------------------------------------------------------
    rabbitmq-service.bat start
    rabbitmq-service.bat start
    rabbitmq-service help - Display this help
    rabbitmq-service install - Install the RabbitMQ service
    rabbitmq-service remove - Remove the RabbitMQ service
    rabbitmq-service start - Start the RabbitMQ service
    rabbitmq-service stop - Stop the RabbitMQ service
    rabbitmq-service disable - Disable the RabbitMQ service
    rabbitmq-service enable - Enable the RabbitMQ service

    -----------------------------------------------------------------------------------------
    rabbitmq-server.bat start
    -----------------------------------------------------------------------------------------
    c:Program Files (x86)RabbitMQ Server abbitmq_server-3.5.1sbin>rabbitmqctl.bat
    Usage:
    rabbitmqctl [-n <node>] [-q] <command> [<command options>]

    Options:
    -n node
    -q

    Default node is "rabbit@server", where server is the local host. On a host
    named "server.example.com", the node name of the RabbitMQ Erlang node will
    usually be rabbit@server (unless RABBITMQ_NODENAME has been set to some
    non-default value at broker startup time). The output of hostname -s is usually

    the correct suffix to use after the "@" sign. See rabbitmq-server(1) for
    details of configuring the RabbitMQ broker.

    Quiet output mode is selected with the "-q" flag. Informational messages are
    suppressed when quiet mode is in effect.

    Commands:
    stop [<pid_file>]
    stop_app
    start_app
    wait <pid_file>
    reset
    force_reset
    rotate_logs <suffix>

    join_cluster <clusternode> [--ram]
    cluster_status
    change_cluster_node_type disc | ram
    forget_cluster_node [--offline]
    rename_cluster_node oldnode1 newnode1 [oldnode2] [newnode2 ...]
    update_cluster_nodes clusternode
    force_boot
    sync_queue queue
    cancel_sync_queue queue
    set_cluster_name name

    add_user <username> <password>
    delete_user <username>
    change_password <username> <newpassword>
    clear_password <username>
    set_user_tags <username> <tag> ...
    list_users

    add_vhost <vhostpath>
    delete_vhost <vhostpath>
    list_vhosts [<vhostinfoitem> ...]
    set_permissions [-p <vhostpath>] <user> <conf> <write> <read>
    clear_permissions [-p <vhostpath>] <username>
    list_permissions [-p <vhostpath>]
    list_user_permissions <username>

    set_parameter [-p <vhostpath>] <component_name> <name> <value>
    clear_parameter [-p <vhostpath>] <component_name> <key>
    list_parameters [-p <vhostpath>]

    -----------------------------------------------------------------------------------------
    https://www.rabbitmq.com/clustering.html
    https://www.rabbitmq.com/install-windows.html
    https://www.rabbitmq.com/configure.html

  • 相关阅读:
    光脚丫学LINQ(025):如何验证DBML和外部映射文件
    使用LINQ to SQL将数据从一个数据库复制到另一个数据库
    用VS2010 C#写DLL文件并且调用(原创)
    linux初识
    Run Only One Copy Of Application
    SQL Server 2008开启远程连接
    用Visual C#做DLL文件
    SQL Server代理服务无法启动的处理方法(转载)
    QTP连接Oracle
    What's AJAX?
  • 原文地址:https://www.cnblogs.com/oskb/p/10945061.html
Copyright © 2020-2023  润新知