顯示具有 VMware 標籤的文章。 顯示所有文章
顯示具有 VMware 標籤的文章。 顯示所有文章

2016年1月15日 星期五

CentOS 重新偵測硬碟

在虛擬機無法重新開機的情況下,CentOS 新增硬碟後系統不會像windows會自動偵測到新硬碟。

此時必須下指令讓CentOS 重新偵測
指令:
# echo "- - -" > /sys/class/scsi_host/host#/scan
host# 可以從
# ls /sys/class/scsi_host
查詢到


以我遇到的案例來說,# ls /sys/class/scsi_host 執行後出現 host0、host1、host2

所以新偵測時就執行
# echo "- - -" > /sys/class/scsi_host/host0/scan

# echo "- - -" > /sys/class/scsi_host/host1/scan

# echo "- - -" > /sys/class/scsi_host/host2/scan
執行完畢後重新執行 fdisk -l 就可以看到新的 sdx


2016年1月8日 星期五

監看 VMware VSS Traffic 資訊


 原由:
目前的ESXi 5.x版本想要有netflow功能必須要使用vds,但是僅有Enterprise plus 才能啟用vds
詳見 ESXi 文件說明

2015年2月24日 星期二

「轉」VMware雲端自動化解決方案及其如何管理OpenStack平台

轉自 VMware官方臉書分享
文章來源:VMware Solution Symposium 2014
主題:VMware雲端自動化解決方案及其如何管理OpenStack平台

http://campaign.vmware.com/imgs/apac/templates/28639_APAC_TW_VSS/post/pdf/Track05/5-6.pdf

=====

文章內容有提到Neutron可以說是免費版的NSX,GOOGLE了一下實做方法


來源:小信豬的原始部落 - 安裝 OpenStack @ Ubuntu 14.04 (5) - 安裝 Networking Service (Neutron)
http://godleon.blogspot.tw/2014/10/openstack-ubuntu-1404-5-networking.html

OpenStack Network Service (Neutron) 概觀

Network Service (Neutron) 負責虛擬網路架構與外部實體網路架構(包含各廠商的設備)之間的整合 & 存取,用以提供 tenant 可自行建立像是防火牆、負載平衡、VPN … 等網路環境。
網路設定的概念其實跟我們之前所學的並沒有差太多,包含 DHCP、VLAN、Routing … 等等。
比較值得一提的是 Networking Service 支援了 security group 的概念:
  • 管理者可以針對每個 security group 進行防火牆規則的設定
  • 每個 VM 可以屬於一個或多個 security group
有了以上的機制,讓 Firewall-as-a-Service & Load-Balancing-as-a-Service 變的很容易實現。

 =====

2014年5月28日 星期三

「轉」MegaRAID Storage Manager for ESXi 5.5

原文:https://www.facebook.com/ahsu1025/posts/10203051576561868?notif_t=close_friend_activity

「當實體伺服器建立好 RAID 並安裝 VMware vSphere ESXi 之後,因為不管是透過 VMware vSphere Client 連接單台 ESXi Host,或者是透過 vCenter Server 將 ESXi Host 納管進來後,都無法看到「RAID 或電池的運作狀態」,甚至當有硬碟損壞時,你可能只能看伺服器前方面板的燈號而以。

本文便是實作為 VMware vSphere ESXi 5.5 安裝 VIB,之後便可以在 VMware vSphere Client 中看到 RAID 狀態,您也可以安裝 MegaRAID Storage Manager 進行更詳細的資訊查看,以及相關的進階設定。」

2014年1月21日 星期二

VM IP pool 與 vapp

關於VM IP pool

引自官方的說明文件:「IP pools provide a network identity to vApps. An IP pool is a network configuration that is assigned to a network used by a vApp. The vApp can then leverage vCenter Server to automatically provide an IP configuration to its virtual machines.」

另外 http://itknowledgeexchange.techtarget.com/virtualization-pro/what-are-ip-pools-and-vapps/

這邊的描述說得更清楚。

2014年1月6日 星期一

安裝 Vmware VSphere5.5 + Replication-5.5

