[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] runtime vs persistent attributes



it think you mean condor_config_val -set  vs -rset? 

 

-set will survive a restart of the daemons,  and even a reboot of the machine.  It makes a persistent config file that will only be deleted by a subsequent -set command. 

-rset will survive a reconfig of the daemon, but not a  restart of the daemon or of the machine.   -rset only affects the memory of a specific daemon

for the lifetime of the daemon.

 

Also attributes set by STARTD_CRON will survive a reconfig of the daemon, but not a restart of the daemon.

 

Alternatively you could configure the machine so that the startd doesnât start at boot time, only the condor_master does.

 

then use condor_config_val -rset to add the STARTD to the daemon list in the master,  when you reconfig the condor_master

it will then start up the STARTD, but when you restart the master it will revert back to the configuration from files.

 

-tj

 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Mary Romelfanger
Sent: Tuesday, October 8, 2019 1:48 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] runtime vs persistent attributes

 

Hi everyone,

 

I am working on setting an attribute for enabling jobs to run on a startd node, so that the startd will not start jobs at boot time.

 

I understand that runtime only attributes will not survive a daemon restarting, but that persistent attributes will survive a daemon restarting.   It feels like I need something in between or is a restart or system reboot treated as more than just a daemon restart?

 

Does a persistent attribute survive an HTCondor restart (or a system rebooting meaning more than a reconfigure)?

By reading I would have guessed not, but the existence of a file for persistence implies that that file will be read with an initial start? If it does read that persistence file at an initial start, is there a way to turn that off so that it does not?  I want the attribute to return back to the default value with a full restart, but I would like the attribute to survive any internal startd restarts (master daemon saves) in between.

 

                          Mary

 

Mary Romelfanger

Deputy Branch Manager

Data Systems Branch

.___.      

{o,o}      Phone 410-338-6708
/)__)     Cell      443-244-0191
-"-"-          mary@xxxxxxxxx

 

Space Telescope Science Institute

3700 San Martin Drive

Baltimore, MD 21218