Difference: AddFrontend (23 vs. 24)

Revision 242017/06/21 - Main.JeffreyDost

Line: 1 to 1
 
META TOPICPARENT name="GlideinFactoryFAQ"

Adding a New Frontend

Line: 23 to 23
 

Registration Procedure

Perform the following steps as root:

Changed:
<
<
  1. Create new user and put them in the gwms group (note: on CERN factories, prefix username and group with an _):
    /usr/sbin/useradd username
>
>
  1. Create new user (note: on CERN factories, prefix username with _):
    /usr/sbin/useradd username
 
  1. Add user to /etc/condor/privsep_config:
    valid-target-uids = feuser1 : feuser2 : … : username
    valid-target-gids = feuser1 : feuser2 : … : username
Changed:
<
<
  1. Authenticate with Condor:
    /root/glideinwms/install/glidecondor_addDN -daemon 'add comment here' "frontend_DN" identity 
    Include in the comment the Frontend name, admin name, and admin's email address. This shows up in the condor config file.
  2. Reconfigure Condor:
    service condor restart

Perform the following steps as gfactory:

  1. add new Frontend to glideinWMS.xml
    <frontends>
    ...
    <frontend name="security_name" comment="Contact: add list of admins and contact email addresses here" identity="identity@gfactory-1.t2.ucsd.edu">
    <security_classes>
    <security_class name="frontend" username="username"/>
    </security_classes>
    </frontend>
    ...
    </frontends>
  2. Reconfigure and restart the Factory
>
>
  1. Authenticate with condor:
    glidecondor_addDN -daemon 'add comment here' "frontend_DN" identity 
    Include in the comment the Frontend name, admin name, and admin's email address. This shows up in the condor config file. the changes will be found in:
    /etc/condor/config.d/90_gwms_dns.config
    /etc/condor/certs/condor_mapfile
    
  2. Stop the factory:
    service gwms-factory stop
  3. Reconfigure condor:
    service condor restart
  4. Add new frontend to /etc/gwms-factory/glideinWMS.xml:
          <frontends>
             ...
             <frontend name="security_name" identity="identity@gfactory-1.t2.ucsd.edu">
                <security_classes>
                   <security_class name="frontend" username="username"/>
                </security_classes>
             </frontend>
             ...
          </frontends>
  5. Reconfigure and restart the factory
 

Notify Frontend Admin

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback