|
rpm-build |
3ee90c |
#
|
|
rpm-build |
3ee90c |
# AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
rpm-build |
3ee90c |
#
|
|
rpm-build |
3ee90c |
msgid ""
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
"Project-Id-Version: 0\n"
|
|
rpm-build |
3ee90c |
"POT-Creation-Date: 2018-05-14 18:03-0500\n"
|
|
rpm-build |
3ee90c |
"PO-Revision-Date: 2018-05-14 18:03-0500\n"
|
|
rpm-build |
3ee90c |
"Last-Translator: Automatically generated\n"
|
|
rpm-build |
3ee90c |
"Language-Team: None\n"
|
|
rpm-build |
3ee90c |
"MIME-Version: 1.0\n"
|
|
rpm-build |
3ee90c |
"Content-Type: application/x-publican; charset=UTF-8\n"
|
|
rpm-build |
3ee90c |
"Content-Transfer-Encoding: 8bit\n"
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: title
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Pacemaker Tools"
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: title
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Simplify administration using a cluster shell"
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "In the dark past, configuring Pacemaker required the administrator to read and write XML. In true UNIX style, there were also a number of different commands that specialized in different aspects of querying and updating the cluster."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "All of that has been greatly simplified with the creation of unified command-line shells (and GUIs) that hide all the messy XML scaffolding."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "These shells take all the individual aspects required for managing and configuring a cluster, and pack them into one simple-to-use command line tool."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "They even allow you to queue up several changes at once and commit them all at once."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Two popular command-line shells are <literal>pcs</literal> and <literal>crmsh</literal>. This edition of Clusters from Scratch is based on <literal>pcs</literal>."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "The two shells share many concepts but the scope, layout and syntax does differ, so make sure you read the version of this guide that corresponds to the software installed on your system."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: title
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Explore pcs"
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Start by taking some time to familiarize yourself with what <literal>pcs</literal> can do."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: screen
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "[root@pcmk-1 ~]# pcs\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
"Usage: pcs [-f file] [-h] [commands]...\n"
|
|
rpm-build |
3ee90c |
"Control and configure pacemaker and corosync.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
"Options:\n"
|
|
rpm-build |
3ee90c |
" -h, --help Display usage and exit.\n"
|
|
rpm-build |
3ee90c |
" -f file Perform actions on file instead of active CIB.\n"
|
|
rpm-build |
3ee90c |
" --debug Print all network traffic and external commands run.\n"
|
|
rpm-build |
3ee90c |
" --version Print pcs version information.\n"
|
|
rpm-build |
3ee90c |
" --request-timeout Timeout for each outgoing request to another node in\n"
|
|
rpm-build |
3ee90c |
" seconds. Default is 60s.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
"Commands:\n"
|
|
rpm-build |
3ee90c |
" cluster Configure cluster options and nodes.\n"
|
|
rpm-build |
3ee90c |
" resource Manage cluster resources.\n"
|
|
rpm-build |
3ee90c |
" stonith Manage fence devices.\n"
|
|
rpm-build |
3ee90c |
" constraint Manage resource constraints.\n"
|
|
rpm-build |
3ee90c |
" property Manage pacemaker properties.\n"
|
|
rpm-build |
3ee90c |
" acl Manage pacemaker access control lists.\n"
|
|
rpm-build |
3ee90c |
" qdevice Manage quorum device provider on the local host.\n"
|
|
rpm-build |
3ee90c |
" quorum Manage cluster quorum settings.\n"
|
|
rpm-build |
3ee90c |
" booth Manage booth (cluster ticket manager).\n"
|
|
rpm-build |
3ee90c |
" status View cluster status.\n"
|
|
rpm-build |
3ee90c |
" config View and manage cluster configuration.\n"
|
|
rpm-build |
3ee90c |
" pcsd Manage pcs daemon.\n"
|
|
rpm-build |
3ee90c |
" node Manage cluster nodes.\n"
|
|
rpm-build |
3ee90c |
" alert Manage pacemaker alerts."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "As you can see, the different aspects of cluster management are separated into categories. To discover the functionality available in each of these categories, one can issue the command <literal>pcs <replaceable>category</replaceable> help</literal>. Below is an example of all the options available under the status category."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: screen
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "[root@pcmk-1 ~]# pcs status help\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
"Usage: pcs status [commands]...\n"
|
|
rpm-build |
3ee90c |
"View current cluster and resource status\n"
|
|
rpm-build |
3ee90c |
"Commands:\n"
|
|
rpm-build |
3ee90c |
" [status] [--full | --hide-inactive]\n"
|
|
rpm-build |
3ee90c |
" View all information about the cluster and resources (--full provides\n"
|
|
rpm-build |
3ee90c |
" more details, --hide-inactive hides inactive resources).\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" resources [<resource id> | --full | --groups | --hide-inactive]\n"
|
|
rpm-build |
3ee90c |
" Show all currently configured resources or if a resource is specified\n"
|
|
rpm-build |
3ee90c |
" show the options for the configured resource. If --full is specified,\n"
|
|
rpm-build |
3ee90c |
" all configured resource options will be displayed. If --groups is\n"
|
|
rpm-build |
3ee90c |
" specified, only show groups (and their resources). If --hide-inactive\n"
|
|
rpm-build |
3ee90c |
" is specified, only show active resources.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" groups\n"
|
|
rpm-build |
3ee90c |
" View currently configured groups and their resources.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" cluster\n"
|
|
rpm-build |
3ee90c |
" View current cluster status.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" corosync\n"
|
|
rpm-build |
3ee90c |
" View current membership information as seen by corosync.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" quorum\n"
|
|
rpm-build |
3ee90c |
" View current quorum status.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" qdevice <device model> [--full] [<cluster name>]\n"
|
|
rpm-build |
3ee90c |
" Show runtime status of specified model of quorum device provider. Using\n"
|
|
rpm-build |
3ee90c |
" --full will give more detailed output. If <cluster name> is specified,\n"
|
|
rpm-build |
3ee90c |
" only information about the specified cluster will be displayed.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" nodes [corosync | both | config]\n"
|
|
rpm-build |
3ee90c |
" View current status of nodes from pacemaker. If 'corosync' is\n"
|
|
rpm-build |
3ee90c |
" specified, view current status of nodes from corosync instead. If\n"
|
|
rpm-build |
3ee90c |
" 'both' is specified, view current status of nodes from both corosync &\n"
|
|
rpm-build |
3ee90c |
" pacemaker. If 'config' is specified, print nodes from corosync &\n"
|
|
rpm-build |
3ee90c |
" pacemaker configuration.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" pcsd [<node>]...\n"
|
|
rpm-build |
3ee90c |
" Show current status of pcsd on nodes specified, or on all nodes\n"
|
|
rpm-build |
3ee90c |
" configured in the local cluster if no nodes are specified.\n"
|
|
rpm-build |
3ee90c |
"\n"
|
|
rpm-build |
3ee90c |
" xml\n"
|
|
rpm-build |
3ee90c |
" View xml version of status (output from crm_mon -r -1 -X)."
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: para
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "Additionally, if you are interested in the version and supported cluster stack(s) available with your Pacemaker installation, run:"
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|
|
rpm-build |
3ee90c |
#. Tag: screen
|
|
rpm-build |
3ee90c |
#, no-c-format
|
|
rpm-build |
3ee90c |
msgid "[root@pcmk-1 ~]# pacemakerd --features\n"
|
|
rpm-build |
3ee90c |
"Pacemaker 1.1.16-12.el7_4.5 (Build: 94ff4df)\n"
|
|
rpm-build |
3ee90c |
" Supporting v3.0.12: generated-manpages agent-manpages ncurses libqb-logging libqb-ipc systemd nagios corosync-native atomic-attrd acls"
|
|
rpm-build |
3ee90c |
msgstr ""
|
|
rpm-build |
3ee90c |
|