Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Auto startup via inittab

A DIP can be started and managed automatically by the system process init if it appears in the /etc/inittab file. If you display the inittab file, entries for the voice system processes like TSM and logdaemon, are shown. Typically, one entry is made for each process to run. An entry in the inittab files consists of fields separated by colons (:) that allow you to specify:

  1. A unique label to identify the entry (no more than 4 characters)
  2. The run-levels to run the program. Voice system processes and most DIPs use run-level 4.
  3. Whether the program is to be run once only or re-run if it dies

The start_vs command rebuilds the modified inittab file by concatenating all the files in /etc/conf/init.d. In order for your entries to be permanent, perform the following procedure:

  1. Enter stop_vs to stop the voice system.
  2. Edit your entry in the /etc/conf/init.d directory. The following is an example for a DIP called stock_dip in the init.d directory that runs at run-level 4, is re-run if it dies, and is labeled PI1.
    1. Enter vi stock_dip
    2. Add the following to the stock_dip file.

      PI1:4:respawn:/local/bin/stock_dip > /dev/null 2>&1

    3. Enter :wq
  3. Enter /vs/bin/util/mkitab
  4. Enter start_vs to start the voice system.

Now your DIP will start up automatically each time the voice system is started. If you experience problems with this procedure, enter touch /etc/conf/init.d/ name of the system before restarting the voice system.

© 2006 Avaya Inc. All Rights Reserved.