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

Re: [Condor-users] Not updating VM_Guest_IP and Mac by STARTD ClassAds



Hi Sateesh,

You are right.

Johnson's VMGahp seems to be able to find IP and MAC from VMware.  I
think in Johnson's case "condor_status -l <hostname>" should show all
IP address and MACs about running VMs.

The ClassAd names for them are something like "VM_GUEST_ALL_MACS " and
"VM_GUEST_ALL_IPS". They show all IPs or MACs about running VMs with
comma separated.

Could you check all ClassAds beginning with "VM_" in Machine ClassAd?

Regards,
-jaeyoung

On Thu, Feb 5, 2009 at 11:08 AM, Sateesh Potturu <sateeshpnv@xxxxxxxxx> wrote:
> Hi Jaeyoung,
>
> >From the log provided by Johnson, it looks like VMGahp is able to find
> IP and MAC from VMware (condor_vm_vmware.pl getvminfo), which
> indicates that VMware Tools are installed in the VM. But the same
> values are not getting into the class Ads of starter.
>
> Regards,
> Sateesh
>
> On Thu, Feb 5, 2009 at 11:08 PM, Jaeyoung Yoon <jaeyoungyoon@xxxxxxxxx> wrote:
>> Hi,  Johnson
>>
>> Did you install VMware tool inside the VM?
>>
>> Basically, VMware VM Universe is trying to get IP from VMware tool.
>>
>> However if you don't want to install VMware tool inside a VM and you
>> are using NAT dhcp,  you can get the IP from VMware dhcpd lease file
>> as well.  If you want to know how to use VMware dhcp lease file to get
>> IP address, you need to modify condor_vm_vmware.pl. You can find the
>> location you need to modify in the file through searching
>> "dhcpd.lease"
>>
>> Regards,
>> -jaeyoung
>>
>> On Thu, Feb 5, 2009 at 8:00 AM, Johnson koil Raj <johnson.raj@xxxxxxxxx> wrote:
>>> Hi,
>>>
>>>     A VM job is running good and it got IP from DHCP. The starter Log
>>> updates the IP correctly,
>>> but STATRD ClassAds is not update . So Condor_status -l <hostName> doesn't
>>> have this value.
>>> only it have  VM_Guest_Mem.
>>>
>>> In StarterLog
>>>
>>> 2/5 21:23:14 VMGAHP[26601] <- 'CONDOR_VM_STATUS 12 1'
>>> 2/5 21:23:15 VMGAHP[26601] -> 'S'
>>> 2/5 21:23:16 VMGAHP[26601] <- 'RESULTS'
>>> 2/5 21:23:17 VMGAHP[26601] -> 'R'
>>> 2/5 21:23:17 VMGAHP[26601] -> 'S' '1'
>>> 2/5 21:23:17 VMGAHP[26601] -> '12' '0' 'MAC=00:0c:29:eb:ab:3b'
>>> 'IP=10.201.49.47' 'STATUS=Running' 'PID=26623'
>>> 2/5 21:23:17 Virtual machine status is Running
>>>
>>> Why Starter didn't update that parameters.
>>>
>>> help me in this issue.
>>>
>>> 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/
>>
>
>
>
> --
> Regards,
> Sateesh
> _______________________________________________
> 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/
>