Virtualization

VMWare:ESX 還是 3i?我需要COS嗎?

  • June 16, 2009

我們有很多正常的 ESX 3.5 主機,但我即將收到一堆基於 Xeon 55xx 的伺服器,我認為是時候質疑未來是否使用 3i。這樣可以省去我購買本地引導磁碟對的麻煩,而且大多數更新檔都是針對 COS 而不是核心的。我們使用 vCenter,所以不需要 SSH 訪問。所以我的問題是我真的需要COS嗎?你需要 COS 做什麼?謝謝。

你是說服務控制台?如果你有 vCenter,那麼你就不需要它。就這麼簡單。我將 VI Client 與單個 ESXi 主機一起使用,我啟用了 ssh 訪問,但我沒有使用它。偶爾會使用 RCLI,但 GUI 可以滿足我們的大部分需求。

您可以輕鬆地在 3i 上啟用隱藏控制台(更新 2 之前):

1. On the VMware ESXi host, press ALT-F1.
2. Print **unsupported** (text will not be visible), you enter the Tech Support Mode, and you will be prompted for a password. Enter a password for the user root.
3. You should see command prompt ~ #.
4. Open the file inetd.conf using vi /etc/inetd.conf
5. Find the line, starting with #ssh and remove the #character.
6. Press ESC and type: wq, to save your changes and exit back into the console.
7. Restart the management services using the command `/sbin /services.sh restart`.
8. Now you can connect to SSH, using any ssh-client (eg, Putty).

從 VMware ESXi Update 2 開始,這種啟用 SSH 訪問的方法不起作用,servises.sh 不再重新啟動應該啟用 SSH 的守護程序 inet.d。要重新啟動,請執行以下操作:

* Type ps | grep inetd
  The result will be something like 1299 1299 busybox inetd. 
  Process ID for inetd - 1299.
* Now enter the kill-HUP process_id, where process_id in this case 1299.

之後 SSH 應該可以工作了。

引用自:https://serverfault.com/questions/3661