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

Re: [Condor-users] Condor 7.7.5 not obeying local configuration?



START is a way to specify restriction on what jobs this node should run.

If you are looking to not start the STARTD daemon on Condor startup then you have to remove it from the DAEMON_LIST in your config file.

Although it sounds like you don't want any of the condor system running on startup? In this case you need to find out how condor is being automatically started by your system. This is likely to be a SysV init script in the /etc/init.d directory with symlinks in to the /etc/rc*.d directories.

To check run `ls /etc/rc[0-6].d/*condor` and it will print out any condor startup or shutdown symlinks in the /etc/rc*.d directories.

Hope that helps

Tom
________________________________________
From: condor-users-bounces@xxxxxxxxxxx [condor-users-bounces@xxxxxxxxxxx] On Behalf Of Steffen Grunewald [Steffen.Grunewald@xxxxxxxxxx]
Sent: 28 March 2012 08:07
To: Condor Users Mailinglist; condorligo@xxxxxxxxxx
Subject: [Condor-users] Condor 7.7.5 not obeying local configuration?

I'm not sure whether this is a feature, a misunderstanding on my side, or
a Condor bug...

When freshly installing cluster nodes, I don't want Condor to start on
reboot - I'm still trying to fix some other setup issues, and users
shouldn't claim a machine that will probably go down again.

Since I have both LOCAL_CONFIG_FILE and LOCAL_CONFIG_DIR set, I tried
to use a file in /etc/condor/condor_config.d containing "START=False":

root@o201:/etc/condor/condor_config.d# cat zzzlocal
START = False

Consequently, when the node has started,

root@o201:/etc/condor/condor_config.d# condor_config_val START
False

Checking the config settings again:

root@o201:/etc/condor/condor_config.d# condor_config_val -dump | grep LOCAL_CONFIG
LOCAL_CONFIG_DIR = $(ETC)/condor_config.d
LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.dpkg-.*)|\.off)$
LOCAL_CONFIG_FILE = $(ETC)/condor_config.$(OPSYS).$(ARCH), $(TILDE)/etc/$(HOSTNAME).local, $(TILDE)/etc/$(HOSTNAME).local.forced
REQUIRE_LOCAL_CONFIG_FILE = False

but there is an active STARTD process:

root@o201:/etc/condor/condor_config.d# ps auxw | grep condor
condor    1901  0.0  0.2  91920  6016 ?        Ss   Mar27   0:10 /usr/sbin/condor_master -pidfile /var/run/condor/condor.pid
condor    1924  0.0  0.3  90940  7008 ?        Ss   Mar27   0:00 condor_startd -f
root      4017  0.0  0.0   7548   848 pts/0    S+   09:00   0:00 grep condor

Previously, I used ~condor/etc/* files (TILDE=/home/condor) - which worked -
but since the init script doesn't depend on $remote_fs I had to change this.

Can someone help me see what's causing the problem?

Thanks,
 Steffen

--
Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam
Cluster Admin * --------------------------------- * http://www.aei.mpg.de/
* e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7274,fax:7298}
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/


-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.