Changes between Version 20 and Version 21 of JOhrenSandbox/GIMINotes8.1.2012


Ignore:
Timestamp:
08/02/12 18:54:00 (12 years ago)
Author:
Jeanne Ohren
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JOhrenSandbox/GIMINotes8.1.2012

    v20 v21  
    4949}}}
    5050  * Configured hook script to use my iRODS server
     51{{{
     52***************
     53*** 23,31 ****
     54  # THE SOFTWARE.
     55  #
     56  irodsUserName=rods
     57! irodsHost=emmy8.casa.umass.edu
     58  irodsPort=1247
     59! irodsZone=geniRenci
     60  export irodsUserName irodsHost irodsPort irodsZone
     61 
     62  # XXX: You might need to initialise the iRODS password for the UNIX user
     63--- 23,31 ----
     64  # THE SOFTWARE.
     65  #
     66  irodsUserName=rods
     67! irodsHost=pc41.emulab.net
     68  irodsPort=1247
     69! irodsZone=bbnZone
     70  export irodsUserName irodsHost irodsPort irodsZone
     71 
     72  # XXX: You might need to initialise the iRODS password for the UNIX user
     73}}}
     74  * Configured /etc/omf-expctl-5.4/omf-expctl.yaml to point to my OML server (can also be specified on the command line)
     75{{{
     76      # URI to the OML server to use for this EC
     77      # (can be overwritten on the EC command line)
     78      :omluri: 'tcp:pc41.emulab.net:3003'
     79}}}
     80
    5181
    5282== 2.  Obtain slice of GENI resources, install and configure GIMI I&M tools ==
     
    83113  * I had to do a lot of modification to this script because it is very tailored to the OML server configuration
    84114     * Pulls filename and username from the path of the file so it is very dependent upon the filesystem configuration of the server (e.g. home directories are in /users instead of /home)
     115{{{
     116!                                         NAME=${DBFILE:12:6};
     117!                                         FILE=${DBFILE:12};
     118-----------
     119!                                         NAME=${DBFILE:7:6};
     120!                                         FILE=${DBFILE:19};
     121}}}
    85122     * Had to make some changes to the ichmod commands to get it to work with my iRODS server
     123{{{
     124!                                             ichmod -M own $NAME /geniRenci/home/$NAME/$FILE
     125!                                             iput -f ${DBFILE} /geniRenci/home/$NAME/$FILE;
     126!                                             imeta add -d /geniRenci/home/$NAME/$FILE Date ${DATE}
     127!                                             imeta add -d /geniRenci/home/$NAME/$FILE UserName $NAME
     128!                                             imeta add -d /geniRenci/home/$NAME/$FILE SliceName $SLICE
     129--------
     130!                                             ichmod -M own rods /bbnZone/home/$NAME
     131!                                             iput -f ${DBFILE} /bbnZone/home/$NAME/$FILE;
     132!                                             ichmod -M own $NAME /bbnZone/home/$NAME/$FILE
     133!                                             imeta add -d /bbnZone/home/$NAME/$FILE Date ${DATE}
     134!                                             imeta add -d /bbnZone/home/$NAME/$FILE UserName $NAME
     135!                                             imeta add -d /bbnZone/home/$NAME/$FILE SliceName $SLICE
     136}}}
    86137  * The hook script currently expects the usernames to begin with "gimi".  I had to modify my script to look specifically for my username.  '''This will not currently work on emmy9 when experimenters use their own credentials'''
     138{{{
     139!                                           if [[ $NAME =~ ^gimi[0-9] ]]; then
     140--------
     141!                                           if [[ $NAME =~ ^johren ]]; then
     142}}}
    87143  * Inputs:
    88144    * oml2-server-hook script running on the OML server
     
    145201    * How will updates be handled between static image releases?  Postboot scripts?
    146202    * How does the user identify which image they are running?  Can they tell from within the running node?
    147