Revision 271baf11 README.admin
b/README.admin | ||
---|---|---|
16 | 16 |
The administrator can trigger reconciliation manually, by issuing a Ganeti |
17 | 17 |
OP_INSTANCE_QUERY_DATA command, using gnt-instance info. |
18 | 18 |
|
19 |
Alternatively, the reconciliation process can be triggered for all VMs using |
|
20 |
the command
|
|
19 |
Alternatively, the reconciliation process can be triggered for all VMs using the
|
|
20 |
command |
|
21 | 21 |
|
22 | 22 |
./manage.py reconcile --all |
23 | 23 |
|
24 | 24 |
It is advised, though not strictly necessary, to run the reconciliation process |
25 |
periodically, through cron. To avoid overloading the Ganeti master, the |
|
26 |
periodic reconciliation process takes a staggered approach to updating the VMs,
|
|
27 |
which is configured through the following parameters:
|
|
25 |
periodically, through cron. To avoid overloading the Ganeti master, the periodic
|
|
26 |
reconciliation process takes a staggered approach to updating the VMs, which is
|
|
27 |
configured through the following parameters: |
|
28 | 28 |
|
29 |
* The settings.py RECONCILIATION_MIN parameter, which specifies the |
|
30 |
maximum time a VM can remain ``non-reconciled''. (default: 30 mins)
|
|
29 |
* The settings.py RECONCILIATION_MIN parameter, which specifies the maximum time
|
|
30 |
a VM can remain ``non-reconciled''. (default: 30 mins) |
|
31 | 31 |
|
32 |
* The --interval option to the reconcile command, which declares the |
|
33 |
interval time between reconciliation attempts (default: 1 min)
|
|
32 |
* The --interval option to the reconcile command, which declares the interval
|
|
33 |
time between reconciliation attempts (default: 1 min) |
|
34 | 34 |
|
35 | 35 |
On each invocation of the reconcile command, the system will trigger a |
36 |
reconciliation for ((num_all_vms/RECONCILIATION_MIN) * interval) |
|
37 |
machines. Obviously the lower the interval value and the higher the
|
|
38 |
setting of RECONCILIATION_MIN, the less load is going to be put on Ganeti.
|
|
36 |
reconciliation for ((num_all_vms/RECONCILIATION_MIN) * interval) machines.
|
|
37 |
Obviously the lower the interval value and the higher the setting of
|
|
38 |
RECONCILIATION_MIN, the less load is going to be put on Ganeti. |
|
39 | 39 |
|
Also available in: Unified diff