Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:oar-vagrant [2016/02/25 15:31] – [Pull and build] neyronwiki:oar-vagrant [2017/05/05 23:28] – [Pull and build] neyron
Line 10: Line 10:
  
 You also need to install [[https://www.virtualbox.org|Virtualbox]] (remember: Vagrant is just a tool which instruments VM engines, with Virtualbox being well supported). You also need to install [[https://www.virtualbox.org|Virtualbox]] (remember: Vagrant is just a tool which instruments VM engines, with Virtualbox being well supported).
 +
 +
 +== Note about Linked clone VM disks: ==
 +To speed-up the VM startup, and for disk space concerns, you can enable the use of VirtualBox "linked clone VMs"
 +
 +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 ../misc/env.sh file in your current shell (this will alter your shell's PATH) (this is what I use)
 +  * 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 "linked clone VMs". 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 that: 
-  * either by sourcing the ../misc/env.sh file in your current shell (this will alter your shell's PATH) (this is what I use) 
-  * 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 ==
   * '''export OAR_FTP_DISTRIB=sid_beta''' allows one to use the beta version of the packages for Debian sid/unstable (typically before the are uploaded to Debian sid/unstable and then moved to Debian testing a few days afterward).   * '''export OAR_FTP_DISTRIB=sid_beta''' allows one to use the beta version of the packages for Debian sid/unstable (typically before the are uploaded to Debian sid/unstable and then moved to Debian testing a few days afterward).
   * '''export OAR_FTP_DISTRIB=jessie-backports_beta''' allows on to use the beta version of the packages for jessie-backports (typically before the are uploaded to Debian jessie-backports distribution).   * '''export OAR_FTP_DISTRIB=jessie-backports_beta''' allows on to use the beta version of the packages for jessie-backports (typically before the are uploaded to Debian jessie-backports distribution).
Line 89: Line 93:
 Provision scripts for older versions of OAR might however be provided in other branches (e.g. see branch "oar-2.5.2"). Provision scripts for older versions of OAR might however be provided in other branches (e.g. see branch "oar-2.5.2").
  
-==== 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 !
  
wiki/oar-vagrant.txt · Last modified: 2024/04/10 16:20 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki