Bläddra i källkod

Merge pull request #11138 from g-pan/H19471-SysCtl

HPCC-19471 DOCS:Systemctl changes to Admin doc

Reviewed-By: Michael Gardner <michael.gardner@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 år sedan
förälder
incheckning
cc1bbe659a

+ 12 - 6
docs/EN_US/ConfiguringHPCC/ConfiguringHPCC.xml

@@ -310,7 +310,9 @@
               <para>If it is running stop the HPCC system (on every node),
               using a command such as this:</para>
 
-              <para><programlisting>sudo /etc/init.d/hpcc-init stop</programlisting></para>
+              <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+                          xpointer="element(/1)"
+                          xmlns:xi="http://www.w3.org/2001/XInclude" />
 
               <variablelist>
                 <varlistentry>
@@ -434,7 +436,10 @@ sudo -u hpcc cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/envi
           <para>If it is running, stop the HPCC system using this command on
           every node:</para>
 
-          <para><programlisting>sudo /etc/init.d/hpcc-init stop</programlisting></para>
+                     <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+	                          xpointer="element(/1)"
+	                          xmlns:xi="http://www.w3.org/2001/XInclude" />
+
 
           <variablelist>
             <varlistentry>
@@ -1738,18 +1743,19 @@ sudo -u hpcc cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/envi
 
         <sect3 role="brk">
           <title>Esp - AuthDomain Tab</title>
-         
+
           <!--   Temporarily removing image 
 		  <para>
             <graphic fileref="images/CM-img08-4.jpg" vendor="configmgrSS" />
           </para>  -->
 
           <para>The <emphasis role="bold">AuthDomain</emphasis> attribute
-          allows you to configure the settings used for session management. </para>
+          allows you to configure the settings used for session
+          management.</para>
 
           <!--MyESP-HTTPS.t7-XXX-17-->
 
-         <!-- <para>
+          <!-- <para>
             <xi:include href="../XMLGeneration/xml/esp.xsd.mod.xml"
                         xpointer="xpointer(//*[@id='ESP.t7'])"
                         xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -2619,7 +2625,7 @@ sudo -u hpcc cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/envi
                 then press OK.</para>
               </listitem>
             </orderedlist>All configured servers are then used when you create
-          a port to listen on. </para>
+          a port to listen on.</para>
 
           <variablelist>
             <varlistentry>

+ 12 - 4
docs/EN_US/DynamicESDL/DynamicESDL_Includer.xml

@@ -221,7 +221,10 @@
           <para>If it is running, stop the HPCC system, using this command in
           a terminal window:</para>
 
-          <programlisting>sudo /etc/init.d/hpcc-init stop</programlisting>
+                     <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+	                          xpointer="element(/1)"
+	                          xmlns:xi="http://www.w3.org/2001/XInclude" />
+
 
           <para><informaltable colsep="1" frame="all" rowsep="1">
               <?dbfo keep-together="always"?>
@@ -389,7 +392,10 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
           role="bold">every</emphasis> node. The following command starts the
           HPCC system on an individual node:</para>
 
-          <programlisting>sudo /etc/init.d/hpcc-init start</programlisting>
+                     <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+	                          xpointer="element(/1)"
+	                          xmlns:xi="http://www.w3.org/2001/XInclude" />
+
 
           <para></para>
 
@@ -408,8 +414,10 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
                   <entry><para>You may want to create a script to push this
                   command out to every node. A sample script is provided with
                   HPCC. Use the following command to start HPCC on all
-                  nodes:</para> <para> <programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start</programlisting>
-                  </para></entry>
+                  nodes:</para>            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
+</entry>
                 </row>
               </tbody>
             </tgroup>

+ 76 - 0
docs/EN_US/HPCCSystemAdmin/HPCCSystemAdministratorsGuide.xml

