Home | Previous Page | Next Page   Administrative Utilities > Changing Modes and Shared Memory with the onmode Utility >

Change Database Server Mode

Read syntax diagramSkip visual syntax diagramChange Database Server Mode:
 
|--+- -k-+------------------------------------------------------|
   +- -m-+
   +- -s-+
   +- -u-+
   '- -j-'
 
Element Purpose Key Considerations
-k Takes the database server to offline mode and removes shared memory Additional Information: To reinitialize shared memory, shut down and restart the database server.

References: See Taking the Database Server to Offline Mode with the -k Option.

-m Takes the database server from quiescent or single-user mode to online mode References: See Bringing the Database Server Online with the -m Option.
-s Shuts down the database server gracefully Additional Information: Users who are using the database server are allowed to finish before the database server comes to quiescent mode, but no new connections are allowed. When all processing is finished, -s takes the database server to quiescent mode. The -s option leaves shared memory intact.

References: See Shutting Down the Database Server Gracefully with the -s Option.

-u Shuts down the database server immediately Additional Information: This option brings the database server to quiescent mode without waiting for users to finish their sessions. Their current transactions are rolled back, and their sessions are terminated.

References: See Shutting Down the Database Server Immediately with the -u Option.

-j Puts the database server into single-user mode Additional Information: This option brings the database server to single-user mode, allowing the informix user all functions including the issuance of SQL and DDL commands.

References: See your IBM Informix Administrator's Guide.

The following sections describe the options that take the database server from one mode to another.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]