Corosync/Pacemaker PCおよびcrm対応コマンド

Corosync/Pacemaker PCおよびcrm対応コマンド

わかりました顧客関係管理corosyncとPacemakerを使用した高可用性に関して、ユーティリティコマンドは常にクラスタ管理のための好ましい方法でした。これで廃止され、次のように作業するように求められます。彫刻以前に行ったすべての操作を実行するユーティリティコマンド顧客関係管理

今私が経験している問題は、同じコマンドであるPCを見つけることです。

crm node attribute <node_name> set <resource_name> <some_parameters>

pcsノードを使用しようとすると、そのコマンドセットは使用できません。

私はCentOSバージョン7.2とPerconaのマスタースレーブクラスタを使用しています。

答え1

確かですか? PCSバージョン0.9.158(CentOS 7.4)にあります。

# pcs node attribute --help

Usage: pcs node <command>
    attribute [[<node>] [--name <name>] | <node> <name>=<value> ...]
        Manage node attributes.  If no parameters are specified, show attributes
        of all nodes.  If one parameter is specified, show attributes
        of specified node.  If --name is specified, show specified attribute's
        value from all nodes.  If more parameters are specified, set attributes
        of specified node.  Attributes can be removed by setting an attribute
        without a value.

またcrmsh、使用されなくなりました。まだ進行中のプロジェクトです。https://github.com/ClusterLabs/crmsh

関連情報