[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Queue and users
- Date: Sat, 3 Dec 2005 20:27:55 -0200
- From: Ary Junior <junior@xxxxxxxxx>
- Subject: Re: [Condor-users] Queue and users
Hi Erik. If I send a job with aryjr user I get the condor_status below:
[mgo-test]# condor_status
Name
OpSys Arch
State Activity LoadAv
Mem ActvtyTime
vm1@xxxxxxxxx LINUX INTEL
Claimed Busy
0.980 256 0+00:06:09
vm2@xxxxxxxxx LINUX INTEL
Owner
Idle 0.010 256
0+00:06:05
Machines Owner Claimed Unclaimed Matched Preempting
INTEL/LINUX
2 1
1
0
0 0
Total
2 1
1
0
0 0
Right? Then you i will show any tests with the condor_status command:
[mgo-test]# condor_status -l vm1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep Owner
Start = ((KeyboardIdle > 15 * 60) && (((LoadAvg -
CondorLoadAvg) <= 0.300000) || (State != "Unclaimed" &&
State != "Owner")))
RemoteOwner = "aryjr@xxxxxxxxxxxxxxxxxxxxxxx"
[mgo-test]# condor_status -l vm1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep User
NiceUser = FALSE
RemoteUser = "aryjr@xxxxxxxxxxxxxxxxxxxxxxx"
[mgo-test]# condor_status -l vm2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep Owner
State = "Owner"
Start = ((KeyboardIdle > 15 * 60) && (((LoadAvg -
CondorLoadAvg) <= 0.300000) || (State != "Unclaimed" &&
State != "Owner")))
[mgo-test]# condor_status -l vm2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep User
[mgo-test]# condor_status -l vm2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep aryjr
[mgo-test]# condor_status -l vm1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx | grep aryjr
RemoteUser = "aryjr@xxxxxxxxxxxxxxxxxxxxxxx"
RemoteOwner = "aryjr@xxxxxxxxxxxxxxxxxxxxxxx"
As you can see, there is'nt any information about vm1 on "condor_status
-l vm2". If you want I can send the complete condor_status -l output.
Thanks very much!!!
Ary Junior
On 12/3/05, Erik Paulson <epaulson@xxxxxxxxxxx> wrote:
On Sat, Dec 03, 2005 at 10:48:23AM -0200, Ary Junior wrote:
> Hi Erik, sorry for my late answer. The _expression_ below works fine:
>
> START = (VirtualMachineID == 1 && "aryjr" == Owner) || (VirtualMachineID ==
> 2 && "testecondor" == Owner)
>
> The job submitted by aryjr run only in vm1 and submitted by testecondor run
> only on vm2. But "vm2.RemoteUser != Owner" or "vm1.RemoteUser
!= Owner"
> don't works. The jobs stay in queue and never run. How can I get the owner
> of the job runnig on vm2 when vm1 is idle and vice-versa?
>
Did you try vm1_RemoteUser in your expressions instead of
vm1.RemoteUser?
I used the wrong syntax in my eariler email, the BBS document has it right.
When you've got someone running on vm1, what does
condor_status -l
vm2@xxxxxxxxxxxxxxxxxxxxxxxx say? Does it have the
vm1_RemoteOwner field correct?
-Erik
> Thanks very much!
>
> Ary Junior
>
> On 11/1/05, Erik Paulson <
epaulson@xxxxxxxxxxx> wrote:
> >
> > On Tue, Nov 01, 2005 at 04:14:11PM -0200, Ary Junior wrote:
> > > Hello. I have a machine with two processors. I would like to guarantee
> > that
> > > two processes from the same user never will occupy the two processors at
> > the
> > > same time. That is possible with Condor?
> > >
> >
> > Yes. You'll have to export state from one VM to the other, so
> > you'll have something like
> >
> > START = (VirtualMachineId == 1 && vm2.RemoteUser != Owner) ||
> > (VirtualMachineId == 2 && vm1.RemoteUser != Owner)
> >
> >
> > We worked with INFN in Bologna to specify some advanced policies using
> > tricks like that, the writeup is a good place to start
> >
> >
http://www.cs.wisc.edu/~pfc/bologna_batch_system.html
> >
> > -Erik
> > _______________________________________________
> > Condor-users mailing list
> >
Condor-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users