Configure web server to submit job to local cluster » History » Version 2
Neil Voss, 05/27/2010 04:06 PM
| 1 | 1 | Neil Voss | h1. Configure web server to submit job to local cluster |
|---|---|---|---|
| 2 | |||
| 3 | h2. Option 1: Use the setup wizard and add the local cluster headnode |
||
| 4 | |||
| 5 | # Go the setup wizard: http://localhost/myamiweb/setup or http://HOST.INSTITUTE.EDU/myamiweb/setup |
||
| 6 | 2 | Neil Voss | # Step #2 |
| 7 | # Profit... |
||
| 8 | 1 | Neil Voss | |
| 9 | h2. Option 2: Manually edit the config.php and add the local cluster headnode to the config.php |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | $PROCESSING_HOSTS[]="LOCAL_CLUSTER_HEADNODE.INSTITUTE.EDU"; |
||
| 13 | </pre> |
||
| 14 | |||
| 15 | It can also run on more than one cluster, _this is rare_: |
||
| 16 | |||
| 17 | <pre> |
||
| 18 | $PROCESSING_HOSTS[]="LOCAL_CLUSTER_HEADNODE1.INSTITUTE.EDU"; |
||
| 19 | $PROCESSING_HOSTS[]="LOCAL_CLUSTER_HEADNODE2.INSTITUTE.EDU"; |
||
| 20 | </pre> |
||
| 21 | |||
| 22 | _______ |
||
| 23 | |||
| 24 | [[Setup job submission server|< Setup job submission server]] | [[Testing job submission|Testing job submission >]] |
||
| 25 | |||
| 26 | _______ |