天天看點

21天讓你成為Horizon View高手—Day5:在vCenter Server上安裝View Composer元件

View Composer具有非常強大的功能,可以為企業快速部署成千上萬的虛拟桌面并為企業節省近70%的存儲空間。

1) View Composer 支援的作業系統

View Composer 近支援 64 位作業系統,但具有特定要求和限制。在最新的View 5.1中不再要求将 View Composer 安裝在 vCenter Server所在的同一實體計算機或虛拟機上。

作業系統

版本

服務包

Windows Server 2008 R2

Standard

Enterprise

無或SP1

2) 硬體要求

硬體元件

需要

建議

中央處理器

1.4 GHz 64 位或更快的處理器和 2 個 CPU

基于 Itanium 系統的 Intel Itanium 2 處理器

4 個 CPU

記憶體

4GB RAM 或更高

需要至少 8GB RAM 才能部署 50 個或更多的 View 桌面

網絡要求

一個或多個 10/100 Mbps 網絡接

口卡 (NIC)

1Gbps NIC

存儲要求

40G 以上可用空間

60G

3) View Composer 支援的資料庫

View Composer 需要使用 SQL 資料庫來存儲資料。View Composer 資料庫必須駐留在 View Composer伺服器。

如果目前已存在适用于 vCenter Server 的資料庫伺服器,且它的版本是下面清單中所列的版本,那麼 View Composer 可以使用現有資料庫伺服器。例如,View Composer 可以使用 vCenter Server 附帶的 Microsoft SQL Server 2005 或 2008 Express 執行個體。如果目前沒有資料庫伺服器,則必須安裝一個。

View Composer 支援 vCenter Server 所支援的部分資料庫伺服器。如果您已将 vCenter Server 與不受 View Composer 支援的資料庫伺服器一起使用,請繼續将該資料庫伺服器用于 vCenter Server,并單獨安裝一個資料庫伺服器以供 View Composer 和 View Manager 資料庫事件使用。

注 意:

如果您在 vCenter Server 所在的 SQL Server 執行個體上建立 View Composer 資料庫,請勿覆寫 vCenter

資料庫

vCenter Server 5.1

vCenter Server 5.0

vCenter Server 4.1

vCenter Server 4.0

Microsoft SQL Server 2005 (SP4), Standard, Enterprise,and Datacenter

(32- and 64-bit)

Standard Only

Microsoft SQL Server 2008 Express (R2 SP1) (64-bit)

Microsoft SQL Server 2008 (SP2), Standard, Enterprise,and Datacenter

Microsoft SQL Server 2008 (R2), Standard and Enterprise (32- and 64-bit)

Oracle 10g Release 2, Standard, Standard ONE, and Enterprise [10.2.0.4]

Oracle 11g Release 2, Standard, Standard ONE, and Enterprise [11.2.0.1]

with Patch 5 (32- and 64-bit)

如果View Composer伺服器一定需要加入域,而且DNS必須指向域中的DNS伺服器。

在View 5.2中View Composer不再需要和VCenter安裝在同一台伺服器上面,是以可以配合vCenter Server Appliance

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934044Huv0.jpg"></a>

本次測試的的vCenter Server+ View Composer的IP 192.168.170.82 DNS 192.168.170.80。

步驟1:建立View Composer資料庫

SQL Server 2008 Express中建立一個名為View Composer的資料庫。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934045Dk2C.jpg"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_13679340462hYF.gif"></a>

步驟2:在View Composer伺服器中配置ODBC

在View Composer伺服器中打開“控制台à管理工具àODBC資料源管理器”,點選“系統DSN”,點選“添加”。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934047IQWB.gif"></a>

在“建立資料源”中請選擇“SQL Native Client”,點選“完成”。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934048AVsw.gif"></a>

在“Create a New Data Source to SQL Server”的Name中輸入“view_composer”,并選擇SQL Server名稱,點選“下一步”。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934048K9N4.gif"></a>

輸入賬戶憑證,點選“下一步”

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934049aFQA.gif"></a>

選擇正确的資料庫,即之前我們建立的“view_composer”,點選“下一步”。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934050cK7V.gif"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_13679340506frg.gif"></a>

測試ODBC連接配接,保證資料庫連接配接正常。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934051XRqw.gif"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934052khOW.gif"></a>

步驟3:輕按兩下View Composer安裝包,開始安裝View Composer。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934052JGHH.jpg"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934053hkIb.jpg"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934054ke9z.jpg"></a>

步驟4:在“Destination Folder”确定View Composer安裝位置,如果需要修改請通過“Change”按鈕選擇您的目标位置。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934055bdfb.jpg"></a>

步驟5:設定View Composer的資料庫,在“ODBC DSN Setup”輸入先前設定好的ODBC連接配接即“view_composer”,并在下方輸入資料庫的連接配接使用者名和密碼。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934055P8k2.jpg"></a>

步驟6:設定View Composer通信端口,預設為18443沒有特殊情況,建議不要修改。點選“Next”,開始安裝View Composer。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934056GR6N.jpg"></a>

步驟7:完成View Composer的安裝。

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934057o48L.jpg"></a>

<a href="http://virtualyourdesk.blog.51cto.com/attachment/201305/7/904833_1367934058Sdvv.jpg"></a>

本文轉自robbindai 51CTO部落格,原文連結:http://blog.51cto.com/virtualyourdesk/1195070