117 |
yaimlog DEBUG "Create ERT configuration" |
yaimlog DEBUG "Create ERT configuration" |
118 |
####@ Create ERT configuration |
####@ Create ERT configuration |
119 |
|
|
120 |
INFOD_SCHED_WRAP="${PLUGIN_DIR}/plugin/glite-info-dynamic-scheduler-wrapper" |
INFOD_SCHED_WRAP="${PLUGIN_DIR}/glite-info-dynamic-scheduler-wrapper" |
121 |
LDIF_FILE="static-file-CE.ldif" |
LDIF_FILE="static-file-CE.ldif" |
122 |
sched_conf="${LOCATION_ETC}/lcg-info-dynamic-scheduler.conf" |
sched_conf="${LOCATION_ETC}/lcg-info-dynamic-scheduler.conf" |
123 |
|
|
203 |
echo "vo_max_jobs_cmd: $vo_max_jobs_cmd" >> ${sched_conf} |
echo "vo_max_jobs_cmd: $vo_max_jobs_cmd" >> ${sched_conf} |
204 |
fi |
fi |
205 |
|
|
|
cat > "$PLUGIN_DIR"/globus-gram5-info-dynamic-scheduler <<EOF |
|
|
#!/bin/sh -l |
|
|
export PYTHONPATH=/usr/lib/python: |
|
|
/usr/libexec/lcg-info-dynamic-scheduler -c /etc/lcg-info-dynamic-scheduler.conf |
|
|
EOF |
|
|
|
|
206 |
} |
} |
207 |
|
|
208 |
|
|