Updating the machines

Don't screw the machines...

Now that this bit of advice is done, for the serious stuff.

Get an admin proxy

 dirac-proxy-init -g diracAdmin 

Start the cli:

 set host voilcdirac<XX>.cern.ch 
 show info 
The CLI is a usual DIRAC cli: help is available.

To update it's

 update v12r0p2 [-g <lcg_release>] 
The version can be found in ilcdirac.git and that should do the trick. Then you need to restart the services:
 restart *
Then the connection is lost. so you need to do the set host again.

All the machines should be updated the same way.

Then you have to make sure that all the services have restarted properly by checking the log files on every machine, agent and services. Logs can be found here: https://ilcdirac.cern.ch/DIRAC/ILC-Production/diracAdmin/systems/SystemAdministration/display (right click on the agent/service --> Log)

Things to do for the moment when updating

- There are several hacks that are needed because of the way we run:

You also need to change the extendable production type for the production Monitoring page on the web portal. Simply edit

line 369 should read
  if(type == 'MCGeneration'){

- Adding the JIRA report issue button Edit /opt/dirac/pro/Web/dirac/templates/diracPage.mako (on volcd04) and add

<script type="text/javascript" src="https://its.cern.ch/jira/s/en_US-nzmpdc-418945332/850/82/1.2.9/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?collectorId=d37d5599"></script>
in the header of the html block.

(Or what you find in Jira Administration -> Issue Collector)

Then restart Web_paster.

Stupid annoying things:

To avoid this error message:
/opt/dirac/pro/Linux_x86_64_glibc-2.12/lib/libz.so.1: no version information available (required by /lib64/libgio-2.0.so.0)
cp /lib64/libz.so.1.2.3 /opt/dirac/pro/Linux_x86_64_glibc-2.12/lib/libz.so.1.2.3

Patching the machines

  • Get the ILCDiracOps git repository.
  • install pssh (available via yum on SL6)
  • pssh -t0 -x '-t -t' -i -h hostFile "sudo /home/dirac/patchDirac.sh $BRANCH"
  • After the patching the services or agents that were patched need to be restarted.

-- AndreSailer - 2015-08-21

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2015-09-15 - AndreSailer
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback