113 |
rodolico |
1 |
Set of Perl scripts to help manage virtuals
|
|
|
2 |
|
|
|
3 |
ParseXenConfigs.pl
|
|
|
4 |
Just goes through all Xen config files and pulls information. Currently only looks for MAC address and checks for duplicates
|
|
|
5 |
|
|
|
6 |
findVirtuals.pl
|
|
|
7 |
Designed to be put on shared storage on several hypervisors and run via cron. Determines which virtual is running on which
|
|
|
8 |
hypervisor, saving it in a database (dom0_db.yaml in same directory as script), it can also display a tab delimited list
|
|
|
9 |
of which virtual is running on which hypervisor (-s option)
|
|
|
10 |
|
|
|
11 |
Sample crontab entry included. If run from crontab, using -r (Report Only) will only return a string if there is an update; something
|
|
|
12 |
added/removed/moved
|
|
|
13 |
|
|
|
14 |
All flags available by passing --help.
|
|
|
15 |
|
|
|
16 |
-s Show database
|
|
|
17 |
-c filename Use alternative database
|
|
|
18 |
-n Don't update the database
|
|
|
19 |
-v Be Verbose (show some stats)
|
|
|
20 |
-r Report - only display if something changed
|