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

[Condor-users] User profile for condor-reuse-vm1 in Windows XP



Hello,

I e-mailed the list a week ago about problems I was experiencing when
trying to run a commercial program which uses floating licenses on
remote machines through Condor (please refer to message of 25/03/2005
entitled "Condor to run commercial software with floating license
(Opera)").

With help from the IT managers in the department, we've managed to link
the problem to the fact that the program (Opera) looks for a registry
key in HKEY_CURRENT_USER\Software to determine the licensing mechanism
(dongle or network). If no key is found, the program assumes (wrongly)
that a local dongle is being used.

We would like to create the necessary key in the registry for use by
condor-reuse-vm1 (the owner of the jobs on the remote machines), but it
seems that Condor doesn't have a user profile (as can be shown by
running a simple batch script which runs "cmd /c set > dump.txt" on the
remote machines)

Some tools allow programs to be run with or without a profile, like for
instance the "runas" command in Windows:

RUNAS [ [/noprofile | /profile] [/env] [/netonly] ]
        /smartcard [/user:<UserName>] program

/noprofile
specifies that the user's profile should not be loaded. This causes the
application to load more quickly but can cause some applications to
malfunction.

/profile
specifies that the user's profile should be loaded. This is the default.

/env
to use current environment instead of user's.

etc...

Page 296 of the manual (Condor version 6.6.9) states that:
"The ability to run the job with the same credentials as the submitting
user is not yet supported. Instead, Condor will use a set of accounts
(one per VM) with minimal access rights to run the job."

Is it possible to make condor-reuse-vm1 load a profile, maybe a preset
default profile? Is there a way to specify that certain machines will
run with a preset profile, or that a job should load a certain profile
before running? Is the profile that condor-reuse-vm1 currently using
adjustable in any way?

If this feature is not supported in Windows, is it feasible in Unix?

Thanks,
Steve