Home
Docs

Contacts
    

LEAF - Individual tools

Last update: 4th April 200e, Veronique Lefebure

All tools are available from /usr/bin on lxplus and lxadm clusters (or /afs/cern.ch/group/c3/tools for some that are not yet migrated to the local installation) and are stored in CVS (/fabric/c3tools or /fabric/cdbtoolsuite  or /fabric/leaftools ). Most of tools from cdbtoolsuite have already been migrated to /fabric/leaftools.

General diagram.

Hardware Management

  • Adding a machine into CDB: LEAFAddHost   (but rather use HMS if possible !)
     
    • Maintainers: Veronique Lefebure, Bill Tomlin
    • Depends on: CDBGenerateNetinfo, CDBSoapClient.pm, CDBCredentials.pm, LEAFSerialUtils.pm
    • Creates: profile_x.tpl, netinfo_x.tpl
    • Remark: the host has to be registered in LANDB before using LEAFAddHost
       
  • Moving a machine: LEAFMoveHost  (but rather use HMS if possible !)
     
    • Maintainers: Veronique Lefebure,  Bill Tomlin
    • Depends on: CDBGenerateNetinfo, CDBSoapClient.pm, CDBCredentials.pm
    • Modifies: profile_x.tpl, netinfo_x.tpl
  • Renaming a machine: LEAFRenameHost  (but rather use HMS if possible !)
     
    • Maintainers: Veronique Lefebure, Bill Tomlin 
    • Depends on: CDBGenerateNetinfo, CDBSoapClient.pm, CDBCredentials.pm
    • Modifies: profile_x.tpl, netinfo_x.tpl, diskinfo_x.tpl, serial_map_x.tpl
       
  • Retiring a machine: CDBRetireHost  (but rather use HMS if possible !)
     
    • Maintainers: Veronique Lefebure, Bill Tomlin
    • Depends on: CDBSoapClient.pm, CDBCredentials.pm
    • Removes: profile_x.tpl, netinfo_x.tpl, serial_map_x.tpl, diskinfo_x.tpl
    • Creates: retired_profile_x.tpl, retired_netinfo_x.tpl, retired_diskinfo_x.tpl
       
  • Updating the "netinfo" data of machine in CDB: CDBUpdateNetinfo
     
    • Maintainers: Bill Tomlin, Veronique Lefebure
    • Depends on: CDBSoapClient.pm, CDBGenerateNetinfo
    • Modifies: netinfo_x.tpl
       
  • Updating the client side only console data of machines in CDB: CDBAddClientSerialInfo.pl

    Script discarded, Use CDBAddSerialInfo obsolete as well

     

  • Adding the "serialinfo" data of machine in CDB: CDBAddSerialInfo

  • Getting the "netinfo" data from LANDB: CDBGenerateNetinfo

    • Maintainers: Bill Tomlin, Veronique Lefebure
    • Depends on: SOAP:Lite
    • Maintainer: Bill Tomlin, Veronique Lefebure
    • Depends on: CDBSoapClient.pm, CDBCredentials.pm
    • Creates a new warranty template to be included later by other templates

State Management

  • sms: uses
  • Changing the type (i.e cluster) of a range of machines: LEAFChangeProfile
    • Maintainer: Veronique Lefebure
    • Depends on: CDBSoapClient, CDBTemplateModification, CDBCredentials
    • Uses CDBSQL views VWHOSTCLUSTER, VWLSFCLIENTS
    • Modifies: profile_x.tpl

Putting it all together

  • CDBSoapClient.pm
     
    • Maintainers: Bill Tomlin
    • Depends on: SOAP:Lite
       
  • Enter a non-quattor-managed machine into CDB: CDBQuattorise.pl
    • Maintainer: Thorsten Kleinwort
    • Modifies: profile_x.tpl, netinfo_x.tpl
       
  • LSF:
  • Info:
    • CDBDump                (Jan van Eldik, Veronique Lefebure)
    • CDBDumptable.pl     (Veronique Lefebure)
    • CCCapacity.pl          (Veronique Lefebure)
    • CheckNetinfo.pl       (Veronique Lefebure)
    • CDBHosts (use --help option for info )  (Veronique Lefebure)
       
  • Farm operations:
    • For a range of machines in a given cluster, upgrade the kernel or upgrade the OS or change the type (i.e. cluster): LEAFClusterMaintenance :
      • Diagram
      • Maintainer: Veronique Lefebure

Next Steps

  • Implement a soap version (Work in progress by Veronique, started end of June05), tools will be called something like LEAFxxxxx in stead of CDBxxxx, as suggested by German.

  • Maintain/complete a  "Service Manager Start here" Twiki page, gather all bits of information for setting up and managing a cluster (see ELFms meeting report) : VL, page can be found here

  • When all tools use the same code, included HMS, we can work on a global log file for all changes applied to all profiles in CDB.