其實前置的重點只有一個
安裝完成後進入BIOS將VT開起來orz
星期四, 1月 14, 2010
[VM]vSphere client on win7
原文網址 : http://www.techhead.co.uk/running-vmware-vsphere-client-on-windows-7
Many of you, like myself, have started running Windows 7 as their primary desktop OS and find it to be a massive improvement over Windows Vista on so many levels.
One of the very few inconveniences I have found with it, and this is not an bug or problem with Windows 7 itself, is the inability to run the VMware vSphere Client.
UPDATE: Good News – This issue has now been resolved in VMware ESX/ESXi 4.0 Update 1 (U1).
When attempting to run the client the following errors are received and you are unable to proceed any further:
“Error parsing the server “<server name” “clients.xml” file.”

“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”

Luckily there have been a few good VMware forum posts such as this one by ftubio which outlines how to successfully run the vSphere Client under Windows 7. I thought I’d put together this brief post with a few screenshots to outline the required steps.
I am running the x64 version of Windows 7 so you will notice that any reference to the ‘Program Files’ will have an ‘(x86)’ at the end of it. If you are running the x86 version of Windows 7 then ignore the ‘(x86)’ portion of the directory path (ie: C:\Program Files (x86) –> C:\Program Files).
Follow these 4 basic steps and you’ll be up and running in no time!
Download this DLL called system.dll
*Note: This DLL is usually found in the %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non Windows 7 PC with .NET v3.5 SP1 installed.
Once downloaded install it in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib” directory. If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.

Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below. Then save the changes.
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>

From the Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.

Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

You are now ready to start using the VMware vSphere Client on your Windows 7 machine! Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem. Also you will likely have to reboot your machine (or restart the explorer.exe process) for your new path information to come into effect.