@@ -1311,6 +1311,82 @@ dfsSSLPrivateKeyFile=/keyfilepath/keyfile</programlisting>Set the <emphasis
                 xpointer="xpointer(//*[@id='User_Security_Maint'])"
                 xmlns:xi="http://www.w3.org/2001/XInclude" />
 
+    <sect1 id="SystemD_initScripts">
+      <title>Initialization under Systemd</title>
+
+      <para>The primary tool for starting and stopping the HPCC platform on a
+      target machine using systemd is the
+      <emphasis>hpccsystems-platform.target</emphasis>. This target script is
+      dependent on the environment.xml file, and gets generated using the
+      <emphasis>generate-hpccsystems-target.sh</emphasis> script that is
+      located in /opt/HPCCSystems/sbin by default on standard installations.
+      This target script must be generated any time you modify the
+      configurations environment.xml file on your local machine. This can be
+      done manually by an administrator, or by enabling the provided
+      <emphasis>hpcc-environment-monitor.path</emphasis> systemd
+      script.</para>
+
+      <sect2 id="ManualGenHPCCPlatformTarget">
+        <title>Manual regeneration of hpccsystems-platform.target</title>
+
+        <para>The hpccsystems-platform.target script contains a requirement
+        list for every instance of a component declared in the environment.xml
+        file. The hpccsystems-platform.target can be manually generated by
+        invoking the <emphasis>generate-hpccsystems-target.sh</emphasis>
+        script on a target system. It is important to note that doing so will
+        overwrite any existing hpccsystems-platform.target currently on the
+        system. Thus any components that were previously declared in the
+        environment.xml, which are no longer declared, cannot be
+        started/stopped with the new hpccsystems-platform.target. To manually
+        (or programatically through a script) update the
+        hpccsystems-platform.target, run the following:</para>
+
+        <programlisting> systemctl stop hpccsystems-platform.target </programlisting>
+
+        <para>To properly shut down hpccsystems components before the
+        hpccsystems-platform.target changes.</para>
+      </sect2>
+
+      <sect2>
+        <title id="AutomatedGenHPCCPlatformTgt">Automatic regeneration of
+        hpccsystems-platform.target</title>
+
+        <para>The hpccsystems-platform.target script contains a requirement
+        list for every instance of a component which is explicitly declared in
+        the environment.xml file. In order to generate the required components
+        list, invoke the <emphasis>generate-hpccsystems-target.sh</emphasis>
+        script. This can be done automatically by enabling the
+        hpcc-environemnt-monitor.path systemd script. The
+        hpcc-environemnt-monitor.path script calls a corresponding service
+        script of the same name whenever environment.xml is modified.</para>
+
+        <para>When you attempt to regenerate the hpccsystems-platform.target,
+        by modifying the environment.xml file when
+        hpcc-environment-monitor.path is enabled, the
+        hpcc-environment-monitor.service script will first attempt to shut
+        down any hpccsystems-platform.target that is currently running on the
+        target system. This is so that components previously declared and
+        possibly no longer existing in the environment won't be orphaned on
+        the target system. After the generate-hpccsystems-target.sh script is
+        done invoking the hpccsystems configgen utility, the appropriate
+        service scripts are generated from templates and a fresh
+        hpccsystems-platform.target will exist under
+        /opt/HPCCSystems/etc/systemd/system and symlinked to
+        /etc/systemd/system where appropriate.</para>
+      </sect2>
+
+      <sect2>
+        <title id="SystemD_Ulimits">Systemd ulimits</title>
+
+        <para>If you wish to set custom ulimits for specific hpccsystems
+        components, do so in the templates located in
+        /opt/HPCCSystems/etc/systemd/system so that they persist across
+        regenerations of the hpccsystems-platform.target and component service
+        scripts. For the syntax to modify the user limits man
+        systemd.exec.</para>
+      </sect2>
+    </sect1>
+
     <sect1 id="SysAdm_WUs_ActiveDir">
       <title>Workunits and Active Directory</title>
 

