Setelah vCenter Server Appliance 5.0 diperbarui,muncul”Tidak Ada Jaringan yang Terdeteksi ..”

  昨晚第一次透過Web連進vCenter Server Appliance看一看相關資訊後發現可直接透過Web做update修補便點了下去更新完後畫面顯示需要重開把vCenter Server Appliance重啟後便出現NO NETWORKING DETECTED. PLEASE LOGIN AND RUN THE COMMAND /opt/vmware/share/vami/vami_config_net TO CONFIGURE THE NETWORK”的錯誤訊息。

  上網咕狗很快找到官方的KB正當開心KB所描述的情形跟我一模模一樣樣時沒想到解決方式竟然是提醒說更新前記得做快照…然後就教怎麼把網卡設定檔做備份等遇到這問題時就有解了看完瞬間晴天霹靂後來不死心的試各種方式結果發現無法將IP寫入設定檔加上前面KB的說明想想應該是網卡設定檔異常

  隨即試著幫Appliance環境新增一張VMXNET3的網卡重開之後仍無效再上網查詢failed to read network interface files for eth1的處理方式又找到另外一篇KB依照下列步驟重新設定新的網卡

::Copy the /etc/sysconfig/networking/devices/ifcfg-eth0 to /etc/sysconfig/networking/devices/ifcfg-eth1 file by running this command:

cp /etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth1

::Open the ifcfg-eth1 file using a text editor.

::Delete the vi /etc/sysconfig/networking/devices/ifcfg-eth1 command as it is specific to the vi editor. The user can choose to use any editor for this purpose.

::Edit the file adding values for your network.

::For example:

DEVICE=eth1
BOOTPROTO='static'
STARTMODE='auto'
TYPE=Ethernet
USERCONTROL='no'
IPADDR='192.168.1.117'
NETMASK='255.255.255.0'
BROADCAST='192.168.1.255'

::Create a symlink for this file in /etc/sysconfig/network by running this command:

ln -s /etc/sysconfig/networking/devices/ifcfg-eth1 /etc/sysconfig/network/ifcfg-eth1

::Restart the networking service to activate the new setup, by running this command:

service network restart

  做完之後Appliance總算復活看起來是更新之後不知道為啥他要去不存在的eth1 (原本是eth0),因此只要新增網卡再把相關設定好即可解決

[Tautan referensi]

Tinggalkan Komentar

Harap dicatat: Moderasi komentar diaktifkan dan dapat menunda komentar Anda. Tidak perlu mengirimkan kembali komentar Anda.