NTP
, cron
and logrotate
are installed, otherwise install them!
hostname -fIt should print the fully qualified domain name (e.g.
prod-ce.mydomain.it
). Correct your network configuration if it prints only the hostname without the domain. If you are installing WN on private network the command must return the external FQDN for the CE and the SE (e.g. prod-ce.mydomain.it
) and the internal FQDN for the WNs (e.g. node001.myintdomain
).
[extras] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch protect=0IMPORTANT NOTE If present remember to disable the dag.repo if it is enabled. You need to have enabled only the above repositories (Operating System, EPEL, Certification Authority, EMI):
Common repositories *x86_64* |
---|
epel.repo |
emi.repo (emi1-base.repo emi1-third-party.repo emi1-updates.repo) |
egi-trustanchors.repo![]() |
yum install yum-priorities yum-protectbase
rpm -ivh http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/updates/emi-release-1.0.1-1.sl5.noarch.rpm
File![]() |
Scope | Example | Details |
---|---|---|---|
<your-groups.conf> |
whole-site | ig-groups.conf![]() |
VOMS group mapping. It's a mandatory file. It's defined by GROUPS_CONF variable in <your-site-info.def>. IMPORTANT: You may create <your-groups.conf> starting from the /opt/glite/yaim/examples/ig-groups.conf template deployed with ig-yaim. |
<your-site-info.def> |
whole-site | ig-site-info.def![]() |
List of configuration variables in the format of key-value pairs. It's a mandatory file. It's a parameter passed to the ig_yaim command. IMPORTANT: You should always check if your <your-site-info.def> is up-to-date comparing with the last /opt/glite/yaim/examples/siteinfo/ig-site-info.def template deployed with ig-yaim and get the differences you find. For example you may use vimdiff: vimdiff /opt/glite/yaim/examples/siteinfo/ig-site-info.def <confdir>/<your-site-info.def> |
<your-users.conf> |
whole-site | ig-users.conf![]() |
Pool account user mapping. It's a mandatory file. It's defined by USERS_CONF variable in <your-site-info.def>. IMPORTANT: You may create <your-users.conf> starting from the /opt/glite/yaim/examples/ig-users.conf template deployed with ig-yaim, but probably you have to fill it on the base of your site policy on uids/guis. We suggest to proceed as explained here: ”<a href="http://igrelease.forge.cnaf.infn.it/doku.php?id=doc:use_cases:users" title="doc:use_cases:users">Whole site: How to create local users.conf and configure users</a>”. |
<your-wn-list.conf> |
whole-site | - | Worker nodes list in the format of hostname.domainname per row. It's a mandatory file. It's defined by WN_LIST variable in <your-site-info.def>. |
Directory | Scope | Details | ||
---|---|---|---|---|
services/ |
service-specific | It contains a file per nodetype with the name format: ig-node-type. The file contains a list of configuration variables specific to that nodetype. Each yaim module distributes a configuration file in /opt/glite/yaim/examples/siteinfo/services/[ig or glite]-node-type. It's a mandatory directory if required by the profile and you should copy it under the same directory where <your-site-info.def> is. |
||
nodes/ |
host-specific | It contains a file per host with the name format: hostname.domainname. The file contains host specific variables that are different from one host to another in a certain site. It's an optional directory. |
||
vo.d/ |
VO-specific | It contains a file per VO with the name format: vo_name, but most of VO settings are still placed in ig-site-info.def template. For example, for ”lights.infn.it ”: # cat vo.d/lights.infn.it It's an optional directory for “normal” VOs (like atlas, alice, babar), mandatory only for “fqdn-like” VOs. In case you support such VOs you should copy the structure vo.d/<vo.specific.file> under the same directory where <your-site-info.def> is. |
||
group.d/ |
VO-specific | It contains a file per VO with the name format: groups-<vo_name>.conf. The file contains VO specific groups and it replaces the former <your-groups.conf> file where all the VO groups were specified all together. It's an optional directory. |
yum clean all
yum install ca-policy-egi-core
yum install emi-bdii-site
services/
directory. You will find an example in:
/opt/glite/yaim/examples/siteinfo/services/glite-bdii_site
/opt/glite/yaim/bin/yaim -v -s <site-info.def> -n BDII_siteThe mandatory variables are: SITE_DESC
SITE_OTHER_GRID="WLCG|EGI" SITE_OTHER_EGI_NGI="NGI_IT"If no errors are reported you can proceed to the configuration, otherwise correct them before continuing with the configuration.
"-d 6"
) to configure the services in order to have detailed information. For your convenience yo can save all the configuration information in a log file you can look at any time, separated from the yaimlog
defulat one.
/opt/glite/yaim/bin/yaim -c -d 6 -s -n BDII_site 2>&1 | tee /root/conf_BDII.`hostname -s`.`date`.log
yum clean all
yum install ca-policy-egi-core
yum install emi-bdii-top
/opt/glite/yaim/bin/yaim -v -s <site-info.def> -n BDII_topThe mandatory variable is: BDII_HOST If no errors are reported you can proceed to the configuration, otherwise correct them before continuing with the configuration.
"-d 6"
) to configure the services in order to have detailed information. For your convenience yo can save all the configuration information in a log file you can look at any time, separated from the yaimlog
defulat one.
/opt/glite/yaim/bin/yaim -c -d 6 -s -n BDII_top 2>&1 | tee /root/conf_BDII.`hostname -s`.`date`.log
yum clean all
[~]# ls -l /etc/grid-security/hostkey.pem -r-------- 1 root root 887 Mar 1 17:08 /etc/grid-security/hostkey.pem [~]# ls -l /etc/grid-security/hostcert.pem -rw-r--r-- 1 root root 1440 Mar 1 17:08 /etc/grid-security/hostcert.pemCheck expiration
[~]# openssl x509 -in hostcert.pem -noout -datesChange permission: (if needed)
[~]# chmod 0400 hostkey.pem [~]# chmod 0644 hostcert.pem
[~]# touch test [~]# setfacl -m u:storm:rw testNote: the storm user used to set the ACL entry must exist.
[~]# getfacl test # file: test # owner: root # group: root user::rw- user:storm:rw- group::r-- mask::rw- other::r-- [~]# rm -f testInstall ACL (eventually):
[~]# yum install aclEnable ACL (if needed):
[~]# vi /etc/fstab ... /dev/hda3 /storage ext3 defaults, acl 1 2 ...Then you need to remount the affected partitions as follows:
[~]# mount -o remount /storageThis is valid for different file system types (i.e., ext3, xfs, gpfs and others).
[~]# touch testfile [~]# setfattr -n user.testea -v test testfile [~]# getfattr -d testfile # file: testfile user.testea="test" [~]# rm -f testfileInstall attr (eventually):
[~]# yum install attrEnable EA (if needed):
[~]# vi /etc/fstab ... /dev/hda3 /storage ext3 defaults,acl,user_xattr 1 2 ...Then you need to remount the affected partitions as follows:
[~]# mount -o remount /storage
yum install ca-policy-egi-core
yum install emi-storm-backend-mp yum install emi-storm-frontend-mp yum install emi-storm-globus-gridftp-mp yum install emi-storm-gridhttps-mp
/opt/glite/yaim/bin/yaim -v -s <site-info.def> -n se_storm_backend -n se_storm_frontendYou can find in this documentation: System Administrator Guide
"-d 6"
) to configure the services in order to have detailed information. For your convenience yo can save all the configuration information in a log file you can look at any time, separated from the yaimlog
defulat one.
/opt/glite/yaim/bin/yaim -c -d 6 -s -n se_storm_backend -n se_storm_frontend 2>&1 | tee /root/conf_StroRM_BE_FE.`hostname -s`.`date`.logIMPORTANT NOTE The order of the profile is important and must be : -n se_storm_backend -n se_storm_frontend
![]() |
![]() |
|
![]() |
|
![]() |