From dd24a370b29c2835cbbbda3981ca5c85fad9202b Mon Sep 17 00:00:00 2001 From: Todor Ivanov Date: Tue, 3 May 2022 19:00:59 +0300 Subject: [PATCH] Add T3_US_Lancium. Add T3_US_Lancium to deploy-wmagent.sh as well. --- deploy/addUSOpportunistic.sh | 2 +- deploy/deploy-wmagent.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/addUSOpportunistic.sh b/deploy/addUSOpportunistic.sh index 55d7374cfd..4f10158f1c 100755 --- a/deploy/addUSOpportunistic.sh +++ b/deploy/addUSOpportunistic.sh @@ -3,7 +3,7 @@ PEND_JOBS=3000 RUNN_JOBS=3000 # default manage location manage=/data/srv/wmagent/current/config/wmagent/manage -for site in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil}; +for site in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_US_Lancium}; do echo "Adding site: $site into the resource-control with $PEND_JOBS pending and $RUNN_JOBS running slots" $manage execute-agent wmagent-resource-control --site-name=$site --cms-name=$site --ce-name=$site --pnn=$site --plugin=SimpleCondorPlugin --pending-slots=1000 --running-slots=1000; diff --git a/deploy/deploy-wmagent.sh b/deploy/deploy-wmagent.sh index 933c7ba9d8..7a52b83e78 100644 --- a/deploy/deploy-wmagent.sh +++ b/deploy/deploy-wmagent.sh @@ -374,7 +374,7 @@ echo "Done!" && echo echo "*** Setting up US opportunistic resources ***" if [[ "$HOSTNAME" == *fnal.gov ]]; then sed -i "s+forceSiteDown = \[\]+forceSiteDown = \[$FORCEDOWN\]+" $MANAGE_DIR/config.py - for resourceName in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_ES_PIC_BSC}; + for resourceName in {T3_US_NERSC,T3_US_OSG,T3_US_PSC,T3_US_SDSC,T3_US_TACC,T3_US_Anvil,T3_US_Lancium,T3_ES_PIC_BSC}; do ./manage execute-agent wmagent-resource-control --plugin=SimpleCondorPlugin --opportunistic \ --pending-slots=$HPC_PEND_JOBS --running-slots=$HPC_RUNN_JOBS --add-one-site $resourceName