Welcome to MSDN Blogs Sign in | Join | Help

Hyper-V ActiveX RDP Control

Hyper-V ActiveX RDP Control

http://blogs.msdn.com/virtual_pc_guy/archive/2010/02/03/hyper-v-activex-rdp-control.aspx

 

위의 포스트에서 Active-X를 통해서 Hyper-V Active X RDP control을 소개하고 있습니다. 이 Active X를 사용해서 Web을 통해서 Hyper-V 의 VM에 접속하실 수 있습니다.

http://code.msdn.microsoft.com/ddc/Release/ProjectReleases.aspx?ReleaseId=3833

Posted by DebugMachine | 0 Comments
Filed under: ,

Hyper-V 에 필요한 Update 리스트 입니다.

Hyper-V Update ListUpdated: January 20, 2010

http://technet.microsoft.com/en-us/library/dd430893(WS.10).aspx

 

위의 Technet 문서를 통해서 Hyper-V의 최신 update를 얻으실 수 있습니다.

Posted by DebugMachine | 0 Comments
Filed under: ,

Hyper-V 위에서 실행중인 VM을 재 부팅 없이 Dump 파일로 만들기

Hyper-V How-To: Convert VM Memory Contents to a Dump File

http://blogs.technet.com/tonyso/archive/2010/02/01/hyper-v-how-to-convert-vm-memory-contents-to-a-dump-file.aspx

VM2DMP - Hyper-V (tm) VM State to Memory Dump Converter

http://blogs.technet.com/virtualworld/archive/2010/02/02/vm2dmp-hyper-v-tm-vm-state-to-memory-dump-converter.aspx

Hyper-V VM State to Memory Dump Converter

http://blogs.msdn.com/virtual_pc_guy/archive/2010/02/01/hyper-v-vm-state-to-memory-dump-converter.aspx

 

Microsoft 에서는 재 부팅없이 VM을 Dump 파일로 만들어 내는 VM2dmp를 만들었습니다. Save 된 상태이거나 Snapshot 으로 만들어져 있는 VM에서 전체 메모리 덤프를 생성해 내는 툴 로 아래 링크에서 다운 받으실 수 있습니다.

Microsoft Hyper-V VM State to Memory Dump Converter

http://code.msdn.microsoft.com/vm2dmp

 

사용방법은 아래와 같이 하시면 됩니다.

  1. http://www.microsoft.com/whdc/DevTools/Debugging/default.mspx 에서 Windbg 다운 받음
  2. http://code.msdn.microsoft.com/vm2dmp 에서 vm2dmp 를 다운 받아 Windbg 설치 폴더로 복사
  3. c:\VM 폴더 생성
  4. 동작중인 VM의 Snapshot 생성
  5. VM의 폴더\Snapshots\Snapshot의GUID 폴더로 이동
  6. C:\debuggers\vm2dmp.exe –bin .\파일GUID.bin –vsv .\파일GUID.vsv –dmp c:\vm\memory.dmp

감사합니다.

Posted by DebugMachine | 0 Comments

WMI 관련 Script 생성을 도와주는 WMI Code Creator

Two Minute Drill – WMI Code Creator

http://blogs.technet.com/askperf/archive/2010/02/02/two-minute-drill-wmi-code-creator.aspx

 

Scriptomatic 2.0 이라는 다른 툴도 있지만 WMI Code Creator 라는 툴이 더 파워풀 하다고 합니다. 아래 키능들이 있다고 하는군요

•Querying WMI namespaces
•Executing Methods
•Receiving Event Notification
•Browse WMI names spaces

Target Computer 를 선택하면 로컬, 리모트, 리모트 그룹 등으로 스크립트가 실행될 컴퓨터를 지정할 수 있습니다. 그리고 VB Script, VB.NET, C# 등의 코드를 만들어 낼 수 있습니다.

예제에서는 Win32_Printer 를 선택해서 DriverName 을 얻는 스크립트를 보여주고 있습니다.

 

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM Win32_Printer WHERE DriverName = 'Microsoft XPS Document Writer'",,48)
For Each objItem in colItems
    Wscript.Echo "-----------------------------------"
    Wscript.Echo "Win32_Printer instance"
    Wscript.Echo "-----------------------------------"
    Wscript.Echo "DriverName: " & objItem.DriverName
