SlideShare una empresa de Scribd logo
1 de 45
Descargar para leer sin conexión
glideinWMS Training @ UCSD


                glideinWMS Frontend
                      Installation
                     Part 2 – Frontend Installation
                            by Igor Sfiligoi (UCSD)




UCSD Jan 18th 2012                Frontend Install    1
Overview


                     ●   Introduction
                     ●   Planning and System setup
                     ●   Prerequisites
                     ●   Actual Frontend Installation




UCSD Jan 18th 2012                  Frontend Install    2
Refresher - Glideins
 ●   A glidein is just a properly configured Condor
     execution node submitted as a Grid job
      ●    glideinWMS       Central manager
           provides                                             glidein
                                                              Execution node
                               Collector              CREAM
           automation                                           glidein
                                                              Execution node
                              Negotiator
          Submit node
          Submit node
                                                                glidein
                                                              Execution node
          Submit node
                                                              Execution node
                                                                glidein
           Schedd                                                Startd
                                                     Globus
                                                                      Job
                            glideinWMS


UCSD Jan 18th 2012                Frontend Install                             3
Refresher – VO Frontend
 ●   The frontend monitors the user Condor pool,
     does the matchmaking and requests glideins
      ●   Factory a slave                                                  Configure Condor G.N.

                                   Submit node
  Frontend node                                                            Worker node
                       Monitor     Submit node
     Frontend          Condor                                                 glidein
                                 Central manager
                                                                              Startd
                     Match
                                                                Globus              Job
             Request
             glideins            Factory node

                                   Condor                                   glidein
                                                                         Execution node
                                                            CREAM
                                   Factory                                 glidein
                                                                         Execution node
                                                     Submit
                                                     glideins
UCSD Jan 18th 2012                           Frontend Install                                      4
Refresher - glidein_startup
 ●   Glidein startup script mostly an empty shell
 ●   Real code and config files downloaded
      ●   From both Factory and Frontend Web servers
       Factory node                                         glidein_startup
           HTTPd                                   ●   Load files
                                  Squid                from factory Web
                                                   ●   Load files
                                                       from frontend Web
      Frontend node                                ●   Run executables
                                                   ●   Start Condor      Startd
           HTTPd                                   ●   Cleanup
                      Nothing will work
                      if HTTPd not running


UCSD Jan 18th 2012              Frontend Install                                  5
Refresher - Cardinality
 ●   N-to-M relationship
      ●   Each Frontend can talk to many Factories
      ●   Each Factory may serve many Frontends
                                                          VO Frontend

            VO Frontend         Glidein Factory                             Collector
                                                                             Schedd
                                                                            Negotiator


          Collector                                          Startd
                                       Startd
           Schedd
                                              User job           User job
          Negotiator
                                          Startd
              Glidein Factory                    User job


UCSD Jan 18th 2012                     Frontend Install                                  6
Refresher - Matchmaking
 ●   The glideinWMS triggers glidein submission
      ●    The “regular” negotiator matches jobs to glideins
                          Central manager
                                                              glidein
                                                            Execution node
                             Collector              CREAM
                                                              glidein
                                                            Execution node
                            Negotiator
          Submit node
          Submit node
                                                              glidein
                                                            Execution node
          Submit node
                                                            Execution node
                                                              glidein
           Schedd                                              Startd
                                                   Globus
                                                                    Job
                          glideinWMS


UCSD Jan 18th 2012              Frontend Install                             7
Refresher – Security Handles
 ●   Mutual authentication with Factory
 ●   Frontend provides (and Factory whitelists)                    One set
      ●   Service Proxy to talk to Factory Collector               for whole
      ●   Frontend Security name                                   Frontend
                                                                   (all Groups)
      ●   Pilot Proxy
                                   Can have many such pairs
      ●   Proxy Security Class
 ●   Frontend whitelists (obtained from Factory admins)
      ●   Factory Collector DN
      ●   Own mapping @Factory                    One set per factory collector
      ●   Factory mapping @Factory

UCSD Jan 18th 2012             Frontend Install                             8
A word about monitoring
 ●   The frontend keeps historical stats for
     monitoring purposes
 ●   Storage based on Round Robin Databases
     rrdtool - http://oss.oetiker.ch/rrdtool/
 ●   Web interface to RRDs also provided
      ●   No server side code
      ●   Fully client side rendering in Javascript
          JavascriptRRD - http://javascriptrrd.sourceforge.net/



UCSD Jan 18th 2012               Frontend Install                 9
Planning
                         and
                     System setup



UCSD Jan 18th 2012       Frontend Install   10
It is a big world
 ●   Many pieces, Frontend processes just a part
      ●   Condor
                                                                      Submit node
                                     Frontend node
      ●   Web Server                                      Monitor     Submit node
                                                          Condor
      ●   Factory                      Frontend
                                                  Match             Central manager
      ●   The Grid                 Web Server
                                                           Request
                                                           glideins
 ●   Must play nicely                    Fetch
                                                                    Factory node
                                          files
     with all of them
                                                                      Condor

                                                                      Factory
                                      glidein
                                                      Submit
                                                      glideins


UCSD Jan 18th 2012        Frontend Install                                         11
Condor




        You should have Condor installed by now!

                     See yesterday's talk(s)




UCSD Jan 18th 2012           Frontend Install      12
Planning
 ●   Frontend can be installed on its own node
      ●    Or shared with other services
 ●   Avoid nodes where many users log into
      ●    For security reasons
      ●    Will hold the pilot cert(s)
 ●   Condor Central Manager a good companion
      ●    If it has enough Hardware for both

          Experience: CMS has been switching between dedicated node and
                      co-locating with CM as the pool grew and HW got replaced

UCSD Jan 18th 2012                      Frontend Install                         13
Hardware requirements
 ●   The CPU and Memory resources scale with the
     Condor use, both          Actual memory usage
                               depends on attributes
                                                 used for matchmaking
      ●   Jobs in the queue                      O(1k)-O(100k)
      ●   Glideins registered with the VO Collector
 ●   Each Frontend group spawns 5 processes
      ●   So useful to have multiple CPUs
 ●   Minimal IO use



UCSD Jan 18th 2012            Frontend Install                          14
Components requiring root
 ●   The Frontend processes do not need root
     privileges
      ●   And can be installed fully as non-root
 ●   However, a few components are easier to
     install as root
                                                        Will thus use
      ●   The (OSG) Grid Client & CAs                   this method
                                                        in this talk
      ●   The Web server
      ●   rrdtool python libraries                Not my favorite,
                                                  but will shortly
 ●   Frontend RPM also available                  describe it
                                                  toward the end


UCSD Jan 18th 2012             Frontend Install                         15
OSG Grid Client
 ●   Requires RHEL5-compatible Linux                                                 Pacman based
                                                                                     VDT could be
      ●   RHEL6 support promised for early 2012                                      installed as non-root
                                                                                     but now deprecated
 ●   Procedure in a nutshell
      ●   Add EPEL and OSG RPM repositories to sys conf.
      ●   yum install osg-ca-certs
      ●   yum install osg-client
                                                                              Other Grid clients
      ●   Enable CRL fetching crontab                                           (e.g. EGI/glite)
                                                                             will work just as well

https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallOSGClient




UCSD Jan 18th 2012                               Frontend Install                                     16
Web server
 ●   Any Web server will do
                                                    ## install the web server
                                                       install the web server
      ●   Serving just static files                 yum remove -y httpd
                                                      yum remove -y httpd
                                                    cd glideinWMS/install/
 ●   The glideinWMS provided                          cd glideinWMS/install/
                                                    ## Q&A installer in batch mode
                                                       Q&A installer in batch mode
     installer will clean up the config             ./glideinWMS_install << EOF
                                                    88
                                                      ./glideinWMS_install << EOF
                                                    cc
      ●   Will use system                           80
                                                                        Port to use
                                                      80
          yum install                               11
                                                    EOF
                                                      EOF
      ●   But get rid of any eventual
          old httpd beforehand
 ●   Create a directory owned by the frontend user
      ●   /var/www/html/vofrontend

UCSD Jan 18th 2012               Frontend Install                               17
RRDTool
 ●   The Frontend is a python script
      ●   Thus needs the RRDTool python libraries
 ●   Easiest way is getting them from EPEL
      ●   Which you already have if using the OSG Client

                     % yum install rrdtool-python
                      % yum install rrdtool-python




UCSD Jan 18th 2012                        Frontend Install   18
Prerequisites




UCSD Jan 18th 2012       Frontend Install   19
Before you begin
 ●   Before you start the actual installation, you
     need a few things:                        Assuming
                                                               “frontend”
      ●   Decide what UID will you be using                    in this talk

      ●   A host/service certificate for the Frontend
      ●   One or more pilot certificates
           –   And they must be registered with your VOMS
      ●   Decide on the Security Name for your Frontend
      ●   Find a Factory to support you
                               Hint: The OSG glidein factory



