Statistics
| Branch: | Tag: | Revision:

root / doc / examples @ e24999ab

Name Size
  hooks
bash_completion.in 14.3 kB
batcher-instances.json 263 Bytes
dumb-allocator 3.1 kB
ganeti.cron.in 170 Bytes
ganeti.initd.in 3 kB

Latest revisions

# Date Author Comment
e24999ab 08/06/2009 11:12 am Guido Trotter

example ethers hook: use lockfile-progs

Rather than writing our own locking routing, use the one implemented by
the lockfile-create program.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin Pop <>

d98b37a1 08/05/2009 09:05 pm Luca Bigliardi

ethers hook lock: use logger not echo

Overwrite debugging 'echo's

Signed-off-by: Luca Bigliardi <>
Signed-off-by: Guido Trotter <>
Reviewed-by: Guido Trotter <>

1db0b7cf 08/05/2009 08:52 pm Luca Bigliardi

ethers hook: reduce the probability of data loss

The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring the lock.

Signed-off-by: Luca Bigliardi <>
Signed-off-by: Guido Trotter <>...

93db3d8f 07/22/2009 04:13 pm Guido Trotter

Add an example "ethers" hook

This hook can be used to update /etc/ethers with instance's mac
addresses. A dhcp server on the nodes can then serve to the instances
their correct address. (This has been tested with dnsmasq's dhcp
implementation)

Signed-off-by: Guido Trotter <>

7f5e61b4 07/17/2009 06:23 pm Michael Hanselmann

ganeti.initd: Pass $*_ARGS to programs when restarting them

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

2e159315 05/06/2009 10:50 am Guido Trotter

Pass optional arguments to the daemons

These can be set in the defaults file, default to no arguments being
passed, and make it easy for local installation to customize the way the
ganeti daemons are called.

Signed-off-by: Guido Trotter <>...

a533e975 05/06/2009 10:49 am Guido Trotter

ganeti.initd: include defaults file, if present

In the example init script we'll execute an optional defaults file to
make it easier to add local customizations to the ganeti startup.

Signed-off-by: Guido Trotter <>
Reviewed-by: Iustin <>

84d6ea9b 05/06/2009 10:46 am Guido Trotter

Fix ;; indentation in the main initd loop

Currently two of the ;; ending the case bodies are not indented with
anything. Reindent all of them to the body of the loop, as it's done
somewhere else in the init script.

Signed-off-by: Guido Trotter <>...

949bdabe 04/15/2009 02:11 pm Iustin Pop

A bunch of doc and other small fixes

This patch adds a couple of both externally and internally reported
issues:
- missing SGML tags (Issue 54), report and patch by superdupont
- wrong variable used in the init.d script, report and patch by
Karsten Keil <>...

75615bd3 03/04/2009 12:13 pm Iustin Pop

Fix bash completion for cluster copyfile/command

“copyfile” takes a file argument, so we enable file-completion for it.
“gnt-cluster command” takes a command, so we enable command completion.

Reviewed-by: imsnah

View revisions

Also available in: Atom