| | 17 | These parameters are used in login.yam and to configure apache. |
| | 18 | |
| | 19 | === login.yaml === |
| | 20 | |
| | 21 | registration: |
| | 22 | baseURL: 'http://<server_name>/userManagement' |
| | 23 | publicURL: 'http://<server_name>/status/orbit' |
| | 24 | |
| | 25 | |
| | 26 | === Apache configuration === |
| | 27 | |
| | 28 | /etc/apache2/sites-available/default |
| | 29 | ServerName <server_name> |
| | 30 | ProxyPass /status/orbit "http://<host>:<port>/public_html/" |
| | 31 | ProxyPass /userManagement "<host>:<port>/login/userManagement" |
| | 32 | |
| | 33 | Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file. |
| | 34 | |
| | 35 | /etc/apache2/sites-available/default-ssl |
| | 36 | |
| | 37 | ProxyPass /schedule/ http://<host>:<port>/login/ShowScheduler |
| | 38 | ProxyPass /loginService/ http://<host>:<port>/login/ |
| | 39 | <Proxy http://<host>:<port>:5052/login/*> |
| | 40 | AllowOverride None |
| | 41 | order allow,deny |
| | 42 | allow from all |
| | 43 | </Proxy> |
| | 44 | |
| | 45 | |
| | 46 | |
| | 47 | === Database === |
| | 48 | Currently, it is necessary to run sql script to create database. Resources table need to be fill out with data manually. |
| | 49 | Example: |
| | 50 | INSERT into resources (machid,name,location,rphone,notes,minRes,maxRes) VALUES |
| | 51 | ('sc1431b400c5f130', 'grid', 'Orbit Facility', '(732) 932-6857, 'Main 400 node grid,30,120) |