From 53f19edb5795cbb31263f00a01d443f222deb970 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 7 Oct 2011 18:06:00 +0200 Subject: rteval-parsed/rteval-xmlrpc v1.5 Signed-off-by: David Sommerseth --- server/README.xmlrpc | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'server/README.xmlrpc') diff --git a/server/README.xmlrpc b/server/README.xmlrpc index 438657a..20bade2 100644 --- a/server/README.xmlrpc +++ b/server/README.xmlrpc @@ -21,7 +21,7 @@ track how each system changes behaviour on different kernels. ** Requirements ** - Apache web server - - mod_python-3.3.x + - mod_python-3.3.x OR mod_wsgi-3.2 or newer. - PostgreSQL v8.3 or later - rteval 1.12 or later @@ -37,7 +37,7 @@ The default path used for the rteval client is If you have a HTTP setup which will follow this scheme, you do not need to change any URLs at all. -When installing the rteval-xmlrpc-1.1 RPM on a Fedora/RHEL based box, +When installing the rteval-xmlrpc-1.4 RPM on a Fedora/RHEL based box, Apache will be automatically configured. But the Apache web server will need to be restarted when you have setup the database. @@ -56,7 +56,7 @@ All reports are saved in a database. If you have not used the rteval-xmlrpc interface before, you need to create the needed database user and database, execute the following command line: - # psql < /usr/share/doc/rteval-xmlrpc-1.1/rteval-1.2.sql + # psql < /usr/share/doc/rteval-xmlrpc-1.5/rteval-1.4.sql This script will first create a database user called 'rtevxmlrpc' and 'rtevparser', assign default password before creating the database called @@ -69,10 +69,11 @@ directory. You need to allow the xmlrpc user access from the web server. pg_hba.conf entry example: - +----------------------------------------------------------------- # TYPE DATABASE USER CIDR-ADDRESS METHOD hostssl rteval rtevxmlrpc 127.0.0.1/32 md5 hostssl rteval rtevparser 127.0.0.1/32 md5 +----------------------------------------------------------------- The XML-RPC database connector will always try to connect via SSL. To modify the default password, connect to the database with psql and @@ -106,12 +107,21 @@ To find out which schema version you using, do the following: This indicates that the database is at the schema version 1.1. If you do not have the rteval_info table, you are for sure on schema version 1.0. -* Update from schema version 1.0 to 1.1 +* Update from SQL schema version 1.0 to 1.1 psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.0_1.1.sql -* Update from schema version 1.2 to 1.2 +* Update from SQL schema version 1.1 to 1.2 psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.1_1.2.sql +* Update from SQL schema version 1.2 to 1.3 + psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.2_1.3.sql + +* Update from SQL schema version 1.3 to 1.4 + psql rteval < /usr/share/doc/rteval-xmlrpc-1.1/delta-1.3_1.4.sql + +You need to upgrade to the latest SQL schema available, and you must upgrade +sequentially through all the version in between your version and the latest. + ** ** Building an installing from source @@ -137,7 +147,7 @@ install'. The default install prefix is /usr/local, unless you changed it with --prefix=. You will then find the rteval_parserd installed under /usr/local/bin/rteval_parserd and README files, the SQL scripts and an Apache config file will be found -under /usr/local/share/doc/rteval-parser-1.1/ +under /usr/local/share/doc/rteval-parser-1.5/ The Apache configuration file can be copied into the configuration directory Apache uses for its modules. On RHEL/Fedora based -- cgit