環境:
1.VMware-VMvisor-Installer-5.5.0-1331820.x86_64.iso
2.VMware-vCenter-Server-Appliance-5.5.0.5201-1476389_OVF10.ova
3.VMware-vSphere_Replication-5.5.0.0-1309877.iso
4.VMware-viclient-all-5.5.0-1474107.exe(win7)

安裝ESXi:
基本上 ESXi5.5的安裝不難,跟舊版相同故不贅述,需值得注意的是 viclient和replication安裝的部份。

安裝viclient:
安裝完ESXi後,接著在win7安裝viclient,官方有特別說明在Windows XP or Windows Server 2003安裝無法正常連線到 vCenter Server 5.5,需特別注意。
要在XP用也是可以啦.... Release Notes 裡面有教學
=====
VMware vSphere® 5.5 Release Notes

https://www.vmware.com/support/vsphere5/doc/vsphere-esx-vcenter-server-55-release-notes.html

vSphere Client and vSphere PowerCLI might fail to connect to vCenter Server 5.5, with a handshake failure
When installed on a Windows XP or Windows Server 2003 host machine, the vSphere Client and vSphere PowerCLI might fail to connect to vCenter Server 5.5, with a handshake failure. vSphere 5.5 uses the Open SSL library, which, for security, is configured by default to accept only connections that use strong cipher suites. On Windows XP or Windows Server 2003, the vSphere Client and vSphere PowerCLI do not use strong cipher suites to connect with vCenter Server. The error No matching cipher suite is shown on the server side, and the handshake fails on the vSphere Client or vSphere PowerCLI side.
=====

安裝vcenter server:
這個部份是從官方下載 VMware-vCenter-Server-Appliance-5.5.0.5201-1476389_OVF10.ova來使用,可以省下vcenterf的windows作業系統授權費用和效能。

詳細操作方式可以參考網路上的文件(http://rritw.com/a/bianchengyuyan/C__/20130129/299905.html)

重點步驟:
1.利用viclient匯入ova
2.啟動後打入預設帳號密碼 root:vmware
3.執行 /opt/vmware/share/vami/vami_config_net 設定ip位置
4.用瀏覽器打開 https://<IP>:5480,輸入預設帳號密碼
5.第一次使用時依照精靈提示設定,基本上用預設值就可以了,這個設定會需要一段時間。
6.用瀏覽器打開 https://<IP>:9443/vsphere-client/
,輸入預設帳號密碼,進入 web client。

說真的,目前的web client真的很難用....
另外,他部份功能不支援 IE
,也許哪天就會支援了
安裝Replication:
這個部份很討厭!在5.1的時候,在web client匯入ova檔案的時候很正常順利,但是在5.5就會出現如下圖的錯誤

百思不得其解阿....
那個error msg (A general error occurred.)到底在講什麼錯誤阿  一....一
官方文件也沒說,查了很多地方也沒有資料,就在都要放棄時,看到某個教學的畫面檔是 viclient的介面,所以就改用 viclient執行匯入果然就成功了.....(這哪招阿!?)

在匯入過程中有提到一個訊息(如下圖)
 故匯入完畢後必須去設定 IP pools,詳細的設定方式可以參考 http://sostechblog.com/page/2/

設定完之後就可以將replication啟動了。


重點步驟:
1.利用 viclient 匯入replication,並設定IP pools
2.啟動後打入帳號 root 密碼在匯入的時候有提示要自行設定
3.用瀏覽器打開 https://<IP>:5480,輸入帳號密碼
4.檢查設定是否正確(其實也沒什麼好檢查的)

 Vmware VSphere5.5 + Replication-5.5 的安裝就到此結束。

VR功能的設定就再找時間來弄吧....












2012年9月10日 星期一

VMware View 安裝測試環境

上週將VMware View架設完畢,由於也是參考網路上教學文章,故不多加贅述安裝過程。

參考網址:
VMWare View基礎安裝
VMware View Administrator - Automated Pool 佈署

由於VMware View版本更新,部份介面有做新增、調整,但有基礎概念應該不是問題。


測試環境、架構:
 ESXi 5
 win2008 R2 64bit
XPP

測試環境、架構

在安裝過程中,遇到比較特別的是 composer的ODBC設定,如下圖。
 
這邊若將 帳號、密碼鍵入,按「NEXT」後則當機,屢試不爽!
但只鍵入ODBC名稱,則可正常執行!