Esempio n. 1
0
  def configure( self, csSection, submitPool ):
    """
     Here goes specific configuration for LCG PilotDirectors
    """
    GridPilotDirector.configure( csSection, submitPool )

    self.log.info( '' )
    self.log.info( '===============================================' )
Esempio n. 2
0
    def configure(self, csSection, submitPool):
        """
     Here goes specific configuration for LCG PilotDirectors
    """
        GridPilotDirector.configure(csSection, submitPool)

        self.log.info('')
        self.log.info('===============================================')
Esempio n. 3
0
  def __init__( self, submitPool ):
    """
     Define some defaults and call parent __init__
    """
    self.gridMiddleware = 'LCG'

    GridPilotDirector.__init__( self, submitPool )

    self.resourceBrokers = BROKERS
Esempio n. 4
0
    def __init__(self, submitPool):
        """
     Define some defaults and call parent __init__
    """
        GridPilotDirector.__init__(self, submitPool)

        self.gridMiddleware = 'LCG'

        self.resourceBrokers = BROKERS
Esempio n. 5
0
  def configure( self, csSection, submitPool ):
    """
     Here goes specific configuration for gLite PilotDirectors
    """
    GridPilotDirector.configure( self, csSection, submitPool )

    self.reloadConfiguration( csSection, submitPool )

    if self.loggingServers:
      self.log.info( ' LoggingServers:', ', '.join( self.loggingServers ) )
    self.log.info( '' )
    self.log.info( '===============================================' )
Esempio n. 6
0
  def __init__( self, submitPool ):
    """
     Define some defaults and call parent __init__
    """
    self.gridMiddleware = 'gLite'

    self.resourceBrokers = BROKERS
    self.myProxyServer = MYPROXYSERVER
    # FIXME: We might be able to remove this
    self.loggingServers = [ LOGGING_SERVER ]

    GridPilotDirector.__init__( self, submitPool )
Esempio n. 7
0
    def configure(self, csSection, submitPool):
        """
     Here goes specific configuration for gLite PilotDirectors
    """
        GridPilotDirector.configure(self, csSection, submitPool)

        self.reloadConfiguration(csSection, submitPool)

        if self.loggingServers:
            self.log.info(' LoggingServers:', ', '.join(self.loggingServers))
        self.log.info('')
        self.log.info('===============================================')
Esempio n. 8
0
    def __init__(self, submitPool):
        """
     Define some defaults and call parent __init__
    """
        self.gridMiddleware = 'gLite'

        self.resourceBrokers = BROKERS
        self.myProxyServer = MYPROXYSERVER
        # FIXME: We might be able to remove this
        self.loggingServers = [LOGGING_SERVER]

        GridPilotDirector.__init__(self, submitPool)
Esempio n. 9
0
    def configureFromSection(self, mySection):
        """
      reload from CS
    """
        GridPilotDirector.configureFromSection(self, mySection)

        self.loggingServers = gConfig.getValue(mySection + "/LoggingServers", self.loggingServers)
        # This allows to set it to '' for LHCB and prevent CREAM CEs to reuse old proxies
        # For this to work with parametric jobs it requires the UI default configuration files to properly defined a
        #  consistent default.
        # For other VOs it allows to set a proper MyProxyServer for automatic renewal
        #  of pilot credentials for private pilots
        self.myProxyServer = gConfig.getValue(mySection + "/MyProxyServer", self.myProxyServer)
Esempio n. 10
0
  def configureFromSection( self, mySection ):
    """
      reload from CS
    """
    GridPilotDirector.configureFromSection( self, mySection )


    self.loggingServers = gConfig.getValue( mySection + '/LoggingServers'       , self.loggingServers )
    # This allows to set it to '' for LHCB and prevent CREAM CEs to reuse old proxies
    # For this to work with parametric jobs it requires the UI default configuration files to properly defined a
    #  consistent default.
    # For other VOs it allows to set a proper MyProxyServer for automatic renewal
    #  of pilot credentials for private pilots
    self.myProxyServer = gConfig.getValue( mySection + '/MyProxyServer'         , self.myProxyServer )