Aded comment about the need for unit of measure in max_allowed_packet
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Wed, 22 Feb 2006 00:12:59 +0000 (00:12 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Wed, 22 Feb 2006 00:12:59 +0000 (00:12 +0000)
org.glite.deployment.lb/config/scripts/glite-lb-config.py
org.glite.deployment.lb/config/templates/glite-lb.cfg.xml
org.glite.deployment.lb/project/version.properties

index 167539a..f7f3729 100644 (file)
@@ -6,7 +6,7 @@
 # For license conditions see the license file or http://eu-egee.org/license.html
 #
 ################################################################################
-# glite-lb-config v. 2.1.1
+# glite-lb-config v. 2.1.2
 #
 # Post-installation script for configuring the gLite Logging and Bookkeping Server
 # Robert Harakaly < robert.harakaly@cern.ch >
@@ -48,7 +48,7 @@ class glite_lb:
     def __init__(self):
         self.mysql = MySQL.Mysql()
         self.verbose = 0
-        self.version = "2.1.1"
+        self.version = "2.1.2"
         self.name = "glite-lb"
         self.friendly_name = "gLite Logging and Bookkeeping"
         
@@ -246,7 +246,7 @@ python %s-config [OPTION...]""" % (self.name, os.environ['GLITE_LOCATION'], \
         #--------------------------------------------------------
 
         # Set mysql parameters
-        #self.mysql.setConfiguration('client','max_allowed_packet',params['mysql.max_allowed_packet'])
+        #self.mysql.setConfiguration('mysql','loose-max_allowed_packet',params['mysql.max_allowed_packet'])
         self.mysql.setConfiguration('mysqld','max_allowed_packet',params['mysql.max_allowed_packet'])
         
         # start MySQL
index 25891ed..4e11e33 100644 (file)
@@ -51,8 +51,9 @@
                <mysql.max_allowed_packet
                        description="This parameter allows to set the max_allowed_packet parameter in the mysql
                                configuration file /etc/my.cnf. The default recommended value for the LB server is 17MB
-                               [Example: 17][Type: Integer][Unit: MB]"
-                       value="17"/>
+                               It must be a number followed by a unit symbol, like M for megabytes or G for gigabytes.
+                               [Example: 17M][Type: Integer][Unit: MB]"
+                       value="17M"/>
 
                <!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
                <!-- System parameters - You should leave these alone -->
index fd56734..4d67068 100644 (file)
@@ -1,4 +1,4 @@
 
-module.version = 2.1.1
+module.version = 2.1.2
 module.age = 1
                                
\ No newline at end of file