23 | | |
24 | | (in earlier versions of OMF, AMs were also known as "gridservices"). |
| 25 | Lives in the file /etc/init.d/omf-aggmgr-5.4/omf-aggmgr.yaml |
| 26 | {{{ |
| 27 | # NOTE: use only 'spaces' to indent ! |
| 28 | # ('tab' indents are not supported by the ruby yaml parser used to read this file) |
| 29 | # |
| 30 | # This is the config file for global configuration items for the OMF Aggregate Manager. |
| 31 | # |
| 32 | --- |
| 33 | :xmpp: |
| 34 | :server: "xmpp.example.org" |
| 35 | :user: "admin" |
| 36 | :password: "123" |
| 37 | :port: 5222 |
| 38 | :use_dnssrv: false |
| 39 | :http: |
| 40 | :port: 5054 |
| 41 | # List of the slices that the AM should by default provide its service to |
| 42 | # (other slices can be added later dynamically via a Slice Manager) |
| 43 | # |
| 44 | :default_slices: ["pxe_slice", "default_slice"] |
| 45 | # |
| 46 | # Database server used by various services |
| 47 | # |
| 48 | :database: |
| 49 | :adapter: mysql |
| 50 | # User name and password for database server |
| 51 | user: 'admin' |
| 52 | password: 'password' |
| 53 | host: 'server.example.org' |
| 54 | # |
| 55 | # ldap configuration |
| 56 | # |
| 57 | :auth: |
| 58 | class: LdapAuth |
| 59 | homeDir: '/home/' |
| 60 | nullHost: null.example.org |
| 61 | autohomehost: home.example.org |
| 62 | autohome-opts: '-fstype=nfs,hard,intr,rsize=8192,wsize=8192,nodev,nosuid' |
| 63 | servers: |
| 64 | - |
| 65 | # primary LDAP server |
| 66 | secret: 'password' |
| 67 | host: 'ldap1.example.org' |
| 68 | base: 'dc=example, dc=org' |
| 69 | - |
| 70 | # alternate LDAP server |
| 71 | secret: 'password' |
| 72 | host: 'ldap2.example.org' |
| 73 | base: 'dc=example, dc=org' |
| 74 | # |
| 75 | # Email configuration |
| 76 | # |
| 77 | :email: |
| 78 | # email server configuration |
| 79 | host: 'mail.example.org' |
| 80 | port: 25 |
| 81 | :admins: |
| 82 | - 'joe' |
| 83 | - 'jim' |
| 84 | }}} |