After starting up the cluster, you must mount the GFS2 file systems that you created, as described in 節 12.3, “GFS2 Configuration”
. The permissions on the Samba
directory and user accounts on the cluster nodes should be set up for client access.
Execute the following command on all of the nodes to start up the
ctdbd daemon. Since this example configured CTDB with
CTDB_MANAGES_SAMBA=yes, CTDB will also start up the Samba service on all nodes and export all configured Samba shares.
service ctdb start
It can take a couple of minutes for CTDB to start Samba, export the shares, and stabilize. Executing
ctdb status shows the status of CTDB, as in the following example:
Number of nodes:3
pnn:0 192.168.1.151 OK (THIS NODE)
pnn:1 192.168.1.152 OK
pnn:2 192.168.1.153 OK
Recovery mode:NORMAL (0)