Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [scidb@shared-c63-c1-vm1 xen]$ ./snapshot.sh list all all all
- Gathering name list...
- Gathering uuid list...
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Gathering snapshot list...
- Warning: Permanently added 'p4xen1,10.0.20.189' (RSA) to the list of known hosts.
- key_from_blob: remaining bytes in key blob 149
- Snapshot: initial
- shared-c63-c1-vm1: yes
- shared-c63-c1-vm2: yes
- shared-r63-c1-vm1: yes
- shared-r63-c1-vm2: yes
- shared-u1204-c1-vm1: yes
- shared-u1204-c1-vm2: yes
- Snapshot: r6145
- shared-c63-c1-vm1: no
- shared-c63-c1-vm2: no
- shared-r63-c1-vm1: no
- shared-r63-c1-vm2: no
- shared-u1204-c1-vm1: yes
- shared-u1204-c1-vm2: yes
- [scidb@shared-c63-c1-vm1 xen]$ ./snapshot.sh
- Usage:
- ./snapshot.sh <create|remove|rollback> <snapshot> <platform> <cluster_number> <vm_number>
- ./snapshot.sh <list> <platform> <cluster_number> <vm_number>
- create - create snapshot (replace if exists)
- remove - remove snapshot
- rollback - rollback to snapshot
- list - list available snapshots
- platform can be
- 'c6' - CentOS 6.3
- 'r6' - RedHat 6.3
- 'u1204' - Ubuntu 12.04
- cluster_number is integer
- vm_number is integer
- For look of available clusters/vm use script /public/xen/name.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement