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

[Condor-users] DelayedAutostart RE: .master_address on Windows 7 ( 7.5.6)



For roll your own installs like ours we need to add the DelayedAutostart
item to the Condor service in an automatic way (i.e. other than manually
using the gui interface).

We normally create the service manually ourselves anyway using:

sc create Condor_test binpath= "%PROGRAMFILES%\condor\bin\condor_master.exe" start= auto depend= dhcp

For the DelayedAutostart we need

sc create Condor_test binpath= "%PROGRAMFILES%\condor\bin\condor_master.exe" start= delayed-auto depend= dhcp

This works fine for Win7 but not for XP as XP knows nothing about this
new delayed autostart option. However, all it does is add an extra registry item
to the entry for the Condor service:

HKLM\SYSTEM\CurrentControlSet\Services\Condor
DelayedAutostart REG_DWORD 0x00000001

So we can add this manually (on Win7 or XP machines) using either regedit
to merge in a file, e.g.

regedit /s delayedautostart.reg

where delayedautostart.red contains:

_________________________________________________________________
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Condor]
"DelayedAutostart"=dword:00000001
__________________________________________________________________


Or the other way is to use reg.exe to write the value directly, e.g.

reg.exe add "HKLM\System\CurrentControlSet\Services\Condor" /v DelayedAutostart /t REG_DWORD /d 1 /f

Once in the registry this does not cause problems on XP even though
it doesn't know/care about this parameter.

Hopefully this might be of use to others dealing with mixtures of
Windows OS'es.

Cheers

Greg



-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Greg.Hitchen@xxxxxxxx
Sent: Wednesday, 20 July 2011 9:57 AM
To: condor-users@xxxxxxxxxxx
Subject: [ExternalEmail] Re: [Condor-users] .master_address on Windows 7 ( 7.5.6)


We have always (for the past few years) configured the condor service
as "depends on dhcp" but have recently started having the same issue
as discussed below with Win7 and 7.6.1 

Cheers

Greg



-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Timothy St. Clair
Sent: Wednesday, 20 July 2011 2:22 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] .master_address on Windows 7 ( 7.5.6)

It is now:
https://condor-wiki.cs.wisc.edu/index.cgi/tktview?tn=2318

I'll make sure it gets into 7.6.3.

Cheers,
Tim

On Tue, 2011-07-19 at 11:07 -0700, Andrew Cunningham wrote:
> Just to clarify.... you are saying the Condor installer for WIndows
> (7) needs to be fixed to request a delayed start for the Condor
> service. 
> Is this in the list of known issues (to be fixed in a subsequent
> release)?
> 
> On Tue, Jul 19, 2011 at 9:12 AM, Wilding, Kevan A
> <kwilding@xxxxxxxxxxx> wrote:
>         You are correct. Windows 7 has a delayed automatic start
>         option which will fix this problem.
>         
>         Kevan
>         
>          
>         
>         From: condor-users-bounces@xxxxxxxxxxx
>         [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Andrew
>         Cunningham
>         Sent: 19 July 2011 16:44
>         To: Condor-Users Mail List
>         Subject: [Condor-users] .master_address on Windows 7 ( 7.5.6)
>         
>         
>          
>         
>         Occasionally when a Windows 7 machine is restarted the condor
>         master "thinks" its IP address  is 169.254.243.121 ( it should
>         be 192.168.0.121)
>         
>         07/18/11 16:46:48
>         ******************************************************
>         07/18/11 16:46:48 ** condor (CONDOR_MASTER) STARTING UP
>         07/18/11 16:46:48 ** C:\condor\bin\condor_master.exe
>         07/18/11 16:46:48 ** SubsystemInfo: name=MASTER type=MASTER(2)
>         class=DAEMON(1)
>         07/18/11 16:46:48 ** Configuration: subsystem:MASTER
>         local:<NONE> class:DAEMON
>         07/18/11 16:46:48 ** $CondorVersion: 7.5.6 Mar 13 2011
>         BuildID: 319722 $
>         07/18/11 16:46:48 ** $CondorPlatform: x86_winnt_5.1-tst $
>         07/18/11 16:46:48 ** PID = 1232
>         07/18/11 16:46:48 ** Log last touched time unavailable (No
>         such file or directory)
>         07/18/11 16:46:48
>         ******************************************************
>         07/18/11 16:46:48 Using config source: C:\condor\condor_config
>         07/18/11 16:46:48 Using local config sources: 
>         07/18/11 16:46:48    C:\condor/condor_config.local
>         07/18/11 16:46:48 DaemonCore: command socket at
>         <169.254.243.121:49157>
>         
>         Restarting the condor service corrects the problem.
>         
>         All I can think is that the condor service is starting before
>         the machine has had a chance to get its IP from the DHCP
>         server.
>         
>         
>         
>         
>         
>         
>         _______________________________________________
>         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/
>         
> 
> _______________________________________________
> 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/

_______________________________________________
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/
_______________________________________________
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/