SLS Project

Files:
  • vobox_fill_xml.py Get all the data from lemon and dq2 reports and generate an xml file for each machine. In results/ seems that the only updated files are atlddmXX, not ss_XXX_XXX (ss__XXXX_XXX previous method using vobox?). Uses:
    • lemon_metrics.py
    • xml_prepare.py
  • machines.txt Map cloud/server
  • backup_reports.sh Save all the reports from result/dq2_report/ with their date of modification.
  • update_node.sh : file included in all nodes, send an e-mail to the admin if the files has changed.
  • dq2_cfg/ directory with all the properties for access the servers. ss_node.cfg map of the servers/cluoud.

Daemons running:

  • ddmusr03@atlddm16:/data/SLS/scripts/vobox_monitor/
    • ctrontab:
      • monitor_vobox.sh : Generate the xml files (see vobox_fill_xml.py)
      • backup_reports.sh : Make a backup of the reports.
  • ddmusr01@atlddm16:/data/SLS/scripts/vobox_monitor/
    • acrontab:
      • update_dq2_nodes.sh: For each machine, check with svn if the CONFIGURATION files has been change.
      • retrieve_reports.sh: Get the reports from the machines.

Would be wonderful update howtorun.txt in vobox_monitor/

SVN is used for update the .cfg of each machine? Seems that sends an e-mail to the administrator.

Work Notebook

12 Jun

  • Adding a milestone to the Twiki page Milestone12Jun
  • Working provisional script for atlddm11:
    • Wasting time validating XML -> use xmllint under libxml package to validate against a schema.
    • 0.1 alpha beta gamma.... Writes an xml with dq2 report files. Without supporting log, error, lemon metrics,...
    • Added lemon metrics function: Return a list of dictionary with each value for the data segment
    • Added a draft of logger system for monitoring

15 Jun

  • Debugging monitoring script:
    • just one logging (dashboard have logging integrated?).
    • Future: More test cases, documentation, copying reports from server.

  • Creating an example of a dashboard service

16 Jun
  • Now works calling an external scripts: Problems was calling import scritps, needs to be like from script import function
17 Jun

SLC VM

For testing purpose there's a Virtual Machine with SLC 5 for VirtualBox. Configuration:
Machine configuration
user/password root / slccern
ddmusr03 / usualpasswd
ip address 10.0.1.2 / 255.255.255.0
gateway 10.0.1.1
dns 137.138.16.5
sshd enabled
VM Cconfiguration
Name slc5
OS/Version Linux/ Linux 2.6
RAM 2048

  • users : root / slccern | ddmusr03 / usualpasswd
  • AFS is not configured!
  • The IP for the machine is 10.0.1.2. You need to follow http://www.giannistsakiris.com/index.php/2007/11/01/host-only-networking-for-virtualbox/ to access via networkt to the machine. Remember use iptables command for enabling the internet access to the VM. SSH is enabled.
  • Importing the image:
    • Create a new vm: Name: slc5, OS: Linux, Version: Linux 2.6.
    • RAM: 2048MB
    • Virtual Hard Disk: Click on Existing... and select the vdi file.
    • Click Finish
    • Modify the Settings and add the tap0 interface (or the name that you choose) as the network adapter.
  • Remember use Snapshot utility at every important change in the system, so you won't have to import the vm again if the things go wrong.

My Links

Personal Preferences

Uncomment preferences variables to activate them (remove the #-sign). Help and details on preferences variables are available in TWikiPreferences.

  • Show tool-tip topic info on mouse-over of WikiWord links, on or off:
    • #Set LINKTOOLTIPINFO = off
  • Horizontal size of text edit box:
    • #Set EDITBOXWIDTH = 70
  • Vertical size of text edit box:
    • #Set EDITBOXHEIGHT = 22
  • Style of text edit box. width: 99% for full window width (default), width: auto to disable.
    • #Set EDITBOXSTYLE = width: 99%
  • Write protect your home page: (set it to your WikiName)

Related Topics

UserForm
FirstName Carlos
LastName Mestre
Email carlos.mestre.gonzalez@cernNOSPAMPLEASE.ch
Telephone

Address Building 38
Comment

Edit personal data
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2009-06-17 - CarlosMestre
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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.
Ideas, requests, problems regarding TWiki? Send feedback