summaryrefslogtreecommitdiffstats
path: root/doc/legacy/docbook/admin_start_stop_daemon.xml
blob: bdab0b8b608d2ac24f0d1445de28967b22f66a3e (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
<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. --><!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "Administration_Guide.ent">
%BOOK_ENTITIES;
]>
<chapter id="chap-Administration_Guide-Start_Stop_Daemon">
  <title id="chap-Administration_Guide-Stop_Start_Daemon">Managing the glusterd Service</title>
  <para>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.</para>
  <para>This section describes how to start the glusterd service in the following ways: </para>
  <itemizedlist>
    <listitem>
      <para><xref linkend="sect-Administration_Guide-Start_Stop_Daemon-Manually"/></para>
    </listitem>
    <listitem>
      <para><xref linkend="sect-Administration_Guide-Start_Stop_Daemon-Automatically"/></para>
    </listitem>
  </itemizedlist>
  <note>
    <para>You must start glusterd on all GlusterFS servers.</para>
  </note>
  <section id="sect-Administration_Guide-Start_Stop_Daemon-Manually">
    <title>Starting and Stopping glusterd Manually</title>
    <para>This section describes how to start and stop glusterd manually</para>
    <itemizedlist>
      <listitem>
        <para>To start glusterd manually, enter the following command:</para>
        <para><command># /etc/init.d/glusterd start </command></para>
      </listitem>
      <listitem>
        <para>To stop glusterd manually, enter the following command: </para>
        <para><command># /etc/init.d/glusterd stop</command></para>
      </listitem>
    </itemizedlist>
  </section>
  <section id="sect-Administration_Guide-Start_Stop_Daemon-Automatically">
    <title>Starting glusterd Automatically</title>
    <para condition="gfs">This section describes how to configure the system to automatically start the glusterd service every time the system boots. </para>
    <para condition="appliance">To automatically start the glusterd service every time the system boots, enter the following from the command line: </para>
    <para condition="appliance"><command># chkconfig glusterd on </command></para>
    <section condition="gfs">
      <title condition="gfs">Red Hat-based Systems</title>
      <para>To configure Red Hat-based systems to automatically start the glusterd service every time the system boots, enter the following from the command line: </para>
      <para><command># chkconfig glusterd on </command></para>
    </section>
    <section condition="gfs">
      <title condition="gfs">Debian-based Systems</title>
      <para>To configure Debian-based systems to automatically start the glusterd service every time the system boots, enter the following from the command line:</para>
      <para><command># update-rc.d glusterd defaults</command></para>
    </section>
    <section condition="gfs">
      <title condition="gfs">Systems Other than Red Hat and Debain</title>
      <para>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<emphasis role="italic"> /etc/rc.local</emphasis> file: </para>
      <para><command># echo &quot;glusterd&quot; &gt;&gt; /etc/rc.local </command></para>
    </section>
  </section>
</chapter>