HTCondor Project List Archives



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

[Condor-devel] [Fwd: [Condor-users] VM Universe: VCPUS with VMware]



Hi,

Forwarding to condor-devel, as there was no response/comment in condor-users mailing list to this.

Regards,
Sateesh

-------- Original Message --------
Subject: [Condor-users] VM Universe: VCPUS with VMware
Date: Wed, 25 Feb 2009 23:54:34 +0530
From: Sateesh Potturu <sateeshpnv@xxxxxxxxx>
Reply-To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>


Hi,

VCPUS with Xen works good. But, VCPUS (JobVM_VCPUS) with VMware Server is not used by condor_vm-gahp. AFAIK VMware Server 1.0.x and 2.0 support up to two vcpus.

So, temporarily we added the below code in createconfig() in condor_vm_vmware.pl

    open(FILE,">>$vmconfig");
    my $vcpus = $ENV{"JobVM_VCPUS"};
    if ($vcpus) {
        print FILE "numvcpus = \"$vcpus\"\n";
    }
    close(FILE);

Can you please modify vmware_type.cpp to add numvcpus to vmconfig file created by condor? I think the code below needs to be added in vmware_type.cpp after code that adds memsize:

    tmp_line.sprintf("numvcpus = \"%d\"", m_vcpus);
    m_configVars.append(tmp_line.Value());

--
Regards,
Sateesh

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