diff --git a/xml/ha_bootstrap_install.xml b/xml/ha_bootstrap_install.xml index bb646ca9..ef18926b 100644 --- a/xml/ha_bootstrap_install.xml +++ b/xml/ha_bootstrap_install.xml @@ -12,7 +12,7 @@ xmlns="http://docbook.org/ns/docbook" version="5.1" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink"> - Using the bootstrap script + Using the bootstrap scripts @@ -158,7 +158,7 @@ You can start the script without specifying any options. This prompts you for input for - some settings, as described in the next steps, and uses &crmsh;'s default values for + certain settings as described in later steps, and uses &crmsh;'s default values for other settings. @@ -225,6 +225,11 @@ (or ) multiple times. For example: &prompt.root;crm cluster init --sbd-device /dev/disk/by-id/ID1 --sbd-device /dev/disk/by-id/ID2 + + This option is also useful because you can use tab completion for the device ID, + which is not available later when the script prompts you for the path. + + @@ -352,7 +357,7 @@ Choose whether to enable TLS. - + Enter heuristics commands to affect how votes are determined. To skip this step, leave the field blank. @@ -430,27 +435,25 @@ crm cluster join --use-ssh-agent -c USER@ - If NTP is not configured to start at boot time, a message - appears. The script also checks for a hardware watchdog device. - You are warned if none is present. + If NTP is not configured to start at boot time, a message appears. The script also checks + for a hardware watchdog device. You are warned if none is present. - If you did not already specify the first cluster node - with , you will be prompted for its IP address. + If you did not already specify the first cluster node with , + you are prompted for its IP address. If you did not already configure passwordless SSH access between the cluster nodes, - you will be prompted for the password of the first node. + you are prompted for the password of the first node. - After logging in to the specified node, the script copies the - &corosync; configuration, configures SSH and &csync;, - brings the current machine online as a new cluster node, and - starts the service needed for &hawk2;. + After logging in to the specified node, the script copies the &corosync; configuration, + configures SSH and &csync;, brings the current machine online as a new cluster node, + and starts the service needed for &hawk2;. @@ -467,4 +470,32 @@ crm cluster join --use-ssh-agent -c USER@ + + + Removing nodes with <command>crm cluster remove</command> + + You can remove nodes from the cluster with the crm cluster remove + bootstrap script. + + + If you run crm cluster remove with no additional parameters, you are + prompted for the IP address or host name of the node to remove. Alternatively, you can + specify the node when you run the command: + +&prompt.root;crm cluster remove NODE + + On the specified node, this stops all cluster services and removes the local cluster + configuration files. On the rest of the cluster nodes, the specified node is removed + from the cluster configuration. + + + In most cases, you must run crm cluster remove from a different node, + not from the node you want to remove. However, to remove the last node + and delete the cluster, you can use (or ): + +&prompt.root;crm cluster remove --force LASTNODE + + For more information, run crm cluster help remove. + +