From 56aefcdd80fc43e021bca58bb3a3b3e492756ec2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 21 Apr 2008 14:44:20 +0000 Subject: [PATCH] site-info.def example file for jp.index. --- org.glite.jp.index/Makefile | 2 + .../config/functions/config_glite_jpis | 8 +++ org.glite.jp.index/config/site-info.def.example | 77 ++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 org.glite.jp.index/config/site-info.def.example diff --git a/org.glite.jp.index/Makefile b/org.glite.jp.index/Makefile index a467cb0..f04ad8c 100644 --- a/org.glite.jp.index/Makefile +++ b/org.glite.jp.index/Makefile @@ -128,9 +128,11 @@ install: -mkdir -p ${PREFIX}/yaim/functions/ -mkdir -p ${PREFIX}/yaim/node-info.d -mkdir -p ${PREFIX}/yaim/defaults + -mkdir -m 0700 -p ${PREFIX}/yaim/examples/siteinfo/services ${INSTALL} -m 0644 ${top_srcdir}/config/functions/config* ${PREFIX}/yaim/functions ${INSTALL} -m 0644 ${top_srcdir}/config/node-info.d/glite* ${PREFIX}/yaim/node-info.d ${INSTALL} -m 0644 ${top_srcdir}/config/defaults/glite* ${PREFIX}/yaim/defaults + ${INSTALL} -m 0600 ${top_srcdir}/config/site-info.def.example ${PREFIX}/yaim/examples/siteinfo/services/glite_jpis clean: rm -rvf *.c *.h *.ch *.xh *.xml *.nsmap *.o *.lo .libs glite-jp* diff --git a/org.glite.jp.index/config/functions/config_glite_jpis b/org.glite.jp.index/config/functions/config_glite_jpis index 0767a48..0735a32 100644 --- a/org.glite.jp.index/config/functions/config_glite_jpis +++ b/org.glite.jp.index/config/functions/config_glite_jpis @@ -42,6 +42,14 @@ function config_glite_jpis_setenv(){ yaimgridenv_set GLITE_HOST_CERT ${GLITE_USER_HOME:-/home/glite}/.certs/hostcert.pem yaimgridenv_set GLITE_HOST_KEY ${GLITE_USER_HOME:-/home/glite}/.certs/hostkey.pem yaimgridenv_set X509_CERT_DIR /etc/grid-security/certificates + yaimgridenv_set GLITE_JPIS_PIDFILE ${GLITE_JPIS_PIDFILE:-$GLITE_LOCATION_VAR/glite-jp-indexd.pid} + yaimgridenv_set GLITE_JPIS_LOGFILE ${GLITE_JPIS_LOGFILE:-$GLITE_LOCATION_VAR/glite-jp-indexd.log} + yaimgridenv_set GLITE_JPIS_CONFIG ${GLITE_JPIS_CONFIG:-$GLITE_LOCATION/etc/glite-jpis-config.xml} + yaimgridenv_set GLITE_JPIS_PORT ${GLITE_JPIS_PORT:-8902} + yaimgridenv_set GLITE_JPIS_DB ${GLITE_JPIS_DB:-jpis/@localhost:jpis} + yaimgridenv_set GLITE_JPIS_QT ${GLITE_JPIS_QT:-both} + yaimgridenv_set GLITE_JPIS_AUTH ${GLITE_JPIS_AUTH} + yaimgridenv_set GLITE_JPIS_DEBUG ${GLITE_JPIS_DEBUG} yaimgridpath_append LD_LIBRARY_PATH ${INSTALL_ROOT:-opt}/glite/lib yaimgridpath_append LD_LIBRARY_PATH ${INSTALL_ROOT:-opt}/globus/lib diff --git a/org.glite.jp.index/config/site-info.def.example b/org.glite.jp.index/config/site-info.def.example new file mode 100644 index 0000000..69a571a --- /dev/null +++ b/org.glite.jp.index/config/site-info.def.example @@ -0,0 +1,77 @@ +# +# site-info.def example, part for org.glite.jp.index +# +# options configured by YAIM can be overriden by: +# - /etc/glite.conf +# - $GLITE_LOCATION/etc/glite-wms.conf +# - $HOME/.glite.conf # of root user +# + + +# +# required minimum set of YAIM options given from +# /opt/glite/yaim/examples/siteinfo/site-info.def +# +YAIM_LOGGING_LEVEL=INFO +MY_DOMAIN=civ.zcu.cz +INSTALL_ROOT=/opt +CRON_DIR=/etc/cron.d +GLOBUS_TCP_PORT_RANGE="20000,25000" +MYSQL_PASSWORD=set_this_to_a_good_password + + +# +# default values of basic options +# + +#GLITE_LOCATION=${INSTALL_ROOT:-opt}/glite +#GLITE_LOCATION_VAR=${GLITE_LOCATION_VAR:-/var/glite} +#GLITE_USER=${GLITE_USER:-glite} +#GLITE_HOST_CERT=${GLITE_USER_HOME:-/home/glite}/.certs/hostcert.pem +#GLITE_HOST_KEY=${GLITE_USER_HOME:-/home/glite}/.certs/hostkey.pem +#X509_CERT_DIR=/etc/grid-security/certificates + + +# +# required external options +# + +#GLOBUS_LOCATION=/opt/globus + + +# +# JPIS configuration default values +# + +# pidfile +#GLITE_JPIS_PIDFILE=$GLITE_LOCATION_VAR/glite-jp-indexd.pid + +# logfile +#GLITE_JPIS_LOGFILE=$GLITE_LOCATION_VAR/glite-jp-indexd.log + +# configuration file +# +# Before launching YAIM you should configure there: +# - feeds (data streams) - contains primary storage and filter +# - attribute set +# - indices set +# +#GLITE_JPIS_CONFIG=$GLITE_LOCATION/etc/glite-jpis-config.xml + +# port +#GLITE_JPIS_PORT=8902 + +# connection string to database (USER/PASSWORD@HOST:DBNAME) +# If the default is changed, the database has to be created manually ! +#GLITE_JPIS_DB=jpis/@localhost:jpis + +# used types of feeds +#GLITE_JPIS_QT="both" + +# Index server returns only jobs owned by given user. +# Use '-n' value to force indexd not to check authentization. +#GLITE_JPIS_AUTH="" + +# Can have '-d' value to force indexd not to deamonize. +# Never use it here. +#GLITE_JPIS_DEBUG="" -- 1.8.2.3