2.3. Creating the Cluster
- To access the High Availability management web interface, point your browser to the link provided by the luci service and log in using the root account on the node hosting luci. Logging in to luci displays the luci page. page.
- To create a cluster, click onfrom the menu on the left navigation pane of the page. This displays the page.
圖形 2.1. luci Homebase page
- From thepage, click the button. This displays the screen.
圖形 2.2. Clusters menu
- On thescreen, enter the parameters for the cluster you are creating. The field will be the
riccipassword you defined for the indicated node.
圖形 2.3. Create New Cluster screen
- After you have completed entering the parameters for the cluster, click the luci displays the cluster general properties.button. A progress bar is displayed with the cluster is formed. Once cluster creation has completed,
- Verify the cluster status by running the
clustatcommand on either node of the cluster.
clustatCluster Status for exampleHA @ Thu Sep 29 12:17:39 2011 Member Status: Quorate Member Name ID Status ------ ---- ---- ------ node1.example.com 1 Online, Local node2.example.com 2 OnlineIf you cannot create the cluster, double check the firewall settings, as described in 節 3.3.3, “Configuring the iptables Firewall to Allow Cluster Components”.If you can create the cluster (there is an
/etc/cluster/cluster.confon each node) but the cluster will not form, you may have multicast issues. To test this, change the transport mode from UDP multicast to UDP unicast, as described in 節 3.12, “UDP Unicast Traffic”. Note, however, that in unicast mode there is a traffic increase compared to multicast mode, which adds to the processing load of the node.