Linux Platform Installation Notes
[ Main document |
Back ]
Eloquence B.07.00 requires a license key version B.07.00 or above.
For a new Eloquence installation or when upgrading from a previous
Eloquence version a new license key must be obtained to use the
Eloquence server components.
The default license file includes a license key for the Eloquence
Personal Edition. Please request a new permanent license key
using the form included with the delivery or refer to the
Eloquence web site
at URL
http://eloquence.marxmeier.com/license.
Eloquence B.07.00 for the Linux platform is available in separate
packages for glibc2.2, glibc2.1 based systems and Red Hat Linux 8.x.
Eloquence B.07.00 no longer supports glibc2.0 (aka libc6) and libc5
based Linux systems.
glibc2.2 based systems
Recent Linux distributions (such as SuSE 8.x or Red Hat 7.x) are based
on the glibc2.2 library and it is recommended to use the Eloquence
glibc2.2 package for installation.
Please make sure that at least following shared library versions are
installed:
Eloquence provides its own copy of the following libraries in the
/opt/eloquence6/lib directory:
Those libraries have been included to solve compatibility problems
with various Linux distributions using possibly incompatible versions
of those libraries.
These libraries can be removed to make use of the shared library
installed on the system.
Eloquence B.07.00 has been compiled with gcc2.95.3 for the glibc2.2
build.
glibc2.1 based systems
For compatibility with previous Linux distributions (such as SuSE 7.x
or Red Hat 6.x) a glibc2.1 based build is available.
Please make sure that at least following shared library versions are
installed:
Eloquence provides its own copy of the following libraries in the
/opt/eloquence6/lib directory:
- libncurses.so.4.2
- libstdc++-libc6.1-1.so.2
Those libraries have been included to solve compatibility problems
with various Linux distributions using possibly incompatible versions
of those libraries.
These libraries can be removed to make use of the shared library
installed on the system.
Eloquence B.07.00 has been compiled with egcs-1.1.2 for the glibc2.1
build.
Red Hat 8.x based systems
Due to incompatibilities with the glibc version used with Red Hat 8.x
a separate build has been created.
The following problems are know with Eloquence on Red Hat 8.x:
-
eloqdb6 crashes with a segmentation violation (SIGSEGV) when
reverse dns lookup is enabled. As a workaround, make sure to
set NODNS=1 in the eloqdb6.cfg configuration file (this is the
default as of B.06.32).
-
Eloqcore encounters unexpected SIGIO signals. Eloqcore uses the
SIGIO signal to get a notification of pending keyboard (or TIO
and network) events. On Red Hat 8.0 a SIGIO is also encountered
when writing to stdout. This causes a (slight) performance
degradation and may result in subsequent failures due to corner
cases. This might indicate a problem in the Linux kernel as used
in Red Hat 8.0 and does not happen with other Linux kernel versions.
This Eloquence B.06.32 build has been compiled with gcc3.2 and depends
on the glibc2.2.93.
Linux kernel version
Eloquence should work with any Linux kernel version 2.2 and
above. You are encouraged to use the latest stable kernel version
which fits for your installed system. New kernel versions include
bug fixes, updated drivers and security fixes. Your distribution should
provide an updated kernel package which fits for your base system.
We do not recommend to use early Linux 2.4 kernels (before version
2.4.6) in production environments. Database corruption has been
reported when using early Linux 2.4 kernel versions.
For new installations, a recent glibc2.2 based distribution (such as
SuSE 8.x or Red Hat 8.x) is recommended.
Future Eloquence releases may no longer support Linux kernel versions
below 2.4 and glibc2.1 based systems.
Installation
Eloquence is available as a rpm package. The rpm package is not
specific to a particuar Linux distribution however it has only been
tested against SuSE and Red Hat distributions. If you encounter a
problem during installation, please send us a notice at
support@marxmeier.com.
Please check the Eloquence web site for
updates and patches.
Note:
Any previous HP Eloquence product (B1368B) must be uninstalled
before Eloquence can be installed. A rpm update is not possible.
Please refer to the update section below for details.
To install Eloquence execute the command below:
rpm -i Eloquence-B0700.glibc2.2-*.i386.rpm
To update an existing Eloquence installation, please shut down
Eloquence and execute the commands below:
- SuSE Linux 7.1 and above:
/etc/init.d/eloq6 stop
rpm -U Eloquence-B0700.glibc2.2-*.i386.rpm
/etc/init.d/eloq6 start
- SuSE Linux before 7.1:
/sbin/init.d/eloq6 stop
rpm -U Eloquence-B0700.glibc2.1-*.i386.rpm
/sbin/init.d/eloq6 start
- Red Hat Linux:
/etc/rc.d/init.d/eloq6 stop
rpm -U Eloquence-B0700.glibc2.2-*.i386.rpm
/etc/rc.d/init.d/eloq6 stop
- LSB complient Linux:
/etc/init.d/eloq6 stop
rpm -U Eloquence-B0700.glibc2.2-*.i386.rpm
/etc/init.d/eloq6 stop
Installation of automatic startup of Eloquence servers during boot
is only performed for SuSE, Red Hat and LSB copliant distributions.
If you are using another Linux distribution, you need to add the
start and shutdown scripts manually. Template files are provided
in the directory /opt/eloquence6/newconfig/startup.
We kindly ask to consider submitting modifications or adaptions
for possible integration into new Eloquence versions. Please contact
the Eloquence team at feedback@marxmeier.com.
Updating from a previous Eloquence version
When updating from a previous Eloquence release the following
actions should be performed in additon to updating the software.
Note:
Eloquence cannot update a previous HP Eloquence installation.
Eloquence uses a different package name than previous HP Eloquence
releases and cannot be installed without uninstalling any previous
HP Eloquence release.
To uninstall a previous HP Eloquence release, execute the
command below:
rpm -e B1368B
This will remove the HP Eloquence product but leaves the
configuration files in place.
License key
Eloquence B.07.00 requires a license key version B.07.00 or above.
For a new Eloquence installation or when upgrading from a previous
Eloquence version a new license key must be obtained to use the
Eloquence server components.
If you are using the commercial Eloquence version, please request
the appropriate license key before updating Eloquence. Currently
no temporary license key is generated on the Linux platform during
installation.
The new license key can be requested by either submitting the Form
enclosed with your software update or on-line at the Eloquence
web site:
http://eloquence.marxmeier.com/license.
Please comment out the previous license key when adding the new B.07.00
license key to your license file /etc/opt/eloquence6/license.
Otherwise the new license may not be recognized and chklic might
output a message like below:
B.06.32: Bad license key revision.
Duplicate sequence number: Ignoring license
Eloquence Personal Edition
With the Eloquence Personal Edition, please copy the B.07.00
license file template to /etc/opt/eloquence6/license. The new
license file includes an updated license key for the Eloquence
Personal Edition.
cp /opt/eloquence6/newconfig/config/license \
/etc/opt/eloquence6/license
Startup configuration
The B.07.00 startup script provides additional configuration options
and uses a new startup configuration file template which supports
multiple eloqdb6 instances. Previous startup configuration files are
compatible. It is recommended to use a new template configuration file
and manually change any options.
The default startup configuration file is /etc/sysconfig/eloquence6
cp /opt/eloquence6/newconfig/startup/eloquence6 \
/etc/sysconfig/eloquence6
The following locations are supported. During installation if a
previous startup configuration file is recognized, it is moved to the
new location.
- Red Hat Linux:
-
/etc/sysconfig/eloquence6
- SuSE Linux:
-
/etc/sysconfig/eloquence6 (SuSE 8.0+)
-
/etc/rc.config.d/eloquence6 (up to SuSE 7.3)
- LSB compliant Linux:
-
/etc/sysconfig/eloquence6
Ext2 filesystem performance in sync write mode
The algorithm used by the ext2 filesystem for syncing buffers to disk
is inefficient for big files in Linux kernel versions before 2.4.
When using the eloqdb6 in sync write mode (which is the default now)
this may cause delays and the system may seem to stall for a few
seconds when eloqdb6 performs a checkpoint operation (by default
every 60 seconds). This gets noticeable when the database volume
files grow beyond 300 MB and gets worse the bigger the files get.
The solution is to use a larger block size for the ext2 filesystem
which holds the database.
File system block size
The eloqdb6 database server always accesses the volume
files in 8 KB block units. Those read or write requests can be
combined to access up to 64 KB at a time.
Classical UNIX file systems are usually organized in blocks. The file
system block size can be choosen at file system creation time (eg. on
Linux by using the -b 4096 command line argument to mk2efs would result
in a 4KB block size).
For the Linux ext2 file system, the default block size used to be 1 KB
for older distributions. The current mk2efs uses a block size of 4 KB.
In order to maintain your data on the disk, the operating system
maintains additional information where your data is located on disk.
When files get bigger so does the overhead to keep track where your
data is located.
Enlarging the file system block size greatly reduces the amount of
overhead required to maintain your data if you use big files (as
eloqdb6 does) at the expense of using slightly more disk space for
small files.
In addition to the data blocks (holding the file contents)
additional information is maintained where the data blocks are actually
located on the disk. When the file size exceeds a trivial size, the
location of the data blocks is also maintained in a separate block
on disk (indirect blocks - which the OS also needs to keep track of).
At some point (depending on file size and block size) you need blocks
that specify the location of blocks that specify the location of your
data on disk (double indirection). At this point maintaining this
information becomes a factor when reading or writing the database.
While a block size of 8 KB would be a "perfect fit", the max. usable
block size depends on the architecture (processor). On the x86 this is 4 KB.
We recommend to specify a block size of 4 KB for the Linux platform
to create a file system dedicated to hold your database.
|