Zsoldier
Expert
Expert

It's really weird.  I think I figured out why the domain join isn't occurring, BIO's time and account cannot overwrite an existing account.

EDA resides on ESX Mgmt network.  It runs as DHCP server on this network.  Dell R710, Dell R810, Dell R900.  vSphere 4.1 Enterprise Plus.

To troubleshoot, I deleted the entries, rebooted the appliance, then started entering them again.  Still end up w/ wonky issues, but not on all hosts.  The only real relation is that the hosts I was having issues with are all part of the same cluster.  I've commented out below what seems to always work, vs. what seems to have issues:

# Bind vmnic4 to vSwitch0 (Always works)
# Active/Passive
esxcfg-vswitch -L vmnic4 vSwitch0
esxcfg-vswitch -X 1 vSwitch0
# Add vSwitch1, VMkernel, and bind vmnic1/3 (Always works)
# Active/Passive
esxcfg-vswitch -a vSwitch1
esxcfg-vswitch -A VMkernel vSwitch1
esxcfg-vswitch -L vmnic1 vSwitch1
esxcfg-vswitch -L vmnic3 vSwitch1
esxcfg-vswitch -X 1 vSwitch1
# Add vSwitch2 and bind vmnic2/5 (Always works)
# Active/Passive
# Use powershell script to add appropriate VM Networks
esxcfg-vswitch -a vSwitch2
esxcfg-vswitch -L vmnic2 vSwitch2
esxcfg-vswitch -L vmnic5 vSwitch2
esxcfg-vswitch -X 1 vSwitch2
# NTP Configuration (Always works)
/bin/echo "restrict 127.0.0.1" > /etc/ntp.conf
/bin/echo "restrict default kod nomodify notrap" >> /etc/ntp.conf
/bin/echo "server someserver.domain.com" >> /etc/ntp.conf
/bin/echo "server someserver1.domain.com" >> /etc/ntp.conf
/etc/init.d/ntpd restart
chkconfig --level 345 ntpd on
# Configures vmk0 as Mgmt Interface (Always works)
HOSTSVC_FILE=/etc/vmware/hostd/hostsvc.xml
/bin/cat > ${HOSTSVC_FILE} << __CREATE_HOST_SVC__
<ConfigRoot>
  <mangementVnics>
    <nic id="0000">vmk0</nic>
  </mangementVnics>
  <mode>normal</mode>
  <service>
    <tsm-ssh>off</tsm-ssh>
  </service>
</ConfigRoot>
__CREATE_HOST_SVC__
# Configure vmk1 as vMotion Interface (Problem with this.)
esxcfg-vmknic -a VMkernel -i ###HOSTIP### -n 255.255.255.0
/bin/vim-cmd hostsvc/net/refresh
/bin/vim-cmd hostsvc/vmotion/vnic_set vmk1
# DNS Secondary (Always works)
/bin/echo "nameserver 192.168.123.25" >> /etc/resolv.conf
# Configure Local Datastore Name to standard (Problems with this)
/bin/vim-cmd hostsvc/datastore/rename datastore1 "$(hostname -s)_local"
# Configure Syslog to Splunk (Problems with this)
/bin/vim-cmd hostsvc/advopt/update Syslog.Remote.Hostname string 10.64.216.18
/bin/vim-cmd hostsvc/advopt/update Syslog.Remote.Port int 514
# Only needed if local syslog going to be used.  (This seems to get filled w/ random info)
/bin/vim-cmd hostsvc/advopt/update Syslog.Local.DatastorePath string "[$(hostname -s)_local]/logfiles/$(hostname -s).log"
# Maps standard NFS Shares (Always works)
/sbin/esxcfg-nas -a -o server1 -s /share/DATA nfs_share
/sbin/esxcfg-nas -a -o server2 -s esx_vmtemplates nfs_share_ddns1564_vmtemplates

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
Reply
0 Kudos