Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

리눅스 Integration Services 버전 업그레이드 하는 방법

결과적으로 제가 사용하고 있는 Ubuntu 리눅스 버전의 LIS는 최신 버전이 없으므로 그냥 몇 가지 시도해 본 기록을 남깁니다.




윈도우 서버 2008에서 2012로 넘어오는 경우 Hyper-V도 함께 업그레이드되고, 이와 박자를 맞추기 위해 Integration Services 역시 버전이 높아졌습니다. 그래서, 기존 VM을 윈도우 서버 2012의 Hyper-V에서 사용하면 이벤트 로그에 다음과 같은 경고가 뜹니다.

A storage device in '...' loaded but has a different version from the server. Server version 6.0 Client version 4.2 (Virtual machine ID ...). The device will work, but this is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.


Networking driver in ... loaded but has a different version from the server. Server version 5.0 Client version 3.2 (Virtual machine ID ...). The device will work, but this is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.


대상 VM이 윈도우 운영체제라면 간단하게 업그레이드가 되는데, 리눅스라면 사정이 다릅니다. 리눅스의 업그레이드는 다음의 경로에서 iso 파일과 설치 방법이 기술된 pdf 파일을 다운로드 받아서 진행해야 하는데요.

Linux Integration Services Version 3.5 for Hyper-V
; http://www.microsoft.com/en-us/download/details.aspx?id=41554

LIS 3.5는 다음의 Hyper-V 환경을 지원하고,

  • Windows Server 2008 R2 Standard, Windows Server 2008 R2 Enterprise, and Windows Server 2008 R2 Datacenter
  • Microsoft Hyper-V Server 2008 R2
  • Windows 8 Pro
  • Windows 8.1 Pro
  • Windows Server 2012
  • Windows Server 2012 R2
  • Microsoft Hyper-V Server 2012
  • Microsoft Hyper-V Server 2012 R2

VM의 경우 레드햇과 CentOS만 공식 지원합니다.

  1. Red Hat Enterprise Linux (RHEL) 5.5-5.8, 6.0-6.3 x86 and x64
  2. CentOS 5.5-5.8, 6.0-6.3 x86 and x64

다음은 pdf에 실린 업그레이드 단계를 발췌했습니다.

Upgrading to Linux Integration Services 3.5

1. Open Hyper-V Manager.

2. In Hyper-V Manager, configure LinuxICv35.ISO (located in the directory where you extracted the downloaded files) as a virtual CD/DVD drive on the virtual machine.

3. After it is configured, LinuxICv35.ISO should appear mounted under /media/CDROM if automount is enabled. If automount is not enabled, then use the following command to mount the ISO file:

# mount /dev/cdrom /media

4. As the root user, change to the directory relevant to your distribution:

For RHEL / CentOS 5.7:
# cd /media/CDROM/RHEL57 

For RHEL / CentOS 5.8:
# cd /media/CDROM/RHEL58 

For RHEL / CentOS 6.0, 6.1, 6.2:
# cd /media/CDROM/RHEL6012 

For RHEL / CentOS 6.3:
# cd /media/CDROM/RHEL63

5. Run the following command to upgrade the Hyper-V-specific (or “synthetic”) drivers. A reboot is required after upgrade.

# ./upgrade.sh
# reboot

우분투의 경우에는 다음의 자료에서 소개하고 있는데요.

Ubuntu virtual machines on Hyper-V
; https://docs.microsoft.com/ko-kr/previous-versions/windows/server/dn531029(v=ws.12)

우선, 자신이 이용하고 있는 리눅스 운영체제의 상세 버전은 이렇게 구할 수 있고

