Xen Tools

Various Xen tools I've written.

Current Tools

xen-vm-autosnapshot.py - Command-line utility for taking automatic, rotating VM snapshots. (Note: There is a known issue related to the way NetApp? snapshots are deleted (or rather, not deleted) in the current version of the XenAPI. See Deleting NetApp snapshots for more information.)

Prerequisites

Documentation

See the --help command line option.

Example Usage

Take a snapshot, then delete all but the latest 3 snapshots:

xen-vm-autosnapshot.py --server=xenserver01 --username=root --password=12345 --vms="*some_regular_expression*" --snapshot-max=3 snapshot snapshot-rotate