Hello all,
I have read through the mailing list and several websites (benincosa.com
sumavi.com sourceforge.net google etc) for anyone who has mentioned this and I
seem to be the first, so I am wondering if I might be doing wrong. ( skip to
the "code used and results" for more details )
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Background
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The fallowing works on my esxi4.1/xcat2.6/CentOS6.2 systems; mkvm makes a
usable host! However, I have yet to have mkvm create a "vguest" with a NIC on
an esx5 system. I have installed several versions and even pulled xcat from
SVN ( as suggested in previous posts on the mailing list) to no avail. ( I have
gone as far as to delete all installed packages and configs to make sure
nothing is interfering.
Used in the esxi5 system:
VMware-vSphere-CLI-5.0.0-615831.x86_64.tar.gz ( with both xcat
2.6 and 2.7 )
VMware-vSphere-Perl-SDK-5.1.0-780721.x86_64.tar.gz ( with both xcat 2.6 and
2.7 )
CentOS6.3 and 6.2 ( with both xcat 2.6 and 2.7 & both esx5 SDKs )
xCat from yum repo and SVN presently using xCAT-2.7.5-snap201210162320.x86_64
VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso
The working esxi4.1 systems
VMware-VMvisor-Installer-4.1.0-260247.x86_64.iso
VMware-vSphere-Perl-SDK-4.1.0-254719.x86_64.tar.gz
CentOS6.2 and CentOS6.3
I am grateful for your suggestions,
Merci et takk fyrir,
Hro
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# code used and results
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
XCAT=10.10.23.120
BAREMETAL=hypervisor1
VIRTUAL_HOST=vmguest01
POWER=esx
MGT=esx
# reseve addresses for the group vmware only needed to be run once
chtab node="vmguest" hosts.ip='|\D+(\d+)|10.10.23.(70+($1))|'
# for each host we must define the following
nodeadd "${VIRTUAL_HOST}" groups=vguest,esxi5,vlan23,all
chdef "${VIRTUAL_HOST}" tftpserver=$XCAT xcatmaster=$XCAT servicenode=$XCAT
nfsserver=$XCAT
chdef "${VIRTUAL_HOST}" postscripts=setupesx,tt_defaults netboot=pxe
getmac=esx power=${POWER} mgt=${MGT}
chdef "${VIRTUAL_HOST}" vmstorage=vmfs://datastore1 vmhost="${BAREMETAL}"
lsdef "${VIRTUAL_HOST}"
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# output
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Object name: vmguest01
getmac=esx
groups=vguest,esxi5,vlan23,all
mgt=esx
netboot=pxe
nfsserver=10.10.23.120
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles,setupesx,tt_defaults
power=esx
servicenode=10.10.23.120
tftpserver=10.10.23.120
vmhost=vsphere1
vmstorage=vmfs://datastore1
xcatmaster=10.10.23.120
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mkvm "${VIRTUAL_HOST}" -s 4G
rinv "${VIRTUAL_HOST}"
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# output
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
vmguest01: Managed Object Reference: 3
vmguest01: UUID/GUID: c8896637-7b85-467c-a129-c8867d41f0d1
vmguest01: CPUs: 1
vmguest01: Memory: 512 MB
vmguest01: Hard disk 1 (d200:0): 4096 MB @ [datastore1] vmguest01/vmguest01.vmdk
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user