Scripts
This section describes the scripts that are included with the HCL Informix®Informix Virtual Appliance.
The following descriptions are included:
Scripts for use with the Informix demonstration environment
Use these scripts to create, remove, and configure
the demonstration database environment. These scripts are in $INFORMIXDIR/bin and
must be run as user informix.
Script nName | Description |
---|---|
createDemo | Creates and starts the demonstration instance with the default settings. |
removeDemo | Stops and deletes all of the database files that are associated with the demonstration instance. |
setDemo | Sets the correct environment variables for the demonstration instance. |
startDemo | Starts the demonstration instance. |
stopDemo | Stops the demonstration instance. |
Scripts for use with the Informix cluster demonstration environment
Use these scripts to create, delete,
and configure the high-availability cluster environment. These scripts
are in $INFORMIXDIR/bin and must be run as user informix.
Script name | Description |
---|---|
createC1Cluster | Creates and starts the Informix cluster. The script creates a primary server: c1primary, an HDR secondary server: c1hdr1, two SD (shared disk) secondary servers: c1sds1, c1sds2, and two RS (remote standalone) secondary servers: c1rss1, c1rss2. The script also configures and starts the Connection Manager. |
removeC1Cluster | Stops the demonstration cluster and removes all database files associated with the cluster instances. |
setc1hdr1 | Sets the environment for the c1hdr1 instance. |
setc1primary | Sets the environment for the primary instance c1primary. |
setc1rss1 | Sets the environment for the c1rss1 instance. |
setc1rss2 | Sets the environment for the c1rss2 instance. |
setc1sds1 | Sets the environment for the c1sds1 instance. |
setc1sds2 | Sets the environment for the c1sds2 instance. |
startC1Cluster | Starts a previously created demonstration cluster. |
stopC1Cluster | Stops a running Informix demonstration cluster. |
tailCM | Runs the tail command to continuously display the last few lines of the Connection Manager log file. |
Scripts for use with the ESQL/C demonstration environment
These scripts
are used to start, stop, and configure the ESQL/C demonstration database
environment. Use these scripts to run any of the ESQL/C demonstration
programs that are included with the Informix server.
The demonstration programs are in $INFORMIXDIR/demo/esqlc.
Script name | Description |
---|---|
createEsqlcDemo | Creates and starts the ESQL/C demonstration environment. |
removeEsqlcDemo | Deletes all files that are associated with the ESQL/C demonstration environment. |
setEsqlcDemo | Sets the environment variables for the ESQL/C demonstration environment. |
startEsqlcDemo | Starts the ESQL/C demonstration environment. |
stopEsqlcDemo | Stops the ESQL/C demonstration environment. |