From 9e148dcab88970d14c7860e8e09d7aacc22c388f Mon Sep 17 00:00:00 2001 From: Shawhin Tech Date: Sun, 18 Jan 2015 16:06:33 -0500 Subject: [PATCH] clean up of section_sahara-install changed verbiage and sentence structure for clarity Co-Authored-By: Matt Kassawara backport: juno Change-Id: Ib2aad429c77b39f5f568306da18dbe3d67c71938 --- doc/install-guide/section_sahara-install.xml | 31 +++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/doc/install-guide/section_sahara-install.xml b/doc/install-guide/section_sahara-install.xml index a7befdaa42..70b017ceb3 100644 --- a/doc/install-guide/section_sahara-install.xml +++ b/doc/install-guide/section_sahara-install.xml @@ -76,14 +76,31 @@ identity_uri = http://controller:35357 - If you use the Data processing service with a MySQL database, - then for storing big job binaries in the sahara internal database you must - configure the size of max allowed packets. Edit the my.cnf - file and change parameter: - [mysqld] + + If you use the Data processing service with a MySQL or MariaDB + database, you must configure the maximum number of allowed packets for + storing big job binaries in the service internal database. + + + Edit the + /etc/mysql/my.cnf + /etc/my.cnf + file and change the max_allowed_packet + option: + [mysqld] max_allowed_packet = 256M - and restart MySQL server. - + + + Restart the database service: + # service mysql restart + # systemctl restart mariadb.service + On SLES: + # service mysql restart + On openSUSE: + # systemctl restart mysql.service + + + Create database schema: # sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head