]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - SHUTTLE/AliShuttleConfig.h
adding hosts to fxserror mail
[u/mrichter/AliRoot.git] / SHUTTLE / AliShuttleConfig.h
index e77746c20c7b6b99496333969e539d1aa707099f..0d4e39400f0c130bca96a5db81222446ff1b6609 100644 (file)
@@ -27,13 +27,13 @@ public:
                        const char* binddn = 0, const char* password = 0,
                        const char* basedn = "o=alice,dc=cern,dc=ch");
        virtual ~AliShuttleConfig();
-       AliShuttleConfig(const AliShuttleConfig & other);
-       AliShuttleConfig& operator= (const AliShuttleConfig& other);
 
        Bool_t IsValid() const {return fIsValid;};
 
        const char* GetConfigHost() const {return fConfigHost.Data();}
 
+       const char* GetAlienPath() const {return fAlienPath.Data();}
+
        const char* GetDAQlbHost() const {return fDAQlbHost.Data();}
        UInt_t      GetDAQlbPort() const {return fDAQlbPort;}
        const char* GetDAQlbUser() const {return fDAQlbUser.Data();}
@@ -65,6 +65,8 @@ public:
        Int_t GetPPTimeOut() const { return fPPTimeOut; }
        Int_t GetDCSTimeOut() const { return fDCSTimeOut; }
        Int_t GetDCSRetries() const { return fDCSRetries; }
+       UInt_t GetDCSQueryOffset() const { return fDCSQueryOffset; }
+       UInt_t GetDCSDelay() const { return fDCSDelay; }
        Int_t GetPPMaxMem() const { return fPPMaxMem; }
 
        Bool_t KeepDCSMap() const { return fKeepDCSMap; }
@@ -75,6 +77,9 @@ public:
        const char* GetMonitorTable() const {return fMonitorTable.Data();}
 
        Int_t GetTriggerWait() const {return fTriggerWait;}
+       const char* GetShuttleFileSystem() const {return fShuttleFileSystem.Data();}
+       Int_t GetFreeDiskWarningThreshold() const {return fFreeDiskWarningThreshold;}
+       Int_t GetFreeDiskFatalThreshold() const {return fFreeDiskFatalThreshold;}
        
        RunMode GetRunMode() const {return fRunMode;}
        
@@ -179,13 +184,18 @@ private:
        };
 
 
+       AliShuttleConfig(const AliShuttleConfig& other);
+       AliShuttleConfig& operator= (const AliShuttleConfig& other);
        UInt_t SetGlobalConfig(TList* globalList);
        UInt_t SetSysConfig(TList* sysList);
+       UInt_t SetPasswords();
        UInt_t SetDetConfig(TList* detList, TList* dcsList);
        UInt_t SetHostConfig(TList* hostList);
        
        TString fConfigHost;            // Host of the Shuttle configuration LDAP server
 
+       TString fAlienPath;             // Alien Path for CDB/Reference objs in the Alien catalogue
+
        TString fDAQlbHost;             // Host of the DAQ logbook MySQL Server
        UInt_t  fDAQlbPort;             // port of the DAQ logbook MySQL Server
        TString fDAQlbUser;             // username of the DAQ logbook MySQL Server
@@ -194,6 +204,7 @@ private:
        TString fDAQlbTable;            // Table name of the DAQ logbook 
        TString fShuttlelbTable;        // Table name of the Shuttle logbook
        TString fRunTypelbTable;        // Table name of the Run typr logbook
+       TString fPasswdFilePath;        // Path for the local file where the passwords are stored
 
        TString fFXSHost[3];            // Host of the [DAQ, DCS, HLT] File eXchange Server
        UInt_t  fFXSPort[3];            // Port of the [DAQ, DCS, HLT] File eXchange Server
@@ -213,12 +224,18 @@ private:
        Int_t fPPTimeOut;               // timeout until a preprocessor is killed
        Int_t fDCSTimeOut;              // timeout until the query to DCS is terminated
        Int_t fDCSRetries;              // number of retries until the query to DCS connection is terminated
+       UInt_t fDCSQueryOffset;         // offset for the DCS DPs query, to be subracted from the StartTime and
+                                       // added to the EndTime
+       UInt_t fDCSDelay;               // delay to make the query to DCS
        Int_t fPPMaxMem;                // maximum allowed memory until a preprocessor is killed
        
        TString fMonitorHost;           // host of the MonaLisa monitoring server
        TString fMonitorTable;          // Monalisa's SHUTTLE table name
        
        Int_t fTriggerWait;             // time to wait for DIM trigger before starting new collection 
+       TString fShuttleFileSystem;     // path of the Shuttle file system
+       Int_t fFreeDiskWarningThreshold;   // threshold for free space in the Shuttle file system to send a mail to the responsibles
+       Int_t fFreeDiskFatalThreshold;     // threshold for free space in the Shuttle file system to send a mail to the responsibles and terminate the Shuttle
        RunMode  fRunMode;              // Working mode (0=test; 1=prod)
 
        TMap fDetectorMap;              // Map of the detector-by-detector configuration