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

Re: [Condor-users] Stoping a VM & to start from Snaphshot



Hi Johnson,

Let me clarify your question..

By submitting another vanilla job, you want to cancel the running VM
job or stop(complete) the running VM.  As you know, Condor thinks that
a VM job is normally completed when the VM is shut downed. I guess you
want to have the VM job completed. Is it right?

I think if an execute machine can run a Condor job at a time, you
can't complete the Running VM job by submitting another vanilla job.
For example, even if the vanilla job could preempt the Running VM, the
Running VM will be vacated because the execute machine can run only
one job at a time.

Regards,
-jaeyoung


On Wed, Sep 17, 2008 at 4:07 AM, Johnson koil Raj <johnson.raj@xxxxxxxxx> wrote:
> Hi Yoon,
>
>   I started a VM in a host grid1 as condor_job_ 1(*VM job*). So grid1"
> State = Claimed"  in the ClassAds but I need to stop that VM by
> submitting a condor_ job_ 2 (Vanilla job) .
>
> If i Submit a vanilla job to that host by giving Requirements =
> ("Machine == grid1").when I give
> condor_q -better -analyze it says.
>
>  *1 match but are serving users with a better priority in the pool
> *
> In some were in condor config  file I saw that (*NOTE:* Condor will only
> run 1 job at a time on a given resource. )
>
> How can I submit a vanilla job to host running the VM in order to stop
> the running VM whether I need to add an classAds to that job_ 2 or
> anything can be done with Rank or priority.
>
> thanks for replay
>
> by
> Johnson
>
>
>
>
>
>
>
>
>
> Jaeyoung Yoon wrote:
>> On Mon, Sep 15, 2008 at 6:07 AM, Johnson koil Raj <johnson.raj@xxxxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> i) How to stop a running VM in a Linux Machine.can I submit a second job
>>> to the host which running that VM to stop that VM
>>>
>>
>> Yes, you can submit a Vanilla job to the host running the VM in order
>> to stop the running VM.
>> For example, each VMware VM corresponds to one running regular process
>> on both Linux and Windows called "vmware-vmx". If you try to kill the
>> process, you can stop the running VM. Or you can use vmware utility
>> called "vmware-cmd" to stop a running VM.
>>
>> For either way, the second job need to run with the same user account
>> of the running VM so that the second job can have privilege to control
>> the running VM.
>>
>>
>
>
> 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/
>