UCSD Jan 18th 2012               Frontend Install                             20
Frontend certificate
 ●   OSG provides a script to talk to DOEGrids
     https://twiki.grid.iu.edu/bin/view/Documentation/Release3/GetHostServiceCertificates#Request_a_Service_Certificate

      ●    Unfortunately, must be run as root
 ●   Procedure in a nutshell
      ●    Install OSG client                               Ask for the
                                                           “VOfrontend”
      ●    yum install osg-cert-scripts                      service
      ●    cert-request …
      ●    Wait for email
      ●    cert-retrieve …
                                       If you have other ways
      ●    cp into ~frontend/.globus/ to obtain a service cert,
                                         feel free to use them
      ●    chown to frontend:frontend

UCSD Jan 18th 2012                                     Frontend Install                                                   21
Pilot certificate(s)
 ●   Just another type of service certificate
                                                                              Try to make it
      ●    Use service name VOpilotXX                                         Globally Unique

 ●   Follow instructions on previous slide
 ●   Then register it with your VOMS
                       If you decide to
               use multiple pilot certificates               Each VO uses a slightly different
          with different privileges you may want             procedure, so I am not going to
                               to                            describe this step
           pick multiple security class names
                      for added security
                    (default is “frontend”)



UCSD Jan 18th 2012                        Frontend Install                                   22
The Security Name
 ●   The Frontend Security Name is a
     Globally Unique name your Frontend will use
     to securely communicate with the Factories
      ●   A good pick is “VOsomething”
 ●   This may or may not be the same as the
     Frontend Name
      ●   Which also must be Globally Unique
      ●   and is used as a ClassAd Name
      ●   The Frontend name often contains a version string;
          Security name does/must not

UCSD Jan 18th 2012           Frontend Install              23
Contact the factory admins
 ●   You will need a Factory to submit glideins
 ●   While the Factory is a slave to the Frontend
      ●   It chooses its masters!
 ●   To use the OSG glidein factory, send an email to
     osg-gfactory-support@physics.ucsd.edu
 ●   You will need to provide
      ●   Frontend certificate DN                                      And you will get back
                                                                       the factory information
      ●   Security name                                                you need during the installation

                     http://hepuser.ucsd.edu/twiki2/bin/view/UCSDTier2/OSGgfactory


UCSD Jan 18th 2012                           Frontend Install                                      24
Frontend
                     Installation




UCSD Jan 18th 2012      Frontend Install   25
Frontend Installation
 ●   Now you should have all the pieces
     to start the installation        I assume you already
                                                                have the glideinWMS
 ●   In a nutshell                                              “binaries”
                                                                http://tinyurl.com/glideinWMS

      ●   Automate proxy creation
      ●   Get access to a Condor client
      ●   Get JavascriptRRD tarball and extract it
          http://sourceforge.net/projects/javascriptrrd/
      ●   Create Frontend config file                                 Get the latest one
                                                                      with flot and tooltip
      ●   Instantiate the Frontend
      ●   Start the Frontend                                 All as a regular user
                                                              (e.g. “frontend”)

UCSD Jan 18th 2012                        Frontend Install                                      26
Proxies vs certs
 ●   In the previous slides, you were told to obtain a
     service and pilot certificates
 ●   But the Frontend needs proxies!
      ●   You must convert certs into proxies
 ●   Proxies are short lived
                                                  Must be longer
      ●   Should be hours for the service proxy   than the glidein
                                                  lifetime (and
      ●   A few days for the pilot proxy          no less than 12h)

 ●   You must keep them valid at all times
      ●   With a cron script (or equivalent)

UCSD Jan 18th 2012            Frontend Install                   27
Example cron script
 ●   Really just voms-proxy-init
       #!/bin/bash
        #!/bin/bash
       home=/home/frontend/.globus
        home=/home/frontend/.globus
       umask 0077
        umask 0077
       idstr=service
         idstr=service
       export X509_USER_PROXY=${home}/x509_$idstr.proxy
         export X509_USER_PROXY=${home}/x509_$idstr.proxy
       voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem 
         voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem 
                       -hours 12 -valid 12:0
                         -hours 12 -valid 12:0
       idstr=vopilot01
         idstr=vopilot01
       export X509_USER_PROXY=${home}/x509_$idstr.proxy
         export X509_USER_PROXY=${home}/x509_$idstr.proxy
       voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem 
         voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem 
                        -voms VO:/VO/role=pilot -hours 72 -valid 72:0
                          -voms VO:/VO/role=pilot -hours 72 -valid 72:0

 ●   Then add it to crontab
       ## crontab -l
         crontab -l
       31 3,9,15,21 * * ** * /home/frontend/.globus/refresh_proxy.sh>/dev/null 2>/dev/null
        31 3,9,15,21 * /home/frontend/.globus/refresh_proxy.sh >/dev/null 2>/dev/null


UCSD Jan 18th 2012                               Frontend Install                            28
The Condor client
 ●   The Frontend uses the Condor client
     cmdline tools to talk to both the rest of the
     VO Condor daemons and to the Factory(s)
      ●   Just the binaries
 ●   Unless you host the Frontend on a submit node
     (which is not recommended)
     you will need to install a private version of
     Condor binaries
      ●   Properly configuring it will make it usable for
          debugging, too

UCSD Jan 18th 2012             Frontend Install             29
Installing the Condor client
 ●   As usual, using the provided installer the
     easiest way
 ●   Manual install would require:
      ●   Unpack the tarball
      ●   Point it to the CM
      ●   Make sure no daemons are ever started
          (it is a client!)




UCSD Jan 18th 2012             Frontend Install   30
Installing with the Q&A Installer
~/glideinWMS/install$ ./glideinWMS_install
  ~/glideinWMS/install$ ./glideinWMS_install
...
  ...
Please select: 6
  Please select: 6
[6] Condor for VO Frontend
  [6] Condor for VO Frontend
…
  …
Where do you have the Condor tarball? /home/frontend/Downloads/condor-7.6.4-x86_rhap_5-stripped.tar.gz
  Where do you have the Condor tarball? /home/frontend/Downloads/condor-7.6.4-x86_rhap_5-stripped.tar.gz
Where do you want to install it?: [/home/condor/glidecondor] /home/frontend/glidecondor/glidecondor
  Where do you want to install it?: [/home/condor/glidecondor] /home/frontend/glidecondor/glidecondor
If something goes wrong with Condor, who should get email about it?: me@myemail
  If something goes wrong with Condor, who should get email about it?: me@myemail
Do you want to split the config files between condor_config and condor_config.local?: (y/n) [y] y
  Do you want to split the config files between condor_config and condor_config.local?: (y/n) [y] y
...
  ...
Do you want to get it from VDT?: (y/n) y
  Do you want to get it from VDT?: (y/n) y
Do you have already a VDT installation?: (y/n) y
Where is have already a VDT /etc/osg/wn-clienty
  Do you the VDT installed?: installation?: (y/n)
  Where is the VDT installed?: /etc/osg/wn-client
Will you be using a proxy or a cert? (proxy/cert) proxy
  Will you be using a proxy or a cert? (proxy/cert) proxy
Where is your proxy located?: /home/frontend/.globus/x509_service.proxy
My DN =is your proxy located?: /home/frontend/.globus/x509_service.proxy
  Where 'DN1'
  My DN = 'DN1'
...
  ...
DN: DNXXX
  DN: DNXXX                                           xN
nickname: [condor001] uidXXX
  nickname: [condor001] uidXXX
Is this a trusted Condor daemon?: (y/n) y
  Is this a trusted Condor daemon?: (y/n) y
...
  ...
DN:
  DN:
What node is the collector running (i.e. CONDOR_HOST)?: collectornode.mydomain
  What node is the collector running (i.e. CONDOR_HOST)?: collectornode.mydomain


UCSD Jan 18th 2012                           Frontend Install                                         31
Creating the frontend config file
 ●   This is the main step of the installation!
 ●   Here I explain only the basics
      ●   Actual frontend config tuning in the next talk
 ●   As usual, using the provided installer
     makes life easier
      ●   And is the recommended way
          to get the basic template
      ●   You will likely want to tune the created config, though


UCSD Jan 18th 2012            Frontend Install                 32
Using the Q&A Installer - 1/3
$ ./glideinWMS_install
  $ ./glideinWMS_install
...
  ...
Please select: 7
  Please select: 7
[7] VO Frontend
  [7] VO Frontend
Do you have already a javascriptRRD installation?: (y/n) y
  Do you have already a javascriptRRD installation?: (y/n) y
Where is javascriptRRD installed?: /home/frontend/javascriptrrd-0.6.1
  Where is javascriptRRD installed?: /home/frontend/javascriptrrd-0.6.1
