Use the ccmdb protect command to prevent users from starting new sessions on a database while you are solving a database problem or installing a model.
You must be user ccm_root to run this command.
This command prevents new sessions from being started on the specified database but does not protect the database from sessions already running. Stop current sessions by running the ccmdb shutdown command (ccmdb shutdown).