LCG Grid Deployment - gLite Pre Production Services - PPS-CERN Admin Procedures

How to use aliases for the CE and get job submission running.

If you want to use an alias for your CE you need to make sure that the CE is publishing itself correctly in the information system.

Setting CE_HOST=ce-alias in the site-info-def and run the YAIM configure script is not enough.

YAIM will use, in some functions, the real hostname, instead of the alias you have defined, so the corrections need to be done manually.

Here is an example of how the configuration can be done: In this case we wanted to make the CE lxb2005.cern.ch use the alias pps-ce-prod-sl3

  • Configure the alias in the site-info.def
    [root@lxb2055 root]# vi /opt/glite/yaim/etc/site-info.def
    ...
    CE_HOST=pps-ce-prod-sl3.$MY_DOMAIN
    ...
       
  • Run YAIM's configure script
    [root@lxb2055 root]# /opt/glite/yaim/scripts/configure_node \ 
                                     /opt/glite/yaim/etc/site-info.def CE[_torque]
       
  • Locate files which contains the real hostname. The suggested command is just an example. The idea is to locate configuration files that have been modified by YAIM filtering out temporary files. Please don't take it for granted and do instead your analysis cum grano salis .
    [root@lxb2055 root]# grep lxb2055 `locate ldif` | grep -v "bdii" | grep -v oldconfig | grep -v tmp | awk -F: '{print $1}' | awk '{system("ls -l "$0)}' | sort -u
       
    The possible list of file to be changed is
    • /opt/lcg/var/gip/ldif/static-file-CE.ldif
    • /opt/globus/setup/globus/grid-info-resource-ldif.conf
    • /opt/lcg/var/gip/ldif/static-file-Cluster.ldif
  • Replace the hostname with the alias in all files
       

-- Main.aretico - 20 Dec 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2006-12-20 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback