The ccmdb shutdown command automates several
important steps required to bring down all Rational® Synergy user sessions safely. The
command also ensures that a database is in a protected state. Use
this command to close down a Rational Synergy
database for maintenance.
Synopsis
ccmdb shutdown database_path
Uses
This program operates
on the database that you specify. The ccmdb shutdown command
does the following:
- Prevents new users from starting sessions. See ccmdb protect.
- Notifies active users with a series of warning messages that the
database will be brought down.
- Issues remote exit commands to sessions that
have not exited.
- Waits until all users have exited or successfully shut down.
After you have started the ccmdb shutdown command,
only an interrupt keyboard sequence can stop the shutdown from happening.
The
user for this command is the Rational Synergy
administrator.
Options and arguments
- database_path
- Specifies the path to the database to be shut down.
- The database_path is the same
path on the user interface machine unless you specified a user interface
database path in the Startup Info dialog box.
To display the database path, run the ccm monitor command.
The output displays the correct UNC path.
Example
Shut down a Rational Synergy database.
- Display a list of active sessions by running the ccm monitor command.
>
ccm monitor
- Send out a broadcast message telling users that you are shutting
down the test_ccm database.
> ccm message /database "?test_ccm" "Shutting down server in 15
minutes. Close sessions!"
- Shut down the test_ccm database.
>
ccmdb shutdown \\data\ccmdb\test_ccm