Difference between revisions of "Automatic user configuration"

From InelasticDataReduction
Jump to navigation Jump to search
Line 3: Line 3:
 
When an experiment is approved and scheduled by instrument scientist, [http://www.isis.stfc.ac.uk/user-office/ User office] assigns a user with his/her federal ID, which allows user to access ISIS network including [http://www.isis.stfc.ac.uk/groups/excitations/data-analysis-computers/connecting-to-isiscomputendrlacuk-using-nomachine15120.html isiscompute servers] and provides appropriate information to [Catalog service], giving the user rights to access the data in the Catalog. At some stage, special [http://icatingest2.isis.cclrc.ac.uk/excitations.txt information file], which defines the participants of the experiments and the scientists who have access to the data of this experiment is placed on the [http://icatingest2.isis.cclrc.ac.uk/excitations.txt internal server] where it is accessed and automatically processed by [https://github.com/FITLinuxSupport/analysisscripts/blob/master/Build_Mantid_config.py issicompute configuration script]. The format of the file is .json and the sample contents is provided below.
 
When an experiment is approved and scheduled by instrument scientist, [http://www.isis.stfc.ac.uk/user-office/ User office] assigns a user with his/her federal ID, which allows user to access ISIS network including [http://www.isis.stfc.ac.uk/groups/excitations/data-analysis-computers/connecting-to-isiscomputendrlacuk-using-nomachine15120.html isiscompute servers] and provides appropriate information to [Catalog service], giving the user rights to access the data in the Catalog. At some stage, special [http://icatingest2.isis.cclrc.ac.uk/excitations.txt information file], which defines the participants of the experiments and the scientists who have access to the data of this experiment is placed on the [http://icatingest2.isis.cclrc.ac.uk/excitations.txt internal server] where it is accessed and automatically processed by [https://github.com/FITLinuxSupport/analysisscripts/blob/master/Build_Mantid_config.py issicompute configuration script]. The format of the file is .json and the sample contents is provided below.
  
The automatic isiscompute configuration script runs twice a day on [https://isiscompute.nd.rl.ac.uk/nxwebplayer isiscompue server] processing the information file, creating user accounts and appropriate RB folders and giving users permissions to access their RB folders on the basis of the information file. [mailto:alex.buts@stfc.ac.uk Alex Buts] and [https://www.facilities.rl.ac.uk/itsupport/default.aspx FBU IT support] [mailto:FITServiceDesk@stfc.ac.uk FBU IT support (Jeffs Warren)] have access and can modify this script. At the final stage this script runs [https://github.com/mantidproject/mantid/blob/master/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py the Mantid configuration script for inelastic instruments], which configures user's Mantid to [access the data], [auxiliary instrument files] necessary to process these data and to provides users with [initial configuration scripts]. [mailto:alex.buts@stfc.ac.uk Alex Buts] is responsible for maintaining this script.
+
The automatic isiscompute configuration script runs twice a day on [https://isiscompute.nd.rl.ac.uk/nxwebplayer isiscompue server] processing the information file, creating user accounts and appropriate RB folders and giving users permissions to access their RB folders on the basis of the information file. [mailto:alex.buts@stfc.ac.uk Alex Buts] and [https://www.facilities.rl.ac.uk/itsupport/default.aspx FBU IT support] [mailto:FITServiceDesk@stfc.ac.uk FBU IT support (Jeffs Warren)] have access and can modify this script. At the final stage this script runs [https://github.com/mantidproject/mantid/blob/master/scripts/Inelastic/Direct/ISISDirecInelasticConfig.py the Mantid configuration script for inelastic instruments], which configures user's Mantid to user's [[Experimental Data]], [[Instrument parameters and Instrument definitions]] necessary to process these data and to provides users with sample version of [[Reduction scripts]], which users should modify to their requests according to [http://shadow.nd.rl.ac.uk/wiki/idr/index.php/ISIS_direct_reduction_script_description. description], using help of their instrument scientist if necessary. [mailto:alex.buts@stfc.ac.uk Alex Buts] is responsible for maintaining this script.
  
  

Revision as of 12:47, 11 December 2015

Automatic user configuration

When an experiment is approved and scheduled by instrument scientist, User office assigns a user with his/her federal ID, which allows user to access ISIS network including isiscompute servers and provides appropriate information to [Catalog service], giving the user rights to access the data in the Catalog. At some stage, special information file, which defines the participants of the experiments and the scientists who have access to the data of this experiment is placed on the internal server where it is accessed and automatically processed by issicompute configuration script. The format of the file is .json and the sample contents is provided below.

The automatic isiscompute configuration script runs twice a day on isiscompue server processing the information file, creating user accounts and appropriate RB folders and giving users permissions to access their RB folders on the basis of the information file. Alex Buts and FBU IT support FBU IT support (Jeffs Warren) have access and can modify this script. At the final stage this script runs the Mantid configuration script for inelastic instruments, which configures user's Mantid to user's Experimental Data, Instrument parameters and Instrument definitions necessary to process these data and to provides users with sample version of Reduction scripts, which users should modify to their requests according to description, using help of their instrument scientist if necessary. Alex Buts is responsible for maintaining this script.


Extract from .json file defined users who has access to the data

{
"Last Updated": 20150413,
"experiments":
[
  {
   "RbNumber": "1234567",
   "Instrument": "MERLIN",
   "Cycle": "2013/4",
   "StartDate": "20131203",
   "Permissions": [
     {
       "email": "YYYY@stfc.ac.uk",
       "fedid": "XXXXX"
     },
     {
       "email": "warren.jeffs@stfc.ac.uk",
       "fedid": "gpq43739"
     },
     {
       "email": "alex.buts@stfc.ac.uk",
       "fedid": "wkc26243"
     }
   ]
 },
 { "NEXT RB NUMBER""
 }