West-Life Virtual Research Environment Docs
  • Introduction
  • Data Management
  • Virtual Folder
    • User's guide
      • Settings
        • Import settings from another Virtual Folder
      • File Manager
      • File Picker
      • Related applications
        • Jupyter notebook
      • Metadata
    • Installation guide
      • Cloud installation
      • Local installation
      • Integration with SSO
    • Integration guide
      • Select File or Dir from Virtual Folder
      • Working with WEBDAV
      • Embedding Virtual Folder Component
      • Adding component into Virtual Folder
    • Developer's guide
      • Backend
      • Frontend - Web Application
      • Metadata and API
        • Dataset metadata and API
        • File metadata and API
      • Import Export Settings API
      • Related application and services
      • Untitled
  • Virtual Machines and Containers
    • Preparing vagrant VM template
    • Preparing docker container
  • Repository
    • Installation guide
      • Prerequisites
      • Automatic installation
      • Manual installation from source codes
    • User's guide
      • Scientist imports project proposal
      • Staff uploads data
      • Scientist works with dataset
      • Metadata
    • Developer's guide
      • Metadata generation
      • ARIA integration
Powered by GitBook
On this page
  • Downloading VM image
  • Contextualization
  1. Virtual Folder
  2. Installation guide

Cloud installation

PreviousInstallation guideNextLocal installation

Last updated 6 years ago

In order to install Virtual Folder in VM or in cloud environment you may use prepared images:

1. - The standard OVA (open virtual appliance) image can be used to deploy West-Life VM into e.g. OpenNebula cloud environment. This image is already contextualized for binary bootstrap.

2. - RAW image can be used to deploy West-Life VM into OpenStack cloud environment. This image is not contextualized - call binary contextualization at /cvmfs/west-life.egi.eu/software/virtualfolder/latest/bootstrap/bootstrapcloud.sh

3. Any generic image of based on RHEL 7, (e.g. CernVM 4, Centos 7,...) and use one of the following script for contextualization

  • for binary installation: /cvmfs/west-life.egi.eu/software/virtualfolder/latest/bootstrap/bootstrapcloud.sh

  • for source code installation:

    #!/usr/bin/env bash
    mkdir -p /opt/virtualfolder-src
    cd /opt/virtualfolder-src
    git clone https://github.com/h2020-westlife-eu/west-life-wp6.git
    export WP6SRC=/opt/virtualfolder-src/west-life-wp6/wp6-virtualfolder
    export PORTAL_DEPLOYMENT=0  # 1 =enable VRE - multiuser environment
    export SSO_DEPLOYMENT=0 # 1 =enable SSO -multiuser environment
    chown -R vagrant:vagrant $WP6SRC
    $WP6SRC/bootstrap/bootstrap.sh

Downloading VM image

You may download the latest West-life VM in the OVA compatible format from

Use the downloaded image to deploy it to prefered provider. You may deploy the image in EGI resources - follow EGI documentation.

Contextualization

OVA image for OpenNebula contains by default contextualization, RAW image for OpenStack contains reference to cloud-init file which needs to be provided in order to boot Virtual Folder and related software during first boot. By default the image contextualization is set to use direct connection to CernVM-FS repositories. If you have local squid proxy server, it is very recommended to configure it in contextualization script.

[ucernvm-begin]
cvmfs_http_proxy=http://<host>:<port>
[ucernvm-end]

[cernvm]
proxy = http://<host>:<port>;DIRECT

Alternatively you may use the RAW image for deployment into OpenStack at

Further information about contextualization of CernVM can be found at

https://appdb.egi.eu/store/vappliance/d6.1.virtualfoldervm
https://appdb.egi.eu/store/vappliance/west.life.vm
https://appdb.egi.eu/store/vappliance/d6.1.virtualfoldervm
https://appdb.egi.eu/store/vappliance/west.life.vm
https://cernvm.cern.ch/portal/contextualisation