| 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 2 | ; Configuration of Xen Orcherstra (XO) ; |
| 3 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 4 | |
| 5 | |
| 6 | ;;;;;;;;;;;;;;;;;;;;;;;; |
| 7 | ; Global configuration ; |
| 8 | ;;;;;;;;;;;;;;;;;;;;;;;; |
| 9 | [global] |
| 10 | |
| 11 | ; Refresh Time in seconds for Web Interface, 10 is default |
| 12 | refresh = 10 |
| 13 | |
| 14 | ; XO can use a database to manage users, but this is optional, you may disable |
| 15 | ; it by uncommenting this entry. |
| 16 | ;disable_database = true |
| 17 | |
| 18 | ; When the database is disabled, only the guest user is available and what he |
| 19 | ; can do is defined by this entry. |
| 20 | ; - NONE Guest is not able to see or do anything (this is the default). |
| 21 | ; - READ Guest is only able to see the list of dom0s/domUs. |
| 22 | ; - WRITE As READ + he is also able to change |
| 23 | ; - ADMIN As WRITE but also gives the power to change Xen Orchestra's |
| 24 | ; configuration. Normally, ADMIN gives also the ability to create and |
| 25 | ; manage users but since the database is disabled, this feature is too. |
| 26 | ;default_guest_permission = ADMIN |
| 27 | |
| 28 | |
| 29 | ;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 30 | ; Database configuration ; |
| 31 | ;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 32 | ; XO can use a database to manage users and their rights. |
| 33 | ; Since XO uses databases through PDO (PHP Database Object), you have the |
| 34 | ; ability to choose which database you want use. |
| 35 | ; For more information, see http://fr2.php.net/manual/en/pdo.drivers.php |
| 36 | [database] |
| 37 | |
| 38 | ; The Database Source Name is used to specify which type of database you want to |
| 39 | ; use and to define the information required to connect to it. |
| 40 | dsn = "pgsql:host=localhost dbname=xen" |
| 41 | |
| 42 | ; If your database required an authentication, you have to use the following |
| 43 | ; two entries. |
| 44 | ;username = xen |
| 45 | ;password = "123456789" |
| 46 | |
| 47 | |
| 48 | ;;;;;;;;;;;;;;;;;;;;;;; |
| 49 | ; Dom0s configuration ; |
| 50 | ;;;;;;;;;;;;;;;;;;;;;;; |
| 51 | |
| 52 | ; Server address and port. Example for 2 dom0s : |
| 53 | ; |
| 54 | ; [192.168.0.1:9363] |
| 55 | ; username = test1 |
| 56 | ; password = test1 |
| 57 | ; |
| 58 | ; [xen.intranet.com:9363] |
| 59 | ; username = test1 |
| 60 | ; password = test1 |
| 61 | |