DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

install agent : no link created #123

Closed closier closed 13 years ago

closier commented 13 years ago

I install an agent with dirac-install-agent command but no link in $DIRAC/startup has been created. Is it because I miss an option or is it a problem ?

[volhcb20] /home/dirac/.globus > dirac-install-agent DataManagement StorageHistoryAgent 2011-06-22 11:25:48 UTC Framework NOTICE: DIRAC Root Path = /opt/dirac/versions/LHCb-v6r5_1308726669 AT >>> agent DataManagement StorageHistoryAgent Production ['LHCbWeb', 'LHCb'] Loading configuration template /opt/dirac/versions/LHCb-v6r5_1308726669/LHCbDIRAC/DataManagementSystem/ConfigTemplate.cfg {'OK': True, 'Value': Systems { DataManagement { Production { Agents { StorageHistoryAgent { } } } } } } Adding to CS DataManagement/StorageHistoryAgent Installing agent DataManagement/StorageHistoryAgent 22216: old priority 0, new priority 19 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent INFO: Loading DataManagement/StorageHistoryAgent 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: ======================================== 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Loaded agent module DataManagement/StorageHistoryAgent 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Site: VOLHCB20.cern.ch 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Setup: LHCb-Production 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Base Module version: $Id: AgentModule.py 36316 2011-03-19 21:57:05Z atsareg $
2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Agent version: $Id: StorageSummaryAgent.py 31247 2010-12-04 10:32:34Z rgracian $ 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: DIRAC version: v5r13p11 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: DIRAC platform: Linux_x86_64_glibc-2.5 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Polling time: 12.0 hours 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Control dir: /opt/dirac/versions/LHCb-v6r5_1308726669/control/DataManagement/StorageHistoryAgent 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Work dir: /opt/dirac/versions/LHCb-v6r5_1308726669/work/DataManagement/StorageHistoryAgent 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: Cycles: 500 2011-06-22 11:26:05 UTC DataManagement/StorageHistoryAgent NOTICE: ======================================== 2011-06-22 11:26:07 UTC DataManagement/StorageHistoryAgent NOTICE: ---------------------------------------- 2011-06-22 11:26:07 UTC DataManagement/StorageHistoryAgent NOTICE: Starting cycle for module DataManagement/StorageHistoryAgent 2011-06-22 11:26:07 UTC DataManagement/StorageHistoryAgent NOTICE: Remaining 500 of 500 cycles 2011-06-22 11:26:07 UTC DataManagement/StorageHistoryAgent NOTICE: ----------------------------------------

Successfully installed agent StorageHistoryAgent in DataManagement system [volhcb20] /home/dirac/.globus > ls -al /opt/dirac/startup/DataManagement_St* lrwxrwxrwx 1 dirac z5 41 Feb 22 11:32 /opt/dirac/startup/DataManagement_StorageUsageAgent -> ../runit/DataManagement/StorageUsageAgent

graciani commented 13 years ago

dirac-install-agent and dirac-install-service do not create this link, nor do keep the agent/service running. it also does not attempt to run it.

The link to startup should only be done once you have checked that the installed agent is properly configured and it can run properly.

closier commented 13 years ago

But when you do it though the CLI (dirac-admin-sysadmin-CLI) the link is created. so Why the behaviour is different ?

Regards

[cid:CCD358DD-C168-4467-A4DA-82C4EBDCB221@cern.ch]Joel Closier LHCb Experiment

Le 22 juin 2011 13:48, graciani a crit :

dirac-install-agent and dirac-install-service do not create this link, nor do keep the agent/service running. it also does not attempt to run it.

The link to startup should only be done once you have checked that the installed agent is properly configured and it can run properly.

Reply to this email directly or view it on GitHub: https://github.com/DIRACGrid/DIRAC/issues/123#issuecomment-1417428

graciani commented 13 years ago

dirac-install-agent/service are more basic tools. if you want a similar local behavior you need to use the dirac-setup-site command. It can be used to install/configure/setup any number of additional services or agents on a running server.