Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Informix Storage Manager > Configuring ISM >

Setting Up ISM on UNIX

To start ISM on UNIX for the first time, issue the ism_startup -init command. The following C shell script is an example of a simple setup for making ON–Bar storage-space and logical-log backups to disk files:

#!/bin/csh
# setup for ISM storage manager 

echo "ISM setup begins"

# the user must edit these two lines to select
# appropriate disk locations for storage manager use.
setenv SM_DISKDEV1 /backups/dbspaces
setenv SM_DISKDEV2 /backups/logfiles

# start ISM server
echo "initialize ISM server, must be done as root"
ism_startup -init

Important:
To make informix the ISM user and thereby ensure informix has access to conduct ISM operations during daily routines, you must run the following command after any ism_startup -init or ISM installation:
ism_add -admin informix@server

# create some devices and media
# the ISM user, defined in ism_add -admin, can do these tasks
echo "create and mount ISM devices and pools"
ism_add -device $SM_DISKDEV1 -type file
ism_add -device $SM_DISKDEV2 -type file
ism_op -label $SM_DISKDEV1 -pool ISMDiskData -volume ISMData
ism_op -label $SM_DISKDEV2 -pool ISMDiskLogs -volume ISMLogs
ism_op -mount $SM_DISKDEV1
ism_op -mount $SM_DISKDEV2
echo "end of ISM setup"
To configure ISM to start up automatically
  1. Add $INFORMIXDIR/bin/ism_startup to one of the rc scripts in /etc/rc2.d (on Solaris) to start the ISM server when UNIX boots. Make sure the PRINTER environment variable is set correctly.
  2. Add $INFORMIXDIR/bin/ism_shutdown -q to one of the rc scripts in /etc/rc0.d to shut down the ISM server when UNIX shuts down.

After you configure ISM, you can set the LOG_BACKUP_MODE configuration parameter to CONT or MANUAL to back up the logical logs. Until ISM is configured and available to back up the logical logs, LOG_BACKUP_MODE should be set to NONE.

To stop and start ISM manually
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]