forked from cernopendata/opendata.cern.ch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMS: adds contextualization script, fixes for VMs
* Adds one record for the new contextualization script and makes modifications to the previous contextualization script records. (closes cernopendata#2045) * Updates the 2011 VM record, so that it is appropriate for 2012 data as well. (closes cernopendata#2044) Signed-off-by: Artemis Lavasa <[email protected]>
- Loading branch information
1 parent
1d3c60e
commit 4f4898e
Showing
3 changed files
with
88 additions
and
17 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
cernopendata/modules/fixtures/data/records/cms-tools-vm-image-2012.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[ | ||
{ | ||
"abstract": { | ||
"description": "The scripts provided create the CMS virtual machine image based on <a href=\"https://cernvm.cern.ch\">CernVM</a>, with Scientific Linux CERN 6 (slc6)." | ||
}, | ||
"accelerator": "CERN-LHC", | ||
"authors": [ | ||
{ | ||
"name": "Blomer, Jakob" | ||
} | ||
], | ||
"collections": [ | ||
"CMS-Tools" | ||
], | ||
"date_created": "2012", | ||
"date_published": "2017", | ||
"distribution": { | ||
"formats": [ | ||
"txt" | ||
], | ||
"number_files": 3, | ||
"size": 3401 | ||
}, | ||
"experiment": "CMS", | ||
"files": [ | ||
{ | ||
"checksum": "adler32:234a36f3", | ||
"size": 178, | ||
"uri": "root://eospublic.cern.ch//eos/opendata/cms/environment/2012/cernvm-script.txt" | ||
}, | ||
{ | ||
"checksum": "adler32:f223d6d8", | ||
"size": 3071, | ||
"uri": "root://eospublic.cern.ch//eos/opendata/cms/environment/2012/cms-user-data.txt" | ||
}, | ||
{ | ||
"checksum": "adler32:786f33c7", | ||
"size": 152, | ||
"uri": "root://eospublic.cern.ch//eos/opendata/cms/environment/2012/opendata-desktop-settings" | ||
} | ||
], | ||
"publisher": "CERN Open Data Portal", | ||
"recid": "253", | ||
"relations": [ | ||
{ | ||
"type": "isRelatedTo", | ||
"recid": "252", | ||
"description": "The final CERN VM image can be found here:" | ||
} | ||
], | ||
"run_period": "Run2012A-Run2012D", | ||
"title": "Contextualisation scripts to create the CMS VM Image version 1.3.0, for 2012 data release", | ||
"type": { | ||
"primary": "Environment", | ||
"secondary": [ | ||
"VM" | ||
] | ||
}, | ||
"usage": { | ||
"description": " <p> First, you need to run a normal Micro-CernVM, using your own context so you can login. Copy the attached files to the running VM and then login.</p>\n <p>Inside the VM, you first need a copy of the latest Micro-CernVM release as a template for the Open Data image. Download it, inside the running VM, from: <a href=\"http://cernvm.cern.ch/releases/production/cernvm3-micro-2.8-6.hdd\"> http://cernvm.cern.ch/releases/production/cernvm3-micro-2.8-6.hdd </a> placing it in the same directory as the other files. </p>\n <p> Run the script:<code>./cernvm-script </code>which will produce some output on the terminal, and then finish. </p>\n <p>The result should be a file with the title coming from the -n field in the script. In this case, the file we're interested in is: <code>CMS-OpenData-1.3.0.ova </code>which can be copied from the running VM to elsewhere. </p> " | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters