Operating OnLine 3-11

Immediately from Online to Quiescent

Immediately from Online to Quiescent
TakeOnLine immediately from online to quiescent mode when you want to
restrict access to OnLine as soon as possible. Work in progress can be lost.
If you are userinformix, you can take OnLine immediately from online to
quiescent mode from withinDB-Monitor or from the command line. If you
areroot, you can only use the command-line option.
Aprompt asks for confirmation of the immediate shutdown. If you confirm,
OnLine sends a disconnect signal to all database server processes that are
attachedto shared memory. The processes have 10 seconds to comply before
OnLine terminates them.
OnLine users receive either error message, -459 indicating that OnLine was
shut down, or error message, -457 indicating that their database server
process was unexpectedly terminated.
Thetbinit daemon process performs proper cleanup on behalf of all database
server processes that were terminated by OnLine. Active transactions are
rolled back.
From DB-Monitor
From withinDB-Monitor, select the Mode menu, Immediate-Shutdown
option to take OnLine immediately from online to quiescent mode.
From the Command Line
From the command line, executetbmode -u or tbmode -uy from the
command line to take OnLine immediately from online to quiescent mode.
Aprompt asks for confirmation of the immediate shutdown. The -y option to
tbmode eliminates this prompt.
To verify that OnLine is running in quiescent mode, executetbstat from the
command line. The header on thetbstat output gives the current operating
mode.
For further information about thetbmode utility, refer to page7-64.