網頁

2013年1月30日 星期三

Hyper-V 3.0 --- Copied VM is working in another Hyper-V 3.0 Server (part 3)

In Hyper-V 2.0, we have to export VM so that we can re-create the VM and attach the VHD when disaster happens in the future. Before do the export VM, we also have to shutdown this VM so that the related Service in this VM will be stopped then. This mechanism is not smart and the function is less than VMWare Product.

Since Hyper-V 3.0 release, we just only point to the path with the associated VM files so that VM can be live after power on.
How to do it?
Copy the backup VM files to the default folder that store VM configuration files in Hyper-V 3.0 Server. (# 1)
ScreenHunter_04Open Hyper-V Manager and click one Hyper-V Server that will locate his VM next to click Import Virtual Machine linkScreenHunter_05In Before You Begin page, click Next > buttonScreenHunter_06In Locate Folder page, click Browse… buttonScreenHunter_07
Select the specify path that with xml file next to click Select Folder buttonScreenHunter_09Click Next > button to go ahead next step if the folder containing the VM is rightScreenHunter_10In Select Virtual Machine page, select the VM that will be imported next to click Next > buttonScreenHunter_11Due to the VM and its files have already been in the right place, we will choose Register option that just want to register VM’s unique ID with Hyper-V. After choosing the import type, click Next > button to go ahead the next step.ScreenHunter_12So do that we will complete the Import Wizard.ScreenHunter_13Now the imported VM will exist in this Hyper-V Server.ScreenHunter_14
Start this VM by click Start link in Actions panelScreenHunter_15Next to click Connect … linkScreenHunter_16The imported VM will be live and normal now.ScreenHunter_17
Reference :(# 1) How to know the default path to store VM configuration files?
          In Hyper-V Settings, click Virtual Machine in Server item so that can see where it is.ScreenHunter_03

<<<   Hyper-V 3.0 --- Create NIC Teaming after Hyper-V online (part 2)

2013年1月28日 星期一

Microsoft Access Database Engine 2010 Redistributable --- No 64 bit ODBC Drivers in Windows 7 x64

In Windows 7 x64, the default Data Source(ODBC) will point to 64 bit DLL in “C:\Windows\System32”. If we want to run 32 bit Apps on 64 bit Windows 7, we need to use 32 bit ODBC Administrator Tool by launching “C:\Windows\SysWOW64\odbcad32.exe”. (# 1)

When we launch ODBC Data Source Administrator and want to configure Excel Files in User DSN tab,
ScreenHunter_11we get an error message “Cannot find Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb) ODBC driver”.ScreenHunter_12
Although I know use the different ODBC administrator to configure 32bit or 64 bit DSN setting (#  1), I don’t when 64 bit ODBC driver for Office 2010 miss. In my intuition, the solution is very simple that reinstall ODBC driver!
So I download AccessDatabaseEngine_x64.exe from Microsoft Download Center(# 2) and double-click this file for installing it. But the warming message show up “Cannot install it besides remove the 32 bit installation of Office products firstly”.ScreenHunter_13I don’t want to follow its suggestion because it will spend more time to remove and reinstall Office.
I search Web information by Google and find out it can be resolve by adding passive switch. The full command line is AccessDatabaseEngine_X64.exe /passiveScreenHunter_16After finish the above command and redo the ODBC configuration, its function is normal now.
ScreenHunter_18
Reference :
(# 1) Unable to create DSN for Microsoft Office System Driver on 64-bit versions of Windows
(# 2) Microsoft Access Database Engine 2010 Redistributable

2013年1月13日 星期日

Hyper-V 3.0 --- Create NIC Teaming after Hyper-V online (part 2)

Although Linux NIC Teaming has already been built-in for a long time,Microsoft never exist this function until Windows Server 2012 is released. We can directly use this new function in Windows Server 2012 so that it doesn’t depend on Vendor’s NIC driver or management software and choose the same network card for building NIC teaming. Due to Microsoft did not support NIC teaming for Hyper-V 2.0 network in the pass, sometime there is problem happened by NIC driver or teaming issue if we use it in Hyper-V environment. For stability, we need to give up availability usage in Hyper-V. Now it will be good news that NIC teaming has already been part of the Microsoft Operating System.

How to do NIC Teaming? It is very simple that can study the related knowledge from Microsoft or friendly web site.
If Hyper-V system has already been in production, how to set it but never influence online service?
ScreenHunter_03
To create the first NIC team for Hyper-V External networkMethod I : Combine with multiple network cards to form a NIC TeamAt first, confirm Hyper-V Server never exist any VM object
ScreenHunter_02Shutdown/Power Off the standby server as “VW-HYPERV-02” for adding a new network card. When power on it again, we will see a new network card in Server Manager/Local Server dashboard.ScreenHunter_04Open Hyper-V Manager and click Virtual Switch Manager…ScreenHunter_05Select the original virtual network switch next to click Remove buttonScreenHunter_06Click Apply buttonScreenHunter_07Click Yes buttonScreenHunter_08Click OK buttonScreenHunter_13In next step, we will change static IP setting to DHCP.ScreenHunter_18In Server Manager/Local Server dashboard, click Disabled link in NIC Teaming fieldScreenHunter_19In NIC Teaming UI, select the multiple network card that want to build a Team next to click Add to New Team in TASK.ScreenHunter_20Write down Team name and select Additional properties next to click OK button.ScreenHunter_21So does that the Hype-v NIC Teaming is created.ScreenHunter_22In Network Connections windows, open Hyper-V NIC Teaming Properties and click Internet Protocol Version 4 (TCP/IPv4) to set the static IP addressScreenHunter_25Now the NIC Teaming will be createdScreenHunter_26Return to Hyper-V Manager and click Hyper-V Settings… link againScreenHunter_27In Virtual Switch Manager page, select New virtual network switch and External next to click Create Virtual Switch buttonScreenHunter_28Write down a Name as “External-01”, select External network option and Microsoft Network Adapter Multiplexor Driver next to click Apply buttonScreenHunter_29Click Yes buttonScreenHunter_30So does that NIC Teaming will integrate with the external network of Hyper-V system nowScreenHunter_32
To add another NIC Team for Hyper-V Live migration networkMethod II:  Add a new network Interface to an existing team
To do the same prerequisite, confirm never exist any VM in this Hyper-V ServerScreenHunter_01Before change anything…ScreenHunter_02After add a new network card when shutdown & power off this Server…ScreenHunter_03In Server Manager/Local Server dashboard, click Enabled link in NIC Teaming fieldScreenHunter_05In NIC Teaming window, select Network Adapters, choose a new network card, click Task next to then click Add to New TeamScreenHunter_06In New team page, assign a Team name next to click OK buttonScreenHunter_07So dose that the second NIC teaming is created nowScreenHunter_08and its IP address will be from DHCP by default.ScreenHunter_09Because our target will be replace this dynamic IP with the original and static IP of Live Migration, we first need to change the Live Migration IP Address from static to dynamic setting.ScreenHunter_10Continuously, the IP address of this NIC teaming will set into the the original and static IP value.ScreenHunter_11So do that we finish the IP exchange now.ScreenHunter_12Click Enabled link again in NIC Teaming fieldScreenHunter_13In NIC Teaming windows, select a team as “Live Migration NIC teaming” in TEAMS, right-click a network card that want to join the selected team next to click Add to Team “Live Migration NIC teaming”ScreenHunter_14Finally, this network card has already been this membership of NIC teaming.ScreenHunter_15We also finish adding a NIC Teaming by the second Method.ScreenHunter_16
I believe maybe there is more and more methods about adding the new NIC teaming or someone think the above steps is complex. But I know the Hyper-V function as network access or live migration is normal after follow the above methods to create NIC teaming.

Reference:
(# 1) Windows Server 2012 NIC Teaming (LBFO) Deployment and Management
(# 2) NIC Teaming in Windows Server 2012 - Do I Need to Configure My Switch?

<<<   Live Migration without Shared Storage on Non-Clustered Virtual Machines (part 1)

2013年1月9日 星期三

"諾羅" ≠ "懦弱" 病毒來找我

今天放假一天,照理說應該睡的飽飽的,然後吃著早餐,享受NBA 火箭vs湖人精采好球,或是開著愛車到維修廠進行歷行性保養。但往往人算不如天算,一切都因為昨晚睡覺前就開始〝拉屎〞,拉到體力不濟、昏昏沉沉地睡覺了,又因為想上廁所而一大早驚醒,真是有夠T︵T

真是「禍不單行」! 計上週六跟著老婆做地板運動〝空中踏腳踏車〞而受傷,晚上痛的受不了而在隔天清晨掛急診,檢查、開藥吃後身體漸漸舒緩,到現在如此...這般...。莫非這是不祥的癥兆?還是純屬巧合?

雨:嘩啦嘩啦地下o_o" ,屎:也稀哩稀哩地下:'-(,內心真是無限地惆悵啦!或許該用正面的角度來看待此事:幸好今天休假,才能一早看醫生並在家休息,否則到公司上班,或許會發生意想不到的糗事˚_˚‖

不說了,該是去廁所報到。想不到這次會被〝懦弱〞病毒打敗,或許就因為我不是像【海賊王】中騙人布,天生有著異於常人的個性吧!
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.