Where will you host your config files?: [/home/frontend/frontstage] /home/frontend/frontstage
  Where will you host your config files?: [/home/frontend/frontstage] /home/frontend/frontstage
Where will the web data be hosted?: [/var/www/html/vofrontend] /var/www/html/vofrontend
  Where will the web data be hosted?: [/var/www/html/vofrontend] /var/www/html/vofrontend
What Web URL will you use?: [http://my.node/vofrontend/] http://my.node/vofrontend/
  What Web URL will you use?: [http://my.node/vofrontend/] http://my.node/vofrontend/
Where will you host your log files?: [/home/frontend/frontlogs] /home/frontend/frontlogs
  Where will you host your log files?: [/home/frontend/frontlogs] /home/frontend/frontlogs
Give a name to this VO Frontend?: [myVO-cabinet-10-10-5] VOfe                  This is your
  Give a name to this VO Frontend?: [myVO-cabinet-10-10-5] VOfe
Give a name to this VO Frontend instance?: [v1_0] v1_0
  Give a name to this VO Frontend instance?: [v1_0] v1_0                       security name
What node is the WMS collector (i.e. the gfactory) running?: factory.node
 What node is the WMS collector (i.e. the gfactory) running?: factory.node
What is the classad identity of the glidein factory?: [gfactory@factory.node] gfactory@factory.node
 What is the classad identity of the glidein factory?: [gfactory@factory.node] gfactory@factory.node
What is the WMS collector DN (i.e. subject)?: DN1
 What is the WMS collector DN (i.e. subject)?: DN1
Where is your proxy located?: /home/frontend/.globus/x509_service.proxy
                                                                                        You get
 Where is your proxy located?: /home/frontend/.globus/x509_service.proxy               this data
voms-proxy-info is needed to extract the VO information from the proxy
 voms-proxy-info is needed to extract the VO information from the proxy                from the
Do you want to get it from VDT?: (y/n) y
 Do you want to get it from VDT?: (y/n) y                                               factory
Do you have already a VDT installation?: (y/n) y
 Do you have already a VDT installation?: (y/n) y
Where is the VDT installed?: /etc/osg/wn-client
 Where is the VDT installed?: /etc/osg/wn-client                                        admins
For security reasons, we need to know what will the WMS collector map us to.
 For security reasons, we need to know what will the WMS collector map us to.
What is the mapped name?: vo1@factory.node
 What is the mapped name?: vo1@factory.node
UCSD Jan 18th 2012                          Frontend Install                                      33
Using the Q&A Installer - 2/3
  Using pool collector collector.node
   Using pool collector collector.node
  What is the pool collector DN (i.e. subject)?: DN2
   What is the pool collector DN (i.e. subject)?: DN2
  List and secondary pool collectory the glideins should use instead of the main collector.
    List and secondary pool collectory the glideins should use instead of the main collector.
  Leave an empty collector name when finished.
    Leave an empty collector name when finished.
  Collector name: collector.node:9620-9819
    Collector name: collector.node:9620-9819
  Collector DN (i.e. subject): DN3
    Collector DN (i.e. subject): DN3
  Collector name:                                       Tree of collectors
    Collector name:
  The following schedds have been found:
    The following schedds have been found:
   [1] schedd1.node
     [1] schedd1.node
  ...
    ...
  Do you want to monitor all of them?: (y/n) y
    Do you want to monitor all of them?: (y/n) y
  What is the DN (i.e. subject) for schedd schedd1.node?: DNxxx
    What is the DN (i.e. subject) for schedd schedd1.node?: DNxxx x N
  ...
    ...




UCSD Jan 18th 2012                           Frontend Install                                   34
Using the Q&A Installer - 3/3
What kind of jobs do you want to monitor?: [JobUniverse==5] JobUniverse==5
 What kind of jobs do you want to monitor?: [JobUniverse==5] JobUniverse==5
Give a name to the main group: [main] main
 Give a name to the main group: [main] main
What expression do you want to use to match glideins to jobs?
 What expression do you want to use to match glideins to jobs?
Match string: [True] glidein["attrs"]["GLIDEIN_Site"] in job["DESIRED_Sites"].split(",")
 Match string: [True] glidein["attrs"]["GLIDEIN_Site"] in job["DESIRED_Sites"].split(",")
What job attributres are you using in the match expression?
 What job attributres are you using in the match expression?
Job attributes: [DESIRED_Sites] DESIRED_Sites
 Job attributes: [DESIRED_Sites] DESIRED_Sites
What glidein/factory attributres are you using in the match expression?
 What glidein/factory attributres are you using in the match expression?
Factory attributes: [GLIDEIN_Site] GLIDEIN_Site
 Factory attributes: [GLIDEIN_Site] GLIDEIN_Site
Do you want to use the frontend proxy to submit glideins: (y/n) [y] n       Will use glexec
 Do you want to use the frontend proxy to submit glideins: (y/n) [y] n
An empty entry means you are done.                                          wherever available
 An empty entry means you are done.
proxy fname: /home/frontend/.globus/x509_vopilot1.proxy
 proxy fname: /home/frontend/.globus/x509_vopilot1.proxy
proxy fname:
 proxy fname:
How do you want to categorize the use of glexec if available at sites?: [OPTIONAL] OPTIONAL
 How do you want to categorize the use of glexec if available at sites?: [OPTIONAL] OPTIONAL
Do you want to expose the Grid env. to the user jobs?: (y/n) y
 Do you want to expose the Grid env. to the user jobs?: (y/n) y
Do you want to create the VO Frontend instance (as opposed to just the config file)?: (y/n) [n] n
 Do you want to create the VO Frontend instance (as opposed to just the config file)?: (y/n) [n] n
Configuration file is located at /home/frontend/frontstage/instance_v1_0.cfg/frontend.xml
 Configuration file is located at /home/frontend/frontstage/instance_v1_0.cfg/frontend.xml

                            Here is your config file

 UCSD Jan 18th 2012                           Frontend Install                                       35
Instantiating the Frontend
 ●   Once you are happy with the config, run
     create_frontend                                                                   By default,
                                                                                       the security
 ●   It will create the Frontend instance in                                           name is used
                                                                                       to create the
     ~/frontstage/frontend_VOfe-v1_0                                                   frontend name

      ●    You will work in there from now on
          ~/glideinWMS/creation$ ./create_frontend ~/frontstage/instance_v1_0.cfg/frontend.xml
           ~/glideinWMS/creation$ ./create_frontend ~/frontstage/instance_v1_0.cfg/frontend.xml
          Created frontend 'VOfe-v1_0'
           Created frontend 'VOfe-v1_0'
          Active entries are:
           Active entries are:
           main
            main
          Work files can be found in /home/frontend/frontstage/frontend_VOfe-v1_0
           Work files can be found in /home/frontend/frontstage/frontend_VOfe-v1_0
          Log files can be found in /home/frontend/frontlogs/frontend_VOfe-v1_0
           Log files can be found in /home/frontend/frontlogs/frontend_VOfe-v1_0
          Support files are in /var/www/html/vofrontend/stage/frontend_VOfe-v1_0
           Support files are in /var/www/html/vofrontend/stage/frontend_VOfe-v1_0
          Monitoring files are in /var/www/html/vofrontend/monitor/frontend_VOfe-v1_0
           Monitoring files are in /var/www/html/vofrontend/monitor/frontend_VOfe-v1_0


UCSD Jan 18th 2012                           Frontend Install                                     36
Starting the Frontend
 ●   The Frontend instance has a init.d-like script
     ./frontend_startup start|stop
 ●   This script also must be used to make
     any config changes to the Frontend
      ●   Never change the frontend.xml in the Frontend dir
      ●   Work on a copy
          (possibly in ../instance_v1_0.cfg/)
          and then run
          ./frontend_startup reconfig new_config


UCSD Jan 18th 2012           Frontend Install                 37
Installing the Frontend
  from the OSG RPM repository




UCSD Jan 18th 2012   Frontend Install   38
The Frontend RPM
 ●   OSG RPM repository provides a frontend RPM
 ●   Advantages:
      ●   It is an RPM, so tighter system integration
      ●   Partially pre-configured to talk to the OSG factory
 ●   Disadvantages:
      ●   It is an RPM, thus installed and maintained as root
      ●   No support for versioning                                                           Processes
                                                                                              still running
      ●   Requires more manual configuration                                                  as frontend


             https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend

UCSD Jan 18th 2012                             Frontend Install                                           39
Installation of the RPM
 ●   Similar to OSG Grid Client
      ●   Indeed good practice to install the OSG Client first
 ●   Requires a RPM-based Condor installation
      ●   But will provide basic Condor config files in
          /etc/condor/config.d/
          (not going into details in this talk, see Twiki)
 ●   The actual RPM install a simple
     yum install glideinwms-vofrontend
      ●    You still need to configure it, though
             https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend

UCSD Jan 18th 2012                             Frontend Install                                    40
Configuration
 ●   The RPM comes with a basic template in
     /etc/gwms-frontend/frontend.xml
 ●   All security sections must be modified:
      ●   To talk to the rest of the Condor pool
          (CM and submit nodes)
      ●   For the Factory interaction
          (the info you got from the Factory admins)
      ●   Regarding the service and pilot proxies


             https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend

UCSD Jan 18th 2012                             Frontend Install                                    41
Installation and startup
 ●   The RPM provids a init.d script
     /etc/init.d/gwms-frontend
 ●   You will need to run the reconfig once
     to finish the installation
       # /etc/init.d/gwms-frontend reconfig
         # /etc/init.d/gwms-frontend reconfig
       /var/lib/gwms-frontend/vofrontend/frontend.xml
         /var/lib/gwms-frontend/vofrontend/frontend.xml
       Warning: Cannot find /var/lib/gwms-frontend/vofrontend/frontend.xml
         Warning: Cannot find /var/lib/gwms-frontend/vofrontend/frontend.xml
       If this is the first reconfig, you can ignore this message.
         If this is the first reconfig, you can ignore this message.
       { -force_name name -writeback yes|no -update_scripts yes|no -xml xml | -help }
         { -force_name name -writeback yes|no -update_scripts yes|no -xml xml | -help }
       Reconfiguring the frontend                     [OK]
        Reconfiguring the frontend                     [OK]


 ●   After that, it is ready to be started
     /etc/init.d/gwms-frontend start
UCSD Jan 18th 2012                              Frontend Install                          42
The End




UCSD Jan 18th 2012    Frontend Install   43
Pointers
 ●   The official glideinWMS project Web page is
     http://tinyurl.com/glideinWMS
 ●   glideinWMS development team is reachable at
     glideinwms-support@fnal.gov
 ●   The OSG glidein factory is reachable at
     osg-gfactory-support@physics.ucsd.edu




UCSD Jan 18th 2012      Frontend Install           44
Acknowledgments
 ●   The glideinWMS is a CMS-led project
     developed mostly at FNAL, with contributions
     from UCSD and ISI
 ●   The glideinWMS factory operations at UCSD is
     sponsored by OSG
 ●   The funding comes from NSF, DOE and the
     UC system




UCSD Jan 18th 2012        Frontend Install          45

Más contenido relacionado

La actualidad más candente

Wedding convenience and control with RemoteCondor
Wedding convenience and control with RemoteCondorWedding convenience and control with RemoteCondor
Wedding convenience and control with RemoteCondorIgor Sfiligoi
 
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...Digicomp Academy AG
 
Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012Geoffrey De Smet
 
Lean Software Production and Qualification Infrastructures
Lean Software Production and Qualification InfrastructuresLean Software Production and Qualification Infrastructures
Lean Software Production and Qualification InfrastructuresAdaCore
 
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...Throwing complexity over the wall: Rapid development for enterprise Java (Jav...
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...Dan Allen
 
Measure and Manage Flow v2
Measure and Manage Flow v2Measure and Manage Flow v2
Measure and Manage Flow v2Zsolt Fabok
 

La actualidad más candente (7)

Advanced Effects Oscon 2007
Advanced Effects   Oscon 2007Advanced Effects   Oscon 2007
Advanced Effects Oscon 2007
 
Wedding convenience and control with RemoteCondor
Wedding convenience and control with RemoteCondorWedding convenience and control with RemoteCondor
Wedding convenience and control with RemoteCondor
 
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
 
Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012Drools planner - 2012-10-23 IntelliFest 2012
Drools planner - 2012-10-23 IntelliFest 2012
 
Lean Software Production and Qualification Infrastructures
Lean Software Production and Qualification InfrastructuresLean Software Production and Qualification Infrastructures
Lean Software Production and Qualification Infrastructures
 
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...Throwing complexity over the wall: Rapid development for enterprise Java (Jav...
Throwing complexity over the wall: Rapid development for enterprise Java (Jav...
 
Measure and Manage Flow v2
Measure and Manage Flow v2Measure and Manage Flow v2
Measure and Manage Flow v2
 

Destacado

Addressing the Pilot Security Problem with gLExec - from CHEP 2007
Addressing the Pilot Security Problem with gLExec - from CHEP 2007Addressing the Pilot Security Problem with gLExec - from CHEP 2007
Addressing the Pilot Security Problem with gLExec - from CHEP 2007Igor Sfiligoi
 
Grid Lingo - in glideinWMS context
Grid Lingo - in glideinWMS contextGrid Lingo - in glideinWMS context
Grid Lingo - in glideinWMS contextIgor Sfiligoi
 
Security in the Open Science Grid
Security in the Open Science GridSecurity in the Open Science Grid
Security in the Open Science GridIgor Sfiligoi
 
Where to find DHTC resources - OSG School 2014
Where to find DHTC resources - OSG School 2014Where to find DHTC resources - OSG School 2014
Where to find DHTC resources - OSG School 2014Igor Sfiligoi
 
glideinWMS - The Larger Picture
glideinWMS - The Larger PictureglideinWMS - The Larger Picture
glideinWMS - The Larger PictureIgor Sfiligoi
 
Solving Grid problems through glidein monitoring
Solving Grid problems through glidein monitoringSolving Grid problems through glidein monitoring
Solving Grid problems through glidein monitoringIgor Sfiligoi
 

Destacado (6)

Addressing the Pilot Security Problem with gLExec - from CHEP 2007
Addressing the Pilot Security Problem with gLExec - from CHEP 2007Addressing the Pilot Security Problem with gLExec - from CHEP 2007
Addressing the Pilot Security Problem with gLExec - from CHEP 2007
 
Grid Lingo - in glideinWMS context
Grid Lingo - in glideinWMS contextGrid Lingo - in glideinWMS context
Grid Lingo - in glideinWMS context
 
Security in the Open Science Grid
Security in the Open Science GridSecurity in the Open Science Grid
Security in the Open Science Grid
 
Where to find DHTC resources - OSG School 2014
Where to find DHTC resources - OSG School 2014Where to find DHTC resources - OSG School 2014
Where to find DHTC resources - OSG School 2014
 
glideinWMS - The Larger Picture
glideinWMS - The Larger PictureglideinWMS - The Larger Picture
glideinWMS - The Larger Picture
 
Solving Grid problems through glidein monitoring
Solving Grid problems through glidein monitoringSolving Grid problems through glidein monitoring
Solving Grid problems through glidein monitoring
 

Similar a glideinWMS Frontend Installation - Part 2 - Frontend Installation -glideinWMS Training Jan 2012

glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012
glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012
glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012Igor Sfiligoi
 
Matchmaking in glideinWMS in CMS
Matchmaking in glideinWMS in CMSMatchmaking in glideinWMS in CMS
Matchmaking in glideinWMS in CMSIgor Sfiligoi
 
Monitoring and troubleshooting a glideinWMS-based HTCondor pool
Monitoring and troubleshooting a glideinWMS-based HTCondor poolMonitoring and troubleshooting a glideinWMS-based HTCondor pool
Monitoring and troubleshooting a glideinWMS-based HTCondor poolIgor Sfiligoi
 
Introduction to glideinWMS
Introduction to glideinWMSIntroduction to glideinWMS
Introduction to glideinWMSIgor Sfiligoi
 
Condor from the user point of view - glideinWMS Training Jan 2012
Condor from the user point of view - glideinWMS Training Jan 2012Condor from the user point of view - glideinWMS Training Jan 2012
Condor from the user point of view - glideinWMS Training Jan 2012Igor Sfiligoi
 
Android Platform Debugging and Development at ELCE 2013
Android Platform Debugging and Development at ELCE 2013Android Platform Debugging and Development at ELCE 2013
Android Platform Debugging and Development at ELCE 2013Opersys inc.
 
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLab
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLabApache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLab
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLabCloudxLab
 
glideinWMS Training Jan 2012 - Condor tuning
glideinWMS Training Jan 2012 - Condor tuningglideinWMS Training Jan 2012 - Condor tuning
glideinWMS Training Jan 2012 - Condor tuningIgor Sfiligoi
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Kamalesh Ramasamy
 
Debug JNI code with ndk-gdb and eclipse GUI
Debug JNI code with ndk-gdb and eclipse GUIDebug JNI code with ndk-gdb and eclipse GUI
Debug JNI code with ndk-gdb and eclipse GUITom Chen
 

Similar a glideinWMS Frontend Installation - Part 2 - Frontend Installation -glideinWMS Training Jan 2012 (11)

glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012
glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012
glideinWMS Frontend Monitoring - glideinWMS Training Jan 2012
 
Matchmaking in glideinWMS in CMS
Matchmaking in glideinWMS in CMSMatchmaking in glideinWMS in CMS
Matchmaking in glideinWMS in CMS
 
Pilot Factory
Pilot FactoryPilot Factory
Pilot Factory
 
Monitoring and troubleshooting a glideinWMS-based HTCondor pool
Monitoring and troubleshooting a glideinWMS-based HTCondor poolMonitoring and troubleshooting a glideinWMS-based HTCondor pool
Monitoring and troubleshooting a glideinWMS-based HTCondor pool
 
Introduction to glideinWMS
Introduction to glideinWMSIntroduction to glideinWMS
Introduction to glideinWMS
 
Condor from the user point of view - glideinWMS Training Jan 2012
Condor from the user point of view - glideinWMS Training Jan 2012Condor from the user point of view - glideinWMS Training Jan 2012
Condor from the user point of view - glideinWMS Training Jan 2012
 
Android Platform Debugging and Development at ELCE 2013
Android Platform Debugging and Development at ELCE 2013Android Platform Debugging and Development at ELCE 2013
Android Platform Debugging and Development at ELCE 2013
 
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLab
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLabApache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLab
Apache Spark - Running on a Cluster | Big Data Hadoop Spark Tutorial | CloudxLab
 
glideinWMS Training Jan 2012 - Condor tuning
glideinWMS Training Jan 2012 - Condor tuningglideinWMS Training Jan 2012 - Condor tuning
glideinWMS Training Jan 2012 - Condor tuning
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020
 
Debug JNI code with ndk-gdb and eclipse GUI
Debug JNI code with ndk-gdb and eclipse GUIDebug JNI code with ndk-gdb and eclipse GUI
Debug JNI code with ndk-gdb and eclipse GUI
 

Más de Igor Sfiligoi

Preparing Fusion codes for Perlmutter - CGYRO
Preparing Fusion codes for Perlmutter - CGYROPreparing Fusion codes for Perlmutter - CGYRO
Preparing Fusion codes for Perlmutter - CGYROIgor Sfiligoi
 
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...Igor Sfiligoi
 
Comparing single-node and multi-node performance of an important fusion HPC c...
Comparing single-node and multi-node performance of an important fusion HPC c...Comparing single-node and multi-node performance of an important fusion HPC c...
Comparing single-node and multi-node performance of an important fusion HPC c...Igor Sfiligoi
 
The anachronism of whole-GPU accounting
The anachronism of whole-GPU accountingThe anachronism of whole-GPU accounting
The anachronism of whole-GPU accountingIgor Sfiligoi
 
Auto-scaling HTCondor pools using Kubernetes compute resources
Auto-scaling HTCondor pools using Kubernetes compute resourcesAuto-scaling HTCondor pools using Kubernetes compute resources
Auto-scaling HTCondor pools using Kubernetes compute resourcesIgor Sfiligoi
 
Speeding up bowtie2 by improving cache-hit rate
Speeding up bowtie2 by improving cache-hit rateSpeeding up bowtie2 by improving cache-hit rate
Speeding up bowtie2 by improving cache-hit rateIgor Sfiligoi
 
Performance Optimization of CGYRO for Multiscale Turbulence Simulations
Performance Optimization of CGYRO for Multiscale Turbulence SimulationsPerformance Optimization of CGYRO for Multiscale Turbulence Simulations
Performance Optimization of CGYRO for Multiscale Turbulence SimulationsIgor Sfiligoi
 
Comparing GPU effectiveness for Unifrac distance compute
Comparing GPU effectiveness for Unifrac distance computeComparing GPU effectiveness for Unifrac distance compute
Comparing GPU effectiveness for Unifrac distance computeIgor Sfiligoi
 
Managing Cloud networking costs for data-intensive applications by provisioni...
Managing Cloud networking costs for data-intensive applications by provisioni...Managing Cloud networking costs for data-intensive applications by provisioni...
Managing Cloud networking costs for data-intensive applications by provisioni...Igor Sfiligoi
 
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory AccessAccelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory AccessIgor Sfiligoi
 
Using A100 MIG to Scale Astronomy Scientific Output
Using A100 MIG to Scale Astronomy Scientific OutputUsing A100 MIG to Scale Astronomy Scientific Output
Using A100 MIG to Scale Astronomy Scientific OutputIgor Sfiligoi
 
Using commercial Clouds to process IceCube jobs
Using commercial Clouds to process IceCube jobsUsing commercial Clouds to process IceCube jobs
Using commercial Clouds to process IceCube jobsIgor Sfiligoi
 
Modest scale HPC on Azure using CGYRO
Modest scale HPC on Azure using CGYROModest scale HPC on Azure using CGYRO
Modest scale HPC on Azure using CGYROIgor Sfiligoi
 
Data-intensive IceCube Cloud Burst
Data-intensive IceCube Cloud BurstData-intensive IceCube Cloud Burst
Data-intensive IceCube Cloud BurstIgor Sfiligoi
 
Scheduling a Kubernetes Federation with Admiralty
Scheduling a Kubernetes Federation with AdmiraltyScheduling a Kubernetes Federation with Admiralty
Scheduling a Kubernetes Federation with AdmiraltyIgor Sfiligoi
 
Accelerating microbiome research with OpenACC
Accelerating microbiome research with OpenACCAccelerating microbiome research with OpenACC
Accelerating microbiome research with OpenACCIgor Sfiligoi
 
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...Igor Sfiligoi
 
Porting and optimizing UniFrac for GPUs
Porting and optimizing UniFrac for GPUsPorting and optimizing UniFrac for GPUs
Porting and optimizing UniFrac for GPUsIgor Sfiligoi
 
Demonstrating 100 Gbps in and out of the public Clouds
Demonstrating 100 Gbps in and out of the public CloudsDemonstrating 100 Gbps in and out of the public Clouds
Demonstrating 100 Gbps in and out of the public CloudsIgor Sfiligoi
 
TransAtlantic Networking using Cloud links
TransAtlantic Networking using Cloud linksTransAtlantic Networking using Cloud links
TransAtlantic Networking using Cloud linksIgor Sfiligoi
 

Más de Igor Sfiligoi (20)

Preparing Fusion codes for Perlmutter - CGYRO
Preparing Fusion codes for Perlmutter - CGYROPreparing Fusion codes for Perlmutter - CGYRO
Preparing Fusion codes for Perlmutter - CGYRO
 
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...
O&C Meeting - Evaluation of ARM CPUs for IceCube available through Google Kub...
 
Comparing single-node and multi-node performance of an important fusion HPC c...
Comparing single-node and multi-node performance of an important fusion HPC c...Comparing single-node and multi-node performance of an important fusion HPC c...
Comparing single-node and multi-node performance of an important fusion HPC c...
 
The anachronism of whole-GPU accounting
The anachronism of whole-GPU accountingThe anachronism of whole-GPU accounting
The anachronism of whole-GPU accounting
 
Auto-scaling HTCondor pools using Kubernetes compute resources
Auto-scaling HTCondor pools using Kubernetes compute resourcesAuto-scaling HTCondor pools using Kubernetes compute resources
Auto-scaling HTCondor pools using Kubernetes compute resources
 
Speeding up bowtie2 by improving cache-hit rate
Speeding up bowtie2 by improving cache-hit rateSpeeding up bowtie2 by improving cache-hit rate
Speeding up bowtie2 by improving cache-hit rate
 
Performance Optimization of CGYRO for Multiscale Turbulence Simulations
Performance Optimization of CGYRO for Multiscale Turbulence SimulationsPerformance Optimization of CGYRO for Multiscale Turbulence Simulations
Performance Optimization of CGYRO for Multiscale Turbulence Simulations
 
Comparing GPU effectiveness for Unifrac distance compute
Comparing GPU effectiveness for Unifrac distance computeComparing GPU effectiveness for Unifrac distance compute
Comparing GPU effectiveness for Unifrac distance compute
 
Managing Cloud networking costs for data-intensive applications by provisioni...
Managing Cloud networking costs for data-intensive applications by provisioni...Managing Cloud networking costs for data-intensive applications by provisioni...
Managing Cloud networking costs for data-intensive applications by provisioni...
 
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory AccessAccelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
Accelerating Key Bioinformatics Tasks 100-fold by Improving Memory Access
 
Using A100 MIG to Scale Astronomy Scientific Output
Using A100 MIG to Scale Astronomy Scientific OutputUsing A100 MIG to Scale Astronomy Scientific Output
Using A100 MIG to Scale Astronomy Scientific Output
 
Using commercial Clouds to process IceCube jobs
Using commercial Clouds to process IceCube jobsUsing commercial Clouds to process IceCube jobs
Using commercial Clouds to process IceCube jobs
 
Modest scale HPC on Azure using CGYRO
Modest scale HPC on Azure using CGYROModest scale HPC on Azure using CGYRO
Modest scale HPC on Azure using CGYRO
 
Data-intensive IceCube Cloud Burst
Data-intensive IceCube Cloud BurstData-intensive IceCube Cloud Burst
Data-intensive IceCube Cloud Burst
 
Scheduling a Kubernetes Federation with Admiralty
Scheduling a Kubernetes Federation with AdmiraltyScheduling a Kubernetes Federation with Admiralty
Scheduling a Kubernetes Federation with Admiralty
 
Accelerating microbiome research with OpenACC
Accelerating microbiome research with OpenACCAccelerating microbiome research with OpenACC
Accelerating microbiome research with OpenACC
 
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...
Demonstrating a Pre-Exascale, Cost-Effective Multi-Cloud Environment for Scie...
 
Porting and optimizing UniFrac for GPUs
Porting and optimizing UniFrac for GPUsPorting and optimizing UniFrac for GPUs
Porting and optimizing UniFrac for GPUs
 
Demonstrating 100 Gbps in and out of the public Clouds
Demonstrating 100 Gbps in and out of the public CloudsDemonstrating 100 Gbps in and out of the public Clouds
Demonstrating 100 Gbps in and out of the public Clouds
 
TransAtlantic Networking using Cloud links
TransAtlantic Networking using Cloud linksTransAtlantic Networking using Cloud links
TransAtlantic Networking using Cloud links
 

Último

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

glideinWMS Frontend Installation - Part 2 - Frontend Installation -glideinWMS Training Jan 2012

  • 1. glideinWMS Training @ UCSD glideinWMS Frontend Installation Part 2 – Frontend Installation by Igor Sfiligoi (UCSD) UCSD Jan 18th 2012 Frontend Install 1
  • 2. Overview ● Introduction ● Planning and System setup ● Prerequisites ● Actual Frontend Installation UCSD Jan 18th 2012 Frontend Install 2
  • 3. Refresher - Glideins ● A glidein is just a properly configured Condor execution node submitted as a Grid job ● glideinWMS Central manager provides glidein Execution node Collector CREAM automation glidein Execution node Negotiator Submit node Submit node glidein Execution node Submit node Execution node glidein Schedd Startd Globus Job glideinWMS UCSD Jan 18th 2012 Frontend Install 3
  • 4. Refresher – VO Frontend ● The frontend monitors the user Condor pool, does the matchmaking and requests glideins ● Factory a slave Configure Condor G.N. Submit node Frontend node Worker node Monitor Submit node Frontend Condor glidein Central manager Startd Match Globus Job Request glideins Factory node Condor glidein Execution node CREAM Factory glidein Execution node Submit glideins UCSD Jan 18th 2012 Frontend Install 4
  • 5. Refresher - glidein_startup ● Glidein startup script mostly an empty shell ● Real code and config files downloaded ● From both Factory and Frontend Web servers Factory node glidein_startup HTTPd ● Load files Squid from factory Web ● Load files from frontend Web Frontend node ● Run executables ● Start Condor Startd HTTPd ● Cleanup Nothing will work if HTTPd not running UCSD Jan 18th 2012 Frontend Install 5
  • 6. Refresher - Cardinality ● N-to-M relationship ● Each Frontend can talk to many Factories ● Each Factory may serve many Frontends VO Frontend VO Frontend Glidein Factory Collector Schedd Negotiator Collector Startd Startd Schedd User job User job Negotiator Startd Glidein Factory User job UCSD Jan 18th 2012 Frontend Install 6
  • 7. Refresher - Matchmaking ● The glideinWMS triggers glidein submission ● The “regular” negotiator matches jobs to glideins Central manager glidein Execution node Collector CREAM glidein Execution node Negotiator Submit node Submit node glidein Execution node Submit node Execution node glidein Schedd Startd Globus Job glideinWMS UCSD Jan 18th 2012 Frontend Install 7
  • 8. Refresher – Security Handles ● Mutual authentication with Factory ● Frontend provides (and Factory whitelists) One set ● Service Proxy to talk to Factory Collector for whole ● Frontend Security name Frontend (all Groups) ● Pilot Proxy Can have many such pairs ● Proxy Security Class ● Frontend whitelists (obtained from Factory admins) ● Factory Collector DN ● Own mapping @Factory One set per factory collector ● Factory mapping @Factory UCSD Jan 18th 2012 Frontend Install 8
  • 9. A word about monitoring ● The frontend keeps historical stats for monitoring purposes ● Storage based on Round Robin Databases rrdtool - http://oss.oetiker.ch/rrdtool/ ● Web interface to RRDs also provided ● No server side code ● Fully client side rendering in Javascript JavascriptRRD - http://javascriptrrd.sourceforge.net/ UCSD Jan 18th 2012 Frontend Install 9
  • 10. Planning and System setup UCSD Jan 18th 2012 Frontend Install 10
  • 11. It is a big world ● Many pieces, Frontend processes just a part ● Condor Submit node Frontend node ● Web Server Monitor Submit node Condor ● Factory Frontend Match Central manager ● The Grid Web Server Request glideins ● Must play nicely Fetch Factory node files with all of them Condor Factory glidein Submit glideins UCSD Jan 18th 2012 Frontend Install 11
  • 12. Condor You should have Condor installed by now! See yesterday's talk(s) UCSD Jan 18th 2012 Frontend Install 12
  • 13. Planning ● Frontend can be installed on its own node ● Or shared with other services ● Avoid nodes where many users log into ● For security reasons ● Will hold the pilot cert(s) ● Condor Central Manager a good companion ● If it has enough Hardware for both Experience: CMS has been switching between dedicated node and co-locating with CM as the pool grew and HW got replaced UCSD Jan 18th 2012 Frontend Install 13
  • 14. Hardware requirements ● The CPU and Memory resources scale with the Condor use, both Actual memory usage depends on attributes used for matchmaking ● Jobs in the queue O(1k)-O(100k) ● Glideins registered with the VO Collector ● Each Frontend group spawns 5 processes ● So useful to have multiple CPUs ● Minimal IO use UCSD Jan 18th 2012 Frontend Install 14
  • 15. Components requiring root ● The Frontend processes do not need root privileges ● And can be installed fully as non-root ● However, a few components are easier to install as root Will thus use ● The (OSG) Grid Client & CAs this method in this talk ● The Web server ● rrdtool python libraries Not my favorite, but will shortly ● Frontend RPM also available describe it toward the end UCSD Jan 18th 2012 Frontend Install 15
  • 16. OSG Grid Client ● Requires RHEL5-compatible Linux Pacman based VDT could be ● RHEL6 support promised for early 2012 installed as non-root but now deprecated ● Procedure in a nutshell ● Add EPEL and OSG RPM repositories to sys conf. ● yum install osg-ca-certs ● yum install osg-client Other Grid clients ● Enable CRL fetching crontab (e.g. EGI/glite) will work just as well https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallOSGClient UCSD Jan 18th 2012 Frontend Install 16
  • 17. Web server ● Any Web server will do ## install the web server install the web server ● Serving just static files yum remove -y httpd yum remove -y httpd cd glideinWMS/install/ ● The glideinWMS provided cd glideinWMS/install/ ## Q&A installer in batch mode Q&A installer in batch mode installer will clean up the config ./glideinWMS_install << EOF 88 ./glideinWMS_install << EOF cc ● Will use system 80 Port to use 80 yum install 11 EOF EOF ● But get rid of any eventual old httpd beforehand ● Create a directory owned by the frontend user ● /var/www/html/vofrontend UCSD Jan 18th 2012 Frontend Install 17
  • 18. RRDTool ● The Frontend is a python script ● Thus needs the RRDTool python libraries ● Easiest way is getting them from EPEL ● Which you already have if using the OSG Client % yum install rrdtool-python % yum install rrdtool-python UCSD Jan 18th 2012 Frontend Install 18
  • 19. Prerequisites UCSD Jan 18th 2012 Frontend Install 19
  • 20. Before you begin ● Before you start the actual installation, you need a few things: Assuming “frontend” ● Decide what UID will you be using in this talk ● A host/service certificate for the Frontend ● One or more pilot certificates – And they must be registered with your VOMS ● Decide on the Security Name for your Frontend ● Find a Factory to support you Hint: The OSG glidein factory UCSD Jan 18th 2012 Frontend Install 20
  • 21. Frontend certificate ● OSG provides a script to talk to DOEGrids https://twiki.grid.iu.edu/bin/view/Documentation/Release3/GetHostServiceCertificates#Request_a_Service_Certificate ● Unfortunately, must be run as root ● Procedure in a nutshell ● Install OSG client Ask for the “VOfrontend” ● yum install osg-cert-scripts service ● cert-request … ● Wait for email ● cert-retrieve … If you have other ways ● cp into ~frontend/.globus/ to obtain a service cert, feel free to use them ● chown to frontend:frontend UCSD Jan 18th 2012 Frontend Install 21
  • 22. Pilot certificate(s) ● Just another type of service certificate Try to make it ● Use service name VOpilotXX Globally Unique ● Follow instructions on previous slide ● Then register it with your VOMS If you decide to use multiple pilot certificates Each VO uses a slightly different with different privileges you may want procedure, so I am not going to to describe this step pick multiple security class names for added security (default is “frontend”) UCSD Jan 18th 2012 Frontend Install 22
  • 23. The Security Name ● The Frontend Security Name is a Globally Unique name your Frontend will use to securely communicate with the Factories ● A good pick is “VOsomething” ● This may or may not be the same as the Frontend Name ● Which also must be Globally Unique ● and is used as a ClassAd Name ● The Frontend name often contains a version string; Security name does/must not UCSD Jan 18th 2012 Frontend Install 23
  • 24. Contact the factory admins ● You will need a Factory to submit glideins ● While the Factory is a slave to the Frontend ● It chooses its masters! ● To use the OSG glidein factory, send an email to osg-gfactory-support@physics.ucsd.edu ● You will need to provide ● Frontend certificate DN And you will get back the factory information ● Security name you need during the installation http://hepuser.ucsd.edu/twiki2/bin/view/UCSDTier2/OSGgfactory UCSD Jan 18th 2012 Frontend Install 24
  • 25. Frontend Installation UCSD Jan 18th 2012 Frontend Install 25
  • 26. Frontend Installation ● Now you should have all the pieces to start the installation I assume you already have the glideinWMS ● In a nutshell “binaries” http://tinyurl.com/glideinWMS ● Automate proxy creation ● Get access to a Condor client ● Get JavascriptRRD tarball and extract it http://sourceforge.net/projects/javascriptrrd/ ● Create Frontend config file Get the latest one with flot and tooltip ● Instantiate the Frontend ● Start the Frontend All as a regular user (e.g. “frontend”) UCSD Jan 18th 2012 Frontend Install 26
  • 27. Proxies vs certs ● In the previous slides, you were told to obtain a service and pilot certificates ● But the Frontend needs proxies! ● You must convert certs into proxies ● Proxies are short lived Must be longer ● Should be hours for the service proxy than the glidein lifetime (and ● A few days for the pilot proxy no less than 12h) ● You must keep them valid at all times ● With a cron script (or equivalent) UCSD Jan 18th 2012 Frontend Install 27
  • 28. Example cron script ● Really just voms-proxy-init #!/bin/bash #!/bin/bash home=/home/frontend/.globus home=/home/frontend/.globus umask 0077 umask 0077 idstr=service idstr=service export X509_USER_PROXY=${home}/x509_$idstr.proxy export X509_USER_PROXY=${home}/x509_$idstr.proxy voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem -hours 12 -valid 12:0 -hours 12 -valid 12:0 idstr=vopilot01 idstr=vopilot01 export X509_USER_PROXY=${home}/x509_$idstr.proxy export X509_USER_PROXY=${home}/x509_$idstr.proxy voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem voms-proxy-init -cert ${home}/${idstr}cert.pem -key ${home}/${idstr}key.pem -voms VO:/VO/role=pilot -hours 72 -valid 72:0 -voms VO:/VO/role=pilot -hours 72 -valid 72:0 ● Then add it to crontab ## crontab -l crontab -l 31 3,9,15,21 * * ** * /home/frontend/.globus/refresh_proxy.sh>/dev/null 2>/dev/null 31 3,9,15,21 * /home/frontend/.globus/refresh_proxy.sh >/dev/null 2>/dev/null UCSD Jan 18th 2012 Frontend Install 28
  • 29. The Condor client ● The Frontend uses the Condor client cmdline tools to talk to both the rest of the VO Condor daemons and to the Factory(s) ● Just the binaries ● Unless you host the Frontend on a submit node (which is not recommended) you will need to install a private version of Condor binaries ● Properly configuring it will make it usable for debugging, too UCSD Jan 18th 2012 Frontend Install 29
  • 30. Installing the Condor client ● As usual, using the provided installer the easiest way ● Manual install would require: ● Unpack the tarball ● Point it to the CM ● Make sure no daemons are ever started (it is a client!) UCSD Jan 18th 2012 Frontend Install 30
  • 31. Installing with the Q&A Installer ~/glideinWMS/install$ ./glideinWMS_install ~/glideinWMS/install$ ./glideinWMS_install ... ... Please select: 6 Please select: 6 [6] Condor for VO Frontend [6] Condor for VO Frontend … … Where do you have the Condor tarball? /home/frontend/Downloads/condor-7.6.4-x86_rhap_5-stripped.tar.gz Where do you have the Condor tarball? /home/frontend/Downloads/condor-7.6.4-x86_rhap_5-stripped.tar.gz Where do you want to install it?: [/home/condor/glidecondor] /home/frontend/glidecondor/glidecondor Where do you want to install it?: [/home/condor/glidecondor] /home/frontend/glidecondor/glidecondor If something goes wrong with Condor, who should get email about it?: me@myemail If something goes wrong with Condor, who should get email about it?: me@myemail Do you want to split the config files between condor_config and condor_config.local?: (y/n) [y] y Do you want to split the config files between condor_config and condor_config.local?: (y/n) [y] y ... ... Do you want to get it from VDT?: (y/n) y Do you want to get it from VDT?: (y/n) y Do you have already a VDT installation?: (y/n) y Where is have already a VDT /etc/osg/wn-clienty Do you the VDT installed?: installation?: (y/n) Where is the VDT installed?: /etc/osg/wn-client Will you be using a proxy or a cert? (proxy/cert) proxy Will you be using a proxy or a cert? (proxy/cert) proxy Where is your proxy located?: /home/frontend/.globus/x509_service.proxy My DN =is your proxy located?: /home/frontend/.globus/x509_service.proxy Where 'DN1' My DN = 'DN1' ... ... DN: DNXXX DN: DNXXX xN nickname: [condor001] uidXXX nickname: [condor001] uidXXX Is this a trusted Condor daemon?: (y/n) y Is this a trusted Condor daemon?: (y/n) y ... ... DN: DN: What node is the collector running (i.e. CONDOR_HOST)?: collectornode.mydomain What node is the collector running (i.e. CONDOR_HOST)?: collectornode.mydomain UCSD Jan 18th 2012 Frontend Install 31
  • 32. Creating the frontend config file ● This is the main step of the installation! ● Here I explain only the basics ● Actual frontend config tuning in the next talk ● As usual, using the provided installer makes life easier ● And is the recommended way to get the basic template ● You will likely want to tune the created config, though UCSD Jan 18th 2012 Frontend Install 32
  • 33. Using the Q&A Installer - 1/3 $ ./glideinWMS_install $ ./glideinWMS_install ... ... Please select: 7 Please select: 7 [7] VO Frontend [7] VO Frontend Do you have already a javascriptRRD installation?: (y/n) y Do you have already a javascriptRRD installation?: (y/n) y Where is javascriptRRD installed?: /home/frontend/javascriptrrd-0.6.1 Where is javascriptRRD installed?: /home/frontend/javascriptrrd-0.6.1 Where will you host your config files?: [/home/frontend/frontstage] /home/frontend/frontstage Where will you host your config files?: [/home/frontend/frontstage] /home/frontend/frontstage Where will the web data be hosted?: [/var/www/html/vofrontend] /var/www/html/vofrontend Where will the web data be hosted?: [/var/www/html/vofrontend] /var/www/html/vofrontend What Web URL will you use?: [http://my.node/vofrontend/] http://my.node/vofrontend/ What Web URL will you use?: [http://my.node/vofrontend/] http://my.node/vofrontend/ Where will you host your log files?: [/home/frontend/frontlogs] /home/frontend/frontlogs Where will you host your log files?: [/home/frontend/frontlogs] /home/frontend/frontlogs Give a name to this VO Frontend?: [myVO-cabinet-10-10-5] VOfe This is your Give a name to this VO Frontend?: [myVO-cabinet-10-10-5] VOfe Give a name to this VO Frontend instance?: [v1_0] v1_0 Give a name to this VO Frontend instance?: [v1_0] v1_0 security name What node is the WMS collector (i.e. the gfactory) running?: factory.node What node is the WMS collector (i.e. the gfactory) running?: factory.node What is the classad identity of the glidein factory?: [gfactory@factory.node] gfactory@factory.node What is the classad identity of the glidein factory?: [gfactory@factory.node] gfactory@factory.node What is the WMS collector DN (i.e. subject)?: DN1 What is the WMS collector DN (i.e. subject)?: DN1 Where is your proxy located?: /home/frontend/.globus/x509_service.proxy You get Where is your proxy located?: /home/frontend/.globus/x509_service.proxy this data voms-proxy-info is needed to extract the VO information from the proxy voms-proxy-info is needed to extract the VO information from the proxy from the Do you want to get it from VDT?: (y/n) y Do you want to get it from VDT?: (y/n) y factory Do you have already a VDT installation?: (y/n) y Do you have already a VDT installation?: (y/n) y Where is the VDT installed?: /etc/osg/wn-client Where is the VDT installed?: /etc/osg/wn-client admins For security reasons, we need to know what will the WMS collector map us to. For security reasons, we need to know what will the WMS collector map us to. What is the mapped name?: vo1@factory.node What is the mapped name?: vo1@factory.node UCSD Jan 18th 2012 Frontend Install 33
  • 34. Using the Q&A Installer - 2/3 Using pool collector collector.node Using pool collector collector.node What is the pool collector DN (i.e. subject)?: DN2 What is the pool collector DN (i.e. subject)?: DN2 List and secondary pool collectory the glideins should use instead of the main collector. List and secondary pool collectory the glideins should use instead of the main collector. Leave an empty collector name when finished. Leave an empty collector name when finished. Collector name: collector.node:9620-9819 Collector name: collector.node:9620-9819 Collector DN (i.e. subject): DN3 Collector DN (i.e. subject): DN3 Collector name: Tree of collectors Collector name: The following schedds have been found: The following schedds have been found: [1] schedd1.node [1] schedd1.node ... ... Do you want to monitor all of them?: (y/n) y Do you want to monitor all of them?: (y/n) y What is the DN (i.e. subject) for schedd schedd1.node?: DNxxx What is the DN (i.e. subject) for schedd schedd1.node?: DNxxx x N ... ... UCSD Jan 18th 2012 Frontend Install 34
  • 35. Using the Q&A Installer - 3/3 What kind of jobs do you want to monitor?: [JobUniverse==5] JobUniverse==5 What kind of jobs do you want to monitor?: [JobUniverse==5] JobUniverse==5 Give a name to the main group: [main] main Give a name to the main group: [main] main What expression do you want to use to match glideins to jobs? What expression do you want to use to match glideins to jobs? Match string: [True] glidein["attrs"]["GLIDEIN_Site"] in job["DESIRED_Sites"].split(",") Match string: [True] glidein["attrs"]["GLIDEIN_Site"] in job["DESIRED_Sites"].split(",") What job attributres are you using in the match expression? What job attributres are you using in the match expression? Job attributes: [DESIRED_Sites] DESIRED_Sites Job attributes: [DESIRED_Sites] DESIRED_Sites What glidein/factory attributres are you using in the match expression? What glidein/factory attributres are you using in the match expression? Factory attributes: [GLIDEIN_Site] GLIDEIN_Site Factory attributes: [GLIDEIN_Site] GLIDEIN_Site Do you want to use the frontend proxy to submit glideins: (y/n) [y] n Will use glexec Do you want to use the frontend proxy to submit glideins: (y/n) [y] n An empty entry means you are done. wherever available An empty entry means you are done. proxy fname: /home/frontend/.globus/x509_vopilot1.proxy proxy fname: /home/frontend/.globus/x509_vopilot1.proxy proxy fname: proxy fname: How do you want to categorize the use of glexec if available at sites?: [OPTIONAL] OPTIONAL How do you want to categorize the use of glexec if available at sites?: [OPTIONAL] OPTIONAL Do you want to expose the Grid env. to the user jobs?: (y/n) y Do you want to expose the Grid env. to the user jobs?: (y/n) y Do you want to create the VO Frontend instance (as opposed to just the config file)?: (y/n) [n] n Do you want to create the VO Frontend instance (as opposed to just the config file)?: (y/n) [n] n Configuration file is located at /home/frontend/frontstage/instance_v1_0.cfg/frontend.xml Configuration file is located at /home/frontend/frontstage/instance_v1_0.cfg/frontend.xml Here is your config file UCSD Jan 18th 2012 Frontend Install 35
  • 36. Instantiating the Frontend ● Once you are happy with the config, run create_frontend By default, the security ● It will create the Frontend instance in name is used to create the ~/frontstage/frontend_VOfe-v1_0 frontend name ● You will work in there from now on ~/glideinWMS/creation$ ./create_frontend ~/frontstage/instance_v1_0.cfg/frontend.xml ~/glideinWMS/creation$ ./create_frontend ~/frontstage/instance_v1_0.cfg/frontend.xml Created frontend 'VOfe-v1_0' Created frontend 'VOfe-v1_0' Active entries are: Active entries are: main main Work files can be found in /home/frontend/frontstage/frontend_VOfe-v1_0 Work files can be found in /home/frontend/frontstage/frontend_VOfe-v1_0 Log files can be found in /home/frontend/frontlogs/frontend_VOfe-v1_0 Log files can be found in /home/frontend/frontlogs/frontend_VOfe-v1_0 Support files are in /var/www/html/vofrontend/stage/frontend_VOfe-v1_0 Support files are in /var/www/html/vofrontend/stage/frontend_VOfe-v1_0 Monitoring files are in /var/www/html/vofrontend/monitor/frontend_VOfe-v1_0 Monitoring files are in /var/www/html/vofrontend/monitor/frontend_VOfe-v1_0 UCSD Jan 18th 2012 Frontend Install 36
  • 37. Starting the Frontend ● The Frontend instance has a init.d-like script ./frontend_startup start|stop ● This script also must be used to make any config changes to the Frontend ● Never change the frontend.xml in the Frontend dir ● Work on a copy (possibly in ../instance_v1_0.cfg/) and then run ./frontend_startup reconfig new_config UCSD Jan 18th 2012 Frontend Install 37
  • 38. Installing the Frontend from the OSG RPM repository UCSD Jan 18th 2012 Frontend Install 38
  • 39. The Frontend RPM ● OSG RPM repository provides a frontend RPM ● Advantages: ● It is an RPM, so tighter system integration ● Partially pre-configured to talk to the OSG factory ● Disadvantages: ● It is an RPM, thus installed and maintained as root ● No support for versioning Processes still running ● Requires more manual configuration as frontend https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend UCSD Jan 18th 2012 Frontend Install 39
  • 40. Installation of the RPM ● Similar to OSG Grid Client ● Indeed good practice to install the OSG Client first ● Requires a RPM-based Condor installation ● But will provide basic Condor config files in /etc/condor/config.d/ (not going into details in this talk, see Twiki) ● The actual RPM install a simple yum install glideinwms-vofrontend ● You still need to configure it, though https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend UCSD Jan 18th 2012 Frontend Install 40
  • 41. Configuration ● The RPM comes with a basic template in /etc/gwms-frontend/frontend.xml ● All security sections must be modified: ● To talk to the rest of the Condor pool (CM and submit nodes) ● For the Factory interaction (the info you got from the Factory admins) ● Regarding the service and pilot proxies https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlideinWMSFrontend UCSD Jan 18th 2012 Frontend Install 41
  • 42. Installation and startup ● The RPM provids a init.d script /etc/init.d/gwms-frontend ● You will need to run the reconfig once to finish the installation # /etc/init.d/gwms-frontend reconfig # /etc/init.d/gwms-frontend reconfig /var/lib/gwms-frontend/vofrontend/frontend.xml /var/lib/gwms-frontend/vofrontend/frontend.xml Warning: Cannot find /var/lib/gwms-frontend/vofrontend/frontend.xml Warning: Cannot find /var/lib/gwms-frontend/vofrontend/frontend.xml If this is the first reconfig, you can ignore this message. If this is the first reconfig, you can ignore this message. { -force_name name -writeback yes|no -update_scripts yes|no -xml xml | -help } { -force_name name -writeback yes|no -update_scripts yes|no -xml xml | -help } Reconfiguring the frontend [OK] Reconfiguring the frontend [OK] ● After that, it is ready to be started /etc/init.d/gwms-frontend start UCSD Jan 18th 2012 Frontend Install 42
  • 43. The End UCSD Jan 18th 2012 Frontend Install 43
  • 44. Pointers ● The official glideinWMS project Web page is http://tinyurl.com/glideinWMS ● glideinWMS development team is reachable at glideinwms-support@fnal.gov ● The OSG glidein factory is reachable at osg-gfactory-support@physics.ucsd.edu UCSD Jan 18th 2012 Frontend Install 44
  • 45. Acknowledgments ● The glideinWMS is a CMS-led project developed mostly at FNAL, with contributions from UCSD and ISI ● The glideinWMS factory operations at UCSD is sponsored by OSG ● The funding comes from NSF, DOE and the UC system UCSD Jan 18th 2012 Frontend Install 45