close

使用ESXi 4.x時,若是要建立thick disk(多台VM可以共用的disk)時,之前查詢到的做法,
是要依照以下方式去處理:

1.Go to the ESXi console and press alt+F1
2.Type: unsupported
3.Enter the root password(No prompt, typing is blindly)
4.At the prompt type “vi /etc/inetd.conf”
5.Look for the line that starts with “#ssh” (you can search with pressing “/”)
6.Remove the “#” (press the “x” if the cursor is on the character)
7.Save “/etc/inetd.conf” by typing “:wq!”
8.Restart the management service “/sbin/services.sh restart”


在這中間,有一個重點,那就是第1點的,Go to the ESXi console ...,要到主機面前去
假如主機不在附近,或不方便去機房的話,就無法設定了?


後來,找到了透過vSphere Client設定的方式,終於不用跑到機房去了 ......

在VMware Server的"Configuration"分頁中,左邊"Software"裡選單,點選"Security Profile",
再點選右上方的"Properties...",開啟環境設定內容,

vmware_ssh

預設情況下,會看到Remote Tech Support(SSH)的狀態是停止的,
點選右下角的"Options..."按鈕,進行設定更改,
VMware_SSH0021.png

在Options中,先在底下"Service Commands"中按下"Start"開啟服務,
若是要預設開啟SSH連線服務,則上方"Startup Policy"部份,選擇"Start automatically",

VMware_SSH0031.png

這時,就會看到SSH服務的狀態是執行中了。
按下"OK"跳出即可。
這樣子,就可以透過SSH連線到ESXi的terminal了。

VMware_SSH0041.png

  
arrow
arrow
    全站熱搜

    來自大海的心 發表在 痞客邦 留言(0) 人氣()