Shut down a database before backing it up, repairing it,
or restoring it from backup.
Procedure
- Set user to ccm_root.
$ su - ccm_root
Password: *****
If you did not
set up CCM_HOME and PATH for
user informix during installation, set these environment
variables now. See Setting environment variables for UNIX.
- Display the database path by running the ccm monitor command.
$ ccm monitor
- Broadcast a message to users.
Notify users
that you are shutting down the database.
For example, notify test_ccm database
users that you are shutting down the database, as follows:
$
ccm message -database test_ccm ‘Shutting down database in 15 minutes.
Close sessions!'
- Shut down the test_ccm database.
For example, shut down the/vol/hydra/ccmdb/test_ccm database,
as follows:
$ ccmdb shutdown /vol/hydra/ccmdb/test_ccm
- Exit from user ccm_root.