<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>JINR DISTRIBUTED INFORMATION AND COMPUTING ENVIRONMENT: PARTICIPANTS, FEATURES AND CHALLENGES</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>N.A. Balashov</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I.S. Kuprikov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>N.A. Kutovskiy</string-name>
          <email>kut@jinr.ru</email>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A.N. Makhalkin</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ye. Mazhitova</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I.S. Pelevanyuk</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>R.N. Semenov</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dubna State University</institution>
          ,
          <addr-line>19 Universitetskaya str., Dubna, Moscow region, 141980</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Nuclear Physics</institution>
          ,
          <addr-line>050032, 1 Ibragimova str., Almaty</addr-line>
          ,
          <country country="KZ">Kazakhstan</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Meshcheryakov Laboratory of Information Technologies, Joint Institute for Nuclear Research</institution>
          ,
          <addr-line>6 Joliot-Curie, Dubna, Moscow region, 141980</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Nikita Balashov</institution>
          ,
          <addr-line>Igor Kuprikov, Nikolay Kutovskiy, Alexandr Makhalkin, Yelena Mazhitova, Igor Pelevanyuk, Roman Semenov</addr-line>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Plekhanov Russian University of Economics</institution>
          ,
          <addr-line>36 Stremyanny per., Moscow, 117997</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <fpage>5</fpage>
      <lpage>9</lpage>
      <abstract>
        <p>The JINR Distributed Information and Computing Environment (DICE) was created to combine resources for solving common scientific tasks, as well as to distribute peak loads across the resources of partner organizations from the JINR Member States. To monitor the hardware resources and services of the growing DICE infrastructure, a system based on Prometheus and Thanos was designed and deployed. The collected metrics, including the geographical location of the JINR DICE participants, are visualized using Grafana. Software distribution is carried out with the help of the CERN Virtual Machines File System. All these topics, as well as challenges and possible overcomes, are covered in detail.</p>
      </abstract>
      <kwd-group>
        <kwd>cloud computing</kwd>
        <kwd>OpenNebula</kwd>
        <kwd>cloud integration</kwd>
        <kwd>DIRAC</kwd>
        <kwd>ceph</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Participants and resources</title>
    </sec>
    <sec id="sec-2">
      <title>2. Monitoring</title>
      <p>
        To monitor network connectivity among the JINR DICE participants, the perfSONAR (PS)
