天天看點

vCenter Log Insight 安裝部署

vCenter Log Insight通過日志收集、分析和查詢來提供自動化的管理。

首先謝謝@Toneson ,安裝過程中參考了您的步驟,同時個人測試了vCenter Log Insight的一些應用,如手工觸發報警來查詢日志變化,配置openfiler伺服器作為日志儲存的NFS路徑,言歸正傳,開始部署。

1. 從官網下載下傳vCenter Log Insight的ovf包後,導入到vCenter管理界面

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853409D0zd.png"></a>

2. 下一步提供了OVF模闆詳細資訊,其中紅色部分可以看出vCenter Log Insight 是基于SUSE 11的。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853412DCeM.png"></a>

3. 同意最終使用者許可協定

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534146kAC.png"></a>

4. 指定名稱和位置

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853416MfYX.png"></a>

5. 指定虛拟機的目标存儲。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853417E3hs.png"></a>

6. 選擇虛拟機的磁盤格式,測試環境,資源有限,個人選擇了第三項精簡置備

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853419BlBb.png"></a>

7. 選擇合理的網絡

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853421fX32.png"></a>

8. 配置預設網關,vCenter Log Insight的IP位址和子網路遮罩

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853423taYR.png"></a>

9. 确認無誤後,點選即将完成

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853426NBQD.png"></a>

10. 部署完成後,打開vCenter Log Insight的虛拟機電源,可以看到以下啟動界面。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_137385342989d2.png"></a>

11. 安裝配置中

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534312CtZ.png"></a>

12. 等待2分鐘左右,出現以下藍灰界面,vCenter Log Insight就部署好了。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853433Du4Q.png"></a>

13. 跟其它VMware元件一樣,通過WEB通路方式來提供配置,在IE欄中輸入vCenter Log Insight的IP位址,結果提示“sorry,this browser is not supported”,好吧,IE 9都不支援。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534357O63.png"></a>

14. 打開Google Chrome浏覽器,這次就Welcome to me

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853438Bjyk.png"></a>

15. 此處需要配置郵箱位址(這位址什麼用,我還沒想明白)和重置WEB登入的密碼

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853439zcLW.png"></a>

16. 輸入評估版的License。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853440OiTX.png"></a>

17. 配置接收日志的郵箱位址,以及是夠勾選發生每周的資料給VMware公司提高改進産品。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853441AUNc.png"></a>

18. 時間同步設定

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853442VKCN.png"></a>

19. 配置SMTP,也就是用來發生日志的郵箱位址。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534448P45.png"></a>

20. VMware的整合設定,可以看出,支援vCenter Server和vCenter Operations Manager關聯日志,看到這裡,有種涼意,相信VMware下一次更新,個别産品又要消失了。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534450aVh.png"></a>

21. NFS路徑,這個位址等下測試LOG儲存的時候再配置。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853446xpYQ.png"></a>

22. Restart什麼的最喜歡了,說明配置完成了

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853447Mnda.png"></a>

23. 好吧,高興過早,又一次的在我裝的時候提示錯誤,無法重新開機,提示”There was a problem stopping the service.please see the online help for instructions on performing a manual restart”, manual 哈哈,我又樂了。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853448fW80.png"></a>

24. 重新開機之後,進入vCenter Log Insight的主界面,一種油然而生的陌生感。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853450sGYD.png"></a>

25. 為了驗證日志是否真的變化,vCenter上手工觸發了虛拟機記憶體使用情況超過1%,保持0秒就警告。

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853453Df70.png"></a>

26. 嘩啦啦一篇,都瞬間警告了,很有成就感

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_13738534551PtH.png"></a>

27. 告警确實增加了,圖截漏了一張,那麼下面來測試日志儲存配置,打開Openfiler

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853458Vsdm.png"></a>

28. 建立一個NFS路徑,并授權vCenter Log Insight通路

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853462pyra.png"></a>

29. 在vCenter Log Insight的管理界面中點選Storage選項,添加NFS路徑

<a href="http://virtualbox.blog.51cto.com/attachment/201307/15/531002_1373853464wcX4.png"></a>

30. 目前還沒有日志存入,下周一去公司看看,再更新。

本文轉自 tim2009 51CTO部落格,原文連結:http://blog.51cto.com/virtualbox/1248910,如需轉載請自行聯系原作者

繼續閱讀