| # |
| # AUTHOR <EMAIL@ADDRESS>, YEAR. |
| # |
| msgid "" |
| msgstr "" |
| "Project-Id-Version: 0\n" |
| "POT-Creation-Date: 2017-05-08 11:19-0500\n" |
| "PO-Revision-Date: 2017-05-08 11:19-0500\n" |
| "Last-Translator: Automatically generated\n" |
| "Language-Team: None\n" |
| "MIME-Version: 1.0\n" |
| "Content-Type: application/x-publican; charset=UTF-8\n" |
| "Content-Transfer-Encoding: 8bit\n" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Configuration Recap" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Final Cluster Configuration" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource\n" |
| " Master/Slave Set: WebDataClone [WebData]\n" |
| " Masters: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: dlm-clone [dlm]\n" |
| " Started: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: ClusterIP-clone [ClusterIP] (unique)\n" |
| " ClusterIP:0 (ocf::heartbeat:IPaddr2): Started\n" |
| " ClusterIP:1 (ocf::heartbeat:IPaddr2): Started\n" |
| " Clone Set: WebFS-clone [WebFS]\n" |
| " Started: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: WebSite-clone [WebSite]\n" |
| " Started: [ pcmk-1 pcmk-2 ]" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource op defaults\n" |
| "timeout: 240s" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs stonith\n" |
| " impi-fencing (stonith:fence_ipmilan) Started" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs constraint\n" |
| "Location Constraints:\n" |
| "Ordering Constraints:\n" |
| " start ClusterIP-clone then start WebSite-clone (kind:Mandatory)\n" |
| " promote WebDataClone then start WebFS-clone (kind:Mandatory)\n" |
| " start WebFS-clone then start WebSite-clone (kind:Mandatory)\n" |
| " start dlm-clone then start WebFS-clone (kind:Mandatory)\n" |
| "Colocation Constraints:\n" |
| " WebSite-clone with ClusterIP-clone (score:INFINITY)\n" |
| " WebFS-clone with WebDataClone (score:INFINITY) (with-rsc-role:Master)\n" |
| " WebSite-clone with WebFS-clone (score:INFINITY)\n" |
| " WebFS-clone with dlm-clone (score:INFINITY)" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs status\n" |
| "Cluster name: mycluster\n" |
| "Last updated: Fri Aug 14 12:05:37 2015\n" |
| "Last change: Fri Aug 14 11:49:29 2015\n" |
| "Stack: corosync\n" |
| "Current DC: pcmk-1 (1) - partition with quorum\n" |
| "Version: 1.1.12-a14efad\n" |
| "2 Nodes configured\n" |
| "11 Resources configured\n" |
| "\n" |
| "\n" |
| "Online: [ pcmk-1 pcmk-2 ]\n" |
| "\n" |
| "Full list of resources:\n" |
| "\n" |
| " impi-fencing (stonith:fence_ipmilan): Started pcmk-1\n" |
| " Master/Slave Set: WebDataClone [WebData]\n" |
| " Masters: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: dlm-clone [dlm]\n" |
| " Started: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: ClusterIP-clone [ClusterIP] (unique)\n" |
| " ClusterIP:0 (ocf::heartbeat:IPaddr2): Started pcmk-2\n" |
| " ClusterIP:1 (ocf::heartbeat:IPaddr2): Started pcmk-1\n" |
| " Clone Set: WebFS-clone [WebFS]\n" |
| " Started: [ pcmk-1 pcmk-2 ]\n" |
| " Clone Set: WebSite-clone [WebSite]\n" |
| " Started: [ pcmk-1 pcmk-2 ]\n" |
| "\n" |
| "PCSD Status:\n" |
| " pcmk-1: Online\n" |
| " pcmk-2: Online\n" |
| "\n" |
| "Daemon Status:\n" |
| " corosync: active/disabled\n" |
| " pacemaker: active/disabled\n" |
| " pcsd: active/enabled" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs cluster cib" |
| msgstr "" |
| |
| #. Tag: programlisting |
| #, no-c-format |
| msgid "<cib crm_feature_set=\"3.0.9\" validate-with=\"pacemaker-2.3\" epoch=\"51\" num_updates=\"16\" admin_epoch=\"0\" cib-last-written=\"Fri Aug 14 11:49:29 2015\" have-quorum=\"1\" dc-uuid=\"1\">\n" |
| " <crm_config>\n" |
| " <cluster_property_set id=\"cib-bootstrap-options\">\n" |
| " <nvpair id=\"cib-bootstrap-options-have-watchdog\" name=\"have-watchdog\" value=\"false\"/>\n" |
| " <nvpair id=\"cib-bootstrap-options-dc-version\" name=\"dc-version\" value=\"1.1.12-a14efad\"/>\n" |
| " <nvpair id=\"cib-bootstrap-options-cluster-infrastructure\" name=\"cluster-infrastructure\" value=\"corosync\"/>\n" |
| " <nvpair id=\"cib-bootstrap-options-cluster-name\" name=\"cluster-name\" value=\"mycluster\"/>\n" |
| " <nvpair id=\"cib-bootstrap-options-last-lrm-refresh\" name=\"last-lrm-refresh\" value=\"1419129162\"/>\n" |
| " <nvpair id=\"cib-bootstrap-options-stonith-enabled\" name=\"stonith-enabled\" value=\"true\"/>\n" |
| " </cluster_property_set>\n" |
| " </crm_config>\n" |
| " <nodes>\n" |
| " <node id=\"1\" uname=\"pcmk-1\">\n" |
| " <instance_attributes id=\"nodes-1\"/>\n" |
| " </node>\n" |
| " <node id=\"2\" uname=\"pcmk-2\">\n" |
| " <instance_attributes id=\"nodes-2\"/>\n" |
| " </node>\n" |
| " </nodes>\n" |
| " <resources>\n" |
| " <primitive class=\"stonith\" id=\"impi-fencing\" type=\"fence_ipmilan\">\n" |
| " <instance_attributes id=\"impi-fencing-instance_attributes\">\n" |
| " <nvpair id=\"impi-fencing-instance_attributes-pcmk_host_list\" name=\"pcmk_host_list\" value=\"pcmk-1 pcmk-2\"/>\n" |
| " <nvpair id=\"impi-fencing-instance_attributes-ipaddr\" name=\"ipaddr\" value=\"10.0.0.1\"/>\n" |
| " <nvpair id=\"impi-fencing-instance_attributes-login\" name=\"login\" value=\"testuser\"/>\n" |
| " <nvpair id=\"impi-fencing-instance_attributes-passwd\" name=\"passwd\" value=\"acd123\"/>\n" |
| " </instance_attributes>\n" |
| " <operations>\n" |
| " <op id=\"impi-fencing-interval-60s\" interval=\"60s\" name=\"monitor\"/>\n" |
| " </operations>\n" |
| " </primitive>\n" |
| " <master id=\"WebDataClone\">\n" |
| " <primitive class=\"ocf\" id=\"WebData\" provider=\"linbit\" type=\"drbd\">\n" |
| " <instance_attributes id=\"WebData-instance_attributes\">\n" |
| " <nvpair id=\"WebData-instance_attributes-drbd_resource\" name=\"drbd_resource\" value=\"wwwdata\"/>\n" |
| " </instance_attributes>\n" |
| " <operations>\n" |
| " <op id=\"WebData-start-timeout-240\" interval=\"0s\" name=\"start\" timeout=\"240\"/>\n" |
| " <op id=\"WebData-promote-timeout-90\" interval=\"0s\" name=\"promote\" timeout=\"90\"/>\n" |
| " <op id=\"WebData-demote-timeout-90\" interval=\"0s\" name=\"demote\" timeout=\"90\"/>\n" |
| " <op id=\"WebData-stop-timeout-100\" interval=\"0s\" name=\"stop\" timeout=\"100\"/>\n" |
| " <op id=\"WebData-monitor-interval-60s\" interval=\"60s\" name=\"monitor\"/>\n" |
| " </operations>\n" |
| " </primitive>\n" |
| " <meta_attributes id=\"WebDataClone-meta_attributes\">\n" |
| " <nvpair id=\"WebDataClone-meta_attributes-master-max\" name=\"master-max\" value=\"2\"/>\n" |
| " <nvpair id=\"WebDataClone-meta_attributes-master-node-max\" name=\"master-node-max\" value=\"1\"/>\n" |
| " <nvpair id=\"WebDataClone-meta_attributes-clone-max\" name=\"clone-max\" value=\"2\"/>\n" |
| " <nvpair id=\"WebDataClone-meta_attributes-clone-node-max\" name=\"clone-node-max\" value=\"1\"/>\n" |
| " <nvpair id=\"WebDataClone-meta_attributes-notify\" name=\"notify\" value=\"true\"/>\n" |
| " </meta_attributes>\n" |
| " </master>\n" |
| " <clone id=\"dlm-clone\">\n" |
| " <primitive class=\"ocf\" id=\"dlm\" provider=\"pacemaker\" type=\"controld\">\n" |
| " <instance_attributes id=\"dlm-instance_attributes\"/>\n" |
| " <operations>\n" |
| " <op id=\"dlm-start-timeout-90\" interval=\"0s\" name=\"start\" timeout=\"90\"/>\n" |
| " <op id=\"dlm-stop-timeout-100\" interval=\"0s\" name=\"stop\" timeout=\"100\"/>\n" |
| " <op id=\"dlm-monitor-interval-60s\" interval=\"60s\" name=\"monitor\"/>\n" |
| " </operations>\n" |
| " </primitive>\n" |
| " <meta_attributes id=\"dlm-clone-meta\">\n" |
| " <nvpair id=\"dlm-clone-max\" name=\"clone-max\" value=\"2\"/>\n" |
| " <nvpair id=\"dlm-clone-node-max\" name=\"clone-node-max\" value=\"1\"/>\n" |
| " </meta_attributes>\n" |
| " </clone>\n" |
| " <clone id=\"ClusterIP-clone\">\n" |
| " <primitive class=\"ocf\" id=\"ClusterIP\" provider=\"heartbeat\" type=\"IPaddr2\">\n" |
| " <instance_attributes id=\"ClusterIP-instance_attributes\">\n" |
| " <nvpair id=\"ClusterIP-instance_attributes-ip\" name=\"ip\" value=\"192.168.122.120\"/>\n" |
| " <nvpair id=\"ClusterIP-instance_attributes-cidr_netmask\" name=\"cidr_netmask\" value=\"32\"/>\n" |
| " <nvpair id=\"ClusterIP-instance_attributes-clusterip_hash\" name=\"clusterip_hash\" value=\"sourceip\"/>\n" |
| " </instance_attributes>\n" |
| " <operations>\n" |
| " <op id=\"ClusterIP-start-timeout-20s\" interval=\"0s\" name=\"start\" timeout=\"20s\"/>\n" |
| " <op id=\"ClusterIP-stop-timeout-20s\" interval=\"0s\" name=\"stop\" timeout=\"20s\"/>\n" |
| " <op id=\"ClusterIP-monitor-interval-30s\" interval=\"30s\" name=\"monitor\"/>\n" |
| " </operations>\n" |
| " <meta_attributes id=\"ClusterIP-meta_attributes\"/>\n" |
| " </primitive>\n" |
| " <meta_attributes id=\"ClusterIP-clone-meta\">\n" |
| " <nvpair id=\"ClusterIP-clone-max\" name=\"clone-max\" value=\"2\"/>\n" |
| " <nvpair id=\"ClusterIP-clone-node-max\" name=\"clone-node-max\" value=\"2\"/>\n" |
| " <nvpair id=\"ClusterIP-globally-unique\" name=\"globally-unique\" value=\"true\"/>\n" |
| " </meta_attributes>\n" |
| " </clone>\n" |
| " <clone id=\"WebFS-clone\">\n" |
| " <primitive class=\"ocf\" id=\"WebFS\" provider=\"heartbeat\" type=\"Filesystem\">\n" |
| " <instance_attributes id=\"WebFS-instance_attributes\">\n" |
| " <nvpair id=\"WebFS-instance_attributes-device\" name=\"device\" value=\"/dev/drbd1\"/>\n" |
| " <nvpair id=\"WebFS-instance_attributes-directory\" name=\"directory\" value=\"/var/www/html\"/>\n" |
| " <nvpair id=\"WebFS-instance_attributes-fstype\" name=\"fstype\" value=\"gfs2\"/>\n" |
| " </instance_attributes>\n" |
| " <operations>\n" |
| " <op id=\"WebFS-start-timeout-60\" interval=\"0s\" name=\"start\" timeout=\"60\"/>\n" |
| " <op id=\"WebFS-stop-timeout-60\" interval=\"0s\" name=\"stop\" timeout=\"60\"/>\n" |
| " <op id=\"WebFS-monitor-interval-20\" interval=\"20\" name=\"monitor\" timeout=\"40\"/>\n" |
| " </operations>\n" |
| " <meta_attributes id=\"WebFS-meta_attributes\"/>\n" |
| " </primitive>\n" |
| " <meta_attributes id=\"WebFS-clone-meta\"/>\n" |
| " </clone>\n" |
| " <clone id=\"WebSite-clone\">\n" |
| " <primitive class=\"ocf\" id=\"WebSite\" provider=\"heartbeat\" type=\"apache\">\n" |
| " <instance_attributes id=\"WebSite-instance_attributes\">\n" |
| " <nvpair id=\"WebSite-instance_attributes-configfile\" name=\"configfile\" value=\"/etc/httpd/conf/httpd.conf\"/>\n" |
| " <nvpair id=\"WebSite-instance_attributes-statusurl\" name=\"statusurl\" value=\"http://localhost/server-status\"/>\n" |
| " </instance_attributes>\n" |
| " <operations>\n" |
| " <op id=\"WebSite-start-timeout-40s\" interval=\"0s\" name=\"start\" timeout=\"40s\"/>\n" |
| " <op id=\"WebSite-stop-timeout-60s\" interval=\"0s\" name=\"stop\" timeout=\"60s\"/>\n" |
| " <op id=\"WebSite-monitor-interval-1min\" interval=\"1min\" name=\"monitor\"/>\n" |
| " </operations>\n" |
| " </primitive>\n" |
| " <meta_attributes id=\"WebSite-clone-meta\"/>\n" |
| " </clone>\n" |
| " </resources>\n" |
| " <constraints>\n" |
| " <rsc_colocation id=\"colocation-WebSite-ClusterIP-INFINITY\" rsc=\"WebSite-clone\" score=\"INFINITY\" with-rsc=\"ClusterIP-clone\"/>\n" |
| " <rsc_order first=\"ClusterIP-clone\" first-action=\"start\" id=\"order-ClusterIP-WebSite-mandatory\" then=\"WebSite-clone\" then-action=\"start\"/>\n" |
| " <rsc_colocation id=\"colocation-WebFS-WebDataClone-INFINITY\" rsc=\"WebFS-clone\" score=\"INFINITY\" with-rsc=\"WebDataClone\" with-rsc-role=\"Master\"/>\n" |
| " <rsc_order first=\"WebDataClone\" first-action=\"promote\" id=\"order-WebDataClone-WebFS-mandatory\" then=\"WebFS-clone\" then-action=\"start\"/>\n" |
| " <rsc_colocation id=\"colocation-WebSite-WebFS-INFINITY\" rsc=\"WebSite-clone\" score=\"INFINITY\" with-rsc=\"WebFS-clone\"/>\n" |
| " <rsc_order first=\"WebFS-clone\" first-action=\"start\" id=\"order-WebFS-WebSite-mandatory\" then=\"WebSite-clone\" then-action=\"start\"/>\n" |
| " <rsc_colocation id=\"colocation-WebFS-clone-dlm-clone-INFINITY\" rsc=\"WebFS-clone\" score=\"INFINITY\" with-rsc=\"dlm-clone\"/>\n" |
| " <rsc_order first=\"dlm-clone\" first-action=\"start\" id=\"order-dlm-clone-WebFS-clone-mandatory\" then=\"WebFS-clone\" then-action=\"start\"/>\n" |
| " </constraints>\n" |
| " <rsc_defaults>\n" |
| " <meta_attributes id=\"rsc_defaults-options\">\n" |
| " <nvpair id=\"rsc_defaults-options-resource-stickiness\" name=\"resource-stickiness\" value=\"100\"/>\n" |
| " </meta_attributes>\n" |
| " </rsc_defaults>\n" |
| " <op_defaults>\n" |
| " <meta_attributes id=\"op_defaults-options\">\n" |
| " <nvpair id=\"op_defaults-options-timeout\" name=\"timeout\" value=\"240s\"/>\n" |
| " </meta_attributes>\n" |
| " </op_defaults>\n" |
| " </configuration>\n" |
| " <status>\n" |
| " <node_state id=\"1\" uname=\"pcmk-1\" in_ccm=\"true\" crmd=\"online\" crm-debug-origin=\"do_update_resource\" join=\"member\" expected=\"member\">\n" |
| " <lrm id=\"1\">\n" |
| " <lrm_resources>\n" |
| " <lrm_resource id=\"WebData\" type=\"drbd\" class=\"ocf\" provider=\"linbit\">\n" |
| " <lrm_rsc_op id=\"WebData_last_0\" operation_key=\"WebData_promote_0\" operation=\"promote\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"13:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;13:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"44\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"26\" queue-time=\"0\" op-digest=\"bc5c2e08730036ec602d79a958821da4\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"dlm\" type=\"controld\" class=\"ocf\" provider=\"pacemaker\">\n" |
| " <lrm_rsc_op id=\"dlm_last_0\" operation_key=\"dlm_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"37:2:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;37:2:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"37\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264506\" last-rc-change=\"1419264506\" exec-time=\"1041\" queue-time=\"0\" op-digest=\"f2317cad3d54cec5d7d7aa7d0bf35cf8\" on_node=\"pcmk-1\"/>\n" |
| " <lrm_rsc_op id=\"dlm_monitor_60000\" operation_key=\"dlm_monitor_60000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"39:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;39:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"38\" rc-code=\"0\" op-status=\"0\" interval=\"60000\" last-rc-change=\"1419264507\" exec-time=\"11\" queue-time=\"0\" op-digest=\"968cc450c09e98fdac3043cb6a194d3d\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"ClusterIP:0\" type=\"IPaddr2\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"ClusterIP:0_last_0\" operation_key=\"ClusterIP:0_monitor_0\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"7:0:7:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:7;7:0:7:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"19\" rc-code=\"7\" op-status=\"0\" interval=\"0\" last-run=\"1419264506\" last-rc-change=\"1419264506\" exec-time=\"28\" queue-time=\"0\" op-digest=\"ac61ecc765070218997f6d876fa1d76c\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"ClusterIP:1\" type=\"IPaddr2\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"ClusterIP:1_last_0\" operation_key=\"ClusterIP:1_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"49:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;49:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"40\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264507\" last-rc-change=\"1419264507\" exec-time=\"190\" queue-time=\"0\" op-digest=\"ac61ecc765070218997f6d876fa1d76c\" on_node=\"pcmk-1\"/>\n" |
| " <lrm_rsc_op id=\"ClusterIP:1_monitor_30000\" operation_key=\"ClusterIP:1_monitor_30000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"50:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;50:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"41\" rc-code=\"0\" op-status=\"0\" interval=\"30000\" last-rc-change=\"1419264507\" exec-time=\"27\" queue-time=\"0\" op-digest=\"8ce33853c31576b708595f1d8a4a215c\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"WebFS\" type=\"Filesystem\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"WebFS_last_0\" operation_key=\"WebFS_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"62:5:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;62:5:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"46\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"585\" queue-time=\"0\" op-digest=\"9d797b0e3b7f9729195992c0dafb5a9e\" on_node=\"pcmk-1\"/>\n" |
| " <lrm_rsc_op id=\"WebFS_monitor_20000\" operation_key=\"WebFS_monitor_20000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"62:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;62:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"47\" rc-code=\"0\" op-status=\"0\" interval=\"20000\" last-rc-change=\"1419264508\" exec-time=\"21\" queue-time=\"1\" op-digest=\"099af723b175851f09e5391e0c13854e\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"WebSite\" type=\"apache\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"WebSite_last_0\" operation_key=\"WebSite_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"72:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;72:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"48\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"65\" queue-time=\"0\" op-digest=\"49ba395a3f2c142631c2ef2c431a29d9\" on_node=\"pcmk-1\"/>\n" |
| " <lrm_rsc_op id=\"WebSite_monitor_60000\" operation_key=\"WebSite_monitor_60000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"73:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;73:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"49\" rc-code=\"0\" op-status=\"0\" interval=\"60000\" last-rc-change=\"1419264508\" exec-time=\"26\" queue-time=\"0\" op-digest=\"eddc33bef3f1592ad847638ee485316f\" on_node=\"pcmk-1\"/>\n" |
| " </lrm_resource>\n" |
| " </lrm_resources>\n" |
| " </lrm>\n" |
| " <transient_attributes id=\"1\">\n" |
| " <instance_attributes id=\"status-1\">\n" |
| " <nvpair id=\"status-1-shutdown\" name=\"shutdown\" value=\"0\"/>\n" |
| " <nvpair id=\"status-1-probe_complete\" name=\"probe_complete\" value=\"true\"/>\n" |
| " <nvpair id=\"status-1-master-WebData\" name=\"master-WebData\" value=\"10000\"/>\n" |
| " </instance_attributes>\n" |
| " </transient_attributes>\n" |
| " </node_state>\n" |
| " <node_state id=\"2\" uname=\"pcmk-2\" in_ccm=\"true\" crmd=\"online\" crm-debug-origin=\"do_update_resource\" join=\"member\" expected=\"member\">\n" |
| " <transient_attributes id=\"2\">\n" |
| " <instance_attributes id=\"status-2\">\n" |
| " <nvpair id=\"status-2-shutdown\" name=\"shutdown\" value=\"0\"/>\n" |
| " <nvpair id=\"status-2-probe_complete\" name=\"probe_complete\" value=\"true\"/>\n" |
| " <nvpair id=\"status-2-master-WebData\" name=\"master-WebData\" value=\"10000\"/>\n" |
| " </instance_attributes>\n" |
| " </transient_attributes>\n" |
| " <lrm id=\"2\">\n" |
| " <lrm_resources>\n" |
| " <lrm_resource id=\"WebData\" type=\"drbd\" class=\"ocf\" provider=\"linbit\">\n" |
| " <lrm_rsc_op id=\"WebData_last_0\" operation_key=\"WebData_promote_0\" operation=\"promote\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"16:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;16:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"41\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"26\" queue-time=\"0\" op-digest=\"bc5c2e08730036ec602d79a958821da4\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"dlm\" type=\"controld\" class=\"ocf\" provider=\"pacemaker\">\n" |
| " <lrm_rsc_op id=\"dlm_last_0\" operation_key=\"dlm_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"35:2:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;35:2:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"34\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264506\" last-rc-change=\"1419264506\" exec-time=\"1053\" queue-time=\"0\" op-digest=\"f2317cad3d54cec5d7d7aa7d0bf35cf8\" on_node=\"pcmk-2\"/>\n" |
| " <lrm_rsc_op id=\"dlm_monitor_60000\" operation_key=\"dlm_monitor_60000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"42:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;42:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"35\" rc-code=\"0\" op-status=\"0\" interval=\"60000\" last-rc-change=\"1419264507\" exec-time=\"19\" queue-time=\"0\" op-digest=\"968cc450c09e98fdac3043cb6a194d3d\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"ClusterIP:0\" type=\"IPaddr2\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"ClusterIP:0_last_0\" operation_key=\"ClusterIP:0_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"47:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;47:3:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"36\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264507\" last-rc-change=\"1419264507\" exec-time=\"237\" queue-time=\"0\" op-digest=\"ac61ecc765070218997f6d876fa1d76c\" on_node=\"pcmk-2\"/>\n" |
| " <lrm_rsc_op id=\"ClusterIP:0_monitor_30000\" operation_key=\"ClusterIP:0_monitor_30000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"51:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;51:4:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"39\" rc-code=\"0\" op-status=\"0\" interval=\"30000\" last-rc-change=\"1419264507\" exec-time=\"34\" queue-time=\"0\" op-digest=\"8ce33853c31576b708595f1d8a4a215c\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"ClusterIP:1\" type=\"IPaddr2\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"ClusterIP:1_last_0\" operation_key=\"ClusterIP:1_monitor_0\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"16:0:7:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:7;16:0:7:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"23\" rc-code=\"7\" op-status=\"0\" interval=\"0\" last-run=\"1419264506\" last-rc-change=\"1419264506\" exec-time=\"28\" queue-time=\"0\" op-digest=\"ac61ecc765070218997f6d876fa1d76c\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"WebFS\" type=\"Filesystem\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"WebFS_last_0\" operation_key=\"WebFS_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"60:5:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;60:5:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"43\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"662\" queue-time=\"0\" op-digest=\"9d797b0e3b7f9729195992c0dafb5a9e\" on_node=\"pcmk-2\"/>\n" |
| " <lrm_rsc_op id=\"WebFS_monitor_20000\" operation_key=\"WebFS_monitor_20000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"65:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;65:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"44\" rc-code=\"0\" op-status=\"0\" interval=\"20000\" last-rc-change=\"1419264508\" exec-time=\"29\" queue-time=\"0\" op-digest=\"099af723b175851f09e5391e0c13854e\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " <lrm_resource id=\"WebSite\" type=\"apache\" class=\"ocf\" provider=\"heartbeat\">\n" |
| " <lrm_rsc_op id=\"WebSite_last_0\" operation_key=\"WebSite_start_0\" operation=\"start\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"70:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;70:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"45\" rc-code=\"0\" op-status=\"0\" interval=\"0\" last-run=\"1419264508\" last-rc-change=\"1419264508\" exec-time=\"64\" queue-time=\"0\" op-digest=\"49ba395a3f2c142631c2ef2c431a29d9\" on_node=\"pcmk-2\"/>\n" |
| " <lrm_rsc_op id=\"WebSite_monitor_60000\" operation_key=\"WebSite_monitor_60000\" operation=\"monitor\" crm-debug-origin=\"do_update_resource\" crm_feature_set=\"3.0.9\" transition-key=\"71:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" transition-magic=\"0:0;71:6:0:225c8bc5-8fb0-49b6-9f75-337085b080de\" call-id=\"46\" rc-code=\"0\" op-status=\"0\" interval=\"60000\" last-rc-change=\"1419264508\" exec-time=\"28\" queue-time=\"0\" op-digest=\"eddc33bef3f1592ad847638ee485316f\" on_node=\"pcmk-2\"/>\n" |
| " </lrm_resource>\n" |
| " </lrm_resources>\n" |
| " </lrm>\n" |
| " </node_state>\n" |
| " </status>\n" |
| "</cib>" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Node List" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs status nodes\n" |
| "Pacemaker Nodes:\n" |
| " Online: pcmk-1 pcmk-2\n" |
| " Standby:\n" |
| " Offline:" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Cluster Options" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs property\n" |
| "Cluster Properties:\n" |
| " cluster-infrastructure: corosync\n" |
| " cluster-name: mycluster\n" |
| " dc-version: 1.1.12-a14efad\n" |
| " have-watchdog: false\n" |
| " last-lrm-refresh: 1439569053\n" |
| " stonith-enabled: true" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "The output shows state information automatically obtained about the cluster, including:" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "<emphasis role=\"strong\">cluster-infrastructure</emphasis> - the cluster communications layer in use (heartbeat or corosync)" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "<emphasis role=\"strong\">cluster-name</emphasis> - the cluster name chosen by the administrator when the cluster was created" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "<emphasis role=\"strong\">dc-version</emphasis> - the version (including upstream source-code hash) of Pacemaker used on the Designated Controller" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "The output also shows options set by the administrator that control the way the cluster operates, including:" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "<emphasis role=\"strong\">stonith-enabled=true</emphasis> - whether the cluster is allowed to use STONITH resources" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Resources" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Default Options" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource defaults\n" |
| "resource-stickiness: 100" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "This shows cluster option defaults that apply to every resource that does not explicitly set the option itself. Above:" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "<emphasis role=\"strong\">resource-stickiness</emphasis> - Specify the aversion to moving healthy resources to other machines" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Fencing" |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs stonith show\n" |
| " ipmi-fencing (stonith:fence_ipmilan) Started\n" |
| "[root@pcmk-1 ~]# pcs stonith show ipmi-fencing\n" |
| " Resource: ipmi-fencing (class=stonith type=fence_ipmilan)\n" |
| " Attributes: ipaddr=\"10.0.0.1\" login=\"testuser\" passwd=\"acd123\" pcmk_host_list=\"pcmk-1 pcmk-2\"\n" |
| " Operations: monitor interval=60s (fence-monitor-interval-60s)" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Service Address" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "Users of the services provided by the cluster require an unchanging address with which to access it. Additionally, we cloned the address so it will be active on both nodes. An iptables rule (created as part of the resource agent) is used to ensure that each request only gets processed by one of the two clone instances. The additional meta options tell the cluster that we want two instances of the clone (one \"request bucket\" for each node) and that if one node fails, then the remaining node should hold both." |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource show ClusterIP-clone\n" |
| " Clone: ClusterIP-clone\n" |
| " Meta Attrs: clone-max=2 clone-node-max=2 globally-unique=true\n" |
| " Resource: ClusterIP (class=ocf provider=heartbeat type=IPaddr2)\n" |
| " Attributes: ip=192.168.122.120 cidr_netmask=32 clusterip_hash=sourceip\n" |
| " Operations: start interval=0s timeout=20s (ClusterIP-start-timeout-20s)\n" |
| " stop interval=0s timeout=20s (ClusterIP-stop-timeout-20s)\n" |
| " monitor interval=30s (ClusterIP-monitor-interval-30s)" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "DRBD - Shared Storage" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "Here, we define the DRBD service and specify which DRBD resource (from /etc/drbd.d/*.res) it should manage. We make it a master/slave resource and, in order to have an active/active setup, allow both instances to be promoted to master at the same time. We also set the notify option so that the cluster will tell DRBD agent when its peer changes state." |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource show WebDataClone\n" |
| " Master: WebDataClone\n" |
| " Meta Attrs: master-max=2 master-node-max=1 clone-max=2 clone-node-max=1 notify=true\n" |
| " Resource: WebData (class=ocf provider=linbit type=drbd)\n" |
| " Attributes: drbd_resource=wwwdata\n" |
| " Operations: start interval=0s timeout=240 (WebData-start-timeout-240)\n" |
| " promote interval=0s timeout=90 (WebData-promote-timeout-90)\n" |
| " demote interval=0s timeout=90 (WebData-demote-timeout-90)\n" |
| " stop interval=0s timeout=100 (WebData-stop-timeout-100)\n" |
| " monitor interval=60s (WebData-monitor-interval-60s)\n" |
| "[root@pcmk-1 ~]# pcs constraint ref WebDataClone\n" |
| "Resource: WebDataClone\n" |
| " colocation-WebFS-WebDataClone-INFINITY\n" |
| " order-WebDataClone-WebFS-mandatory" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Cluster Filesystem" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "The cluster filesystem ensures that files are read and written correctly. We need to specify the block device (provided by DRBD), where we want it mounted and that we are using GFS2. Again, it is a clone because it is intended to be active on both nodes. The additional constraints ensure that it can only be started on nodes with active DLM and DRBD instances." |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource show WebFS-clone\n" |
| " Clone: WebFS-clone\n" |
| " Resource: WebFS (class=ocf provider=heartbeat type=Filesystem)\n" |
| " Attributes: device=/dev/drbd1 directory=/var/www/html fstype=gfs2\n" |
| " Operations: start interval=0s timeout=60 (WebFS-start-timeout-60)\n" |
| " stop interval=0s timeout=60 (WebFS-stop-timeout-60)\n" |
| " monitor interval=20 timeout=40 (WebFS-monitor-interval-20)\n" |
| "[root@pcmk-1 ~]# pcs constraint ref WebFS-clone\n" |
| "Resource: WebFS-clone\n" |
| " colocation-WebFS-WebDataClone-INFINITY\n" |
| " colocation-WebSite-WebFS-INFINITY\n" |
| " colocation-WebFS-clone-dlm-clone-INFINITY\n" |
| " order-WebDataClone-WebFS-mandatory\n" |
| " order-WebFS-WebSite-mandatory\n" |
| " order-dlm-clone-WebFS-clone-mandatory" |
| msgstr "" |
| |
| #. Tag: title |
| #, no-c-format |
| msgid "Apache" |
| msgstr "" |
| |
| #. Tag: para |
| #, no-c-format |
| msgid "Lastly, we have the actual service, Apache. We need only tell the cluster where to find its main configuration file and restrict it to running on nodes that have the required filesystem mounted and the IP address active." |
| msgstr "" |
| |
| #. Tag: screen |
| #, no-c-format |
| msgid "[root@pcmk-1 ~]# pcs resource show WebSite-clone\n" |
| " Clone: WebSite-clone\n" |
| " Resource: WebSite (class=ocf provider=heartbeat type=apache)\n" |
| " Attributes: configfile=/etc/httpd/conf/httpd.conf statusurl=http://localhost/server-status\n" |
| " Operations: start interval=0s timeout=40s (WebSite-start-timeout-40s)\n" |
| " stop interval=0s timeout=60s (WebSite-stop-timeout-60s)\n" |
| " monitor interval=1min (WebSite-monitor-interval-1min)\n" |
| "[root@pcmk-1 ~]# pcs constraint ref WebSite-clone\n" |
| "Resource: WebSite-clone\n" |
| " colocation-WebSite-ClusterIP-INFINITY\n" |
| " colocation-WebSite-WebFS-INFINITY\n" |
| " order-ClusterIP-WebSite-mandatory\n" |
| " order-WebFS-WebSite-mandatory" |
| msgstr "" |
| |