Next

 

결과가 위와 같습니다.

Posted by DebugMachine | 0 Comments
Filed under: ,

Live Migration에 CSV 가 꼭 필요한 것은 아닙니다.

CSV is not Required for Live Migration

http://blogs.technet.com/enterprise_admin/archive/2010/01/26/csv-is-not-required-for-live-migration.aspx

 

위의 포스트 에서는 Live Migration 을 위해서 CSV가 꼭 필요한 것은 아니라고 설명하고 있습니다. Microsoft 의 대부분의 문서에서는 Live Migration 을 하기 위해서는 CSV를 사용해야 한다고 기술되어 있습니다. 이 포스트를 쓴 Senior Technical Product Manager 인 John Kelbley 는 지금 작업중인 새로운 Hyper-V 책에서 이 부분을 다룰 것이라고 합니다.

각 VM을 각각의 LUN에 할당하거나 Cluster 파일 시스템을 사용하여 CSV 없이 Live Migration을 구성할 수 있습니다. Live Migration 이 성공하기 위해서는 VM 이 다른 VM와 연관이 없어야 다른 노드로 이동할 수 있어야 합니다.

CSV 가 추천되는 이유는 CSV를 사용함으로써 Storage 에 관련된 문제점들을 쉽게 해결할 수 있으며 하나의 큰 CSV에 다수의 VHD 파일을 위치 시킬 수 있다는 것 입니다. 그리고 CSV를 사용하면 Unmount 작업이 필요 없기 때문에 보다 유리 합니다. 한 노드에서 Unmount 하여 다른 노드로 Mount 하는 작업은 많은 시간이 걸리기 때문에 CSV 가 없는 Live Migration 은 자주 실패 한다고 합니다.

Posted by DebugMachine | 0 Comments

CSV와 Migration 과 관련된 문서 모음

New Cluster Docs for Cluster Shared Volumes (CSV) & Migration

http://blogs.msdn.com/clustering/archive/2010/01/26/9953375.aspx

 

위의 포스트 에서는 아래에 있는 여러 문서들의 링크를 담고 있습니다. CSV 나 Migration 과 관련된 작업을 하실 때 도움이 될것 입니다.

 

Cluster Shared Volumes (CSV)

·         Using Cluster Shared Volumes in a Failover Cluster in Windows Server 2008 R2:

http://technet.microsoft.com/en-us/library/ff182346(WS.10).aspx

·         Requirements for Using Cluster Shared Volumes in a Failover Cluster in Windows Server 2008 R2:

http://technet.microsoft.com/en-us/library/ff182358(WS.10).aspx

·         Designating a Preferred Network for Cluster Shared Volumes Communication:

http://technet.microsoft.com/en-us/library/ff182335(WS.10).aspx

·         Recommendations for Using Cluster Shared Volumes in a Failover Cluster in Windows Server 2008 R2:

http://technet.microsoft.com/en-us/library/ff182320(WS.10).aspx

·         Backing Up Cluster Shared Volumes in a Failover Cluster in Windows Server 2008 R2:

http://technet.microsoft.com/en-us/library/ff182356(WS.10).aspx

·         Cluster Shared Volumes Events and Errors:

http://technet.microsoft.com/en-us/library/ee830307(WS.10).aspx

o   Failover Clustering Events and Errors:

http://technet.microsoft.com/en-us/library/dd353290(WS.10).aspx

Migration

·         Migrating Clustered Services and Applications to Windows Server 2008 R2 Step-by-Step Guide:

http://technet.microsoft.com/en-us/library/ff182314(WS.10).aspx

·         Migration Paths for Migrating to a Failover Cluster Running Windows Server 2008 R2:

http://technet.microsoft.com/en-us/library/ee791924(WS.10).aspx

·         In-Place Migration for a Two-Node Cluster:

http://technet.microsoft.com/en-us/library/ff182312(WS.10).aspx

·         Cluster Migrations Involving New Storage: Mount Points:

http://technet.microsoft.com/en-us/library/ff182345(WS.10).aspx

