Difference between revisions of "Seon Core installation"

From Seon
Jump to: navigation, search
(New page: == TAR Package == Unpack the provided tar archive file for your platform. You get the following directory structure: dist |-- apache | `-- images | `-- sounds |-- etc |...)
 
Line 39: Line 39:
 
=== incoming ===
 
=== incoming ===
 
Incoming files which get successfully transfered by seonrd get placed here. This should be an own filesystem. It must also be on the same filesystem as the directory „tmp“ (see below). The user running the Seon processes must have read, write and execute permissions on that directory. For easy administration, set permissions to 777 (a+rwx).
 
Incoming files which get successfully transfered by seonrd get placed here. This should be an own filesystem. It must also be on the same filesystem as the directory „tmp“ (see below). The user running the Seon processes must have read, write and execute permissions on that directory. For easy administration, set permissions to 777 (a+rwx).
 +
 +
=== outgoing ===
 +
For availability reasons, we suggest to use an own filesystem for outgoing files. The send queue daemon can send every file available on the system.
 +
 +
=== rrd ===
 +
Statistical files (like RRDtool database files) are stored in this directory. Per partner about 320kB of data is needed.
 +
 +
=== scripts ===
 +
Event scripts are stored in this directory by default. These scripts are called whenever a session is started or ended, files start to transfer or the end of transfer is reached.
 +
 +
=== tmp ===
 +
Temporary files like files during the receiving process are stored in this directory. After successful transfer they are moved into the incoming directory. Keep in mind to set the size to the maximum file size you can receive because these files will be temporarily stored into this directory.
 +
This directory must be on the same filesystem as <code>[[Seon Core installation#incoming|incoming]]</code>, otherwise the moving process cannot be done. The user running the Seon processes must have read, write and execute permissions on that directory. For easy administration, set permissions to 777 (a+rwx).
 +
 +
== Notes about upgrades ==
 +
If you upgrade from an older Seon version, you will see that the names of the binaries have changed. Some new binaries are new, others (like „seoneq“) have a new name („seoneq2“). A symbolic link is created to support the complete web interface for the older and the newer Seon version. The web interface calls all binaries without the appendix „2“, so without the links (i.e. „seoneq“ -> „seoneq2“, „seonsqd“ -> „seonsqd2“ and so on), the web interface will display errors.

Revision as of 14:12, 9 April 2007

TAR Package

Unpack the provided tar archive file for your platform. You get the following directory structure:

dist 
|-- apache 
|   `-- images 
|   `-- sounds 
|-- etc 
|-- opt 
|   `-- seon 
|       |-- backup 
|       |-- bin 
|       |-- cert 
|       |-- incoming 
|       |-- outgoing 
|       |-- rrd 
|       |-- scripts 
|       `-- tmp 
`-- sql 

Filesystem directories

The created directory structure under "/opt" shows a suggestion for a standard installation. All directories will get defined via web interface, so keep in mind that the names can change. An explanation for each directory is as follows:


backup

In this directory, backup files of the MySQL database can be stored. The scripts seonbackup and seonrestore use this directory.

bin

The binaries of the installation are stored here. The directory must at least contain the following binaries:

  • seoneq2 – program to enqueue files into the send queue
  • seonped2 – program to edit partner entries in the database
  • seonrd2 – the receiving daemon
  • seonsqd2 – the send queue daemon

cert

Global certificates, needed for resolving certificate chain resolution, are stored in this directory.

incoming

Incoming files which get successfully transfered by seonrd get placed here. This should be an own filesystem. It must also be on the same filesystem as the directory „tmp“ (see below). The user running the Seon processes must have read, write and execute permissions on that directory. For easy administration, set permissions to 777 (a+rwx).

outgoing

For availability reasons, we suggest to use an own filesystem for outgoing files. The send queue daemon can send every file available on the system.

rrd

Statistical files (like RRDtool database files) are stored in this directory. Per partner about 320kB of data is needed.

scripts

Event scripts are stored in this directory by default. These scripts are called whenever a session is started or ended, files start to transfer or the end of transfer is reached.

tmp

Temporary files like files during the receiving process are stored in this directory. After successful transfer they are moved into the incoming directory. Keep in mind to set the size to the maximum file size you can receive because these files will be temporarily stored into this directory. This directory must be on the same filesystem as incoming, otherwise the moving process cannot be done. The user running the Seon processes must have read, write and execute permissions on that directory. For easy administration, set permissions to 777 (a+rwx).

Notes about upgrades

If you upgrade from an older Seon version, you will see that the names of the binaries have changed. Some new binaries are new, others (like „seoneq“) have a new name („seoneq2“). A symbolic link is created to support the complete web interface for the older and the newer Seon version. The web interface calls all binaries without the appendix „2“, so without the links (i.e. „seoneq“ -> „seoneq2“, „seonsqd“ -> „seonsqd2“ and so on), the web interface will display errors.