Changes between Version 1 and Version 2 of DRM4G/ResourceConfiguration/EGIFedCloud


Ignore:
Timestamp:
Dec 1, 2016 5:23:18 PM (5 years ago)
Author:
minondoa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRM4G/ResourceConfiguration/EGIFedCloud

    v1 v2  
    33For configuring an '''EGI Federated Cloud Virtual Machine''', follow the steps below:
    44
    5 Once you've correctly installed the '''DRM4G''', in your `$DRM4G_DIR/etc` directory you'll find a file called `cloudsetup.json`. In it you'll have to define the information needed to create the virtual machine ('''VM''').
    6 
    7 
     5First, you'll need to have access to cloud resources. To do that you'll have to follow the instructions given to [https://wiki.egi.eu/wiki/Federated_Cloud_user_support#Access access the federated services].
    86
    97{{{#!comment
    108, and in the second you'll have to write the contextualisation data the VM needs to be configured.
     9
     10The `generic_cloud_cfg.conf` is where you'
    1111}}}
    1212
    13 The `generic_cloud_cfg.conf` is where you'
     13Then, once you've correctly installed the '''DRM4G''', in your `$DRM4G_DIR/etc` directory you'll find a file called `cloudsetup.json`. In it you'll have to define the information needed to create your virtual machine ('''VM''').
     14
     15{{{#!comment
     16I got this from https://www.tutorialspoint.com/json/json_syntax.htm
     17I don't think that should be a problem
     18}}}
     19 * It's a JSON file, so it's syntax includes the following:
     20  * Data is represented in name/value pairs.
     21  * Curly braces hold objects and each name is followed by ':'(colon), the name/value pairs are separated by "," (commas).
     22
     23By default it comes with examples using sites that have been proven to work.
     24The list will be updated with upcoming releases.
     25
     26This is an example of how the "'''''cloudsetup.json'''''" should look like:
     27{{{#!js
     28{
     29    "fedcloud" : {
     30        "vo" : "fedcloud.egi.eu",
     31        "clouds" : {
     32            "EGI FedCloud - CESNET-METACLOUD" : {
     33                "endpoint" : "https://carach5.ics.muni.cz:11443",
     34                "apps" : {
     35                    "Ubuntu-14.04" : "http://occi.carach5.ics.muni.cz/occi/infrastructure/os_tpl#uuid_egi_ubuntu_server_14_04_lts_fedcloud_warg_131"
     36                },
     37                "flavours" : {   
     38                    "Small"  : "http://fedcloud.egi.eu/occi/compute/flavour/1.0#small",
     39                    "Medium" : "http://fedcloud.egi.eu/occi/compute/flavour/1.0#medium"
     40                }
     41            }
     42        }
     43    }
     44}
     45}}}
     46
     47
     48There are a couple of configuration keys in "''resources.conf''" that reference values found in this JSON.
     49
    1450
    15511. Configure the `esrVO` resource. If the grid user interface has defined `LCG_GFAL_INFOSYS` and `MYPROXY_SERVER` variables, you do not have to indicate `bdii` and `myproxy_server` keys in your configuration: