VMware Cloud Community
rmo2372
Contributor
Contributor

Cant ping Service Console

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??

Reply
0 Kudos
9 Replies
rossb2b
Hot Shot
Hot Shot

Check out this KB article:

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=4309499&sl...

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

Reply
0 Kudos
rmo2372
Contributor
Contributor

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

Reply
0 Kudos
rmo2372
Contributor
Contributor

Ok. Looks like vswif0 is holding the MAC addrs from the original system.

Does anyone know how to force a new mac regeneration?

Reply
0 Kudos
rossb2b
Hot Shot
Hot Shot

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

IB_IT
Expert
Expert

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 Smiley Happy

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

Reply
0 Kudos
mcowger
Immortal
Immortal

Delete vswif0 and cerate a new one.

--Matt

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos
rpartmann
Hot Shot
Hot Shot

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.

ps: Award points if you find answers helpful. Thanks.
Reply
0 Kudos
rmo2372
Contributor
Contributor

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?

Reply
0 Kudos
rpartmann
Hot Shot
Hot Shot

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.

ps: Award points if you find answers helpful. Thanks.