달력

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

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

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

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

:
Posted by 커널64

Task Scheduler를 이용해 VMWare와 비슷한 기능을 구현해보세~!
1. VM 종료
2. 메모리 크기/CPU 개수 수정
   (밤 시간 대에 특정 작업에 리소스를 더 준다던지...)
3. VM 이동
   (리소스 적은 서버로 몰고...)
4. VM 가동

머... 중간 중간에 제대로 넘어 갔는지... 혹시 넘어가다 실패했는지..에 대해 체크하는 부분이
더 필요하겠지만 괜찮은(?) 시도인 듯...

Powershell 실행
%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\Microsoft System Center Virtual Machine Manager 2008\bin\cli.psc1" -NoExit -Command <Script File Full Path>

###Script###
$VMMServer = Get-VMMServer -ComputerName <VMM Server Name>
$VMHost = Get-VMHost -ComputerName <Destination Hyper-V Host Name>
$VM = Get-VM -Name <VM Name>
Shutdown-VM -VM $VM
Set-VM -VM $VM -MemoryMB <Memory Size(MB)>
Move-VM -VMHost $VMHost -VM $VM
Start-VM -VM $VM
EXIT

:
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
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

스크립트로 만들어야겠다.. 너무 많다...;;;

-Show IP Configration-
netsh interface ipv4 show config

-Config IP Address-
netsh interface ipv4 set address name="로컬 영역 연결" static <IP> <Subnet Mask> <G/W>

-Add DNS Server IP Address-
netsh interface ipv4 add dnsserver "로컬 영역 연결" <DNS Server IP>

-Join Domain-
netdom join <HostName> /Domain:<DomainName> /UserD:<DomainUser> /PasswordD:*

-Rename Computer-
netdom renamecomputer <HostName> /NewName:<NewHostName> /UserD:<DomainUser> /PasswordD:*

-Enable RDP(Disable Secure Level)-
Cscript c:\windows\system32\scregedit.wsf /ar 0
Cscript c:\windows\system32\scregedit.wsf /cs 0

-Configure Firewall-
Netsh advfirewall firewall set rule group="원격 관리" new enable=yes
Netsh advfirewall firewall set rule group="WMI(Windows Management Instrumentation)" new enable=yes
Netsh advfirewall firewall set rule group="파일 및 프린터 공유" new enable=yes
Netsh advfirewall firewall set rule group="원격 볼륨 관리" new enable=yes
Netsh advfirewall firewall set rule group="원격 이벤트 로그 관리" new enable=yes
Netsh advfirewall firewall set rule group="원격 서비스 관리" new enable=yes
Netsh advfirewall firewall set rule group="Windows 방화벽 원격 관리" new enable=yes
Netsh advfirewall firewall set rule group="핵심 네트워킹" new enable=yes
Netsh advfirewall firewall set rule group="원격 데스크톱" new enable=yes

-Allow Remote Device Management-
mmc > 그룹 정책 개체 편집기 > Server Core >
컴퓨터 구성 > 관리 템플릿 > 시스템 > 장치 설치 > PnP 인터페이스에 대한 원격 액세스 허용

-Install Features-
start /w ocsetup FailoverCluster-Core
start /w ocsetup MultipathIo
start /w ocsetup TelnetClient

-Install Hyper-V Role-
Start /w ocsetup Microsoft-Hyper-V

-Windows Activation-
Slmgr.vbs -ipk <Product Key> <- Input Product Key
Slmgr.vbs -ato <- Activation
Slmgr.vbs -dlv <- Show Activation Status

:
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

SCVMM 2008 설치 후 Hyper-V 호스트를 등록하면 Need Attention 경고와 함께 Upgrade available로 나타나는 경우 해당 Hyper-V 호스트에 다음 업데이트를 적용하면 해결된다.

KB956589 - KO EN
KB956774 - KO EN



Hyper-V RTM
KB950050 - KO
KB950050 - EN

:
Posted by 커널64

지원되는 운영 체제

P2V 변환을 수행하려면 원본 컴퓨터에 다음의 지원되는 운영 체제 중 하나가 있어야 합니다.

  • Windows Server 2008(32비트)
  • Windows Server 2008(64비트)
  • Windows Server 2003(32비트) SP1 이상
  • Windows Server 2003(64비트) SP1 이상
  • Windows 2000 Server SP4 이상(오프라인 P2V만 해당)
  • Windows 2000 Advanced Server SP4 이상(오프라인 P2V만 해당)
  • Windows XP Professional(32비트) SP2 이상
  • Windows XP Professional(64비트) SP2 이상
  • Windows Vista 서비스 팩 1(32비트)
  • Windows Vista SP1 이상(64비트)



Online P2V 과정

1. VMM은 원본 컴퓨터의 하드웨어 및 소프트웨어 설정을 가져오기 위해 원본 컴퓨터에 VMM Agent를 설치한다.
변환이 완료되면 Agent는 제거된다.

2. VMM은 다음과 같은 방법을 통해 원본 컴퓨터의 하드웨어와 소프트웨어 설정을 가져온다.
VMM Agent는 하드웨어, 소프트웨어, 서비스, 핫픽스, 볼륨(파일 시스템, 볼륨 타입, 섹터) 정보들을 수집한다.
그 다음 VMM Agent는 이 정보들을 XML 파일의 형태로 VMM 데이터베이스로 내보낸다.
VMM은 원본 컴퓨터의 OS 및 구성에 대해 가상화가 가능한지를 판단하고 가상화가 가능하다고 판단되면 VMM은 필요한 패치 정보를 확인하고 다운로드한다.

3. 이미징 과정
VSS에 의해 각 NTFS 볼륨이 캡춰된다. 만약 대상 VHD 파일이 동적 확장으로 설정되어 있다면 데이터 부분만 캡춰하고 빈공간은 캡춰하지 않는다.
캡춰된 데이터는 원본 컴퓨터에서 BITS를 실행 중인 VMM 호스트로 전송된다.
각각의 물리적인 볼륨은 별도의 VHD 파일들로 변환된다.

4. 수정 과정
VMM은 가상 하드 디스크와 가상 머신의 생성을 준비한다.

5. 가상 머신 생성 과정
VMM은 가상 머신을 생성하고 하드 디스크와 네트워크 어뎁터, CD-ROM, 메모리를 구성한다.


Offline P2V 과정
Offline P2V는 VSS를 지원하지 않는 윈도우 2000 서버의 변환에 사용되는 옵션이다. Online P2V와 달리 만약 원본 컴퓨터에 Windows PE가 지원하지 않는 드라이버가 있다면 해당 드라이버를 제공해야만 한다.

1. VMM Agent 설치. VMM은 원본 컴퓨터에 VMM Agent를 설치한다.

2. VMM Agent는 원본 컴퓨터에 Windows PE를 설치하고 부트 레코드를 변경한다. 이 과정을 통해 원본 컴퓨터는 기본 운영체제가 아닌 Windows PE로 부팅하게 된다.

3. VMM은 물리적인 디스크의 데이터를 전송한다. 이 과정에서 VSS에서와 같은 스냅샷은 존재하지 않는다.

4. 남은 과정은 Online P2V의 수정 과정, 가상 머신 생성과정과 동일하게 진행된다.

:
Posted by 커널64