0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VMware上のマネージメントポートを別の仮想スイッチに付け替える

Posted at

概要

ESXiセットアップ時、デフォルトで作成されている仮想スイッチ「vSwitch0」にアタッチされている
ポートグループ「Management Network」を、別途新規に作成した仮想スイッチにアタッチしようとしてハマったのでメモ

試してNGだったこと

GUIからポートグループのアタッチ先を変更しようとしたが、
白抜きになってしまっていたため変更ができなかった
マネージメント用のVMkernel NICをもう一つ作成、ポートグループ「Management Network」へアタッチし
既存のVMkernel NICを削除しようともしてみたが、こちらも新しいVMkernel NICを作成しようとした時点で
既にマネージメント用VMkernel NICが存在するとエラーが出てしまった

変更方法

既存のマネージメント用VMkernel NICを再作成し、新しく作成した仮想スイッチにアタッチされているポートグループに追加する
作業はESXiのshellから行う

VMkernel NICのポートグループ変更 (削除して再度作成)

## 既存VMkernel NICの削除##
# esxcfg-vmknic -d "Management Network"

## 新VMkernel NICの作成##
# esxcfg-vmknic -a -i 10.6.227.1 -n 255.255.255.0 Manage

## 仮想スイッチの再起動1##
# esxcli network vswitch standard set -v vSwitch0

## 仮想スイッチの再起動2##
# esxcli network vswitch standard set -v vSwitch1
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?