+ 4 - 1
docs/EN_US/HPCCSystemAdmin/SA-Mods/SysAdminConfigMod.xml

@@ -272,7 +272,10 @@
               <para>If it is running stop the HPCC system (on every node),
               using a command such as this:</para>
 
-              <para><programlisting>sudo /etc/init.d/hpcc-init stop</programlisting></para>
+                         <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
+
 
               <variablelist>
                 <varlistentry>

+ 1 - 0
docs/EN_US/Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml

@@ -0,0 +1 @@
+<programlisting>sudo systemctl start hpccsystems-platform.target</programlisting>

+ 1 - 0
docs/EN_US/Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml

@@ -0,0 +1 @@
+<programlisting>sudo systemctl stop hpccsystems-platform.target</programlisting>

+ 91 - 185
docs/EN_US/Installing_and_RunningTheHPCCPlatform/Installing_and_RunningTheHPCCPlatform.xml

@@ -140,10 +140,17 @@
         <listitem>
           <para>Start your HPCC System.</para>
 
-          <para><programlisting> sudo /etc/init.d/hpcc-init start</programlisting><emphasis
-          role="bold">NOTE</emphasis>: We provide sample scripts (see <link
-          linkend="Example-Scripts">Appendix:Example Scripts</link>) to make
-          starting larger multi-node systems easier.</para>
+          <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                      xpointer="element(/1)"
+                      xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+          <para><emphasis role="bold">NOTE</emphasis>: We provide sample
+          scripts (see <link linkend="Example-Scripts">Appendix:Example
+          Scripts</link>) to make starting larger multi-node systems
+          easier.</para>
+
+          <para>CentOS 6 and other System V users see <link
+          linkend="hpcc-init">Appendix: hpcc-init</link>.</para>
         </listitem>
 
         <listitem>
@@ -372,9 +379,11 @@
           <listitem>
             <para>Start the system using the default configuration.</para>
 
-            <para><programlisting>sudo /etc/init.d/hpcc-init start</programlisting><graphic
-            fileref="images/GS-InitStart.jpg" /><informaltable colsep="1"
-                frame="all" rowsep="1">
+            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+            <para><informaltable colsep="1" frame="all" rowsep="1">
                 <?dbfo keep-together="always"?>
 
                 <tgroup cols="2">
@@ -401,13 +410,9 @@
                 </tgroup>
               </informaltable></para>
 
