Skip to content
Snippets Groups Projects
Commit c222b9a4 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

upravy pro vydani balicku warden-server-2.0.0-beta1

parent 950d8973
No related branches found
No related tags found
No related merge requests found
2012-07-20 v2.0.0 stable package
--------------------------------
- MySQL database engine used
- Apache used to support faster multithread processing (communication switched to HTTPs protocol)
- enhanced authentization and authorization
- enhanced support of Alternate Names in SSL certificates
- added automatic reconnect to DB
- other minor bugs and issues fixed
2012-03-02 v0.1.0 beta version 2012-03-02 v0.1.0 beta version
------------------------------ ------------------------------
- initial release of the Warden server - initial release of the Warden server
......
+------------------------------+ +------------------------------+
| README - Warden Server 0.1.0 | | README - Warden Server 2.0.0 |
+------------------------------+ +------------------------------+
Content Content
...@@ -23,36 +23,37 @@ A. Overall Information ...@@ -23,36 +23,37 @@ A. Overall Information
2. Version 2. Version
0.1.0 (2012-03-02) 2.0.0 (2012-07-20)
3. Package structure 3. Package structure
warden-server/ warden-server/
bin/ bin/
create_tables.sh
getClients.pl getClients.pl
getStatus.pl getStatus.pl
getWebStatus.sh
registerReceiver.pl registerReceiver.pl
registerSender.pl registerSender.pl
unregisterClients.pl unregisterClients.pl
warden-alive
wardend
warden-server.pl
doc/ doc/
AUTHORS
CHANGELOG CHANGELOG
INSTALL INSTALL
LICENSE LICENSE
README README
warden.mysql
etc/ etc/
package_version
warden-apache.conf
warden-client.conf warden-client.conf
warden-server.conf warden-server.conf
package_version
lib/ lib/
WardenConf.pm WardenConf.pm
Warden.pm
WardenReg.pm WardenReg.pm
WardenStatus.pm WardenStatus.pm
var/ Warden/
warden.db ApacheDispatch.pm
uninstall.sh uninstall.sh
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
...@@ -61,36 +62,36 @@ B. Installation Dependencies ...@@ -61,36 +62,36 @@ B. Installation Dependencies
1. Applications: 1. Applications:
Perl >= 5.10.1 Perl >= 5.10.1
SQLite >= 3.7.3 MySQL >= 5.1.63
Apache >= 2.2.14
2. Perl modules: 2. Perl modules:
SOAP::Lite >= 0.712 SOAP::Lite >= 0.712
SOAP::Transport::TCP >= 0.712 SOAP::Transport::HTTP >= 0.712
File::Pid >= 1.01
POSIX >= 1.17
DBI >= 1.612 DBI >= 1.612
DBD::SQLite >= 1.29 DBD::mysql >= 4.016
Format::Human::Bytes >= 0.05 Format::Human::Bytes >= 0.05
Sys::Syslog >= 0.27 Sys::Syslog >= 0.27
File::Basename >= 2.77 File::Basename >= 2.77
FindBin >= 1.50
Net::CIDR::Lite >= 0.21 Net::CIDR::Lite >= 0.21
DateTime >= 0.61 DateTime >= 0.61
Getopt::Std >= 1.06 Getopt::Std >= 1.06
Switch >= 2.14 Switch >= 2.14
IO::Socket::SSL >= 1.33 IO::Socket::SSL >= 1.74
MIME::Base64 >= 3.08
Crypt::X509 >= 0.40
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
C. Installation C. Installation
1. Check SHA1 checksum of the Warden server package archive. 1. Check SHA1 checksum of the Warden server package archive.
$ sha1sum -c warden-server-0.1.0.tar.gz.sig $ sha1sum -c warden-server-2.0.0.tar.gz.sig
2. Untar it. 2. Untar it.
$ tar xzvf warden-server-0.1.0.tar.gz $ tar xzvf warden-server-2.0.0.tar.gz
3. Run install.sh. 3. Run install.sh.
...@@ -102,8 +103,9 @@ C. Installation ...@@ -102,8 +103,9 @@ C. Installation
4. Configuration files 4. Configuration files
You are advised to check configuration file warden-server.conf and You are advised to check configuration file warden-apache.conf,
warden-client.conf in warden-server/etc/ directory after installation. warden-server.conf and warden-client.conf in warden-server/etc/
directory after installation.
Although this is the Warden server package it also contains several Although this is the Warden server package it also contains several
functions (for administration and maintenance) that are strictly functions (for administration and maintenance) that are strictly
...@@ -137,35 +139,48 @@ C. Installation ...@@ -137,35 +139,48 @@ C. Installation
The Warden server configuration file contains: The Warden server configuration file contains:
ADDRESS - IP address/domain name of the Warden server
e.g. warden.server.com
PORT - used TCP port for the Warden server
e.g. 443
BASEDIR - base directory of the Warden server BASEDIR - base directory of the Warden server
e.g. /opt/warden-server/ e.g. /opt/warden-server/
VARDIR - var directory FACILITY - syslog facility
e.g. $BASEDIR/var/ e.g. local7
LOGDIR - logging directory DB_NAME - MySQL database name of Warden server
e.g. /var/log/ e.g. warden
PIDDIR - Process ID directory
e.g. /var/run/
SSL_KEY_FILE - path to the server SSL certificate key file DB_USER - MySQL database user of Warden server
e.g. /etc/ssl/private/warden.server.com.key e.g. warden
SSL_CERT_FILE - path to the server SSL certificate file DB_PASS - MySQL database password of Warden server
e.g. /etc/ssl/certs/warden.server.com.pem
DB_HOST - MySQL database host
SSL_CA_FILE - path to a CA certificate file e.g. localhost
e.g. /etc/ssl/certs/tcs-ca-bundle.pem
c) warden-apache.conf
The Apache2 configuration file for Warden server
SSLEngine on
SSLVerifyDepth 3
SSLVerifyClient require
SSLOptions +StdEnvVars +ExportCertData
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile <path_to_server_certificate>
SSLCertificateKeyFile <path_to_server_certificate_key>
SSLCACertificateFile <path_to_CA_certificate>
PerlOptions +Parent
PerlSwitches -I <path_to_warden_server_libs>
<Location /Warden>
SetHandler perl-script
PerlHandler Warden::ApacheDispatch
SSLOptions +StdEnvVars
</Location>
FACILITY - syslog facility
e.g. local7
5. Usage of install.sh 5. Usage of install.sh
...@@ -196,42 +211,21 @@ D. Miscellaneous ...@@ -196,42 +211,21 @@ D. Miscellaneous
1. Error Messages 1. Error Messages
Error messages of the server functions are sent via Syslog to log file, Error messages of the server functions are sent via Syslog.
default is /var/log/messages. Default is local7 facility.
During installation, until Syslog reporting is initiated, error
messages may be reported to the standard error output instead.
2. Init Script
Usage: /etc/init.d/wardend [start|stop|status|restart|force-stop]
The PID of the Warden server process is stored in
/var/run/warden-server.pl.pid.
The lock file is placed in /var/lock/warden-server.
To start the Warden server after rebooting, set init script
/etc/init.d/wardend to runlevels configuration system.
3. Nagios Integration
Nagios check is available via Nagios plugin located in
/opt/warden-server/bin/warden-alive.
4. Firewall Settings 2. Firewall Settings
Make sure that the TCP port listed in warden-server.conf ($PORT variable) Make sure that the TCP port listed in /etc/apache2/sites-enables/default
is allowed on your firewall. is allowed on your firewall.
5. Privileges 3. Privileges
The Warden server runs only under root privileges. The Warden server runs only under root privileges.
6. Known Issues 4. Known Issues
Benchmarking of the Warden system showed that the system is capable of No issues are known.
sending/receiving about 4 events per second.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
E. Registration of Clients E. Registration of Clients
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment