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

RE : RE : [Condor-users] pb of job submission on windows machine

Sorry for my previous email, wrong manipulation.
I continue:
In fact, what I want to do since the beginning is:
- to submit a job from the linux redhat machine devsrv01 on a windows XP machine parlt003
- the batch on the windows machine need to access (read and write) files on a shared filesystem (samba) which is a directory of the linux machine.

I have installed condor central manager on devsrv01 under condor account.
In the mounted filesystem, I have given 777 permission levels on the 'test' directory which is used to store shared files.

Condor is installed on the windows XP machine parlt003 as a service under the localSystem account. In this case, I got an error message indicating that it cannot access w:.
I have tried under another account but got the CreateProcess error and I do not know how to set up SE_ASSIGNPRIMARYTOKEN_NAME and SE_INCREASE_QUOTA_NAME 

Hereafter, the cmd, bat files  I use to test:
  REM Job de test
  echo Mon Job sur NT
  dir c:\
  dir w:\
  c:\condor\wbin\touch w:\test\toto

  Executable     = job.bat
  Universe = vanilla                   
  Output = job.out
  Error = job.err
  Log     = job.log                                                    
  Requirements = OpSys == "WINNT50" || OpSys == "WINNT51" 
  WhenToTransferOutput = ON_EXIT 
  Queue 1

Name          OpSys   Arch   State      Activity   LoadAv Mem ActvtyTime

devsrv01.gx.c LINUX   INTEL  Unclaimed  Idle       0.130   5010+00:00:00
devsrv03.gx.c LINUX   INTEL  Unclaimed  Idle       0.420   502  0+00:05:06
devsrv07.gx.c LINUX   INTEL  Unclaimed  Idle       2.190   502  0+01:35:55
PARLT003.gx.c WINNT51 INTEL  Unclaimed  Idle       0.149   511  0+00:00:03

                     Machines Owner Claimed Unclaimed Matched Preempting

         INTEL/LINUX        3     0       0         3       0          0
       INTEL/WINNT51        1     0       0         1       0          0

               Total        4     0       0         4       0          0

Any idea of the way to perform this ?

-----Message d'origine-----
De : condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] De la part de Matt Hope
Envoyé : vendredi 4 mars 2005 10:10
À : Condor-Users Mail List
Objet : Re: RE : [Condor-users] pb of job submission on windows machine

On Fri, 4 Mar 2005 09:30:44 +0100, Régis Baudu
<Regis.Baudu@xxxxxxxxxxxxx> wrote:
> In fact, I just want the program, started by condor on the windows machine, accessed files which are on a mounted drive (using samba).
> The condor daemons and the program executes locally on the windows machine, let's say c: drive; and the program read and write on a linux filesystem I have previously mounted using samba (net use w: \\mylinuxmachine\tmpcondor).
> When I try with the condor service started under 'local system', I get an error of the form: 'w:\test\mytest.txt : No such file or directory' and the file is there.

When you say previously mounted with net use do you mean your jobs do
this in a batch script or that you did this on the machines as a
different user?

If it was the former what credentials are you supplying (since your
reuse-vmX users will not be members of any domain it is likely that
they have no access to this share without it)

If the latter then the reuse-vmX will certainly not have access to
those mount points - you have to put the net use in the job or make
some permanant modifications to the reuse accounts to give them access
(In the end I found it much easier to put the net use with embedded
passwords in the batch file)

I suggest that whatever you do you do a 

echo "dir listing w:"
dir w:
echo "dir listing w:\test"
dir w:\test

And see what the os can actually find (I'm guessing nothing)


Condor-users mailing list