Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:58:23

0001 #!/bin/bash
0002 
0003 instance=doma
0004 if [ "$#" -eq 1 ]; then
0005   instance=$1
0006 fi
0007 
0008 export X509_USER_PROXY=/afs/cern.ch/user/w/wguan/workdisk/iDDS/test/x509up
0009 export RUCIO_ACCOUNT=pilot
0010 
0011 #export IDDS_HOST=https://panda-idds-dev.cern.ch:443/idds
0012 
0013 export PANDA_BEHIND_REAL_LB=true
0014 #  export PANDA_SYS=/opt/idds/
0015 
0016 if [ "$instance" == "k8s" ]; then
0017     export IDDS_HOST=https://panda-idds-dev.cern.ch:443/idds
0018     export PANDA_AUTH=oidc
0019     export PANDA_BEHIND_REAL_LB=true
0020     export PANDA_VERIFY_HOST=off
0021     export PANDA_URL_SSL=https://panda-server-dev.cern.ch:443/server/panda
0022     export PANDA_URL=http://panda-server-dev.cern.ch:80/server/panda
0023     export PANDAMON_URL=https://panda-server-dev.cern.ch
0024     export PANDA_AUTH_VO=panda_dev
0025 
0026     export PANDACACHE_URL=$PANDA_URL_SSL
0027     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0028     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0029     export PANDA_CONFIG_ROOT=~/.panda/
0030 elif [ "$instance" == "bnl" ]; then
0031     export PANDA_AUTH=oidc
0032 
0033     export PANDA_URL_SSL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
0034     export PANDA_URL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
0035     export PANDACACHE_URL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
0036     export PANDAMON_URL=https://pandamon01.sdcc.bnl.gov
0037     export PANDA_AUTH=oidc
0038     export PANDA_AUTH_VO=EIC
0039     export PANDA_AUTH_VO=panda_dev.production
0040     export PANDA_USE_NATIVE_HTTPLIB=1
0041     export PANDA_BEHIND_REAL_LB=1
0042 
0043     # export PANDA_AUTH_VO=panda_dev
0044     # export PANDA_AUTH_VO=Rubin:production
0045 
0046     export PANDACACHE_URL=$PANDA_URL_SSL
0047     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0048 
0049     export PANDA_BEHIND_REAL_LB=true
0050     export PANDA_VERIFY_HOST=off
0051     export PANDA_CONFIG_ROOT=~/.panda/
0052 
0053     unset IDDS_HOST
0054     # doma
0055     # export IDDS_HOST=https://aipanda105.cern.ch:443/idds
0056 
0057     # bnl rucio
0058     source /cvmfs/eic.opensciencegrid.org/rucio-clients/alrb_setup.sh
0059     voms-proxy-init
0060     export RUCIO_ACCOUNT=wguan
0061 
0062 elif [ "$instance" == "usdf_dev" ]; then
0063     export PANDA_AUTH=oidc
0064     export PANDA_BEHIND_REAL_LB=true
0065     export PANDA_VERIFY_HOST=off
0066     export PANDA_URL_SSL=https://rubin-panda-server-dev.slac.stanford.edu:8443/server/panda
0067     export PANDA_URL=http://rubin-panda-server-dev.slac.stanford.edu:80/server/panda
0068     export PANDAMON_URL=https://rubin-panda-bigmon-dev.slac.stanford.edu
0069     export PANDA_AUTH_VO=Rubin
0070 
0071     # export PANDA_AUTH_VO=Rubin.production
0072 
0073     export IDDS_HOST=https://rubin-panda-idds-dev.slac.stanford.edu:8443/idds
0074 
0075     export PANDACACHE_URL=$PANDA_URL_SSL
0076     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0077 
0078     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0079     export PANDA_CONFIG_ROOT=~/.panda/
0080 
0081     export IDDS_OIDC_TOKEN_FILE=~/.idds/.token_rubin_dev
0082 elif [ "$instance" == "usdf" ]; then
0083     export PANDA_AUTH=oidc
0084     export PANDA_BEHIND_REAL_LB=true
0085     export PANDA_VERIFY_HOST=off
0086     export PANDA_URL_SSL=https://usdf-panda-server.slac.stanford.edu:8443/server/panda
0087     export PANDA_URL=https://usdf-panda-server.slac.stanford.edu:8443/server/panda
0088     export PANDACACHE_URL=$PANDA_URL_SSL
0089     export PANDAMON_URL=https://usdf-panda-bigmon.slac.stanford.edu:8443/
0090     export PANDA_AUTH_VO=Rubin.production
0091 
0092     export PANDACACHE_URL=$PANDA_URL_SSL
0093     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0094 
0095     export IDDS_HOST=https://usdf-panda-idds.slac.stanford.edu:8443/idds
0096 
0097     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0098     export PANDA_CONFIG_ROOT=~/.panda/
0099     export IDDS_OIDC_TOKEN_FILE=~/.idds/.token_rubin_prod
0100 elif [ "$instance" == "new" ]; then
0101     export PANDA_AUTH=oidc
0102     export PANDA_URL_SSL=https://ai-idds-05.cern.ch:25443/server/panda
0103     export PANDA_URL=http://ai-idds-05.cern.ch:25080/server/panda
0104     export PANDAMON_URL=https://panda-doma.cern.ch
0105     # export PANDA_AUTH_VO=panda_dev
0106     export PANDA_AUTH_VO=Rubin:production
0107 
0108     export PANDACACHE_URL=$PANDA_URL_SSL
0109 
0110     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0111     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0112     export PANDA_CONFIG_ROOT=~/.panda/
0113 
0114     # export IDDS_HOST=https://aipanda015.cern.ch:443/idds
0115 
0116     # dev
0117     export IDDS_HOST=https://aipanda104.cern.ch:443/idds
0118 
0119     # doma
0120     export IDDS_HOST=https://aipanda105.cern.ch:443/idds
0121 
0122     # export IDDS_BROKERS=atlas-test-mb.cern.ch:61013
0123     # export IDDS_BROKER_DESTINATION=/topic/doma.idds
0124     # export IDDS_BROKER_USERNAME=domaidds
0125     # export IDDS_BROKER_PASSWORD=1d25yeft6krJ1HFH
0126     # export IDDS_BROKER_TIMEOUT=360
0127 
0128     PANDA_QUEUE=BNL_OSG_2
0129     PANDA_WORKING_GROUP=EIC
0130     PANDA_VO=wlcg
0131 elif [ "$instance" == "doma_k8s" ]; then
0132     # export PANDA_URL_SSL=https://panda-doma-k8s-panda.cern.ch/server/panda
0133     # export PANDA_URL=http://panda-doma-k8s-panda.cern.ch:25080/server/panda
0134     # export PANDACACHE_URL=https://panda-doma-k8s-panda.cern.ch/server/panda
0135     # export PANDAMON_URL=https://panda-doma-bigmon.cern.ch
0136     export PANDA_URL_SSL=https://pandaserver-doma.cern.ch/server/panda
0137     export PANDA_URL=http://pandaserver-doma.cern.ch:25080/server/panda
0138     export PANDACACHE_URL=https://pandaserver-doma.cern.ch/server/panda
0139     export PANDAMON_URL=https://panda-doma.cern.ch
0140     
0141     export PANDA_AUTH=oidc
0142     export PANDA_AUTH_VO=Rubin.production
0143     # export PANDA_AUTH_VO=EIC
0144     # export PANDA_AUTH_VO=Rubin
0145     export PANDA_USE_NATIVE_HTTPLIB=1
0146     export PANDA_BEHIND_REAL_LB=true
0147 
0148     # export PANDA_AUTH_VO=Rubin.production
0149 
0150     export PANDACACHE_URL=$PANDA_URL_SSL
0151     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0152 
0153     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0154     export PANDA_CONFIG_ROOT=~/.panda/
0155 
0156     export IDDS_OIDC_TOKEN_FILE=~/.idds/.token_doma_k8s
0157 else
0158     export PANDA_AUTH=oidc
0159     # export PANDA_URL_SSL=https://pandaserver-doma.cern.ch:25443/server/panda
0160     export PANDA_URL_SSL=https://pandaserver-doma.cern.ch:443/server/panda
0161     export PANDA_URL=http://pandaserver-doma.cern.ch:25080/server/panda
0162     export PANDAMON_URL=https://panda-doma.cern.ch
0163     # export PANDA_AUTH_VO=panda_dev
0164     export PANDA_AUTH_VO=Rubin:production
0165 
0166     export PANDACACHE_URL=$PANDA_URL_SSL
0167 
0168     export PANDA_SYS=/afs/cern.ch/user/w/wguan/workdisk/iDDS/.conda/iDDS/
0169     # export PANDA_CONFIG_ROOT=/afs/cern.ch/user/w/wguan/workdisk/iDDS/main/etc/panda/
0170     export PANDA_CONFIG_ROOT=~/.panda/
0171 
0172     # export IDDS_HOST=https://aipanda015.cern.ch:443/idds
0173    
0174     # dev
0175     # export IDDS_HOST=https://aipanda104.cern.ch:443/idds
0176 
0177     # doma
0178     # export IDDS_HOST=https://aipanda105.cern.ch:443/idds
0179 
0180     # export IDDS_BROKERS=atlas-test-mb.cern.ch:61013
0181     # export IDDS_BROKER_DESTINATION=/topic/doma.idds
0182     # export IDDS_BROKER_USERNAME=domaidds
0183     # export IDDS_BROKER_PASSWORD=1d25yeft6krJ1HFH
0184     # export IDDS_BROKER_TIMEOUT=360
0185 
0186     PANDA_QUEUE=BNL_OSG_2
0187     PANDA_WORKING_GROUP=EIC
0188     PANDA_VO=wlcg
0189 fi