Installing the Grid DataBlade
The instructions here could apply to many
DataBlades.
Create a new database
We'll need a database to work with (
DataBlades are installed on a per-database basis). To do this, run
dbaccess - - <<!
drop database grdtest;
create database grdtest with buffered log;
!
On our system, this was simply a matter of extracting the Grid1010.tar.gz file into
$INFORMIXDIR/extend, which created a directory called
$INFORMIXDIR/extend/Grid.1.0.1.0. (with permissions 755)
Fix problems with blademgr
If running Red Hat 9.0, the supplied blade manager does not work. To fix this, use the following instructions (taken from
https://www.metnet.navy.mil/~hofschnr/Informix/9.4UC2-and-9.0.html):
- Download old versions of some shared libraries from here.
- Make a new directory
$INFORMIXDIR/lib/blademgr.
- Extract the downloaded shared libraries into this directory.
- Create symbolic links:
ln -s ld-2.2.5.so ld-linux.so.2, ln -s libc-2.2.5.so libc.so.6, ln -s libnss_files-2.2.5.so libnss_files.so.2
- Move the original blademgr executable
$INFORMIXDIR/bin/blademgr into $INFORMIXDIR/lib/blademgr.
- Create a shell script called
blademgr (with permissions 755) in $INFORMIXDIR/bin to load the shared libraries and run the original executable:
#!/bin/sh
LD_LIBRARY_PATH=/opt/informix/lib/blademgr /opt/informix/lib/blademgr/blademgr
Register Grid DataBlade for the database
In order to use the Grid
DataBlade, you will need to register both the Grid and the Spatial
DataBlades with the database (the Spatial
DataBlade can be installed straight off the rpm on the CD - see
InstallingInformixSpatial). To register a datablade, run
blademgr, then type
register <blade name> <database name> (e.g.
register spatial.8.20.UC1 grdtest, then
register Grid.1.0.1.0 grdtest. The name of the
DataBlade is the name of the directory in
$INFORMIXDIR/extend).
--
JonBlower - 16 Jun 2004