I think I've done something stupid...
I have a HP DL380 running ESX 3 which I set up to evaluate connection brokers. Virtual Center is running as a VM on this server.
I was trying to clone a VM but half way through the clone the VI client kept losing it's connection to the service console so I decided to reboot the server.
I thought I'd be clever and set the VC VM to start automatically once the ESX server reboots.
This worked OK because I can RDP to The VC server. However I can't connect to the Service console of the Host via VC, Putty or the VI client. I also don't get a reply when pinging the Service Console address.
On the ESX host if I do an ifconfig there is no eth0 adapter listed. I am new to ESX 3 but assume this is not correct.
Could somebody tell me if this is liekly a network interface problem or have I caused something funny to happen with the licensing?
Much appreciated.
You need to:
esxcfg-vswif -i 10.10.10.10 -n 255.255.255.0 vswif0
Obviously substitute the proper IP and netmask for your network.
Paul
Below three commands should help you, run from service console using RIB(physical present infront of box)
esxcfg-vswif -l list SVC current network information
exscfg-nics -l list Nic cards with their name
once you find out your service console NIC and Vswitch, you need to link it specific vswitch using
esxcfg-vswitch -L
Hope this will at least give direction
Thanks.
I have ran esxcfg-vswif -l and it displays this:
Name Port Group IP Address Netmask Broadcast
Enabled DHCP
vswif0 Service Console 0.0.0.0 0.0.0.0 0.0.0.0
true false[/i]
From this I assume that the vswitch is vswif0
When running esxcfg-nics -l I can see that the NIC I want for the SC is called vmnic0.
So I ran esxcfg-vswitch -L vmnic0 vswif
This gives me an error stating that No switch called vswif0 exists.
Any ideas? Is it possible that vmnic0 has lost all it's IP info and this needs to be reconfigured....
You need to:
esxcfg-vswif -i 10.10.10.10 -n 255.255.255.0 vswif0
Obviously substitute the proper IP and netmask for your network.
Paul
Also, you change your default gateway by editing nano w
/etc/sysconfig/network and then restart your networking with
services network restart
Your DNS settings are located in nano w /etc/resolv.conf
once you have your local network back up, it's better to change that through the VI-Client. Some ESX-specific config files contain these settings as well, and don't get changed with our habitual Linux file-editing.
Thanks All.
I used
esxcfg-vswif -i 192.168.86.210 -n 255.255.255.0 vswif0
This failed stating that the IP address is already in use by another host so I just used a different address. Once I could connect to the host via VC I used VC to configure DNS etc...
Thanks for all your help.