Re: Need ODS start-up and shut-down files
Posted in 1997
Im Artikel <32C03372.41C6@magnet.com>, Seth Grimes <grimes@magnet.com>
schreibt:
>Hello all,
>
> Does anyone have start-up and shut-down files for Informix ODS on
>SGI/Irix to share? These would normally be in /etc/rc2.d and
>/etc/rc.d.
>
> Thanks,
>
> Seth
>
>
Hi Seth,
the shutdown/startup scripts are realye simple:
--- Startup Script ----
TBCONFIG=tbconfig.std # or any other
INFORMIXDIR=/opt/lib/informix # or other
export TBCOFIG INFORMIXDIR
$INFORMIXDIR/tbinit
-------------------------------
--- Shutdown Script ---
TBCONFIG=tbconfig.std # or any other
INFORMIXDIR=/opt/lib/informix # or other
export TBCOFIG INFORMIXDIR
# You can also use the tbmode command to force a checkpoint here!
# Shudown all processes, without waiting for
$INFORMIXDIR/tbmode -yk
________________________
If you have INFORMIX 6.0 or higher, you have to use 'on' instead of 'tb'.
Hope, that helps.
Greetings Volker