Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
OVH_GanetiHooks
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sysadmin
OVH_GanetiHooks
Commits
0ff0580a
Commit
0ff0580a
authored
Apr 14, 2014
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
56926d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+5
-5
No files found.
README.md
View file @
0ff0580a
...
...
@@ -12,11 +12,11 @@ for example:
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
2-
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)
4-
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 all the directory and files of the tarball in /etc/ganeti
*
edit /etc/ganeti/scripts/ovh_cmd and change both $hostmap, $username and $passwd according to your use case
*
put a crontab that touch /tmp/ganeti.checkroute one time every $(choose_your_time, i use 1 hour)
*
put a touch /tmp/ganeti.checkroute in /etc/rc.local
*
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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment