Skip to content

Commit ff3de2a

Browse files
committed
Clarify node login
1 parent bf3cbbf commit ff3de2a

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

xml/ha_bootstrap_install.xml

+12-1
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,17 @@
144144
</para>
145145
<procedure xml:id="pro-ha-bootstrap-install-first-node">
146146
<title>Setting up the first node with <command>crm cluster init</command></title>
147+
<step>
148+
<para>
149+
Log in to the first cluster node as &rootuser;, or as a user with <command>sudo</command>
150+
privileges.
151+
</para>
152+
</step>
147153
<step>
148154
<para>
149155
Start the bootstrap script:
150156
</para>
151-
<screen>&prompt.root;<command>crm cluster init --name <replaceable>CLUSTERNAME</replaceable></command></screen>
157+
<screen>&prompt.root;<command>crm cluster init</command></screen>
152158
<para>Replace the <replaceable>CLUSTERNAME</replaceable>
153159
placeholder with a meaningful name, like the geographical location of your
154160
cluster (for example, <literal>&cluster1;</literal>).
@@ -306,6 +312,11 @@
306312
</para>
307313
<procedure xml:id="pro-ha-install-node-join-bootstrap">
308314
<title>Adding nodes with <command>crm cluster join</command></title>
315+
<step>
316+
<para>
317+
Log in to this node as the same user you set up the first node with.
318+
</para>
319+
</step>
309320
<step>
310321
<para>
311322
Start the bootstrap script:

xml/ha_log_in.xml

+11-12
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
(or be generated) locally on the node, not on a remote system.
4747
</para>
4848
<para>
49-
To log in to the first cluster node as the &rootuser; user, run the following command:
49+
To log in to a node as the &rootuser; user, run the following command:
5050
</para>
51-
<screen><prompt>user@local&gt; </prompt><command>ssh root@<replaceable>NODE1</replaceable></command></screen>
51+
<screen><prompt>user@local&gt; </prompt><command>ssh root@<replaceable>NODE</replaceable></command></screen>
5252
</listitem>
5353
</varlistentry>
5454
<varlistentry>
@@ -60,10 +60,9 @@
6060
locally on the node, not on a remote system.
6161
</para>
6262
<para>
63-
To log in to the first cluster node as a <command>sudo</command> user, run the
64-
following command:
63+
To log in to a node as a <command>sudo</command> user, run the following command:
6564
</para>
66-
<screen><prompt>user@local&gt; </prompt><command>ssh <replaceable>USER@NODE1</replaceable></command></screen>
65+
<screen><prompt>user@local&gt; </prompt><command>ssh <replaceable>USER@NODE</replaceable></command></screen>
6766
</listitem>
6867
</varlistentry>
6968
<varlistentry>
@@ -75,8 +74,7 @@
7574
additional configuration on your local machine and on the cluster nodes.
7675
</para>
7776
<para>
78-
To log in to the first cluster node with SSH agent forwarding enabled,
79-
perform the following steps:
77+
To log in to a node with SSH agent forwarding enabled, perform the following steps:
8078
</para>
8179
<orderedlist>
8280
<listitem>
@@ -89,21 +87,22 @@
8987
</listitem>
9088
<listitem>
9189
<para>
92-
Log in to the first node with the <option>-A</option> option to enable
93-
SSH agent forwarding:
90+
Log in to the node with the <option>-A</option> option to enable SSH agent forwarding:
9491
</para>
95-
<screen><prompt>user@local&gt; </prompt><command>ssh -A <replaceable>USER@NODE1</replaceable></command></screen>
92+
<screen><prompt>user@local&gt; </prompt><command>ssh -A <replaceable>USER@NODE</replaceable></command></screen>
9693
</listitem>
9794
</orderedlist>
9895
</listitem>
9996
</varlistentry>
10097
</variablelist>
10198
<para>
102-
When you add nodes to the cluster, you must log in to each node as the same user you set up the first node with.
99+
When you add nodes to the cluster, you must log in to each node as the same user you set
100+
up the first node with.
103101
</para>
104102
<important role="compact">
105103
<para>
106-
For simplicity, the commands in this guide assume you are logged in as the &rootuser; user. If you logged in as a <command>sudo</command> user, adjust the commands accordingly.
104+
For simplicity, the commands in this guide assume you are logged in as the &rootuser; user.
105+
If you logged in as a <command>sudo</command> user, adjust the commands accordingly.
107106
</para>
108107
</important>
109108
</chapter>

0 commit comments

Comments
 (0)