Big PanDA devprodsys2 update

Introduction

Updating /devprodsys2

Login to the machine

  • Replace jschovan by your CERN username.
    # ssh jschovan@lxvoadm.cern.ch
    
  • Login to aipanda022 as atlpan
    # ssh atlpan@aipanda022
    

Update -atlas from SVN/branches/devel

  • # cd /data/atlpan/bigpandamon-devprodsys2/bigpandamon-atlas/atlas
    # svn up
    

Update -core from SVN/branches/devel

  • # cd /data/atlpan/bigpandamon-devprodsys2/bigpandamon-core/core
    # svn up
    

Run collect statics

  • activate virtualenv
    # cd /data/virtualenv/django1.6.1__python2.6.6__devprodsys2
    # source bin/activate
    
  • test that runserver works
    # cd /data/virtualenv/django1.6.1__python2.6.6__devprodsys2/pythonpath/atlas
    # python manage.py runserver
    
    • you should see the standard Django's starting message:
      Django version 1.6.1, using settings 'atlas.settings'
      Starting development server at http://127.0.0.1:8000/
      Quit the server with CONTROL-C.
      
  • run collectstatic
    # python manage.py collectstatic
    

Let the root restart apache and take care of proper logfile ownership

  • root on aipanda022 runs a cronjob which checks existance of the following file:
    # touch /data/atlpan/bigpandamon-devprodsys2/atlpan-restart-httpd
    
  • if the atlpan-restart-httpd file exists, root runs /data/atlpan/bigpandamon-devprodsys2/root/atlpan-restart-httpd.sh
    • This cron runs every even minute.

Check the webpage






Major updates:

-- JaroslavaSchovancova - 01 May 2014






Responsible: JaroslavaSchovancova

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2014-05-01 - JaroslavaSchovancova
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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