Hi - I'm having an issue setting the correct network adapter when running
`mkvm`. What I have in Vcenter is a switch called "dev-nx1", and under that
there are a bunch of vlans labeled pv2500, pv2501, pv2502, etc. Looking at
another VM with a working network adapter, the "Network label" is set to
something like "pv2500 (dev-nx1)". Based on that, I set my vmnics attribute
to "pv2500 (dev-nx1)"; however, when I create the VM, rather than using the
existing network label with that name, it creates a new network label with
the same name ("pv2500 (dev-nx1)") but it's not associated with any switch
. I've validated this because when I look under networking in vcenter, I
see the new label created with no associated switch.

I'm pretty sure I'm doing this wrong. What I'm thinking is vmnics (or a
combination of other attributes) should be defined in a way such that both
the switch and the vlan are specified so the network label associated with
the network adapter is set correctly. And by correctly, I mean it uses the
existing network labels rather than creating new ones.

Here's the object definition prior to me running the mkvm command:

$ lsdef dicv10596
Object name: dicv10596
    arch=x86_64
    currchain=boot
    currstate=install centos6.4-x86_64-compute
    groups=vmware,vm,all
    initrd=xcat/osimage/centos-latest/initrd.img
    kcmdline=quiet repo=http://!myipfn!:80/install/centos6.4/x86_64
ks=http://!myipfn!:80/install/autoinst/dicv10596 ksdevice=bootif
    kernel=xcat/osimage/centos-latest/vmlinuz
    mac=42:7e:8e:1d:1f:a8
    mgt=esx
    netboot=pxe
    os=centos6.4
    postbootscripts=otherpkgs
    postscripts=syslog
    profile=compute
    provmethod=centos-latest
    serialport=0
    vmcluster=Cluster1
    vmhost=dev-esxi4
    vmnicnicmodel=e1000
    vmnics=pv2500 (dev-nx1)
    vmstorage=nfs://10.5.22.59/vol/VMDK1_Medium

I'm looking for any direction on this. I hope this makes sense, but please
let me know if you need any more info.

Jestin
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to