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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using <strong>Caché</strong> on Windows<br />

To start <strong>Caché</strong> on the Windows platform, select Start <strong>Caché</strong> from the <strong>Caché</strong> Cube. This starts the<br />

<strong>Caché</strong> instance using the specified configuration file. When <strong>Caché</strong> is not running, the <strong>Caché</strong> Cube icon<br />

appears dimmed.<br />

If the <strong>Caché</strong> Cube is not in the system tray, from the Start menu point to Programs, <strong>Caché</strong>, the <strong>Caché</strong><br />

instance name, and click Start <strong>Caché</strong>. To return the Cube to the system tray, go to the install-dir/Bin<br />

directory and double-click the csystray.exe file.<br />

Alternatively, you can enter these commands from the install-dir/Bin directory in the Open box of the<br />

Run command on the Start menu. For example, to start the instance named cache from the MyCache/bin<br />

directory, enter the following command and click OK.<br />

c:\mycache\bin\ccontrol start cache<br />

These methods of starting <strong>Caché</strong> call the ccontrol start command. See Controlling <strong>Caché</strong> Instances<br />

for more options and information on the ccontrol command.<br />

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

Normally you leave your <strong>Caché</strong> system running. However, if your operating system requires a restart,<br />

stop <strong>Caché</strong> before you shut down your system. The <strong>Caché</strong> maintenance tasks, such as backups and<br />

database repair utilities, do not require you to stop <strong>Caché</strong>.<br />

From the <strong>Caché</strong> Cube menu click Stop <strong>Caché</strong> to shut down or restart the local <strong>Caché</strong> instance. By<br />

default, this option shuts down (or restarts) <strong>Caché</strong> immediately, using the default shutdown routine.<br />

However, it also provides options for setting a timer for a delayed shutdown, for running a user-defined<br />

shutdown routine, and for broadcasting a warning message to users on the server. You can run this<br />

same process from the Start menu. Point to Programs, <strong>Caché</strong>, the <strong>Caché</strong> instance name, and click Stop<br />

<strong>Caché</strong>. You cannot cancel a shutdown once the countdown reaches 0 and the shutdown procedures<br />

have started.<br />

Important:<br />

Inter<strong>System</strong>s recommends that you run Stop <strong>Caché</strong> to shut down <strong>Caché</strong> to ensure that<br />

it closes properly.<br />

These methods of stopping <strong>Caché</strong> call the ccontrol stop command. See Controlling <strong>Caché</strong> Instances<br />

for more options and information on the ccontrol command.<br />

Remove Stop <strong>Caché</strong> Command<br />

To prevent unintentional execution of the Stop <strong>Caché</strong> command, you can remove the command from<br />

the <strong>Caché</strong> Cube by deleting the cstop.exe file from the install-dir/Bin directory of the corresponding<br />

<strong>Caché</strong> instance. You can also remove the Stop <strong>Caché</strong> shortcut from the appropriate <strong>Caché</strong> instance<br />

from the Start menu. Point to Programs, <strong>Caché</strong>, the <strong>Caché</strong> instance name, then right-click Stop <strong>Caché</strong><br />

and click Delete.<br />

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

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

Saved successfully!

Ooh no, something went wrong!