·         Migrating DHCP to a Cluster Running Windows Server 2008 R2 Step-by-Step Guide:

http://technet.microsoft.com/en-us/library/ee460952(WS.10).aspx

 

감사합니다.

Posted by DebugMachine | 0 Comments
Filed under: ,

프로그램 설치 도중 Error 1606이 발생 하는 경우

Microsoft 프로그램을 설치하거나 제거하려고 하면 "오류 1606" 오류 메시지가 나타난다

http://support.microsoft.com/kb/886549

 

아래 제품들을 설치 하다가 Error 1606 이 발생한다면 아래 레지스트리 키를 확인해 봐야 합니다.

•Microsoft Digital Image Pro 9
•Microsoft Excel 2002
•Microsoft MapPoint 2002
•Microsoft Money 2005
•Microsoft Office 2003
•Microsoft Office Access 2003
•Microsoft Office PowerPoint 2003
•Microsoft Office Outlook 2003
•Microsoft Office Publisher 2003
•Microsoft Office XP
•Microsoft FrontPage 2002
•Microsoft PowerPoint 2002
•Microsoft Streets & Trips 2003
•Microsoft Picture It! Photo 2002
•Microsoft Office 2000
•Microsoft Outlook 2002
•Microsoft Word 2002
•Microsoft Access 2002
•Microsoft Excel 2000
•Microsoft FrontPage 2000
•Microsoft PowerPoint 2000
•Microsoft Word 2000

 

레지스트리 키

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurentVersion\Explorer\User Shell Folders
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurentVersion\Explorer\User Shell Folders

 

아래 레지스트리 값 중 하나가 잘못되어 있을 수 있습니다.

값 이름  종류  값 데이터
AppData  REG_EXPAND_SZ  %USERPROFILE%\Application Data
Cache  REG_EXPAND_SZ  %USERPROFILE%\Local Settings\Temporary Internet Files
Cookies  REG_EXPAND_SZ  %USERPROFILE%\Cookies
Desktop  REG_EXPAND_SZ  %USERPROFILE%\Desktop
Favorites  REG_EXPAND_SZ  %USERPROFILE%\Favorites
History  REG_EXPAND_SZ  %USERPROFILE%\Local Settings\History
LocalAppData  REG_EXPAND_SZ  %USERPROFILE%\Local Settings\Application Data
Local Settings  REG_EXPAND_SZ  %USERPROFILE%\Local Settings
My Pictures  REG_EXPAND_SZ  %USERPROFILE%\My Documents\My Pictures
NetHood  REG_EXPAND_SZ  %USERPROFILE%\NetHood
Personal  REG_EXPAND_SZ  %USERPROFILE%\My Documents
PrintHood  REG_EXPAND_SZ  %USERPROFILE%\PrintHood
Programs  REG_EXPAND_SZ  %USERPROFILE%\Start Menu\Programs
Recent  REG_EXPAND_SZ  %USERPROFILE%\Recent
SendTo  REG_EXPAND_SZ  %USERPROFILE%\SendTo
Start Menu  REG_EXPAND_SZ  %USERPROFILE%\Start Menu
Startup  REG_EXPAND_SZ  %USERPROFILE%\Start Menu\programs\Startup
Templates  REG_EXPAND_SZ  %USERPROFILE%\Templates

 

감사합니다.

Posted by DebugMachine | 0 Comments
Filed under:

Windows Server 2008 R2 Virtual Mahine 에서 NLB 설정 후 BSOD 나는 경우

A Windows Server 2008 R2 Virtual Machine may crash with a blue screen after configuring NLB on it

http://blogs.technet.com/networking/archive/2010/01/29/a-windows-server-2008-r2-virtual-machine-may-crash-with-a-blue-screen-after-configuring-nlb-on-it.aspx

 

Windows Server 2008 R2 Virtual machine 에 NLB 를 설정한 후 BSOX 0x7C BUTGODE_NDIS_DRIVER 오류가 나는 경우가 있는데 조사 결과 일부 백신 제품에서 문제를 일으킨다고 합니다. 아마도 백신 제품에 네트워크 필터링 기능으로 방화벽, IDS, IPS 기능등을 구현한 곳에서 문제가 있지 않나 싶습니다.

 