Many of you, like myself, have started running Windows 7 as their primary desktop OS and find it to be a massive improvement over Windows Vista on so many levels.
One of the very few inconveniences I have found with it, and this is not an bug or problem with Windows 7 itself, is the inability to run the VMware vSphere Client.
UPDATE: Good News – This issue has now been resolved in VMware ESX/ESXi 4.0 Update 1 (U1).
When attempting to run the client the following errors are received and you are unable to proceed any further:
“Error parsing the server “<server name” “clients.xml” file.”
“The type initializer for ‘VirtualInfrastructure.Utils.HttpWebRequestProxy’ threw an exception.”
Luckily there have been a few good VMware forum posts such as this one by ftubio which outlines how to successfully run the vSphere Client under Windows 7. I thought I’d put together this brief post with a few screenshots to outline the required steps.
I am running the x64 version of Windows 7 so you will notice that any reference to the ‘Program Files’ will have an ‘(x86)’ at the end of it. If you are running the x86 version of Windows 7 then ignore the ‘(x86)’ portion of the directory path (ie: C:\Program Files (x86) –> C:\Program Files).
Follow these 4 basic steps and you’ll be up and running in no time!
Step 1.
*Note: This DLL is usually found in the %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\ directory of a non Windows 7 PC with .NET v3.5 SP1 installed.
Step 2.
Once downloaded install it in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib” directory. If the ‘lib’ directory doesn’t exist then create it and drop the dll file into it.
Step 3.
Next edit the “VpxClient.exe.config” file which can be found in the “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher” directory and add the following three lines to it in the location specified in the screenshot below. Then save the changes.
<runtime>
<developmentMode developerInstallation="true"/>
</runtime>
Step 4.
From the Windows 7 ‘System Properties’ click the ‘Advanced’ tab and then the ‘Environment Variables’ button as we want to add a new ‘System’ variable.
Create a new ‘System’ variable called ‘DEVPATH’ and assign the following variable value:
C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib
You are now ready to start using the VMware vSphere Client on your Windows 7 machine! Some people have reported having to run the client as an ‘Administrator’ so if you are having difficulties it may pay to try this – I luckily didn’t experience this problem. Also you will likely have to reboot your machine (or restart the explorer.exe process) for your new path information to come into effect.
星期五, 5月 22, 2009
星期四, 5月 21, 2009
保護虛擬環境的關鍵做法
原文:http://autoit.tw/bbs/redirect.php?fid=75&tid=4721&goto=nextoldset
保護虛擬環境的關鍵做法
我們將針對目前主要x86虛擬化平臺,整理出備份、備援與高可用性機制,分析不同的類型,找出現行對應的做法與解決方案。以下分為三大部分來討論。
Part1 虛擬環境更需要資料保護
虛擬化技術可讓資源集中,但風險也會隨之集中。「單點故障危害範圍大幅增加」與「共享資源,影響服務品質的維持」是可能造成的兩種風險。可以透過備份、備援解決虛擬化帶來的故障風險增加問題。
Part2 虛擬環境資料保護的作法
作法1 虛擬環境的備份
虛擬環境的備份可依工作執行層級與複本型態做不同區分,依工作執行層級可分成虛擬主機端、實體主機端與儲存端;從複本型態則有應用程式檔案或元件、磁碟映像(Image)與邏輯磁碟機等三個層級。
作法2 虛擬環境的備援
對某些執行關鍵任務、不允許服務中斷,或僅允許極短暫中斷的系統來說,由於從備份複本還原系統所需時間不等,因此僅有備份便不能滿足需要。這時候就必須讓可在極短時間內接續原系統服務的備援系統上場,構成具備自動失效轉移能力的高可用性系統。
作法3 協助維護升級:線上遷移
不中斷服務的線上遷移虛擬機器功能,是協助虛擬環境用戶執行實體主機維護與升級作業的一大利器。依廠商說法,這種線上遷移作業造成的系統中斷,可低到幾秒甚至幾毫秒,原先提供服務的虛擬機器,已經從一臺實體主機被搬移到另一臺實體主機上了。
作法4 保障存取資源:負載平衡
虛擬環境中一般會有分別負擔不同服務的多個虛擬機器,而這些服務通常會有優先順序的區別,也就是某個虛擬機器執行的服務比另一個虛擬機器的服務更重要,顯然的,更重要的服務就需要更優先資源分配。
保護虛擬環境的關鍵做法
我們將針對目前主要x86虛擬化平臺,整理出備份、備援與高可用性機制,分析不同的類型,找出現行對應的做法與解決方案。以下分為三大部分來討論。
Part1 虛擬環境更需要資料保護
虛擬化技術可讓資源集中,但風險也會隨之集中。「單點故障危害範圍大幅增加」與「共享資源,影響服務品質的維持」是可能造成的兩種風險。可以透過備份、備援解決虛擬化帶來的故障風險增加問題。
Part2 虛擬環境資料保護的作法
作法1 虛擬環境的備份
虛擬環境的備份可依工作執行層級與複本型態做不同區分,依工作執行層級可分成虛擬主機端、實體主機端與儲存端;從複本型態則有應用程式檔案或元件、磁碟映像(Image)與邏輯磁碟機等三個層級。
作法2 虛擬環境的備援
對某些執行關鍵任務、不允許服務中斷,或僅允許極短暫中斷的系統來說,由於從備份複本還原系統所需時間不等,因此僅有備份便不能滿足需要。這時候就必須讓可在極短時間內接續原系統服務的備援系統上場,構成具備自動失效轉移能力的高可用性系統。
作法3 協助維護升級:線上遷移
不中斷服務的線上遷移虛擬機器功能,是協助虛擬環境用戶執行實體主機維護與升級作業的一大利器。依廠商說法,這種線上遷移作業造成的系統中斷,可低到幾秒甚至幾毫秒,原先提供服務的虛擬機器,已經從一臺實體主機被搬移到另一臺實體主機上了。
作法4 保障存取資源:負載平衡
虛擬環境中一般會有分別負擔不同服務的多個虛擬機器,而這些服務通常會有優先順序的區別,也就是某個虛擬機器執行的服務比另一個虛擬機器的服務更重要,顯然的,更重要的服務就需要更優先資源分配。
訂閱:
文章 (Atom)