| 88 | | To stop a single pantasks server (scheduler) instance do |
| 89 | | |
| 90 | | {{{ |
| 91 | | pantasks: stop |
| 92 | | }}} |
| 93 | | |
| 94 | | To shut down all {{{pantasks_server}}} instances, use |
| 95 | | |
| | 88 | === To stop a single pantasks server (scheduler) instance === |
| | 89 | |
| | 90 | * Get the name of the host which is managing the pantasks server by looking the ptolemy.rc file in the server directory (e.g. for the 'distribution' task): |
| | 91 | {{{ |
| | 92 | whoami@ipp004:/home/panstarrs/ipp> cat distribution/ptolemy.rc | grep PANTASKS_SERVER |
| | 93 | PANTASKS_SERVER ippc15 |
| | 94 | }}} |
| | 95 | |
| | 96 | * Log into the host as the {{{ipp}}} user |
| | 97 | {{{ |
| | 98 | ssh ipp@ippc15 |
| | 99 | }}} |
| | 100 | |
| | 101 | * Start the pantasks_client in the pantasks server directory |
| | 102 | {{{ |
| | 103 | pantasks_client |
| | 104 | }}} |
| | 105 | |
| | 106 | * Shut down the server: |
| | 107 | {{{ |
| | 108 | pantasks: shutdown now |
| | 109 | }}} |
| | 110 | |
| | 111 | |
| | 112 | === To shut down all {{{pantasks_server}}} instances === |