Shut-down and restart Digitool
Overview
Digitool has various components, which may be stopped and started individually, however sometimes we want to stop and restart all components simultaneously with a single command.
Pre/Post Checks
It is advisable to check the status of running components before and after stopping and starting to ensure that the system is completely stopped or started as required.
To check running COBOL components:
>server_monitor
Example output of running components:
| Port | Pid | Server Type | Started At | Status
|---------|---------|-----------------|-----------------|--------------------
| 3881 | 14060 | OAI Server | Dec 21 22:15:03 | Free
| 3881 | 14066 | OAI Server c | Dec 21 22:15:03 | Free
| 3881 | 14067 | OAI Server c | Dec 21 22:15:03 | Free
| 4881 | 16636 | WWW Server | Jan 04 13:52:45 | Free
| 4881 | 13694 | WWW Server c | Feb 09 12:42:31 | Free
| 4881 | 16641 | WWW Server c | Jan 04 13:52:45 | Free
| 4881 | 22304 | WWW Server c | Feb 08 14:35:39 | Free
| 4881 | 16642 | WWW Server c | Jan 04 13:52:45 | Free
| 4881 | 29802 | WWW Server c | Feb 09 14:32:44 | Free
| 6883 | 5258 | PC Server | Dec 21 22:10:38 | Free
| 6883 | 5309 | PC Server c0 | Dec 21 22:10:38 | Free
| 6883 | 5310 | PC Server c0 | Dec 21 22:10:38 | Free
| 6883 | 5311 | PC Server c0 | Dec 21 22:10:38 | Free
| 6883 | 5312 | PC Server c0 | Dec 21 22:10:38 | Free
| 6883 | 5313 | PC Server c0 | Dec 21 22:10:39 | Free
| 7881 | 5239 | Z39 Gate | Dec 21 22:10:38 | Free
To check status of Java components:
>jps -m
Example output of running components:
30236 Jps -m
4816 Main -b 0.0.0.0 (JBOSS is running)
30903 Bootstrap start (Tomcat is running (required for jp2000 viewer))
Stop Digitool
>$dtle_root/dtl_shutdown_all
This will stop all of the COBOL components followed by JBOSS
Start Digitool
>$dtle_root/dtl_startup_all
This will start JBOSS, followed by the COBOL components.
Further Information
Full information about starting and stopping the various components of Digitool can be found in DigiTool System Administration Guide.pdf