def start(self): if self.install_type() == 'rpm': common.run_script("service frontend_startup start") else: startup_file = "%s/frontend_startup" % (self.frontend_dir()) if os.path.isfile(startup_file): # indicates frontend has been created common.start_service(self.glideinwms_location(),self.ini_section,self.inifile)
def install(self): common.logit ("======== %s install starting ==========" % self.ini_section) common.ask_continue("Continue") self.validate() self.__install_condor__() self.configure() common.logit ("======== %s install complete ==========" % self.ini_section) common.start_service(self.glideinwms_location(),self.ini_section,self.inifile)
def install(self): common.logit ("======== %s install starting ==========\n" % self.ini_section) self.get_wms() self.get_frontend() common.ask_continue("Continue") self.validate() self.clean_directories() self.configure() common.logit ("\n======== %s install complete ==========\n" % self.ini_section) self.create_glideins() if os.path.isdir(self.glidein_dir()): #indicates the glideins have been created common.start_service(self.glideinwms_location(),self.ini_section,self.inifile)
def install(self): common.logit ("======== %s install starting ==========" % self.ini_section) common.ask_continue("Continue") self.validate() if "usercollector" not in self.colocated_services: self.__install_condor__() self.configure() common.logit ("======== %s install complete ==========" % self.ini_section) if "usercollector" not in self.colocated_services: common.start_service(self.glideinwms_location(),self.ini_section,self.inifile) else: self.stop_condor() self.start_condor()