This topic contains information about the ccmsrv
offline command.
Synopsis
ccmsrv offline|off [-s|-server servername][-y]
Description and uses
Use the ccmsrv
offline command to take the database server offline.
Use
this command when you want to make a database server unavailable to
all users. Send a broadcast message warning users that you are taking
the server offline. For instructions on how to send a broadcast message,
see ccm message.
Note: This
command disconnects all users who are currently connected to the server.
You
must run this command on the database server, as user informix.
Options and arguments
-s|-server servername
Specifies the name of the database server. The default
is the name of the current machine. This option is required when the Informix® servername does
not match the machine name.
-y
Executes the command without displaying confirmation
messages.
Example
Take the database server
of the current machine offline.
$ ccmsrv offline