25.01.2015 Views

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing <strong>Caché</strong><br />

6.3 Managing <strong>Caché</strong><br />

From the shell, a user with any user ID in the sysmgr group can run ccontrol. When ccontrol executes,<br />

it finds the proper file (cstop, for example) in the install-dir/bin directory.<br />

The cstart, cstop, and cforce script files link to the cmgr executable, which runs in its current directory<br />

switching the user ID to cachemgr.<br />

The cmgr executable calls these scripts, which execute the appropriate <strong>Caché</strong> executables to run <strong>Caché</strong><br />

in the right mode for shutdown or force. The following sections describe how to perform these management<br />

tasks on a <strong>Caché</strong> instance:<br />

• Starting <strong>Caché</strong><br />

• Running <strong>Caché</strong><br />

• Stopping <strong>Caché</strong><br />

Important:<br />

The owner of the installation has full privileges to start and stop the instance, to perform<br />

system administration, and to run diagnostic programs for that instance.<br />

Only the user ID that is the owner of the instance can and should run all diagnostic<br />

activities. This ensures that any files or resources created are owned by the owner of<br />

the instance and not root (which may make it impossible to access these resources by<br />

a non-root user). For this reason, it is inadvisable for root to in any way administer<br />

an instance not owned by root (including starting and stopping the instance). A user<br />

running as root should only administer instances owned by root.<br />

6.3.1 Starting <strong>Caché</strong><br />

To start <strong>Caché</strong>, run the startup procedure at the system level. This procedure activates either a default<br />

configuration file or a configuration file you specify.<br />

Note:<br />

If you have any trouble starting <strong>Caché</strong>, view the cconsole.log file as described in the Monitoring<br />

Log Files section of the <strong>Caché</strong> Monitoring <strong>Guide</strong>.<br />

If you are not on the console machine, run Telnet and connect to the target machine where <strong>Caché</strong> is<br />

installed. Before you can start <strong>Caché</strong> on UNIX, one of the following must be true:<br />

• You are the superuser.<br />

• You have signed on as the root user. (It is acceptable to su (super user) to root while logged in<br />

from another account.)<br />

<strong>Caché</strong> <strong>System</strong> <strong>Administration</strong> <strong>Guide</strong> 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!