~ubuntu-branches/ubuntu/utopic/pacemaker/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/Pacemaker_Explained/pot/Ch-Nodes.pot

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-07-16 16:40:24 UTC
  • mfrom: (1.1.11) (2.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130716164024-lvwrf4xivk1wdr3c
Tags: 1.1.9+git20130321-1ubuntu1
* Resync from debian expiremental.
* debian/control:
  - Use lower version for Build-Depends on libcorosync-dev
    and libqb-dev.
  - Build-Depends on libcfg-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
msgid ""
5
5
msgstr ""
6
6
"Project-Id-Version: 0\n"
7
 
"POT-Creation-Date: 2012-02-27T09:17:56\n"
8
 
"PO-Revision-Date: 2012-02-27T09:17:56\n"
 
7
"POT-Creation-Date: 2012-10-17T05:19:02\n"
 
8
"PO-Revision-Date: 2012-10-17T05:19:02\n"
9
9
"Last-Translator: Automatically generated\n"
10
10
"Language-Team: None\n"
11
11
"MIME-Version: 1.0\n"
34
34
 
35
35
#. Tag: programlisting
36
36
#, no-c-format
37
 
msgid "<node id=\"1186dc9a-324d-425a-966e-d757e693dc86\" uname=\"pcmk-1\" type=\"normal\"/>\n"
38
 
"       "
 
37
msgid "<node id=\"1186dc9a-324d-425a-966e-d757e693dc86\" uname=\"pcmk-1\" type=\"normal\"/>"
39
38
msgstr ""
40
39
 
41
40
#. Tag: para
42
41
#, no-c-format
43
 
msgid "In normal circumstances, the admin should let the cluster populate this information automatically from the communications and membership data. However one can use the <command>crm_uuid</command> tool to read an existing UUID or define a value before the cluster starts."
 
42
msgid "In normal circumstances, the admin should let the cluster populate this information automatically from the communications and membership data. However one can use the <literal>crm_uuid</literal> tool to read an existing UUID or define a value before the cluster starts."
44
43
msgstr ""
45
44
 
46
45
#. Tag: title
50
49
 
51
50
#. Tag: para
52
51
#, no-c-format
53
 
msgid "Beyond the basic definition of a node the administrator can also describe the node's attributes, such as how much RAM, disk, what OS or kernel version it has, perhaps even its physical location. This information can then be used by the cluster when deciding where to place resources. For more information on the use of node attributes, see the section on <xref linkend=\"ch-rules\" />."
54
 
msgstr ""
55
 
 
56
 
#. Tag: para
57
 
#, no-c-format
58
 
msgid "Node attributes can be specified ahead of time or populated later, when the cluster is running, using <command>crm_attribute</command>."
59
 
msgstr ""
60
 
 
61
 
#. Tag: para
62
 
#, no-c-format
63
 
msgid "Below is what the node's definition would look like if the admin ran the command:"
 
52
msgid "<indexterm> <primary>Node</primary><secondary>attribute</secondary> </indexterm> <indexterm> <primary>attribute</primary> </indexterm> Beyond the basic definition of a node the administrator can also describe the node’s attributes, such as how much RAM, disk, what OS or kernel version it has, perhaps even its physical location. This information can then be used by the cluster when deciding where to place resources. For more information on the use of node attributes, see <xref linkend=\"ch-rules\" />."
 
53
msgstr ""
 
54
 
 
55
#. Tag: para
 
56
#, no-c-format
 
57
msgid "Node attributes can be specified ahead of time or populated later, when the cluster is running, using <literal>crm_attribute</literal>."
 
58
msgstr ""
 
59
 
 
60
#. Tag: para
 
61
#, no-c-format
 
62
msgid "Below is what the node’s definition would look like if the admin ran the command:"
64
63
msgstr ""
65
64
 
66
65
#. Tag: title
70
69
 
71
70
#. Tag: programlisting
72
71
#, no-c-format
73
 
msgid "<userinput>crm_attribute --type nodes --node-uname pcmk-1 --attr-name kernel --attr-value `uname -r` </userinput>\n"
74
 
"\n"
75
 
"  &lt;node uname=\"pcmk-1\" type=\"normal\" id=\"1186dc9a-324d-425a-966e-d757e693dc86\"&gt;\n"
 
72
msgid "# crm_attribute --type nodes --node-uname pcmk-1 --attr-name kernel --attr-value `uname -r`"
 
73
msgstr ""
 
74
 
 
75
#. Tag: programlisting
 
76
#, no-c-format
 
77
msgid "&lt;node uname=\"pcmk-1\" type=\"normal\" id=\"1186dc9a-324d-425a-966e-d757e693dc86\"&gt;\n"
76
78
"   &lt;instance_attributes id=\"nodes-1186dc9a-324d-425a-966e-d757e693dc86\"&gt;\n"
77
79
"     &lt;nvpair id=\"kernel-1186dc9a-324d-425a-966e-d757e693dc86\" name=\"kernel\" value=\"2.6.16.46-0.4-default\"/&gt;\n"
78
80
"   &lt;/instance_attributes&gt;\n"
79
 
"  &lt;/node&gt;  "
 
81
"&lt;/node&gt;"
80
82
msgstr ""
81
83
 
82
84
#. Tag: para
83
85
#, no-c-format
84
 
msgid "A simpler way to determine the current value of an attribute is to use <command>crm_attribute</command> command again:"
 
86
msgid "A simpler way to determine the current value of an attribute is to use <literal>crm_attribute</literal> command again:"
85
87
msgstr ""
86
88
 
87
89
#. Tag: programlisting
88
90
#, no-c-format
89
 
msgid "<command>  crm_attribute --type nodes --node-uname pcmk-1 --attr-name kernel --get-value</command>"
 
91
msgid "# crm_attribute --type nodes --node-uname pcmk-1 --attr-name kernel --get-value"
90
92
msgstr ""
91
93
 
92
94
#. Tag: para
93
95
#, no-c-format
94
 
msgid "By specifying <parameter>--type nodes</parameter> the admin tells the cluster that this attribute is persistent. There are also transient attributes which are kept in the status section which are \"forgotten\" whenever the node rejoins the cluster. The cluster uses this area to store a record of how many times a resource has failed on that node but administrators can also read and write to this section by specifying <parameter>--type status</parameter>."
 
96
msgid "By specifying <literal>--type nodes</literal> the admin tells the cluster that this attribute is persistent. There are also transient attributes which are kept in the status section which are \"forgotten\" whenever the node rejoins the cluster. The cluster uses this area to store a record of how many times a resource has failed on that node but administrators can also read and write to this section by specifying <literal>--type status</literal>."
95
97
msgstr ""
96
98
 
97
99
#. Tag: title
106
108
 
107
109
#. Tag: para
108
110
#, no-c-format
109
 
msgid "Adding a new node is as simple as installing Corosync and Pacemaker, and copying <filename>/etc/corosync/corosync.conf</filename> and <filename>/etc/ais/authkey</filename> (if it exists) from an existing node. You may need to modify the <literal>mcastaddr</literal> option to match the new node's IP address."
 
111
msgid "<indexterm> <primary>Corosync</primary><secondary>Add Cluster Node</secondary> </indexterm> <indexterm> <primary>Add Cluster Node</primary> </indexterm> <indexterm> <primary>Add Cluster Node</primary><secondary>Corosync</secondary> </indexterm> <indexterm> <primary>Corosync</primary> </indexterm> Adding a new node is as simple as installing Corosync and Pacemaker, and copying <emphasis>/etc/corosync/corosync.conf</emphasis> and <emphasis>/etc/ais/authkey</emphasis> (if it exists) from an existing node. You may need to modify the <literal>mcastaddr</literal> option to match the new node’s IP address."
110
112
msgstr ""
111
113
 
112
114
#. Tag: para
121
123
 
122
124
#. Tag: para
123
125
#, no-c-format
124
 
msgid "Provided you specified <literal>autojoin any</literal> in <filename>ha.cf</filename>, adding a new node is as simple as installing heartbeat and copying <filename>ha.cf</filename> and <filename>authkeys</filename> from an existing node."
 
126
msgid "<indexterm> <primary>Heartbeat</primary><secondary>Add Cluster Node</secondary> </indexterm> <indexterm> <primary>Add Cluster Node</primary> </indexterm> <indexterm> <primary>Add Cluster Node</primary><secondary>Heartbeat</secondary> </indexterm> <indexterm> <primary>Heartbeat</primary> </indexterm> Provided you specified <literal>autojoin any</literal> in <emphasis>ha.cf</emphasis>, adding a new node is as simple as installing heartbeat and copying <emphasis>ha.cf</emphasis> and <emphasis>authkeys</emphasis> from an existing node."
125
127
msgstr ""
126
128
 
127
129
#. Tag: para
128
130
#, no-c-format
129
 
msgid "If you don't want to use <literal>autojoin</literal>, then after setting up <filename>ha.cf</filename> and <filename>authkeys</filename>, you must use the <command>hb_addnode</command> command before starting the new node."
 
131
msgid "If you don’t want to use <literal>autojoin</literal>, then after setting up <emphasis>ha.cf</emphasis> and <emphasis>authkeys</emphasis>, you must use the <literal>hb_addnode</literal> command before starting the new node."
130
132
msgstr ""
131
133
 
132
134
#. Tag: title
136
138
 
137
139
#. Tag: para
138
140
#, no-c-format
139
 
msgid "Because the messaging and membership layers are the authoritative source for cluster nodes, deleting them from the CIB is not a reliable solution. First one must arrange for heartbeat to forget about the node (<replaceable>pcmk-1</replaceable> in the example below)."
 
141
msgid "<indexterm> <primary>Corosync</primary><secondary>Remove Cluster Node</secondary> </indexterm> <indexterm> <primary>Remove Cluster Node</primary> </indexterm> <indexterm> <primary>Remove Cluster Node</primary><secondary>Corosync</secondary> </indexterm> <indexterm> <primary>Corosync</primary> </indexterm> Because the messaging and membership layers are the authoritative source for cluster nodes, deleting them from the CIB is not a reliable solution. First one must arrange for heartbeat to forget about the node (<emphasis>pcmk-1</emphasis> in the example below)."
140
142
msgstr ""
141
143
 
142
144
#. Tag: para
146
148
 
147
149
#. Tag: para
148
150
#, no-c-format
149
 
msgid "Find and record the node's Corosync id: <command>crm_node -i</command>"
 
151
msgid "Find and record the node’s Corosync id: <literal>crm_node -i</literal>"
150
152
msgstr ""
151
153
 
152
154
#. Tag: para
153
155
#, no-c-format
154
 
msgid "Stop the cluster: <command>/etc/init.d/corosync stop</command>"
 
156
msgid "Stop the cluster: <literal>/etc/init.d/corosync stop</literal>"
155
157
msgstr ""
156
158
 
157
159
#. Tag: para
161
163
 
162
164
#. Tag: para
163
165
#, no-c-format
164
 
msgid "Tell the cluster to forget about the removed host: <command>crm_node -R <replaceable>COROSYNC_ID</replaceable></command>"
 
166
msgid "Tell the cluster to forget about the removed host:"
 
167
msgstr ""
 
168
 
 
169
#. Tag: programlisting
 
170
#, no-c-format
 
171
msgid "# crm_node -R $COROSYNC_ID"
165
172
msgstr ""
166
173
 
167
174
#. Tag: para
171
178
 
172
179
#. Tag: programlisting
173
180
#, no-c-format
174
 
msgid "<command>cibadmin --delete --obj_type nodes --crm_xml '&lt;node uname=\"<replaceable>pcmk-1</replaceable>\"/&gt;'</command>\n"
175
 
"           <command>cibadmin --delete --obj_type status --crm_xml '&lt;node_state uname=\"<replaceable>pcmk-1</replaceable>\"/&gt;'</command>"
176
 
msgstr ""
177
 
 
178
 
#. Tag: para
179
 
#, no-c-format
180
 
msgid "Because the messaging and membership layers are the authoritative source for cluster nodes, deleting them from the CIB is not a reliable solution. First one must arrange for heartbeat to forget about the node (pcmk-1 in the example below). To do this, shut down heartbeat on the node and then, from one of the remaining active cluster nodes, run:"
181
 
msgstr ""
182
 
 
183
 
#. Tag: para
184
 
#, no-c-format
185
 
msgid "<command>hb_delnode pcmk-1</command>"
 
181
msgid "# cibadmin --delete --obj_type nodes --crm_xml '&lt;node uname=\"_pcmk-1_\"/&gt;'\n"
 
182
"# cibadmin --delete --obj_type status --crm_xml '&lt;node_state uname=\"_pcmk-1_\"/&gt;'"
 
183
msgstr ""
 
184
 
 
185
#. Tag: para
 
186
#, no-c-format
 
187
msgid "<indexterm> <primary>Heartbeat</primary><secondary>Remove Cluster Node</secondary> </indexterm> <indexterm> <primary>Remove Cluster Node</primary> </indexterm> <indexterm> <primary>Remove Cluster Node</primary><secondary>Heartbeat</secondary> </indexterm> <indexterm> <primary>Heartbeat</primary> </indexterm> Because the messaging and membership layers are the authoritative source for cluster nodes, deleting them from the CIB is not a reliable solution."
 
188
msgstr ""
 
189
 
 
190
#. Tag: para
 
191
#, no-c-format
 
192
msgid "First one must arrange for heartbeat to forget about the node (pcmk-1 in the example below). To do this, shut down heartbeat on the node and then, from one of the remaining active cluster nodes, run:"
 
193
msgstr ""
 
194
 
 
195
#. Tag: programlisting
 
196
#, no-c-format
 
197
msgid "# hb_delnode pcmk-1"
186
198
msgstr ""
187
199
 
188
200
#. Tag: para
192
204
 
193
205
#. Tag: programlisting
194
206
#, no-c-format
195
 
msgid "<command>cibadmin --delete --obj_type nodes --crm_xml '&lt;node uname=\"pcmk-1\"/&gt;'</command>\n"
196
 
"       <command>cibadmin --delete --obj_type status --crm_xml '&lt;node_state uname=\"pcmk-1\"/&gt;'</command>"
 
207
msgid "# cibadmin --delete --obj_type nodes --crm_xml '&lt;node uname=\"pcmk-1\"/&gt;'\n"
 
208
"# cibadmin --delete --obj_type status --crm_xml '&lt;node_state uname=\"pcmk-1\"/&gt;'"
197
209
msgstr ""
198
210
 
199
211
#. Tag: title
203
215
 
204
216
#. Tag: para
205
217
#, no-c-format
206
 
msgid "The five-step guide to replacing an existing cluster node:"
 
218
msgid "<indexterm> <primary>Corosync</primary><secondary>Replace Cluster Node</secondary> </indexterm> <indexterm> <primary>Replace Cluster Node</primary> </indexterm> <indexterm> <primary>Replace Cluster Node</primary><secondary>Corosync</secondary> </indexterm> <indexterm> <primary>Corosync</primary> </indexterm> The five-step guide to replacing an existing cluster node:"
207
219
msgstr ""
208
220
 
209
221
#. Tag: para
223
235
 
224
236
#. Tag: para
225
237
#, no-c-format
226
 
msgid "Copy <filename>/etc/corosync/corosync.conf</filename> and <filename>/etc/ais/authkey</filename> (if it exists) to the new node"
 
238
msgid "Copy <emphasis>/etc/corosync/corosync.conf</emphasis> and <emphasis>/etc/ais/authkey</emphasis> (if it exists) to the new node"
227
239
msgstr ""
228
240
 
229
241
#. Tag: para
233
245
 
234
246
#. Tag: para
235
247
#, no-c-format
236
 
msgid "The seven-step guide to replacing an existing cluster node:"
 
248
msgid "<indexterm> <primary>Heartbeat</primary><secondary>Replace Cluster Node</secondary> </indexterm> <indexterm> <primary>Replace Cluster Node</primary> </indexterm> <indexterm> <primary>Replace Cluster Node</primary><secondary>Heartbeat</secondary> </indexterm> <indexterm> <primary>Heartbeat</primary> </indexterm> The seven-step guide to replacing an existing cluster node:"
237
249
msgstr ""
238
250
 
239
251
#. Tag: para
243
255
 
244
256
#. Tag: para
245
257
#, no-c-format
246
 
msgid "Go to an active cluster node and look up the UUID for the old node in <filename>/var/lib/heartbeat/hostcache</filename>"
 
258
msgid "Go to an active cluster node and look up the UUID for the old node in <emphasis>/var/lib/heartbeat/hostcache</emphasis>"
247
259
msgstr ""
248
260
 
249
261
#. Tag: para
253
265
 
254
266
#. Tag: para
255
267
#, no-c-format
256
 
msgid "Copy <filename>ha.cf</filename> and <filename>authkeys</filename> to the new node"
 
268
msgid "Copy <emphasis>ha.cf</emphasis> and <emphasis>authkeys</emphasis> to the new node"
257
269
msgstr ""
258
270
 
259
271
#. Tag: para
260
272
#, no-c-format
261
 
msgid "On the new node, populate it's UUID using <command>crm_uuid -w</command> and the UUID from step 2"
 
273
msgid "On the new node, populate it’s UUID using <literal>crm_uuid -w</literal> and the UUID from step 2"
262
274
msgstr ""
263
275