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

[Condor-users] VM Universe: VCPUS with VMware



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