감사합니다.

Posted by DebugMachine | 0 Comments
Filed under: , ,

VMMCA를 사용하여 VMM 구성 점검

The VMMCA and why it's important in troubleshooting VMM issues

http://blogs.technet.com/scvmm/archive/2010/01/27/the-vmmca-and-why-it-s-important-in-troubleshooting-vmm-issues.aspx

 

위의 포스트에는 VMM의 구성을 자동으로 검사해 주는 VMMCA에 대해서 설명하고 있습니다.

Virtual Machine MAnager Configuration Analyzer 는 아래 VMM role을 설치 전에 구성을 점검할 수 있고

•VMM Server
•VMM Administrator Console
•VMM Self-Service Portal

아래 Role을 설치한 후 구성을 점검할 수 있습니다.

•Windows Server–based host
•VMware Virtual Center Server
•P2V source computer
•Operations Manager agent

그리고 새로운 서버를 관리호스트에 추가할 때, 서버를 라이브러리 서버에 추가할 때, P2V를 시작할 때 Host 가 not responding 일때, VMM 서버와 통신이 안될때 등 사용할 수 있습니다.

제가 test 용도로 사용하고 있는 서버에 돌려보니 IIS가 설치 안되어 있다고 나오는군요

 

감사합니다.

Posted by DebugMachine | 0 Comments
Filed under: ,

SCVMM Database를 다른 서버로 이동하는 방법

How to move the SCVMM database to another server

http://blogs.technet.com/mbriggs/archive/2010/01/29/how-to-move-the-scvmm-database-to-another-server.aspx

 

위의 포스트에서는 SCVMM Database를 하나의 서버에서 다른 서버로 이전하는 내용을 설명하고 있습니다. 이 작업을 하기 전에 꼭 백업을 하셔야 합니다.

1. SQL Server Management stodio 사용

2. scvmmrecover.exe 툴 사용

 

감사합니다.

Posted by DebugMachine | 0 Comments
Filed under:

Windows Server 2008 Core 에서 NVSPBind를 사용하여 Protocol 제어하기

Announcing NVSPBind

http://blogs.technet.com/jhoward/archive/2010/01/25/announcing-nvspbind.aspx

nvspbind (Current Release 에서 다운 받으실 수 있습니다.)

http://code.msdn.microsoft.com/nvspbind

 

Full 로 Windows 2008이 설치된 경우 GUI를 사용하여 Network Protocol에 대한 Bind, Unbind 를 손쉽게 할 수 있었지만 Server Core 가 설치된 Windows 2008 에서는 GUI가 제공되지 않기 때문에 Protocol binding을 제어하는 것이 어려웠습니다.

이번에 발표된 NVSPBind 를 사용하면 쉽게 설정을 변경할 수 있습니다.

  1. nvspbind 를 실행하면 설치되어있는 모든 Adapter의 GUID 가 열거 됩니다. (숨김으로 표시된 것도 다 표시 됩니다.)
  2. 열거된 GUID 중 수정하고자 하는 것 찾기(GUID의 아래쪽 두 번째에 이름이 있습니다.)
  3. npvspbind –d GUID [protocolname] 명령을 사용하여 Disable 합니다. Enable은 –e 를 사용 합니다.

감사합니다.

P2V를 하는 도중 Error ID3101 과 unknown error 0x80041001이 발생할 경우

SCVMM Solution: P2V conversion may fail with error ID 3101 and "Unknown error 0x80041001"

http://blogs.technet.com/scvmm/archive/2010/01/26/scvmm-resolution-p2v-conversion-may-fail-with-error-id-3101-and-unknown-error-0x80041001.aspx

Windows 2000 SP4를 SCVMM 을 사용해서 P2V를 하다가 Error ID3101 과 unknown error 0x80041001이 발생할 경우 아래 Hotfix를 설치해야 합니다.

•KB834010 - A deadlock occurs when a program that uses WMI calls the LoadLibrary() or the FreeLibrary() function in Windows 2000
•KB892294 - A WMI event notification query does not detect a user permissions change on Windows 2000 or Windows Server 2003
•KB843527 - The Win32_SCSIController WMI class cannot obtain SCSI controller information after you install the MS04-011 security update

