Home | Previous Page | Next Page   Informix Storage Manager > Configuring ISM >

Setting Up ISM on Windows

The database server installation program creates the following ISM services that start automatically on system startup:

On Windows, the database server installer automatically initializes ISM. The Service Control Manager automatically starts the ISM server when the computer reboots and stops ISM when the computer shuts down.

You can use a batch file to set up ISM operations with ON–Bar on Windows. This batch file configures two file-type devices to back up logical logs and storage spaces. This configuration allows you to back up logical logs and storage spaces to disk. You must edit the locations for the SM_DISKDEV1 and SM_DISKDEV2 environment variables as needed.

Important:
Install and enable the Netware IPX and SPX networking protocols on the computer where the Informix database server is installed only if you encounter network flooding.

You must be a member of the Informix-Admin group to perform these operations. To open a command window for running ISM commands, select Start > Programs > Informix > ol_servername.

REM setup for IBM Informix Storage
Manager 
echo "ISM setup begins"

REM this step should be done only once
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

REM user must edit these two lines to select appropriate disk
REM locations for storage manager use.
set SM_DISKDEV1=\backups\dbspaces
set SM_DISKDEV2=\backups\logfiles

REM we need to create some devices and media
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"
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]