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

Re: [Condor-users] Host Startd and VM Startd



On Wed, Sep 17, 2008 at 4:44 AM, Johnson koil Raj <johnson.raj@xxxxxxxxx> wrote:
> Hi Jaeyoung,
>
>          yes I installed Condor both on the Host machine and inside VM. but
> as given in Condor manual 3.12.6 is not telling about changes that can be
> done dynamically.
>
> because I don't know the ip of the VMs that comes up and at which physical
> Host it going to comes up.
>
> I am running any condor job in VM but some application need to be run.
> Condor is just for keep track of the VM  that's it
>
> i) in jfrey_vm_tutorial.ppt (2008)  one slide (No 15) says like this
>
>  If Startds Know About Each Other
>
>  - Host startd always defers to VM startd (never runs jobs)  (Can you
> explain this Point)
>

If you install Condor both on Host and inside VM and change both
Condor config files as Condor manual 3.12.6 says, START expression for
Host Startd will be set to "START = FALSE" such that Host Startd will
not accept Condor job any more. And START expression for VM Startd
will remain unchanged.

That is, When a VM starts, the VM will send a registration packet to
Host Startd. The IP address of Host machine need to be specified in
Condor config file for VM with "VMP_HOST_MACHINE = host.domain.com"

When a Host Startd receives the registration packet from VM, the Host
Startd changes "START = " expression to "START = False" unless the
Host has already running Condor Job. Then Host Startd sends an reply
of "OK" to Host Startd.

If there is a running Condor job on Host machine when Host Startd
receives the registration packet from VM, Host Startds sends an replay
of "No" to VM. In that case, "START" expression in Host machine will
remain unchanged. And "START" expression in VM will be set to "START =
FALSE"



>  - Possible solution
>    Write script to start or stop VM if active startd has no work  (active
> Startd refers to VM or HOST)
>


Basically, VM sends a sort of registration packet to Host
periodically. If a VM is shut downed, Host machine will change its
"START" expression from "False" to original one.

Regards,
-jaeyoung



> thanks
>
> by
> Johnson
>
>
> Jaeyoung Yoon wrote:
>
> Hi Johnson..
>
> Do you mean you installed Condor both on Host machine and inside VM?
>
> I am not sure whether "Condor manual 3.12.6 Running Condor Jobs within
> a VMware or Xen Virtual Machine Environment" is what you want.
>
> Best,
> -jaeyoung
>
> On Mon, Sep 15, 2008 at 6:12 AM, Johnson koil Raj <johnson.raj@xxxxxxxxx>
> wrote:
>
>
> Hi,
>
>  Whether both the Startd Knows about each other,
>
> If yes how to find out or contact both through config or classAds.
>
>
> thanks in advance
>
> by
> Johnson
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
> _______________________________________________
> 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/
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>
> _______________________________________________
> 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/
>
>