Changes between Version 9 and Version 10 of DRM4G/ResourceConfiguration/EGIFedCloud


Ignore:
Timestamp:
Dec 23, 2016 9:17:25 PM (6 years ago)
Author:
minondoa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRM4G/ResourceConfiguration/EGIFedCloud

    v9 v10  
    3030{{{#!js
    3131{
    32     "fedcloud" : {
     32    "rocci" : {
    3333        "vo" : "fedcloud.egi.eu",
    34         "clouds" : {
     34        "cloud_providers" : {
    3535            "EGI FedCloud - CESNET-METACLOUD" : {
    3636                "endpoint" : "https://carach5.ics.muni.cz:11443",
     
    5151== Cloud configuration keys ==
    5252
    53  * `fedcloud`: Indicates the name of the ''Virtual Organization'' (VO) being used. In the future more may be added.
     53 * `rocci`: Indicates the name of the ''Virtual Organization'' (VO) being used. In the future more may be added.
    5454  * `vo`: it's used for authorization, to get the proxy certificate
    5555   * `fedcloud.egi.eu`: shouldn't be changed for !FedCloud sites
    56   * `clouds`: it will usually contain a list of sites with the VM configurations.
     56  * `cloud_providers`: it will usually contain a list of sites with the VM configurations.
    5757   * `<site_name>`: name that represents the site where your VM will be hosted
    5858    * `endpoint`: end of a communication channel, URL of their server
     
    6868There are a couple of configuration keys in "'''''resources.conf'''''" that reference values found in this JSON.
    6969
    70 * From the resource configuration file "''resources.conf''" you have to indicate which "'''''cloud'''''", "'''''app'''''" and "'''''flavour'''''" you want to use from all of the ones you have defined in the cloud setup file.
    71  * It is done with the "'''''cloud'''''", "'''''virtual_image'''''" and "'''''flavour'''''" keys from the resource configuration file respectively.
     70* From the resource configuration file "''resources.conf''" you have to indicate which "'''''cloud_providers'''''", "'''''apps'''''" and "'''''flavours'''''" you want to use from all of the ones you have defined in the cloud setup file.
     71 * It is done with the "'''''cloud_provider'''''", "'''''virtual_image'''''" and "'''''flavour'''''" keys from the resource configuration file respectively.
    7272
    7373* You can modify the name (not the value) of the "'''''<site_name>'''''", "'''''<system_image_name>'''''" and "'''''<hardware_template>'''''", so be sure to write the same value on the resource configuration file as the name on the cloud setup file.
     
    7575   {{{
    7676   [CESNET_Metacloud]
    77    cloud             = EGI FedCloud - CESNET-METACLOUD
     77   cloud_provider    = EGI FedCloud - CESNET-METACLOUD
    7878   flavour           = Small
    7979   virtual_image     = Ubuntu-14.04
    8080   }}}
    8181   {{{
    82    "clouds" : {
     82   "cloud_providers" : {
    8383       "EGI FedCloud - CESNET-METACLOUD" : {
    8484           "endpoint" : "https://carach5.ics.muni.cz:11443",
     
    113113{{{#!js
    114114{
    115   "fedcloud" : {
     115  "rocci" : {
    116116    "vo" : "fedcloud.egi.eu",
    117     "clouds" : {
     117    "cloud_providers" : {
    118118      "EGI FedCloud - CESNET-METACLOUD" : {
    119119        "endpoint" : "https://carach5.ics.muni.cz:11443",
     
    129129}
    130130}}}
    131 1. Configure a "'''fedcloud'''" resource in `resources.conf`.
    132  * The way to inform the ''DRM4G'' that a defined resource is going to be used to create VMs, is to set its `lrms` key to `fedcloud`.
     1311. Configure a "'''rocci'''" resource in `resources.conf`.
     132 * The way to inform the ''DRM4G'' that a defined resource is going to be used to create VMs, is to set its `lrms` key to `rocci`.
    133133 * This way, the ''DRM4G'' won't consider this resource as a ''host'' and so '''it won't send it jobs to execute'''.
    134134  * The VMs created by this resource are what will be considered to be its ''hosts''. That entails that '''the VMs will not be listed by the command ''' `drm4g resource list`
     
    143143vm_user        = drm4g_admin
    144144frontend       = ui.meteo.unican.es
    145 lrms           = fedcloud
    146 cloud          = EGI FedCloud - CESNET-METACLOUD
     145lrms           = rocci
     146cloud_provider = EGI FedCloud - CESNET-METACLOUD
    147147myproxy_server = myproxy1.egee.cesnet.cz
    148148flavour        = Medium
    149149virtual_image  = Ubuntu-14.04
    150 nodes          = 1
     150instances      = 1
    151151volume         = 10
    152152max_jobs_running = 5
     
    254254        frontend:      ui.meteo.unican.es
    255255        private key:   /home/user/.ssh/id_rsa
    256         lrms:          fedcloud
     256        lrms:          rocci
    257257    CESNET_Metacloud_XXX.XXX.XXX.XX
    258258        communicator:  op_ssh