Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
vagrant plugin install vagrant-vbox-snapshot --plugin-version=0.0.2

Wiki Markup
This enables the “vagrant snapshot” command.  Note that the above installs vesion 0.0.2.  if you install the latest plugin version 0.0.3 does not allow taking snapshots of the whole cluster at the same time (you have to specify a VM name).


Run *vagrant snapshot* to see the syntax.


Note that the plugin tries to take a snapshot of all VMs configured in Vagrantfile.  If you are always using 3 VMs, for example, you can comment out c64\[04-10\] in Vagrantfile so that the snapshot commands only operate on c64\[01-03\].


Note: Upon resuming a snapshot, you may find that time-sensitive services may be down (e.g, HBase RegionServer is down, etc.)

Misc

All VMs launched will have a directory called /vagrant inside the VM. This maps to the ambari-vagrant/<os> directory on your local computer. You can use this shared directory mapping to push files, etc.

...