This page is a collection of HowTo for testing and certification people
Prerequisities
Two things usually need to be checked (se also sysadmin guide for the complete list):
- Command hostname should return a Fully Qualified Domain Name (FQDN). So check /etc/hosts
- Check that the fs support the extended attribute and the ACL. Example:
[~]# vi /etc/fstab
...
/dev/hda3 /storage ext3 defaults,acl,user_xattr 1 2
...
Siteinfo example files
#### Storm FE siteinfo ####
## MANDATORY parameters
STORM_DB_PWD=<write a valid pwd>
## REQUIRED parameters (!= defaults)
STORM_DB_HOST=cream-51.pd.infn.it
STORM_FE_BE_XMLRPC_HOST=cream-51.pd.infn.it
### Why we need it? Is it a bug?
STORM_FRONTEND_PORT=8444
# overwrite siteinfo def variables
STORM_DEFAULT_ROOT=/storageArea
#### Storm BE siteinfo ####
## MANDATORY
STORM_BACKEND_HOST=cream-51.pd.infn.it
STORM_DEFAULT_ROOT=/storageArea
VOS="cms dteam infngrid testers.eu-emi.eu"
STORM_DB_PWD=<write a valid pwd>
STORM_CMS_ONLINE_SIZE=1
STORM_DTEAM_ONLINE_SIZE=1
STORM_INFNGRID_ONLINE_SIZE=1
STORM_TESTERSEUEMIEU_ONLINE_SIZE=3
STORM_TESTERSEUEMIEU_NO_VOMS_ONLINE_SIZE=1
## REQUIRED (!= default values)
STORM_DB_HOST=$STORM_BACKEND_HOST
STORM_FRONTEND_HOST_LIST=cert-18.pd.infn.it
STORM_FRONTEND_PUBLIC_HOST=cert-18.pd.infn.it
STORM_GRIDHTTPS_ENABLED=true
STORM_GRIDHTTPS_SERVER_USER_UID=91
STORM_GRIDHTTPS_SERVER_GROUP_UID=91
STORM_GRIDHTTPS_SERVER_HOST=$STORM_BACKEND_HOST
STORM_INFO_HTTP_SUPPORT=true
STORM_INFO_HTTPS_SUPPORT=true
#STORM_STORAGEAREA_LIST="$VOS testers.eu-emi.eu_no_voms"
## Added
GRIDFTP_WITH_DSI="yes"
STORM_STORAGEAREA_LIST="$VOS testers.eu-emi.eu_no_voms strangeName"
STORM_GRIDFTP_POOL_LIST=$STORM_BACKEND_HOST
STORM_DEFAULT_PATH=/provola
## https service
STORM_GRIDHTTPS_PLUGIN_CLASSNAME=it.grid.storm.https.GhttpsHTTPSPluginInterface
STORM_GRIDHTTPS_SERVER_PORT=8088 #####
STORM_STRANGENAME_ONLINE_SIZE=2
STORM_STRANGENAME_ROOT="/provola/strangename"
STORM_STRANGENAME_ACCESSPOINT="/surprise"
STORM_STRANGENAME_VONAME="testers.eu-emi.eu"
Workaround and Known issues
xml-common-apis
If at the end of the yaim configuration you see this error:
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find xml-commons-apis Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm
Install this rpm:
xml-commons-apis
Testing Tip&Tricks
--novoms testsuite section
To use the
--novoms parameter of the testsuite you need to modify before the _ /etc/storm/backend-server/namespace.xml_ file on the BE:
remove the
vo-name entry from the application rule:
testers.eu-emi.eu_no_voms-rule
--- /etc/storm/backend-server/namespace.xml 2012-03-02 15:23:37.000000000 +0100
+++ /etc/storm/backend-server/namespace.xml.old 2012-03-02 15:22:09.000000000 +0100
@@ -305,6 +305,7 @@
<app-rule name="testers.eu-emi.eu_no_voms-rule">
<subjects>
<dn>*</dn>
+ <vo-name>testers.eu-emi.eu_no_voms</vo-name>
</subjects>
<approachable-fs>TESTERSEUEMIEU_NO_VOMS-FS</approachable-fs>
</app-rule>