18 | | Once installed the service is configured by TODO. |
| 18 | Configuration file is in /etc/omf-aggmgr-5.4/available/scheduler.yaml: |
| 19 | Configuration parameters: |
| 20 | * ''':database:''' - section for database configuration parameters |
| 21 | 1. '''database:''' (string): database name to be used by scheduler |
| 22 | 2. '''approveSeparatly:''' (true/false): Calculate time spend on each domain separately (only for domains listed in listOfDomains) |
| 23 | 3. '''listOfDomains:''' (array): Array of domains for which utilization is accumulated seprately (time experimenters reserve in all other domains is accumulated jointly) |
| 24 | * '''prefix:''' (string): internal reservation prefix (not shown to the users) |
| 25 | * '''email:''' - notification email configuration section |
| 26 | 1. '''sender:''' (string): sender email address |
| 27 | 1. '''sender_name'' (string): sender name |
| 28 | 1. '''emailAdmin:''' (true/false): flag as to whether admin will also receive the email notification about the reservations (makes the service quite annoying for admins) |
| 29 | * '''layout:''' - section defining the front-end layout options |
| 30 | 1. '''various colors''' |
| 31 | |
| 32 | Example: |
| 33 | {{{ |
| 34 | # NOTE: use only 'spaces' to indent ! |
| 35 | # ('tab' indents are not supported by the ruby yaml parser used to read this file) |
| 36 | # |
| 37 | # This is the Config file for the Scheduler Service |
| 38 | # |
| 39 | scheduler: |
| 40 | :database: |
| 41 | database: 'scheduler' |
| 42 | approveSeparatly: true |
| 43 | listOfDomains: |
| 44 | - grid |
| 45 | prefix: 'sc4' |
| 46 | email: |
| 47 | # sender and administrastor email configuration |
| 48 | sender: 'schedule@orbit-lab.org' |
| 49 | sender_name: 'ORBIT Schedule' |
| 50 | emailAdmin: 1 |
| 51 | layout: |
| 52 | # colors |
| 53 | myres: '#5E7FB1' |
| 54 | mypastres: '#A0A1A1' |
| 55 | otherres: '#D2DDEC' |
| 56 | otherpastres: '#CFCFCF' |
| 57 | pending: '#E4DC04' |
| 58 | blackout: '#6F292D' |
| 59 | conflict: '#FF0000' |
| 60 | |
| 61 | }}} |