I am running ESX v3.0.2 u1 on a Dell 6950 with 6 NICS. 2 onboard Broadcom and 4 single port Intel. I create 3 service consoles teaming 2 nics each. I am also configuring the ESX using the best security practice guide thats attached. I then create an image of this using Acronis, and deploy it onto another 6950. After restoring I modify the proper config files to reset to the proper ip config. Those files are: /etc/hosts, /etc/sysconfig/network, and /etc/sysconfig/network-scripts/ifcfg-vswif0. Restart network services and try to ping. I get a responses appox 50% of the time. What am I doing wrong??
Check out this KB article:
I believe you will want to generate new ssl certs as well:
Rename the current SSL certs in /etc/vmware/ssl
Restart mgmt-vmware service to generate new SSL certs
No that didnt work. Good stuff to know though. I would add that after
reinstalling esx from scratch, everything works normal
On Tue, Mar 25, 2008 at 11:16 AM, rossb2b <communities-emailer@vmware.com
Ok. Looks like vswif0 is holding the MAC addrs from the original system.
Does anyone know how to force a new mac regeneration?
I know this doesn't answer you questions but have you thought about creating a kickstart build for this? There are many advantages over imaging and you won't run into this sort of problem. When I upgraded from 3.0.2 to 3.5 I only had to tweak a few things and I can change hardware platforms without too much effort. My time to create these builds has really paid off.
-rick
Ok. Looks like vswif0 is holding the MAC addrs from the original system.
Does anyone know how to force a new mac regeneration?
What happens if you do an: ifconfig vswif#
Can you change the MAC from there?
Sorry, this is incomplete...ifconfig shows the config of the vswif, but esxcfg-vswif command may allow you to change the MAC...I've never done it, though, so use at your own risk
Also, I agree with Rick, you may be creating more headaches for yourself rather than making things easier....create a basic kickstart script and make the necessary changes after that.
Message was edited by: IB_IT
Delete vswif0 and cerate a new one.
--Matt
Hi,
you could change the mac address directly in the /etc/vmware/esx.conf file and reboot your server. (not tested)
or you could try to delete vswif0
esxcfg-vswif --del vswif0
and then add it back
esxcfg-vswif --add --ip 1.2.3.4 --netmask 255.255.255.0 vswif0
but probably you have to wipe the whole network config.
I think when starting to script you might be better off with kickstart installs mentioned above.
hth,
Reinhard.
ps: Award points if you find answers helpful. Thanks.
How do you clear the network config, that didnt work. I even deleted all of the vswitches I had and recreated a new one.
Do you have any docs on how to kickstart an install?
Hi,
ad kickstart)
http://www.ultimatedeployment.org/
http://www.rtfm-ed.co.uk/?cat=11
http://communities.vmware.com/thread/43958
and search the community for kickstart you will find a lot of useful infos there.
bye r.
ps: Award points if you find answers helpful. Thanks.