Пятница, 29.03.2024, 10:02
Приветствую Вас Гость | RSS
Мой сайт
Главная
Регистрация
Вход
Форма входа

Меню сайта

Категории раздела
Об ОС Windows [137]
В категории размещаются статьи, касающщиеся операционных систем от Microsoft.
Об ОС *Nix [198]
В данной категории собраны статьи об ОС семейства Unix/Linux/FreeBSD/...
Справочные материалы [351]
Справка по всему разделу.
Виртуализация и Облака [46]
Networks & Routing [86]
DataBases [22]

Наш опрос
Оцените мой сайт
Всего ответов: 209

Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0

Главная » Статьи » Системное администрирование » Справочные материалы

Add or remove the vmnic on the vSwitch to recover the network connection vSphera 5 esx

Add or remove the vmnic on the vSwitch to recover the network connection

Have you ever accidentally removed your vmnic from your only vSwitch? Or added a vmnic to your vSwitch assigning an IP from different network? Both ways would cause your current network connection with ESX down. What is the workaround?

First, you need to use KVM or iLO to remotely login to your server screen. If you don’t have that, you have to connect monitor and keyboard to your server.

Next, let’s use the ESX commands to add or remove the vmnic from vSwitch.

ESX has an useful command "esxcfg-vswitch” which can assign, remove and modify the vSwitches with their port group, service console and vmnic.

If you deleted the vmnic, to add it back to a vSwitch

#esxcfg-vswitch -L vmnicN vSwitchN (vmicN is the vmnic number and vSwitchN is the vSwitch number)

Or if you want to remove an unnecessary vmnic from a vSwitch, use the command

#esxcfg-vswitch -U vmnicN vSwitchN

Sometimes we also need to add an uplink to a particular port group under a vSwitch

#esxcfg-vswitch -M vmnicN vswitchN -p PortGroupN (PortGroupN is the port group number)

Take note that the PortGoupN can also be a service console.

After such simple steps, you are happy to see your connection is back and all GUI operation can continue again.

Категория: Справочные материалы | Добавил: admin (03.02.2013)
Просмотров: 1180 | Теги: network, vmnic, Recover, vswitch, esvcfg-vswitch | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email *:
Код *:
Поиск

Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz


  • Copyright MyCorp © 2024