Update README.md

parent 56926d00
...@@ -12,11 +12,11 @@ for example: ...@@ -12,11 +12,11 @@ for example:
gnt-instance add-tags instance01 route:81.82.83.84/32:br0 gnt-instance add-tags instance01 route:81.82.83.84/32:br0
1- put all the directory and files of the tarball in /etc/ganeti * put all the directory and files of the tarball in /etc/ganeti
2- edit /etc/ganeti/scripts/ovh_cmd and change both $hostmap, $username and $passwd according to your use case * edit /etc/ganeti/scripts/ovh_cmd and change both $hostmap, $username and $passwd according to your use case
3- put a crontab that touch /tmp/ganeti.checkroute one time every $(choose_your_time, i use 1 hour) * put a crontab that touch /tmp/ganeti.checkroute one time every $(choose_your_time, i use 1 hour)
4- put a touch /tmp/ganeti.checkroute in /etc/rc.local * put a touch /tmp/ganeti.checkroute in /etc/rc.local
5- put a crontab to execute every minute /etc/ganeti/cron/00-external-routes (look at example crontab) * put a crontab to execute every minute /etc/ganeti/cron/00-external-routes (look at example crontab)
Every time you migrate, move, failover, start, stop an instance, it should automagically update ovh failover routes. Every time you migrate, move, failover, start, stop an instance, it should automagically update ovh failover routes.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment