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功能的設定就再找時間來弄吧....












2013年10月30日 星期三

ASUS WIN7套裝電腦的中文介面亂碼問題


前幾天測試win7的系統時發現,asus的電腦不管怎麼調整,在某些中文程式的介面總是出現亂碼,用了ASUS提供的4個版本的還原光碟全都有同樣的情況發生!

這什麼鬼....

語系和地區都設定無誤,到底是怎麼回事!!

====
ASUS出包,從WIN7發行到現在的包都沒解,馬的....




[HKEY_CURRENT_USER\Control Panel\International]
"Locale"="00000404"
 

修改 registry ,將原本的
"Locale"="00000414" (數字有可能不同)
改成
"Locale"="00000404"



2013年7月9日 星期二

win7 change SSID

在舊的XP系統下,要變更系統的SSID非常簡單,只需要執行一個new ssid的程式即可。但是在win7底下new ssid是無法執行的,唯一的解法是執行 c:\windows\system32\sysprep\sysprep.exe

作法:
  1. 執行 c:\windows\system32\sysprep\sysprep.exe
  2. 選擇 「進入系統全新體驗 (OOBE)」+「一般化」
 
在執行的過程中若發生錯誤可參考C:\Windows\System32\sysprep\Panther\setuperr.log檔案,找出發生錯誤的原因。

--
2013.8.2 update

由於win7的sysprep一般只能執行3次,超過之後 log 就會出現 slc.dll 的錯誤訊息,
這是一個很討厭的機制!!

要破解這個限制就要改regedit內容

破解3次限制,延長為8次
skiprearm.reg
---
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform]
"SkipRearm"=dword:00000001

---


如果一執行就馬上遇到錯誤,log內容如下
, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
 就改執行

 GeneralizationState.reg
--
 Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus]
"GeneralizationState"=dword:00000007

--