Athenaeum Worker Deployment
# Preconditions:
# - Atlas offline environment
# set up the Manager
# PRO Manager in CERN:
# export MANAGER=http://j2eeps.cern.ch/atlas-project-Athenaeum
# DEV Manager in CERN:
# export MANAGER=http://j2eeps.cern.ch/atlas-service-Athenaeum-Dev
# ask for special configuration, if needed
# (otherwise you will get a configuration corresponding to the used Manager)
# currently, the only available special configuration is the default neutral configuration
# export CONF=default
# download bootstrap file
wget -O boot.sh "${MANAGER}/Give.jsp?file=boot.sh"
chmod +x boot.sh
# 1.case: installation of new Worker
# get virgin configuration
./boot.sh init
# edit ???/config.sh
# and source it
source ???/config.sh
# get the Worker
./boot.sh
# 2.case: update of the existing Worker (can be done remotely from Athenaeum clients)
# it doesn't change the configuration
# get the Worker updates
./boot.sh
# 3.case: update of the existing Worker with configuration reset
# get the configuration and Worker updates
./boot.sh reset
# edit and submit ${ELSSICODE}/${TPSTAG}/scripts/cron.sh if you want it to manage you server
If there are any updates in the Manager, the Worker can be automatically updated using update option of the server management script.
It is installed on CERN AFS (amanage is an alias for java -jar AthenaeymManager.exe.jar):
source /afs/cern.ch/sw/lcg/external/Java/bin/setup.sh
amanage -manager [CERN_PRO|CERN_DEV|CHICAGO|BNL], default = CERN_DEV
-worker <worker ip:port>
-key <insider key>
-action [status|stop|restart|update]
-email <acknowledgement email>
-certificate &ly;grid certificate file>
-password <grid certificate password>
-d, debug
The same functionality is available from all Athenaeum clients (Web Portal, Portable Client, Android Client).