Solved

Multiple Service Console Portgroups

Posted on 2010-11-26
3
1,197 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

743 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

11 Experts available now in Live!

Get 1:1 Help Now