'Hyper-V'에 해당되는 글 2건

  1. 2013.06.04 WIM2VHD for Windows 8 and Windows Server 2012 1
  2. 2013.01.12 Linux Integration Services for Hyper-V

1. set-executionpolicy unrestricted



2. .\convert-WindowsImage.ps1 -ShowUI




출처 : 

http://spiffy.sg/general/wim2vhd-for-windows-8-and-windows-server-2012/ 


Download :


Convert-WindowsImage.ps1


'Hyper-V' 카테고리의 다른 글

Linux Integration Services for Hyper-V  (0) 2013.01.12
Posted by no1ss
,

Linux Integration Services Version v3.3 for Hyper-V

http://www.microsoft.com/ko-kr/download/details.aspx?id=29991

Linux Integration Services Version v3.4 for Hyper-V

http://www.microsoft.com/ko-kr/download/details.aspx?id=34603


콘솔 모드에서

# mount /dev/cdrom /media

# cd /media

# ./install.sh


에러가 발생하면


# rpm -Uvh --nodeps kmod-microsoft-hyper-v-rhel63.3-4.20120605.x86_64.rpm

# rpm -Uvh --nodeps microsoft-hyper-v-rhel63.3-4.20120605.x86_64.rpm


reboot


# vi /etc/sysconfig/network

NETWORKING=yes


# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

ONBOOT=yes

BOOTPROTO=dhcp


# ifup eth0




출처 http://gubok.tistory.com/328

이렇게 생성된 guestOS 의 VHD 파일을 이용해서 제2, 제3의 가상서버를 만들고자 할때 CentOS5.x와 달리 6.x는 네트워크 설정이 제대로 되지 않는다. 이는 centOS 6.x 부터 달라진 부팅과정때문인데, 자세한 내용은 본인도 리눅스 전분가가 아니라서 잘 모르겠다.

다음의 관련 파일을 수정해 주어야 한다.

 

/etc/udev/rules.d/70-persistent-net.rules

 

이 파일을 열어보면 초기 부팅과정에서 찾게되는 네트워 이더넷카드에 대한 정보가 자동으로 세팅되는데, 이부분을 변경해주어야 한다. 기본적으로 eth0가 이미 있기 때문에 시스템은 eth1에 대한 부분으로 자동 생성하려한다. 하지만 eth1에 대한 부분으 없으므로 네트워크 설정이 되지 않는다.

혹시 두개의 이더넷 정보가 존재한다면 첫번째 정보는 삭제한다. 그리고 두번째 이더넷 정보를 eth1에서 eth0로 변경해준다.

 

위 파일중에 ATTR{address} 부분이 해당 가상서버의 실제 네트워크 카드의 맥어드레스를 나타낸다.

win2008 가상서버가 변경되었다면 이부분도 변경된 가상서버 맥 어드레스에 맞게 수정한다.

 

/etc/sysconfig/network-scripts/ifcfg-eth0 파일을 열어서 맥어드레스 부분은 지워준다.

 

저장하고 재부팅한다면 이후부터 네트웍이 잡힐것이다.


'Hyper-V' 카테고리의 다른 글

WIM2VHD for Windows 8 and Windows Server 2012  (1) 2013.06.04
Posted by no1ss
,