Natarajan, Senthil wrote:
If you install Condor both on Host and inside VM and change both HOST & VM, the 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"
That's why the other slots went into owner state.
Just give a try to this method.
Configure the Host for dynamic slots and to start VM Jobs also. Then start the Linux VM as a VMJob(with Cpu = 2). Once the VM is up and runing configure to report your condorpool. At this point of time your pool has one Windows and linux host with 2 CPUs each. so you can start 4 jobs 2 with windows and 2 with Linux. When a user started using the host machine configure to suspend the host so the VM Job will also get suspended. ( Here the VM runs as a independent node. i.e not configuring VMP_VM_LIST and VMP_HOST_MACHINE.)
I don't know the exact behaviour when the VM Job is suspended and status of condor and job running inside the 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.