Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
vfraenkle@aol.com — — source: Informix-list mailing list archive (1991-1998)
Im Artikel <5bdhvs$29m@cssun.mathcs.emory.edu>,
stephane.magnan@eur.autodesk.com ("Stephane Magnan") schreibt:
>Hi all,
>
> I must write a script to shutdown the database server ON-Line
without
> user interventions.
>
> This script will be ran when there is a big problem with the power.
>
> It must shutdown immediately the database server properly, if
> possible.
>
> I think use only the command :
>
> onmode -ky>
> Like I don't know very well Informix (for the moment),
> I would like to know if must be careful to another things ?
>
> Thanks in advance for your help.
>
> Stephane (stephane.magnan@eur.autodesk.com)
> Switzerland
If your operating system is UNIX you should try this:
ONCONFIG=onconfig.std
INFORMIXDIR=/opt/lib/informix
export INFORMIXDIR ONCONFIG
$INFORMIXDIR/bin/onmode -yk
Run this script as user root.
ciao Volker
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.