달력

5

« 2024/5 »

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
2009. 9. 13. 18:53

Hyper-V Snapshot Virtualization2009. 9. 13. 18:53

스냅샷은 다음과 같은 파일들로 이루어진다.
- VM 설정 파일(.xml)
- Save State 파일(.bin, .vsv)
- 차등 디스크(.avhd): 스냅샷 이후의 작업에 사용되는 Working Disk 파일

VM을 생성하면 다음과 같은 하위 폴더와 데이터가 저장된다.
-  Snapshots
-  Virtual Machines:
원본 구성 파일: VM의 GUID 이름으로 저장(.xml)
하위 VM GUID 폴더: Save State 파일(.bin, .vsv)

VM GUID.xml 파일 - 현재 사용되고 있는 가상 디스크 파일(.vhd)을 가리키고 있다.
스냅샷 생성 이전 - Working Disk(.vhd) 파일에 모든 변경 데이터가 저장되고, Save State는 VM의 위치 하위 Virtual Machine\VM GUID 폴더에 저장된다.

스냅샷 생성 과정(VM이 꺼져 있는 상태)
1. Snapshot 폴더에 두 개의 폴더를 생성한다.
스냅샷의 모든 avhd 파일이 저장될 VM GUID 폴더
Save State가 저장될 스냅샷에 대한 SNAP GUID 이름 폴더
- VM이 꺼져있는 상태이기 때문에 SNAP GUID 폴더에는 아무것도 저장되지 않는다.
2. VM 구성 파일(.xml)의 복사본이 SNAP SHOT GUID.xml로 저장된다.
3. Virtual Machines\VM GUID 폴더에 avhd 파일이 생성된다.
4. VM의 원본 VM GUID.xml 파일은 새로 만들어진 avhd 파일을 Working Disk로 업데이트한다.

스냅샷 생성 과정(VM이 켜져 있는 상태)
- VM이 꺼져 있는 상태와 다른 과정은 동일하나 Sate State 파일이 저장되는 것만 다르다.

Revert 과정
1. 현재 Working Disk인 avhd 파일이 지워지고 새로운 avhd 파일이 생성된다.
2. VM의 원본 VM GUID.xml 파일은 새로 만들어진 avhd 파일을 Working Disk로 업데이트한다.
3. Save State 파일이 있는 경우 해당 상태로 되돌리기 위해 Resume 작업을 수행한다.
4. Save State 파일이 없는 경우 VM은 전원이 꺼져 있는 상태로 돌아간다.

:
Posted by 커널64
2009. 8. 27. 22:14

SCVMM 2008 R2 RTM !!! SystemCenter2009. 8. 27. 22:14

:
Posted by 커널64

[증상]
Windows 2000을 SCVMM으로 P2V 진행 후 SCVMM 관리 콘솔에서 확인 시 CPU 사용량이 매우 높고(90% 가량) 시스템의 성능이 잘 나오지 않는 경우

[원인]
원본 머신이 다중 프로세서를 가지는 Windows 2000 이었던 경우 시스템 종류가  'ACPI 다중 프로세서 PC'인데 P2V 수행 후 가상화된 상황에서는 CPU를 하나만 지원하게 되나 여전히 시스템 종류가 'ACPI 다중 프로세서 PC'로 되어 있기 때문이다.

[해결]
시스템 종류를 'ACPI 단일 프로세서 PC'로 변경한다.

:
Posted by 커널64
2009. 5. 24. 11:29

Linux Integration Components for Hyper-V Virtualization2009. 5. 24. 11:29

Linux Integration Components for Hyper-V
리눅스 게스트 운영체제에서 마우스 드라이버 사용 (VSC)

1. 먼저 리눅스 ICS(Hyper-V)가 설치되어 있어야 한다.
2. Root로 로그인
3. 첨부된 iso 파일 다운
4. iso 파일을 Mount하고 파일들을 복사한다.
5. 복사한 위치로 이동해 ./setup.pl inputdriver 실행해 설치

:
Posted by 커널64
다음 레지스트리 키를 열어서 0000으로 시작하는 키 중에서 DriverDesc를 확인해 물리적인 NIC를 확인 후
하위 키 Ndi를 참고해 키 값을 변경한다.

HKLM\System\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}

:
Posted by 커널64
2009. 5. 11. 18:58

2009년 4월 14일 SCVMM 2008 Hotfix Rollup Virtualization2009. 5. 11. 18:58

List of issues that are fixed

Issue 1

When you migrate VMware virtual machines, the resource pools that are associated with the virtual machines are changed.

Issue 2

Hyper-V virtual machines have a status of "unsupported cluster configuration" if a node in a Windows Server 2008 Failover Cluster does not respond or has been restarted.

Issue 3

Differencing disks are lost when the following conditions are true:
  • You migrate a virtual machine from a Virtual Server host.
  • Multiple virtual machines share the same parent virtual hard disk file.

Issue 4

The agent status is not updated for Windows Server 2008 Failover Cluster nodes.

Issue 5

Hyper-V virtual machines in a Windows Server 2008 Failover Cluster have a status of "unsupported cluster configuration" if the cluster has a resource that has an MSCluster_Property_Resource_Cluster_Extension_XP_Type type. This resource type is typically used by storage replication software.

Issue 6

