Merge "clean up of section_sahara-install"

This commit is contained in:
Jenkins 2015-02-02 00:58:21 +00:00 committed by Gerrit Code Review
commit d7d7d38e97

View File

@ -76,14 +76,31 @@ identity_uri = http://<replaceable>controller</replaceable>:35357</programlistin
</para></step> </para></step>
</substeps> </substeps>
</step> </step>
<step><para>If you use the Data processing service with a MySQL database, <step>
then for storing big job binaries in the sahara internal database you must <para>If you use the Data processing service with a MySQL or MariaDB
configure the size of max allowed packets. Edit the <filename>my.cnf</filename> database, you must configure the maximum number of allowed packets for
file and change parameter: storing big job binaries in the service internal database.</para>
<programlisting language="ini">[mysqld] <substeps>
<step>
<para>Edit the
<filename os="ubuntu;debian">/etc/mysql/my.cnf</filename>
<filename os="rhel;centos;fedora;sles;opensuse">/etc/my.cnf</filename>
file and change the <literal>max_allowed_packet</literal>
option:</para>
<programlisting language="ini">[mysqld]
max_allowed_packet = 256M</programlisting> max_allowed_packet = 256M</programlisting>
and restart MySQL server. </step>
</para></step> <step>
<para>Restart the database service:</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service mysql restart</userinput></screen>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>systemctl restart mariadb.service</userinput></screen>
<para os="sles;opensuse">On SLES:</para>
<screen os="sles"><prompt>#</prompt> <userinput>service mysql restart</userinput></screen>
<para os="sles;opensuse">On openSUSE:</para>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl restart mysql.service</userinput></screen>
</step>
</substeps>
</step>
<step os="rhel;centos;fedora;opensuse;sles;ubuntu"><para>Create database schema: <step os="rhel;centos;fedora;opensuse;sles;ubuntu"><para>Create database schema:
<screen><prompt>#</prompt> <userinput>sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head</userinput></screen> <screen><prompt>#</prompt> <userinput>sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head</userinput></screen>
</para></step> </para></step>