[Linux-cluster] Parameter snapshot in vm.sh

Thomas Sjolshagen thomas at sjolshagen.net
Thu Jan 14 16:28:09 UTC 2010

Quoting "Dirk H. Schulz" <dirk.schulz at kinzesberg.de>:

> Hi folks,
> I do not understand this as the virtual machine image is stored  
> wherever it is configured in the virtual machine config file - and  
> what does it have to do with snapshots (i. e. what is a "snapshot  
> directory")?

The snapshot directory is the directory into which vm.sh will "virsh  
save" the memory contents of the guest when shutting it down (when  
use_virsh="1" at least). As I understand it, during rgmanager (or  
clusvcadm -d) activities, the vm is saved to the snapshot directory  
and restored from the file in that directory - if it exists.

Somewhat unrelated; I'd love to have a parameter that defines the  
"stop" action as either "snapshot" or "shutdown". It takes a long time  
to snapshot 10 guests to a gfs2 file system and the restore  
functionality does a valiant effort, but the Linux kernel does not  
seem to like being restored as of yet (the guest usually hangs after a  
seemingly arbitrary amount of time). As a result, my innodb based  
tables get a little cranky from the interruption/crash.

// Thomas

This message was sent using IMP, the Internet Messaging Program.

More information about the Linux-cluster mailing list