If you add a Virtual Center server by using an account that is a member of the Enterprise Admins group, you receive the following error message when the refresh host job runs:
Error (2951) Virtual Machine Manager cannot complete the VirtualCenter action on server servername.domainname.com because of the following error: Login failed due to a bad username or password. (InvalidLogin).
This hotfix rollup also includes the fixes that are documented in the following Virtual Machine Manager 2008 update:
959596  (http://support.microsoft.com/kb/959596/ ) Description of the System Center Virtual Machine Manager 2008 update to address physical to virtual (P2V) issues
:
Posted by 커널64

iSCSI 초기자 설정
iscsicli QAddTargetPortal <Portal IP Address>
iscsicli ListTargets
iscsicli QloginTarget <target_iqn>
iscsicli PersistentLoginTarget <target_iqn> T * * * * * * * * * * * * * * * 0
iscsicli ListPersistentTargets
iscsicli ReportTargetMappings

모든 Vendor 허용 설정 후  자동으로 재부팅
mpclaim -r -i -a ""

:
Posted by 커널64

MED-V 서버 요구 사항

Memory 2 GB RAM or greater
Processor 2 GHz or faster
Operating system

Windows Server 2008 Standard/Enterprise Edition (x86/x64)

Database (리포트 용도) MS SQL Server 2005 Enterprise Edition SP2
MS SQL 2008 Express / Standard / Enterprise editions


SQL Server와 MED-V 서버가 별도의 서버에 설치된 경우 MED-V 서버에 다음 구성 요소 설치

Microsoft SQL server native client
http://download.microsoft.com/download/4/4/D/44DBDE61-B385-4FC2-A67D-48053B8F9FAD/sqlncli.msi
Microsoft SQL server management objects collection
http://download.microsoft.com/download/4/4/D/44DBDE61-B385-4FC2-A67D-48053B8F9FAD/SQLServer2005_XMO.msi
Feature Pack for Microsoft SQL Server
http://www.microsoft.com/downloads/details.aspx?FamilyId=D09C1D60-A13C-4479-9B91-9E8B9D835CDC&displaylang=en


MED-V 클라이언트 및 관리 콘솔 요구 사항

Memory Minimum: 1 GB, Recommended: 2 GB
Free disk space 10 GB
Operating System Windows XP SP2/3 (Pro, Home), Vista SP1 (Enterprise, Home Basic, Home Premium, Business, Ultimate) 32 bit
Web browser Microsoft Internet Explorer 7.0
File System NTFS
- .NET Framework 2.0, 2.0 SP1 필요


백신이나 백업 프로그램에서 다음 확장자에 대한 작업이 있을 경우 성능에 영향을 미칠 수 있음

(예외 항목 추가 권장)
*.VHD, *.VUD, *.VSV, *.CKM, *.VMC, *.INDEX


가상 머신의 생성 및 관리 과정

1. Microsoft Virtual PC에서 가상 이미지 생성
- 지원되는 운영체제: Windows XP Service Pack 2/3, Windows 2000 Service Pack 4
- Windows XP의 경우 Volume License 버전이어야 한다.
2. MED-V 작업 공간(Workspace) 구성
- 가상 이미지에 설치된 응용 프로그램 목록을 생성(사용자가 사용하게 될)
- 필요에 따라 가상 머신 탐색기에서 보여질 웹 사이트 구성
- 작업 공간을 액티브 디렉터리의 사용자와 그룹에 할당
3. MED-V 관리 콘솔을 통해 이미지를 테스트하고 이미지를 MED-V 이미지 저장소에 저장
4. MED-V 클라이언트 및 Virtual PC 2007 배포
- SMS 솔루션이나 Self-service website, CD/DVD 미디어 등으로 배포
5. 가상 이미지 배포
- 네트워크를 통해 배포: MED-V 클라이언트가 설치되면 HTTP/HTTPs를 이용해 전송된다. Trim Transfer 기술 사용(블록 단위로 변경된 부분만 전송)
- SMS 솔루션을 이용한 배포 (예: SCCM 2007, SMS 2003)
- 이동식 미디어를 이용한 배포 (예: DVD)
6. 사용자 사용
- 사용자는 MED-V 관리 서버에 인증을 받고 사용할 준비를 하게 된다. 첫 번째 온라인 인증 후에는 관리자의 설정에 따라 오프라인 사용도 가능해진다.
7. 작업 공간 관리 및 업데이트
- 관리 콘솔을 이용해 정책을 업데이트하거나 기존 사용자의 사용 권한을 제거하는 등의 작업을 수행한다.
- 관리자에 의해 작업 공간이 업데이트 되면 사용자가 온라인일 때 자동으로 배포된다.
8. 클라이언트 모니터링
- MED-V 관리 콘솔을 이용해 사용자에 대한 로그를 확인할 수 있다. (Report Database)

:
Posted by 커널64
2009. 5. 7. 08:46

Windows 2000 Server P2V Fail (ID : 3128) Virtualization2009. 5. 7. 08:46

ID: 3128
Details: Unknown error (0x80041001)

다음 두 개의 클래스에 대한 WMI 쿼리가 실패하면서 에이전트가 죽는 현상으로
Private Hotfix 적용 후 CIMWIN32 provider에 대한 Recompile이 필요하다.
Win32_SCSIController, Win32_SCSIControllerDevice

The process that runs a WMI statement stops responding on a Windows 2000 Service Pack 3 or later-based computer
http://support.microsoft.com/default.aspx?scid=kb;EN-US;889405


c:\winnt\system32\wbem 폴더로 이동
명령 실행 : mofcomp cimwin32.mfl
명령 실행 : mofcomp cimwin32.mof
:
Posted by 커널64
2009. 4. 21. 15:03

P2V 시 BITS 포트 변경(기본값: 443) Virtualization2009. 4. 21. 15:03

SCVMM의 P2V 시 BITS 포트 변경

1. HKLM\Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings
2. DWORD 값 생성, P2VBITSTcpPort
3. 해당 DWORD의 값을 원하는 포트로 설정
4. Virtual Machine Manager 서비스 재시작

:
Posted by 커널64