toolkit [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is used. There is a challenge to deploy the PS instance at some sites since all cloud VMs
there are behind NAT. Low external network bandwidth (e.g. 100 Mbps shared with the whole
organization) is the main contributor to the high CPU wall time of jobs. The most suitable type of jobs
for resources with such low network bandwidth is Monte-Carlo simulation with negligible input data.
      </p>
      <p>There is ongoing work on implementing the metrics aggregation of each participating cloud.
These data are then used for resource monitoring and accounting. All software components involved
are shown in Fig. 1 and listed in the text below.</p>
      <p>
        All JINR DICE clouds are based on the OpenNebula software [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. A custom collector for
gathering OpenNebula-based cloud metrics was developed several years ago at the Meshcheryakov
Laboratory of Information Technologes (MLIT) of JINR. It is capable to store the collected data into
the Prometheus time series database (TSDB) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] via the node_exporter component [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. With the help
of the Thanos sidecar [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], the collected metrics are sent to the JINR ceph object storage via the s3
gateway with a public IP address (as the JINR ceph storage has only private IP addresses and is not
accessible from outside of the JINR network). Grafana is used for data visualization and alarming. It
queries the object storage for data via Thanos Querier and Thanos Store.
      </p>
      <p>
        At the moment of writing the article, metrics aggregation, preservation, visualization and
alarming based on the described approach are implemented for the JINR and NOSU clouds. Having all
data about the JINR DICE participating clouds in one place made it possible to visualize the
geographical location of the resources, as well as their statuses, on the worldmap panel grafana plugin
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Work in this direction is in progress.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Utilization</title>
      <p>At present, the major consumer of the JINR DICE resources is the Baikal-GVD scientific
experiment. The number of its cumulative jobs completed from November 2020 to July 2021 amounts
to 67.5 thousands (Fig. 2). All these jobs are Monte-Carlo simulation. The main issue with them lies in
the 2.4 GB input file size, which needs to be downloaded for each job. It limits the number of
resources that can be used for them, since some participating organizations have very limited network
bandwidth. One of the possible solutions is to put this input file into the CVMFS repository. In this
case, each job (except the first) will download it with a speed of the local network from the CVMFS
caching node.</p>
      <p>
        Idle JINR DICE resources are used for SARS-CoV-2 research under the Folding@Home
project [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. A dedicated team called “Joint Institute for Nuclear Research” [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] was created within the
project. Each member of this team corresponds to a single JINR DICE member. Thus, the contribution
of each participant within the Folding@Home project can be taken into account. Figure 3 illustrates
the number of cumulative jobs completed as part of SARS-CoV-2 research.
      </p>
      <p>Apart from that, Spin Physics Detector (SPD) simulation and reconstruction jobs, as well as
the BM@N workflow with simulation jobs, were successfully tested.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>New members of the JINR Distributed Information and Computing Environment, as well as
new users, are joining. Only Monte-Carlo simulation jobs with negligible input data are suitable for
resources with low external network bandwidth (about 100 Mbps). The technical implementation of
OpenNebula metrics aggregation, preservation and visualization is completed. This experience should
be disseminated to the other JINR DICE clouds. The migration from the hand-drawn JINR DICE map
to the grafana World Map plugin is in progress.
Available
Available
web
at:
at:</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Balashov</surname>
            <given-names>N.A.</given-names>
          </string-name>
          et al.,
          <source>Present Status and Main Directions of the JINR Cloud Development // Proceedings of the 27th International Symposium Nuclear Electronics and Computing</source>
          (NEC'
          <year>2019</year>
          ), CEUR Workshop Proceedings, ISSN:
          <fpage>1613</fpage>
          -
          <lpage>0073</lpage>
          , vol.
          <volume>2507</volume>
          (
          <year>2019</year>
          ), pp.
          <fpage>185</fpage>
          -
          <lpage>189</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>[2] perfSONAR toolkit web portal</article-title>
          . Available at: https://www.perfsonar.
          <source>net (accessed 22.09</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Milojicic</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.M.</given-names>
            <surname>Llorente</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.S.</given-names>
            <surname>Montero</surname>
          </string-name>
          , “
          <article-title>OpenNebula: A cloud management tool”</article-title>
          .
          <source>IEEE Internet Computing</source>
          , vol.
          <volume>15</volume>
          ,
          <string-name>
            <surname>March</surname>
            <given-names>2011</given-names>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <article-title>[4] Prometheus web portal</article-title>
          . Available at: https://prometheus.
          <source>io (accessed 22.09</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <article-title>[5] Prometheus node_exporter github page</article-title>
          . https://github.com/prometheus/node_exporter
          <source>(accessed 23.09</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <article-title>[6] Thanos sidecar github page</article-title>
          . Available at: https://github.com/thanos-io/thanos (accessed
          <volume>23</volume>
          .09.
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <article-title>[7] Worldmap panel grafana plugin web page</article-title>
          . https://grafana.com/grafana/plugins/grafana-worldmap-panel
          <source>(accessed 23.09</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>[8] SARS-CoV-2 web page on the Folding@Home web portal</article-title>
          . Available https://foldingathome.org/diseases/infectious-diseases/covid-19/?lng=
          <source>en (accessed 23.09</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <article-title>[9] JINR team web page on the Folding@Home https://stats</article-title>
          .foldingathome.org/team/265602 (accessed
          <year>23</year>
          .09.
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>