SETTING UP INFORMIX STORAGE MANAGER
SETTING UP INFORMIX STORAGE MANAGER


The folowing is the step I took in installing and configuring the ISM. This should take you as far performing your first backup and restore utilizing onbar and ISM.

NOTE: The following is using version 7.30.UC2.


Installing and starting ISM
  1. Install the Informix DSA engine according to the install guide.
  2. Make sure your envrionment variables are set correctly.
  3. As root, cd to $INFORMIXDIR/bin and issue the command ./ism_startup -init . You only need to use the -init flag ONCE. . If you use the -init flag again you will loose all backups you made previously with ISM.
  4. To varify that the ISM daemons are running, run ps -ef | grep nsr.
  5. To shutdown the daemons, run ism_shutdown.

Configuring OnBar to work with ISM

These steps will allow you to define ISM and allow onbar to send its backups to UNIX files located in the /spare1/ISM* directories.
  1. Set the following $ONCOFNIG parameters:
    • ISM_DATA_POOL ISMData
    • ISM_LOG_POOL ISMLogs
  2. Bounce the Online Engine (to make sure the onconfig changes take effect).
  3. Insert the proper values in to the sysutils:bar_version table.
    dbaccess sysutils - 
    
    database selected
    
    > insert into bar_version values("1", "1.0.1", "ism", "1");
    
    One row insertted
    ...
    
  4. Make sure ISM is already running. Use ps -ef | grep nsr.
  5. Create the directories where you will store the backups
    mkdir /spare1/ISM_ARC
    mkdir /spare1/ISM_LOGS 
    Make sure the directories are read/write enabled for user informix.
    
  6. Define the devices to ISM:
    ism_add -device /spare1/ISM_ARC -type file
    ism_add -device /spare1/ISM_LOGS -type file
    
  7. Lable the devices:
    ism_op -label /spare1/ISM_ARC -volume 1 -pool ISMData
    ism_op -label /spare1/ISM_LOGS -volume 2 -pool ISMLogs
     NOTE: ISMDisk* must match what you have in the $ONCONFIG file.
  8. Mount the device (file in this case):
    ism_op -mount /spare1/ISM_ARC 
    ism_op -mount /spare1/ISM_LOGS
    
  9. Give user informix admin permissions.
     ism_add -admin informix 
    
    
  10. Test the backup and restore using onbar!
Home   Index
Hosted by www.Geocities.ws

1