Configuring Informix® Warehouse Accelerator for hardware clusters
You must configure Informix® Warehouse Accelerator before you can enable query acceleration and set up the connection between the accelerator server and the database server. In a cluster system, one accelerator server coordinator node uses the first cluster node, and then each cluster node that you add to the cluster becomes an accelerator server worker node.
Before you begin
About this task
Configure the accelerator server by identifying the network interface, creating a storage directory, editing the parameters in the dwainst.conf configuration file, and creating a cluster.conf file.
Procedure
- On one of the cluster nodes where the accelerator server is installed, log on as user root.
- Determine the correct network interface
value to use for the connection from the Informix® database
server to the accelerator server:
- On the shared cluster file system, create a
directory to use as the accelerator server storage directory.
The storage directory must be accessible with the same path on all
cluster nodes. Create this directory with enough space to store the
accelerator server catalog, data marts, logs, traces, and so on.
For example:
Because the amount of data in the accelerator server storage directory might increase significantly, do not create the accelerator server storage directory in the accelerator server installation directory.$ mkdir $IWA_INSTALL_DIR/dwa/demo
- Open the $IWA_INSTALL_DIR/dwa/etc/dwainst.conf configuration
file. Review and edit the values in the dwainst.conf configuration file:
- In the $IWA_INSTALL_DIR/dwa/etc directory,
create a file named cluster.conf to store the
host names or IP addresses of the cluster nodes. In the cluster.conf file,
enter one cluster node per line. For example:
The order that you list the hosts names (or their IP addresses) of the cluster nodes is the order that the cluster nodes are started or stopped with the ondwa start and ondwa stop commands.node0001 node0002 node0003 node0004
- Use the ondwa commands to set up and
start the accelerator server. You can run the ondwa commands
from any node in the cluster. The ondwa commands
apply to all the nodes listed in the cluster.conf file.