SHOW:
|
|
- or go back to the newest paste.
| 1 | oleg@t510 0 /storage/work/cluster $ ./info.sh | |
| 2 | Usage ./info.sh <name|uuid> <platform> <cluster_number> <vm_number> | |
| 3 | use 'name' for look XenServer machine names (same with DNS names) | |
| 4 | use 'uuid' for look XenServer machine uuids (used by /storage/work/cluster/snapshot.sh) | |
| 5 | ||
| 6 | platform can be | |
| 7 | 'c63' - CentOS 6.3 | |
| 8 | 'r63' - RedHat 6.3 | |
| 9 | 'u1204' - Ubuntu 12.04 | |
| 10 | 'all' - all platforms | |
| 11 | ||
| 12 | cluster_number is integer or 'all' | |
| 13 | vm_number is integer or 'all' | |
| 14 | oleg@t510 0 /storage/work/cluster $ ./info.sh name c63 1 1 | |
| 15 | shared-c63-c1-vm1 | |
| 16 | - | shared-u1204-c1-vm1 |
| 16 | + | |
| 17 | 26fb7e85-437a-fee4-0ea5-d2e4029c017c | |
| 18 | oleg@t510 0 /storage/work/cluster $ ./info.sh name c63 1 all | |
| 19 | - | 1d2ce5cf-a2e9-2c0c-d627-fcefbd2d0644 |
| 19 | + | |
| 20 | shared-c63-c1-vm1 | |
| 21 | oleg@t510 0 /storage/work/cluster $ ./info.sh name c63 all all | |
| 22 | shared-c63-c1-vm1 | |
| 23 | shared-c63-c1-vm1 | |
| 24 | shared-c63-c2-vm1 | |
| 25 | shared-c63-c2-vm2 | |
| 26 | shared-c63-c3-vm1 | |
| 27 | shared-c63-c3-vm2 | |
| 28 | shared-c63-c4-vm1 | |
| 29 | shared-c63-c4-vm2 | |
| 30 | oleg@t510 0 /storage/work/cluster $ ./snapshot.sh | |
| 31 | Usage ./snapshot.sh <create|remove|rollback> <snapshot> <platform> <cluster_number> <vm_number> | |
| 32 | create - create snapshot (replace if exists) | |
| 33 | remove - remove snapshot | |
| 34 | rollback - rollback to snapshot | |
| 35 | ||
| 36 | snapshot can be | |
| 37 | 'initial' - clean machine | |
| 38 | 'build' - machine prepared for build | |
| 39 | ||
| 40 | platform can be | |
| 41 | 'c63' - CentOS 6.3 | |
| 42 | 'r63' - RedHat 6.3 | |
| 43 | 'u1204' - Ubuntu 12.04 | |
| 44 | ||
| 45 | cluster_number is integer | |
| 46 | vm_number is integer | |
| 47 | ||
| 48 | For look of available clusters/vm use script /storage/work/cluster/info.sh | |
| 49 | oleg@t510 0 /storage/work/cluster $ |