This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
wiki:oar-vagrant [2016/02/25 15:31] – [Pull and build] neyron | wiki:oar-vagrant [2017/05/05 23:28] – [Pull and build] neyron | ||
---|---|---|---|
Line 10: | Line 10: | ||
You also need to install [[https:// | You also need to install [[https:// | ||
+ | |||
+ | |||
+ | == Note about Linked clone VM disks: == | ||
+ | To speed-up the VM startup, and for disk space concerns, you can enable the use of VirtualBox " | ||
+ | |||
+ | If the Vagrant version you are using is 1.8 or newer, this should work out of the box. | ||
+ | |||
+ | If not, you can enable the tricks we had in place before Vagrant 1.8 went out: | ||
+ | * either by sourcing the ../ | ||
+ | * or by uncommenting the lines at the beginning of the Vagrantfiles | ||
+ | |||
+ | |||
==== Pull and build ==== | ==== Pull and build ==== | ||
Line 25: | Line 37: | ||
Vagrant is quite greedy on disk space, so by default you will only get one node. You might change that by exporting the OARVAGRANT_NODES_COUNT shell environment variable (warning: changing the node count requires to destroy and up again everything). | Vagrant is quite greedy on disk space, so by default you will only get one node. You might change that by exporting the OARVAGRANT_NODES_COUNT shell environment variable (warning: changing the node count requires to destroy and up again everything). | ||
- | |||
- | ==== Linked clone disks ==== | ||
- | To speed-up the VM startup, and for disk space concerns, you can enable the use of VirtualBox " | ||
- | |||
- | If not, you can enable the tricks we had in place before that: | ||
- | * either by sourcing the ../ | ||
- | * or by uncommenting the lines at the beginning of the Vagrantfiles | ||
- | |||
By default, OAR packages that will be used are the stable (or backports, for Debian) package for the distribution. If you want to use testing package, you can use the OAR_FTP_DISTRIB environment variable. For Debian, you can also use the DEBIAN_EXTRA_DISTRIB environment variables to use packages from Debian unstable or testing distribution. | By default, OAR packages that will be used are the stable (or backports, for Debian) package for the distribution. If you want to use testing package, you can use the OAR_FTP_DISTRIB environment variable. For Debian, you can also use the DEBIAN_EXTRA_DISTRIB environment variables to use packages from Debian unstable or testing distribution. | ||
- | == Examples for Debain | + | == Examples for Debian |
* ''' | * ''' | ||
* ''' | * ''' | ||
Line 89: | Line 93: | ||
Provision scripts for older versions of OAR might however be provided in other branches (e.g. see branch " | Provision scripts for older versions of OAR might however be provided in other branches (e.g. see branch " | ||
- | ==== Post Scriptum ==== | + | ==== Post Scriptum: provision scripts |
If you are new to OAR, mind looking at the provision.sh script, as an example of how to install a OAR cluster ! | If you are new to OAR, mind looking at the provision.sh script, as an example of how to install a OAR cluster ! | ||