Swift Notes: Difference between revisions

From Cheaha
Jump to navigation Jump to search
No edit summary
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Swift ==
== Swift ==


* Create account for user on stage.uabgrid.uab.edu.
* First you need an account created on stage.uabgrid.uab.edu.
* User can connect to stage.uabgrid.uab.edu:
* Connect to stage.uabgrid.uab.edu:
   ssh stage.uabgrid.uab.edu
   ssh stage.uabgrid.uab.edu
* You will need a UABgrid certificate
* You need a UABgrid certificate.
** The link for [http://uabgrid.uab.edu/UABgridCA UABgrid CA] is in [http://docs.uabgrid.uab.edu UABgrid Documentation].
** The link for [http://uabgrid.uab.edu/UABgridCA UABgrid CA] is in [http://docs.uabgrid.uab.edu UABgrid Documentation].
** Obtain an account on UABgrid first; you will have to log in to get the certificate.  
** Obtain an account on UABgrid first; you will have to log in to get the certificate.  
* From [http://uabgrid.uab.edu/UABgridCA UABgrid CA], go to "Manage Your UABgrid User Certificate."   
* From [http://uabgrid.uab.edu/UABgridCA UABgrid CA], go to "Manage Your UABgrid User Certificate."   
* Download the user key and certificate. Save them to Desktop as userkey.pem and usercert.pem.  
* Download the user key and certificate. Save them to Desktop as userkey.pem and usercert.pem.  
* Put the files into .globus and copy .globus to stage:
* Make a .globus directory on stage and copy the files to it:
   mkdir .globus
   mkdir .globus
   mv Desktop/user* .globus
   mv Desktop/user* .globus
Line 18: Line 18:
* Connect to UABgrid
* Connect to UABgrid
   grid-proxy-init
   grid-proxy-init
*This will bring up a request for your GRID passphrase.  Enter the passphrase that was used when the private key was created.
* This will bring up a request for your GRID passphrase.  Enter the passphrase that was used when the private key was created.
* The [http://www.ci.uchicago.edu/swift Swift website] contains an excellent tutorial on scripting with Swift.

Latest revision as of 19:12, 11 February 2008

Swift

  • First you need an account created on stage.uabgrid.uab.edu.
  • Connect to stage.uabgrid.uab.edu:
  ssh stage.uabgrid.uab.edu
  • You need a UABgrid certificate.
  • From UABgrid CA, go to "Manage Your UABgrid User Certificate."
  • Download the user key and certificate. Save them to Desktop as userkey.pem and usercert.pem.
  • Make a .globus directory on stage and copy the files to it:
 mkdir .globus
 mv Desktop/user* .globus
 ls -lc .globus
 cd .globus 
 chmod 400 userkey.pem
 cd $HOME
  • Connect to UABgrid
 grid-proxy-init
  • This will bring up a request for your GRID passphrase. Enter the passphrase that was used when the private key was created.
  • The Swift website contains an excellent tutorial on scripting with Swift.