Windows 2000 SP4를 P2V 할 때 WMI를 사용해서 시스템을 제어하기 때문에 WMI관련 문제점이 있을 경우 정상적으로 수행되지 않는 것으로 보입니다.

Posted by DebugMachine | 0 Comments
Filed under: , ,

Windows Server 2008 R2 Printer cluster를 위한 Rollup Hotfix 가 나왔습니다.

R2 Print Cluster? Get this Hotfix! KB 976571

http://blogs.msdn.com/clustering/archive/2010/01/22/9951795.aspx

 

Windows Server 2008 R2 Print cluster 를 구축해서 사용하고 계시다면 위의 Hotfix를 설치하시기 바랍니다.

Posted by DebugMachine | 0 Comments
Filed under: , ,

KB919529 Windows Vista 또는 7이 설치된 장비에 이전 Version 의 Windows 를 설치한 후 부팅 실패

Windows no longer starts after you install an earlier version of the Windows operating system in a dual-boot configuration

http://support.microsoft.com/kb/919529/en-us

 

Windows Vista 나 Windows 7이 설치되어 있는 장비에 Windows XP를 설치할 경우 부팅관련 설정이 손상되게 되어 부팅이 정상적으로 되지 않습니다.

Windows Vista 부터 부팅이 Boot Configuration Database (BCD) 라는 것으로 변경되어서 발생하는 문제 입니다. (Windows Vista 이후에서는 Kernel debugging 설정을 할 때 boot.ini를 사용하지 않고 bcdedit을 사용하는 것도 같은 이유 입니다.)

XP 에서는 부팅이 되는 과정에서 MBR에 있는 코드가 ntldr을 로드하고 ntldr은 boot.ini를 참조하여 부팅을 하게 됩니다. 하지만 Windows Vista 이후에서는 MBR에 있는 코드가 bootmgr(boot manager)를 로드하고 bootmgr 은 BCD의 내용을 사용해서 부팅을 진행하게 됩니다.

Windows XP가 설치되는 과정에서 MBR 에 있는 코드가 덮어써지게 되고 부팅 관련 파일도 XP의 것으로 변경되게 되어 부팅이 안 되는 것 입니다.

 

아래 과정을 통해 복원 작업을 합니다.

  • bootsect 라는 명령으로 MBR을 복구
  • bcdedit 으로 이전 Windows에 대한 항목 생성 (Windows XP 또는 Windows 2003), 파티션 정보 변경, 경로 변경
Posted by DebugMachine | 0 Comments
Filed under:

KB214304 VM 에서 동작중인 Windows Server 2008 R2 Failover cluster 에서 에러와 경고가 기록되는 경우

Unexpected Error and Warning Messages in a Virtualized Windows Server 2008 R2 Failover Cluster

http://support.microsoft.com/kb/2014304

 

Hyper-V 위에서 VM에 Windows Server 2008 R2 Failover Cluster 가 설치 되어 있는 경우 아래와 같은 메시지가 기록될 수 있습니다. Failover Cluster 에서 Hyper-V 와 상호 연동 되는 모듈에서 에러와 경고를 기록하는 것인데 경고 메시지는 Hyper-V role Remote Server Administion tools 를 설치하면 되지만 에러 메시지는 해결 방법이 없다고 합니다. 하지만 에러가 발생해도 무시하시면 된다고 하네요

Warning Message:

Log Name:  Microsoft-Windows-FailoverClustering-Manager/Admin
Source:  Microsoft-Windows-FaioloverClustering-Manager/Admin
Event ID:  4694
Level:  Warning
Hyper-V management tools were not found on the system.  Creation and management of Virtual machines will be disabled in Failover Cluster Manager.  Install Hyper-V role admin tools for servers or RSAT tools for clients to enable those options.
Error Message:

Log Name:  Microsoft-Windows-Hyper-V-High-Availability/Admin
Source:  Hyper-V-High-Availability
Event ID:  21123
Level:  Error
Failed to set the migration networks at the VMMS: Class not registered (0x80040154)

Posted by DebugMachine | 0 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker