Changeset 841 for trunk/Monitoring/Failover
- Timestamp:
- 03/28/13 11:44:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Monitoring/Failover/failover
r840 r841 16 16 17 17 class Failover(): 18 pass 18 19 @classmethod 20 def controlLoop(cls): 21 simulation=dao.get_simulation() 22 23 pass 19 24 20 25 def main(): … … 29 34 sys.exit(1) 30 35 31 # open DB connections 32 33 # initialize logger 36 SMON.init_singleton() 34 37 35 #38 Failover.controlLoop() 36 39 37 38 # close DB connections 40 SMON.free_singleton() 39 41 40 42
Note: See TracChangeset
for help on using the changeset viewer.