We help IT Professionals succeed at work.

Check out this week's podcast, "Dairy Farms to Databases: Community's Hand in Technology"Listen Now

x

Create Service Console Port in vMWare Server 4.1

Glen Knight
Glen Knight asked
on
4,141 Views
Last Modified: 2012-05-11
Hi All,

Having just migrated from VMWare Server 4.0.0.1 to VMWare Server 4.1 I am now adding an additional host to the cluster.

I have added the host and am in the process of configuring the networking.

I have created my vSwitches and don't seem to be able to create a Service Console port.  When I click Add the only options I get are Virtual Machine and VMkernel.  However, if I do the same on the other hosts I do get the option to add a Service Console port.

Any ideas why this would be happening and how to correct it?
Comment
Watch Question

Kruno DžoićSystem Engineer

Commented:
i found this

copy paste from http://virtual.bist.be/?p=102

There might be occasions where you lose you Service Console switch or configuration. Ofcourse for the lazy people among us a reinstall helps the situation. There is another way to recover your service console if you have server access ofcourse. You need to be able to physically reach the server.

Logon to the Server Console and logon, then follow the steps below.

 

1.Run the following command to list the name of the vswif adapter:

esxcfg-vswif -l

2.Run the following command to delete the vswif adapter:

esxcfg-vswif –del vswif0

3.Run the following command to list the name of the vSwitch:

esxcfg-vswitch -l

4.Run the following command to delete the vSwitch:

esxcfg-vswitch -d vSwitch0

5.Run the following command to create the vSwitch:

esxcfg-vswitch -a vSwitch0

6.Run the following commands to create default port groups for vSwitch:

esxcfg-vswitch -A “VM Network” vSwitch0


esxcfg-vswitch -A “Service Console” vSwitch0


7.Run the following command to create the vswif adapter:

esxcfg-vswif –add –portgroup “Service Console” –ip=nnn.nnn.nnn.nnn –netmask=255.255.255.0 vswif0

8.Run the following command to verify that the settings in the network file are correct:

cat /etc/sysconfig/network

NETWORKING=yes

GATEWAYDEV=vswif0

HOSTNAME=host.domain.com

GATEWAY=nnn.nnn.nnn.nnn

9.Run the following commands to list all of the network adapters and associate a vmnic which has a link status of up:

esxcfg-nics -l


esxcfg-vswitch -L vmnic1 vSwitch0


10.Run the following command to verify that the vmnic is associated with the vSwitch:

esxcfg-vswitch -l
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Is this ESX or ESXi, ESXi has no service console.
CERTIFIED EXPERT
Author of the Year 2010
Top Expert 2010

Author

Commented:
@M3rc74 > Thank you for your google search.  I had already done this myself and found no useful information which is why I posted a question here at EE.

@hanccocka

Oh :(

Now I feel like a donut.  It is indeed ESXi.  So has the Service Console port been replaced with something else or was it just decided it was no longer required?
Kruno DžoićSystem Engineer

Commented:
The "Management Network" is a VMkernel port.  
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
ESXi has no Linux component anymore, so the Service Console (COS) has gone. (if we ever meet, over beers, we can discuss this more openly as to why! or call me!!!)

ESXi has a Management Interface.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
We generally setup ESXi networking as follows


An-Example-of-vSwitches-and-NICs.jpg
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
The Management Network "*can*" be associated with the VMKernel, but it's not best practice, see above for Best Practice, with resilience. (with two NICs Load Balancing, Failover) for Management Network, VMKernel, and VM Network (Four NICs) and FT.
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
ESXi is supported on smaller set of certified hardware because it is standalone system and it doesn't depend on RHEL service console which provides drivers for other hardware.
CERTIFIED EXPERT
Author of the Year 2010
Top Expert 2010

Author

Commented:
Now, if only I had bitten the bullet 2 hours ago and asked!!! Problem is, I am just helping you close the gap on my lead on the leaderboard :)

On a plus point, the sooner I finish this job, the sooner I turn my question filter back on :-)
VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Commented:
Not bad considering I was nowhere 6 months ago!!!

that gap is getting closer!
CERTIFIED EXPERT
Author of the Year 2010
Top Expert 2010

Author

Commented:
As I am coming to expect, excellent advice from hanccocka.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.