-            <para><emphasis role="bold">Note:</emphasis> Many of our supported
-            distributions of Linux are switching from system V to systemd. If
-            your distribution is still using a system V init system, you may
-            continue to use some system V commands such as, `<emphasis>service
-            hpcc-init</emphasis>'. However on distributions utilizing systemd
-            that output may not display in the same manner. We suggest calling
-            hpcc-init directly instead of using a 'service' call.</para>
+            <para><emphasis role="bold">Note:</emphasis> If you are using Cent
+            OS 6 or another System V based system, please see the <link
+            linkend="hpcc-init">Appendix: System V</link>.</para>
           </listitem>
         </orderedlist>
       </sect2>
@@ -480,7 +485,7 @@
                   </figure></para>
 
                 <para>Follow the link to the HPCC System's portal download
-                page. </para>
+                page.</para>
 
                 <para>Alternatively, you could use your browser to go directly
                 to <ulink
@@ -805,7 +810,9 @@
             <para>If it is running, stop the HPCC system, using this
             command:</para>
 
-            <para><programlisting>sudo /etc/init.d/hpcc-init stop</programlisting></para>
+            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
 
             <para><informaltable colsep="1" frame="all" rowsep="1">
                 <?dbfo keep-together="always"?>
@@ -821,7 +828,7 @@
                       fileref="images/OSSgr3.png" /></entry>
 
                       <entry>You can use this command to confirm HPCC
-                      processes are stopped:<para><programlisting>sudo /etc/init.d/hpcc-init status</programlisting></para></entry>
+                      processes are stopped:<para><programlisting>sudo systemctl status hpccsystems-platform.target</programlisting></para></entry>
                     </row>
                   </tbody>
                 </tgroup>
@@ -1132,7 +1139,9 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
             role="bold">every</emphasis> node. The following command starts
             the HPCC system on an individual node:</para>
 
-            <programlisting>sudo /etc/init.d/hpcc-init start</programlisting>
+            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
 
             <informaltable colsep="1" frame="all" rowsep="1">
               <?dbfo keep-together="always"?>
@@ -1150,7 +1159,7 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
                     <entry><para>You may want to use a script to push this
                     command out to every node. A sample script is provided
                     with HPCC. Use the following command to start HPCC on all
-                    nodes:</para><para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start</programlisting></para></entry>
+                    nodes:</para><para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh systemctl start hpccsystems-platform.target</programlisting></para></entry>
                   </row>
                 </tbody>
               </tgroup>
@@ -1171,22 +1180,36 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
       <sect2 id="Start-Stop-Reset">
         <title><emphasis>Start, Stop, Restart the System</emphasis></title>
 
-        <para>Once you have your system environment established , the
-        <emphasis role="bold">init </emphasis>system can be used to start,
-        stop, or restart components.</para>
+        <para>Once you have your system environment established, the <emphasis
+        role="bold">init </emphasis>system can be used to start, stop, or
+        restart components.</para>
 
         <para>The following commands can be used:</para>
 
         <sect3 id="StartStop_ToStartSystem">
           <title>To start the system:</title>
 
-          <programlisting>sudo /etc/init.d/hpcc-init start</programlisting>
+          <para>To start your HPCC system issue the following command;</para>
+
+          <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                      xpointer="element(/1)"
+                      xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+          <para>For a CentOS 6 or other System V based systems see <link
+          linkend="hpcc-init">Appendix: hpcc-init</link>.</para>
         </sect3>
 
         <sect3 id="StartStop_StopTheSystem">
           <title>To stop the system:</title>
 
-          <programlisting>sudo /etc/init.d/hpcc-init stop</programlisting>
+          <para>To stop your HPCC system issue the following command;</para>
+
+          <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+                      xpointer="element(/1)"
+                      xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+          <para>For a CentOS 6 or other System V based systems see <link
+          linkend="hpcc-init">Appendix: hpcc-init</link>.</para>
 
           <para><informaltable colsep="1" frame="all" rowsep="1">
               <?dbfo keep-together="always"?>
@@ -1214,45 +1237,16 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
         <sect3 id="StartStop_SingleComponents">
           <title>Start or Stop Single Components</title>
 
-          <para>To start or stop a single component, you can use the -c flag
-          in the init system as follows.</para>
-
-          <programlisting>sudo /etc/init.d/hpcc-init -c &lt;component name&gt; &lt;command&gt;</programlisting>
+          <para>To start a single component,</para>
 
-          <para><informaltable colsep="1" frame="all" rowsep="1">
-              <?dbfo keep-together="always"?>
-
-              <tgroup cols="2">
-                <colspec colwidth="49.50pt" />
-
-                <colspec />
-
-                <tbody>
-                  <row>
-                    <entry><inlinegraphic
-                    fileref="images/OSSgr3.png" /></entry>
+          <programlisting>systemctl start &lt;component-type&gt;@&lt;component-name&gt;.service</programlisting>
 
-                    <entry>To stop dafilesrv (a helper application), you must
-                    use this command: sudo /sbin/service dafilesrv stop. See
-                    Helper Applications for details.</entry>
-                  </row>
-                </tbody>
-              </tgroup>
-            </informaltable></para>
+          <para>To stop a single component,</para>
 
-          <para><variablelist>
-              <varlistentry>
-                <term>NOTE:</term>
+          <programlisting>systemctl stop &lt;component-type&gt;@&lt;component-name&gt;.service</programlisting>
 
-                <listitem>
-                  <para>Some system V init system 'service hpcc-init' calls
-                  may still work and you can continue to use those. However,
-                  most Linux distributions are deprecating the service calls.
-                  We suggest calling hpcc-init directly instead of using a
-                  'service' call.</para>
-                </listitem>
-              </varlistentry>
-            </variablelist></para>
+          <para>For a CentOS 6 or other System V based systems see <link
+          linkend="hpcc-init">Appendix: hpcc-init</link>.</para>
         </sect3>
       </sect2>
 
@@ -1268,8 +1262,9 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
             <para>If the system is running, stop the HPCC system, using this
             command on <emphasis role="bold">every</emphasis> node:</para>
 
-            <programlisting>sudo /etc/init.d/hpcc-init stop
-</programlisting>
+            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStop.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
           </listitem>
 
           <listitem>
@@ -1764,9 +1759,8 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
         <title>hpcc-run.sh</title>
 
         <para><emphasis role="bold">hpcc-run.sh
-        </emphasis><emphasis><emphasis>[-c component] [-a
-        {hpcc-init|dafilesrv}] [-n &lt;value&gt;] [-s] [-S]
-        {start|stop|restart|status|setup}</emphasis></emphasis></para>
+        </emphasis><emphasis><emphasis>[-c component] [-n concurrent] [-s]
+        [-S] {start|stop|restart|status}</emphasis></emphasis></para>
 
         <para><informaltable colsep="0" frame="none" rowsep="0">
             <tgroup cols="2">
@@ -1776,17 +1770,10 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
 
               <tbody>
                 <row>
-                  <entry>-a</entry>
+                  <entry>-c, --comp</entry>
 
-                  <entry>HPCC service name. Either hpcc-init (default) of
-                  dafilesrv.</entry>
-                </row>
-
-                <row>
-                  <entry>-c</entry>
-
-                  <entry>HPCC component. For example, mydali, myroxie, mythor,
-                  etc.</entry>
+                  <entry>HPCC component. For example, dali@mydali.service,
+                  roxie@myroxie.service, etc.</entry>
                 </row>
 
                 <row>
@@ -1797,14 +1784,14 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
                 </row>
 
                 <row>
-                  <entry>-S</entry>
+                  <entry>-S, --sequentially</entry>
 
                   <entry>When specified, the command runs sequentially, one
                   host at a time.</entry>
                 </row>
 
                 <row>
-                  <entry>-s</entry>
+                  <entry>-s, --save</entry>
 
                   <entry>When specified, saves the result to a file named
                   &lt;ip address&gt;.</entry>
@@ -1827,24 +1814,22 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
 
         <para>This example starts all components on the nodes</para>
 
-        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start
+        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh systemctl start hpccsystems-platform.target
 </programlisting></para>
 
         <para>This example starts all components on all the nodes, using 8
         concurrent executions</para>
 
-        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start -n 8
-</programlisting>This example starts all components of the esp type on the
+        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh systemctl start hpccsystems-platform.target -n 8
+</programlisting>This example starts all components of the dali type on the
         nodes</para>
 
-        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -c esp -a hpcc-init start 
-</programlisting>This example starts all components with a component name
-        myesp on the nodes</para>
+        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -c dali@mydali.service start 
+</programlisting></para>
 
-        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -c myesp -a hpcc-init start 
-</programlisting>This example starts the dafilesrv helper application</para>
+        <para>This example starts the dafilesrv helper application</para>
 
-        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -a dafilesrv start
+        <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh -c dafilesrv@dafilesrv.service start 
 </programlisting></para>
       </sect2>
     </sect1>
@@ -1883,9 +1868,9 @@ sudo cp /etc/HPCCSystems/source/NewEnvironment.xml /etc/HPCCSystems/environment.
         <listitem>
           <para>dafilesrv</para>
 
-          <para><programlisting>sudo /sbin/service dafilesrv stop
+          <para><programlisting>sudo systemctl dafilesrv@dafilesrv.service stop 
 
-sudo /sbin/service dafilesrv start</programlisting><property><!--*** not for publication
+sudo systemctl dafilesrv@dafilesrv.service start</programlisting><property><!--*** not for publication
 cd /var/lib/HPCCSystems/mythor
 ...
 init_stop_thor
@@ -1899,7 +1884,11 @@ init_start_thor--></property></para>
     <sect1 id="hpcc-init">
       <title>hpcc-init</title>
 
-      <para><emphasis role="bold"> service hpcc-init
+      <para>CentOS 6 and other System V based operating systems do not support
+      the systemd calls utilized by the HPCC System. We will continue to
+      support the old System V style init.d calls.</para>
+
+      <para><emphasis role="bold">hpcc-init
       </emphasis><emphasis><emphasis>[</emphasis>option<emphasis>]</emphasis>
       command</emphasis></para>
 
@@ -2015,34 +2004,19 @@ sudo /etc/init.d/hpcc-init -c esp start
       <sect2 id="HPCC_systemd_svc">
         <title>HPCC systemd services</title>
 
-        <para>There are two HPCC systemd services: hpcc-init and dafilesrv.
-        While some hpcc-init systemd services are still developmental, users
-        can use <emphasis>/etc/init.d/hpcc-init</emphasis> and
-        <emphasis>/etc/init.d/dafilesrv</emphasis> directly. Invoking these
-        services in this way provides status in the same manner as invoking
-        them with a service command does for other HPCC processes.</para>
-
-        <para>The hpcc-init system service will only support "start", "stop"
-        and "restart" options. The other options, such as "status", "-c" are
-        not supported.</para>
-
-        <para>There are two sets of HPCC systemd service scripts:
-        <emphasis>hpcc-init.service/dafilesrv.service</emphasis> and
-        <emphasis>hpcc-init@.service/dafilesrv@.service</emphasis> installed
-        under /lib/systemd/system.</para>
+        <para>HPCC Systems is extending support and development to more
+        systemd services. We intend to continue support for Cent OS 6 and
+        other System V based systems through the hpcc-init. The hpcc-init
+        system service will support "start", "stop" and "restart" options.
+        </para>
 
-        <para>The first set does not have any output to STDOUT/STDERROR,
-        instead it logs to /var/log/syslog. To view the output:</para>
+        <para>The reporting and logging for HPCC systemd will differ from the
+        previous hpcc-init type. The systemd logs do not have any output to
+        STDOUT/STDERROR, instead it logs to /var/log/syslog. To view the
+        output:</para>
 
         <programlisting>journalctl -u &lt;service&gt; -f  </programlisting>
 
-        <para>The second set has the same output to STDOUT/STDERROR as
-        directly invoking /etc/init.d/&lt;hpcc-init|dafilesrv&gt;</para>
-
-        <para>Use either:</para>
-
-        <programlisting>sudo service &lt;service&gt; &lt;start|stop|restart&gt;</programlisting>
-
         <para>or</para>
 
         <programlisting>sudo systemctl &lt;start|stop|restart&gt; &lt;full_service_name&gt; </programlisting>
@@ -2050,13 +2024,9 @@ sudo /etc/init.d/hpcc-init -c esp start
         <para>The systemd displays the service status in it's own
         format.</para>
 
-        <programlisting>sudo service &lt;service&gt; status </programlisting>
-
-        <para>or</para>
-
         <programlisting>sudo systemctl status &lt;full_service_name&gt; </programlisting>
 
-        <para>These are different than the output from</para>
+        <para>This is different than the output from</para>
 
         <programlisting>/etc/init.d/hpcc-init status</programlisting>
 
@@ -2069,70 +2039,6 @@ sudo /etc/init.d/hpcc-init -c esp start
 
         <para>HPCC uninstall will automatically remove HPCC services from
         active list and /etc/systemd/system/ directory.</para>
-
-        <sect3 id="hpcc-init_sysd_svc_usage">
-          <title id="hpcc_systemd_usage">hpcc-init systemd service
-          usage</title>
-
-          <para>To start or stop HPCC with hpcc-init without STDOUT/STDERR
-          output: <orderedlist>
-              <listitem>
-                <para>Start</para>
-
-                <programlisting>sudo service hpcc-init start </programlisting>
-
-                <para>or</para>
-
-                <programlisting>sudo systemctl start hpcc-init.service</programlisting>
-              </listitem>
-
-              <listitem>
-                <para>Check</para>
-
-                <programlisting>sudo journalctl -u hpcc-init -f</programlisting>
-              </listitem>
-
-              <listitem>
-                <para>Stop</para>
-
-                <programlisting>sudo service hpcc-init stop </programlisting>
-
-                <para>or</para>
-
-                <programlisting>sudo systemctl stop hpcc-init.service</programlisting>
-              </listitem>
-            </orderedlist></para>
-
-          <para>To start/stop HPCC with hpcc-init with STDOUT/STDERR output.
-          Get current tty by running "tty". For example, tty -&gt; /dev/pts/1.
-          "pts/1" will be used in following commands. <orderedlist>
-              <listitem>
-                <para>Start</para>
-
-                <programlisting>sudo service hpcc-init@pts/1 start</programlisting>
-
-                <para>or</para>
-
-                <programlisting>sudo systemctl start hpcc-init@pts/1.service</programlisting>
-              </listitem>
-
-              <listitem>
-                <para>Check</para>
-
-                <programlisting>sudo journalctl -u hpcc-init -f</programlisting>
-              </listitem>
-
-              <listitem>
-                <para>Stop</para>
-
-                <programlisting>sudo service hpcc-init@pts/1 stop</programlisting>
-
-                <para>or</para>
-
-                <programlisting>sudo systemctl stop hpcc-init@pts/1.service</programlisting>
-              </listitem>
-            </orderedlist></para>
-        </sect3>
       </sect2>
     </sect1>
 
@@ -2325,12 +2231,12 @@ sudo /etc/init.d/hpcc-init -c esp start
 
             <para>For example :</para>
 
-            <programlisting> sudo service hpcc-init start </programlisting>
-
-            <para>or</para>
+            <xi:include href="Installing_and_RunningTheHPCCPlatform/Inst-Mods/SysDStart.xml"
+                        xpointer="element(/1)"
+                        xmlns:xi="http://www.w3.org/2001/XInclude" />
 
-            <programlisting>sudo service hpcc-init restart </programlisting>
 
+ 
             <para>For more information see the <link
             linkend="Starting-and-stopping">Starting-and-stopping</link> the
             HPCC System in the <emphasis>Installing and Running The HPCC

+ 2 - 2
docs/EN_US/RuningHPCCinAmazonWebServicesEC2/RuningHPCCinAmazonWebServicesEC2.xml

@@ -648,7 +648,7 @@
               <para>Use the hpcc-run.sh script below to start all components
               on the nodes.</para>
 
-              <para><programlisting>sudo -u hpcc /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start </programlisting></para>
+              <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh systemctl start hpccsystems-platform.target</programlisting></para>
             </listitem>
 
             <listitem>
@@ -2069,7 +2069,7 @@
           <para>Use the <emphasis role="bluebold">hpcc-run.sh</emphasis>
           script below to start all components on the nodes.</para>
 
-          <para><programlisting>sudo -u hpcc /opt/HPCCSystems/sbin/hpcc-run.sh -a hpcc-init start</programlisting></para>
+          <para><programlisting>sudo /opt/HPCCSystems/sbin/hpcc-run.sh systemctl start hpccsystems-platform.target</programlisting></para>
         </listitem>
 
         <listitem>