summaryrefslogtreecommitdiffstats
path: root/doc/admin-guide/en-US/markdown/admin_start_stop_daemon.md
blob: a47ece8d95b67d3a4c10342b12a579bc1a4da095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#Managing the glusterd Service

After installing GlusterFS, you must start glusterd service. The
glusterd service serves as the Gluster elastic volume manager,
overseeing glusterfs processes, and co-ordinating dynamic volume
operations, such as adding and removing volumes across multiple storage
servers non-disruptively.

This section describes how to start the glusterd service in the
following ways:

- [Starting and Stopping glusterd Manually](#manual)
- [Starting glusterd Automatically](#auto)

> **Note**: You must start glusterd on all GlusterFS servers.

<a name="manual" />
##Starting and Stopping glusterd Manually

This section describes how to start and stop glusterd manually

-   To start glusterd manually, enter the following command:

    `# /etc/init.d/glusterd start `

-   To stop glusterd manually, enter the following command:

    `# /etc/init.d/glusterd stop`

<a name="auto" />
##Starting glusterd Automatically

This section describes how to configure the system to automatically
start the glusterd service every time the system boots.

###Red Hat and Fedora distros

To configure Red Hat-based systems to automatically start the glusterd
service every time the system boots, enter the following from the
command line:

`# chkconfig glusterd on `

###Debian and derivatives like Ubuntu

To configure Debian-based systems to automatically start the glusterd
service every time the system boots, enter the following from the
command line:

`# update-rc.d glusterd defaults`

###Systems Other than Red Hat and Debain

To configure systems other than Red Hat or Debian to automatically start
the glusterd service every time the system boots, enter the following
entry to the*/etc/rc.local* file:

`# echo "glusterd" >> /etc/rc.local `