Project

General

Profile

Actions

Task #4371

closed

Upgrade #3868: D4Science Infrastructure Upgrade to gCube 3.11.0

Upgrade #3873: D4Science Gateways upgrade to gCube 3.11.0

Task #2516: Provide RStudio in the e-Infrastructure VREs

same R configuration (R version and packages) on R-Studio as the one on machine(s) used by Dataminer.

Added by Pasquale Pagano almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Target version:
Start date:
Jun 23, 2016
Due date:
Jul 23, 2016
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

We should analyze and deliver a solution to automatize the configuration of the Dataminer instances. The idea is that a user configure RStudio and all packages he installs are then automatically installed on the Dateminer instances available in his VRE.


Files

r_github_pkgs.txt (294 Bytes) r_github_pkgs.txt R packages from github Andrea Dell'Amico, Oct 21, 2016 02:40 PM
r_cran_pkgs.txt (946 Bytes) r_cran_pkgs.txt R packages from CRAN like mirrors Andrea Dell'Amico, Oct 21, 2016 02:40 PM
r_deb_pkgs.txt (369 Bytes) r_deb_pkgs.txt Debian packages needed by R ones Andrea Dell'Amico, Oct 21, 2016 02:40 PM

Related issues

Related to D4Science Infrastructure - Task #4865: Installing data analysis machine to develop prototypesClosedAndrea Dell'AmicoAug 22, 2016

Actions
Related to D4Science Infrastructure - Task #5448: Dataminer - Need to align R configuration with RStudio simulation environmentClosedGianpaolo CoroSep 30, 2016Nov 04, 2016

Actions
Actions #1

Updated by Andrea Dell'Amico almost 9 years ago

  • Related to Task #4865: Installing data analysis machine to develop prototypes added
Actions #2

Updated by Andrea Dell'Amico over 8 years ago

The new proposal is the following:

  • Three lists are maintained into a subversion repository. One for the debian packages, one for the R packages installed from CRAN or other sites that publish source tarbals, one for the R packages installed from github
  • A cron job is installed on all the R enabled servers (dataminer, rstudio). The cron job runs frequently (at 10 minutes intervals?), downloads the files and installs the packages that aren't already present. It also runs once daily to reinstall the packages that have new versions available.
Actions #3

Updated by Andrea Dell'Amico over 8 years ago

  • Related to Task #5448: Dataminer - Need to align R configuration with RStudio simulation environment added
Actions #4

Updated by Andrea Dell'Amico over 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80
  • Infrastructure Development, Pre-Production added

The script and the cron jobs are ready.

We now only need a repository where to store the three lists.

Actions #5

Updated by Andrea Dell'Amico over 8 years ago

I'm attaching the files lists. @gianpaolo.coro@isti.cnr.it would you setup a subversion repository for them?

Actions #7

Updated by Andrea Dell'Amico over 8 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 80 to 100

The lists are now got from subversion. script and the cron jobs work as proposed in #note-2:

  • One cron job runs at 10 minutes interval and installs new packages if any
  • One cron jobs runs every night at 3am and updates all the listed packages.

Note that a complete reinstall needs slightly less than three hours.

The script relies on locking to avoid parallel runs.

Installed on dataminer1-d-d4s.d4science.org and dataminer1-proto.d4science.org right now.

Actions #8

Updated by Gianpaolo Coro over 8 years ago

Could you please install it on dataminer1-devnext?
What happens if one of the packages has typo? The complete installation should not stop, I guess.
Is the latest version always installed, by default configuration?

I have added one package on the SVN files. I will go to see if the package has been installed.

Actions #9

Updated by Andrea Dell'Amico over 8 years ago

Gianpaolo Coro wrote:

Could you please install it on dataminer1-devnext?

Done.

What happens if one of the packages has typo? The complete installation should not stop, I guess.

It doesn't stop.

Is the latest version always installed, by default configuration?

If a package is not already present, yes.
Otherwise it will be updated by the daily cron job.

Actions #10

Updated by Andrea Dell'Amico over 8 years ago

  • Status changed from Feedback to Closed

Script and cron jobs have been installed on all the dataminer servers.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)