Solved

Multiple Service Console Portgroups

Posted on 2010-11-26
3
1,198 Views
Last Modified: 2012-06-22
Hi,

I have the following problem:
I found out that a ESX 3.5 server had more than 1 Service Console Portgroup defined. They were defined on different vSwitches.
One of them had a wrong IP address, so I assumed this is the reason why my HA cluster has an error displayed. (Error was: HA agent was unable to install).

I tried to delete the redundant and not neccessary Service Console portgroup, but ran into an error:
unable to find vswitch at config location net/vswitch/child

I then tried to change the IP configuration of the second Service Console portrgoup, but got an error in the UI (don't remember what it was exactly, but it basically said unable to apply settings without giving a reason). I noticed that the VI client was displaying the new IP address.

I changed into the service console:
esxcfg-vswif -l displayed _nothing_, which was kindof frightening.

ifconfig displayed both vswifs.
I tried to delete the wrong one of them with esxcfg-vswif but had no success. Error message was: no such vswif.

then I tried to add a third one just to get at least one displayed in esxcfg-vswif to ensure that I can connect via the VI Client: esxcfg-vswif -a -p "Service Console" -i <ip> -n <mask>. This time I succeeded and got the proper vswif displayed in esxcfg-vswif -l.

So i decided to restart the hostd and vpxa service (service vmware-[hostd|vpxa] restart).
Then I lost the connection, and it seems that the server doesn't have a ILO ;).

I'll get to the server tomorrow (physically). What would you recommend to do? I dont want to reinstall.
Here's my plan:

1. shut down every VM on the host and reboot it
2. esxcfg-vswif -l (I'm really curious about that output after a reboot ;-)
3. delete all vswifs
4. create a new vswif
5. -L ink it to a vmnic
6. service vmware-hostd restart and service vmware-vpxa restart

Hope you can give me any more input
0
Comment
Question by:fr0nk
  • 2
3 Comments
 
LVL 16

Expert Comment

by:danm66
ID: 34220592
Before you reboot, I'd check for a full filesystem (df -h) and also do a less on /etc/vmware/esx.conf and make sure it looks complete and not corrupt.  There might be a .bak copy of the file on the system if it is.  You could try to do an esxcfg-boot -p, ...-r, .... -b to rebuild the esx.conf if it is corrupt.  http://kb.vmware.com/kb/10065
0
 
LVL 4

Author Comment

by:fr0nk
ID: 34232444
The esx.conf was corrupted and I couldn't rebuild it :( But thanks anyways for your input! :-)

I saw that every ESX in that environment was configured with two service console portgroups, residing on different switches, but only with one uplink. In my opinion this is absolutely braindead, when I want to archieve management network redundancy (the cluster will complain with a warning otherwise) I give the vSwitch 2 uplink adapters.

Am I missing something, or why would you implement the config I mentioned above?

Kind regards
0
 
LVL 16

Accepted Solution

by:
danm66 earned 500 total points
ID: 34232759
Yeah, your way is better for redundancy.  with a second service console, VC will never use it since it has a different IP and you may have trouble connecting to it if it's on a different subnet and the default route is set to use vswif0.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now