Configuration of the UI
The user interface requires similar to the other gLite services variables to be defined and set in the site-info.def file.
Create an empty file site-info.def in the directory /root/yaim/
mkdir /root/yaim cd /root/yaim touch site-info.def chown -R 600 /root/yaim
and add the following variables
BDII_HOST=bdii-fzk.gridka.de # Fully qualified hostname of the BDII PX_HOST=px-fzk.gridka.de # Fully qualified hostname of MyProxy Server RB_HOST=wms-a-kit.gridka.de # Fully qualified hostname of a Resource Broker SITE_NAME=GKSXYZ VOS=dech # List of supported VOs VO_<vo-name>_VOMSES=<Parameters needed to contact a VOMS server> VO_<vo-name>_VOMS_CA_DN=<Distinguished Name of the CA that signs the VOMS server certificate>
Replace the virtual organization specific values for dech (see VO configuration) and fill in also the values for the RB (e.g. wms-[abcd]-kit.gridka.de), BDII (e.g. bdii-fzk.gridka.de) and PX hosts (e.g. px-fzk.gridka.de) responsible for your site.
After you saved your changes to the site-info.def and checked for
- the existence of the gcc compiler and
- put the host certificate and key in place in the directory /etc/grid-security/
the configuration via yaim can be started
/opt/glite/yaim/bin/yaim -c -s /root/yaim/site-info.def -n glite-UI
If the gcc is not installed on your system please run
yum install gcc
before running yaim. The output of yaim is listed below. You should see a similiar output on your screen
INFO: Using site configuration file: /root/yaim/site-info.def INFO: ################################################################### . /'.-. ') . yA,-"-,( ,m,:/ ) .oo. oo o ooo o. .oo . / .-Y a a Y-. 8. .8' 8'8. 8 8b d'8 . / ~ ~ / 8' .8oo88. 8 8 8' 8 . (_/ '====' 8 .8' 8. 8 8 Y 8 . Y,--,Yy,-.,/ o8o o8o o88o o8o o8o o8o . I_))_) I_))_) current working directory: /root site-info.def date: Aug 19 10:45 /root/yaim/site-info.def yaim command: -c -s /root/yaim/site-info.def -n glite-UI log file: /opt/glite/yaim/bin/../log/yaimlog Thu Aug 19 10:55:01 CEST 2010 : /opt/glite/yaim/bin/yaim Installed YAIM versions: glite-yaim-clients 4.0.9-2 glite-yaim-core 4.0.12-1 #################################################################### INFO: The default location of the grid-env.(c)sh files will be: /opt/glite/etc/profile.d INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils INFO: Detecting environment INFO: Executing function: config_sysconfig_lcg_check INFO: Executing function: config_globus_clients_check INFO: Executing function: config_lcgenv_check INFO: Executing function: config_rgma_client_check INFO: Executing function: config_workload_manager_client_check INFO: Executing function: config_amga_client_check INFO: Executing function: config_gsissh_check INFO: Executing function: config_glite_ui_check INFO: Executing function: config_vomses_check INFO: Executing function: config_globus_devel_check INFO: Executing function: config_vomsdir_check INFO: Executing function: config_add_pool_env_check INFO: Executing function: config_ldconf INFO: Executing function: config_sysconfig_edg INFO: Executing function: config_sysconfig_globus INFO: Executing function: config_sysconfig_lcg INFO: Executing function: config_crl INFO: Executing function: config_globus_clients_setenv INFO: Executing function: config_globus_clients INFO: Configure the globus service setup-tmpdirs: creating ./config.status config.status: creating globus-script-initializer config.status: creating Paths.pm creating globus-sh-tools-vars.sh creating globus-script-initializer creating Globus::Core::Paths checking globus-hostname Done INFO: Executing function: config_lcgenv INFO: Executing function: config_rgma_client_setenv INFO: Executing function: config_rgma_client INFO: YAIM has detected the OS is SL5. The rgma client is no longer configured in SL5. INFO: Executing function: config_workload_manager_client_setenv INFO: Executing function: config_workload_manager_client INFO: Executing function: config_fts_client INFO: Executing function: config_amga_client_setenv INFO: Executing function: config_amga_client INFO: Executing function: config_gsissh_setenv INFO: Executing function: config_gsissh Configuring gsi_openssh ------------------------------------------------------------ Executing... Notes: o Privilege separation is off. o GSI-OpenSSH website is <http://grid.ncsa.uiuc.edu/ssh/>. ------------------------------------------------------------ Finished configuring gsi_openssh. INFO: Executing function: config_glite_ui_setenv INFO: Executing function: config_glite_ui WARNING: The file /tmp/jobOutput specified in the variable OUTPUT_STORAGE doesn't exist WARNING: The user is responsible for creating this file ! INFO: Executing function: config_vomses INFO: Executing function: config_globus_devel_setenv INFO: Executing function: config_globus_devel gpt-build ====> Changing to /opt/globus/setup/globus/BUILD/globus_core-4.30/ gpt-build ====> BUILDING FLAVOR gcc32 gpt-build ====> Changing to /opt/globus/setup/globus/BUILD gpt-build ====> REMOVING empty package globus_core-gcc32-pgm_static gpt-build ====> Changing to /opt/globus/setup/globus/BUILD/globus_core-4.30/ gpt-build ====> BUILDING FLAVOR gcc32pthr gpt-build ====> Changing to /opt/globus/setup/globus/BUILD gpt-build ====> REMOVING empty package globus_core-gcc32pthr-pgm_static gpt-build ====> Changing to /opt/globus/setup/globus/BUILD/globus_core-4.30/ gpt-build ====> BUILDING FLAVOR gcc32dbg gpt-build ====> Changing to /opt/globus/setup/globus/BUILD gpt-build ====> REMOVING empty package globus_core-gcc32dbg-pgm_static gpt-build ====> Changing to /opt/globus/setup/globus/BUILD/globus_core-4.30/ gpt-build ====> BUILDING FLAVOR gcc32dbgpthr gpt-build ====> Changing to /opt/globus/setup/globus/BUILD gpt-build ====> REMOVING empty package globus_core-gcc32dbgpthr-pgm_static gpt-build ====> REMOVING empty package globus_core-noflavor-doc INFO: Executing function: config_vomsdir_setenv INFO: Executing function: config_vomsdir INFO: Executing function: config_add_pool_env_setenv INFO: Executing function: config_add_pool_env INFO: Configuration Complete. [ OK ] INFO: YAIM terminated succesfully.
NOTE: The function lists for the yaim configuration are located in /opt/glite/yaim/node-info.d/. You can have a look at the lists on the machines or in the wiki under category "Function lists".
Functions used for the configuration of the user interface can be found here.
Please have a look at the output of yaim for possible errors and warnings. For example
WARNING: The file /tmp/jobOutput specified in the variable OUTPUT_STORAGE doesn't exist WARNING: The user is responsible for creating this file !
or
WARNING: /opt/glite/libexec/fetch-crl.sh didn't finish succesfully WARNING: CRLs may not be updated, please have a look
To fix the first warning create the /tmp/jobOutput directory. This directory will be used to store the job output. The second error may be caused by not installing the lcg-CA packages.
Next step is Testing the user interface
Go back to gLite Administration Course, User Interface, Installing a user interface