jeong@ubuntux64:~$ cat /proc/version
Linux version 3.2.0-27-generic (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012

대상 버전을 지원하는 LIS가 있는지 확인하고, 이어서 업그레이드가 필요한지 여부를 modinfo 명령을 통해 버전을 구하는 것으로 알 수 있습니다.

jeong@ubuntux64:~$ modinfo hv_vmbus
filename:       /lib/modules/3.2.0-27-generic/kernel/drivers/hv/hv_vmbus.ko
version:        3.1
license:        GPL
srcversion:     6B9EB06EA40A8C383F50C1A
alias:          acpi*:VMBus:*
alias:          acpi*:VMBUS:*
depends:
intree:         Y
vermagic:       3.2.0-27-generic SMP mod_unload modversions

3.1이군요. 현재 최신 LIS는 3.5까지 나왔지만 이미 언급한대로 우분투의 경우 아직 지원이 안되고 있습니다.

혹시 모르니, 우분투에서 가끔씩 다음의 명령을 통해 LIS를 업그레이드할 수는 있습니다. (물론 오늘자 기준으로 아직 3.1이 최신입니다.)

# sudo apt-get update
# sudo apt-get install hv-kvp-daemon-init

좀 더 자세한 설명은 이걸 참조하시고.

How to install Hyper-V Integration Services (ICs) in Ubuntu 12.04 LTS
; http://baudlabs.com/how-to-install-hyper-v-integration-services-in-ubuntu-12-04-lts/



[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 7/17/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 



2014-09-18 04시14분
- LIS 3.5가 아닌, 최신 버전의 커널을 (Ubuntu의 경우 3.13.x) 사용하실 것을 추천합니다.
- Ubuntu Server 12.04의 경우, linux-tools-3.11.x 패키지의 hv_kvp, hv_vss 바이너리를 그대로 사용하면 됩니다.
(http://docs.vagrantup.com/v2/hyperv/boxes.html 참고)
- 이벤트 로그의 경고 메시지는 그냥 무시하는 것이 맘 편하실 수 있습니다. http://support.microsoft.com/kb/2956569/en-us
- Ubuntu Server 14.04(64-bit), CentOS 7.0 와 같이 최신 배포본 사용하시는 것이 가장 편한 방법입니다.
GiSeong Eom

... [61]  62  63  64  65  66  67  68  69  70  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
12117정성태1/15/202010835디버깅 기술: 159. C# - 디버깅 중인 프로세스를 강제로 다른 디버거에서 연결하는 방법파일 다운로드1
12116정성태1/15/202011303디버깅 기술: 158. Visual Studio로 디버깅 시 sos.dll 확장 명령어를 (비롯한 windbg의 다양한 기능을) 수행하는 방법
12115정성태1/14/202011079디버깅 기술: 157. C# - PEB.ProcessHeap을 이용해 디버깅 중인지 확인하는 방법파일 다운로드1
12114정성태1/13/202012925디버깅 기술: 156. C# - PDB 파일로부터 심벌(Symbol) 및 타입(Type) 정보 열거 [1]파일 다운로드3
12113정성태1/12/202013557오류 유형: 590. Visual C++ 빌드 오류 - fatal error LNK1104: cannot open file 'atls.lib' [1]
12112정성태1/12/202010101오류 유형: 589. PowerShell - 원격 Invoke-Command 실행 시 "WinRM cannot complete the operation" 오류 발생
12111정성태1/12/202013395디버깅 기술: 155. C# - KernelMemoryIO 드라이버를 이용해 실행 프로그램을 숨기는 방법(DKOM: Direct Kernel Object Modification) [16]파일 다운로드1
12110정성태1/11/202011985디버깅 기술: 154. Patch Guard로 인해 블루 스크린(BSOD)가 발생하는 사례 [5]파일 다운로드1
12109정성태1/10/20209887오류 유형: 588. Driver 프로젝트 빌드 오류 - Inf2Cat error -2: "Inf2Cat, signability test failed."
12108정성태1/10/20209947오류 유형: 587. Kernel Driver 시작 시 127(The specified procedure could not be found.) 오류 메시지 발생
12107정성태1/10/202010877.NET Framework: 877. C# - 프로세스의 모든 핸들을 열람 - 두 번째 이야기
12106정성태1/8/202012263VC++: 136. C++ - OSR Driver Loader와 같은 Legacy 커널 드라이버 설치 프로그램 제작 [1]
12105정성태1/8/202010961디버깅 기술: 153. C# - PEB를 조작해 로드된 DLL을 숨기는 방법
12104정성태1/7/202011638DDK: 9. 커널 메모리를 읽고 쓰는 NT Legacy driver와 C# 클라이언트 프로그램 [4]
12103정성태1/7/202014375DDK: 8. Visual Studio 2019 + WDK Legacy Driver 제작- Hello World 예제 [1]파일 다운로드2
12102정성태1/6/202011964디버깅 기술: 152. User 권한(Ring 3)의 프로그램에서 _ETHREAD 주소(및 커널 메모리를 읽을 수 있다면 _EPROCESS 주소) 구하는 방법
12101정성태1/5/202011292.NET Framework: 876. C# - PEB(Process Environment Block)를 통해 로드된 모듈 목록 열람
12100정성태1/3/20209326.NET Framework: 875. .NET 3.5 이하에서 IntPtr.Add 사용
12099정성태1/3/202011651디버깅 기술: 151. Windows 10 - Process Explorer로 확인한 Handle 정보를 windbg에서 조회 [1]
12098정성태1/2/202011229.NET Framework: 874. C# - 커널 구조체의 Offset 값을 하드 코딩하지 않고 사용하는 방법 [3]
12097정성태1/2/20209770디버깅 기술: 150. windbg - Wow64, x86, x64에서의 커널 구조체(예: TEB) 구조체 확인
12096정성태12/30/201911746디버깅 기술: 149. C# - DbgEng.dll을 이용한 간단한 디버거 제작 [1]
12095정성태12/27/201913185VC++: 135. C++ - string_view의 동작 방식
12094정성태12/26/201911367.NET Framework: 873. C# - 코드를 통해 PDB 심벌 파일 다운로드 방법
12093정성태12/26/201911391.NET Framework: 872. C# - 로딩된 Native DLL의 export 함수 목록 출력파일 다운로드1
12092정성태12/25/201910810디버깅 기술: 148. cdb.exe를 이용해 (ntdll.dll 등에 정의된) 커널 구조체 출력하는 방법
... [61]  62  63  64  65  66  67  68  69  70  71  72  73  74  75  ...