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

1  2  3  4  5  [6]  7  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
13793정성태10/28/20245149C/C++: 183. C++ - 윈도우에서 한글(및 유니코드)을 포함한 콘솔 프로그램을 컴파일 및 실행하는 방법
13792정성태10/27/20244633Linux: 99. Linux - 프로세스의 실행 파일 경로 확인
13791정성태10/27/20244901Windows: 267. Win32 API의 A(ANSI) 버전은 DBCS를 사용할까요?파일 다운로드1
13790정성태10/27/20244621Linux: 98. Ubuntu 22.04 - 리눅스 커널 빌드 및 업그레이드
13789정성태10/27/20244914Linux: 97. menuconfig에 CONFIG_DEBUG_INFO_BTF, CONFIG_DEBUG_INFO_BTF_MODULES 옵션이 없는 경우
13788정성태10/26/20244459Linux: 96. eBPF (bpf2go) - fentry, fexit를 이용한 트레이스
13787정성태10/26/20244972개발 환경 구성: 730. github - Linux 커널 repo를 윈도우 환경에서 git clone하는 방법 [1]
13786정성태10/26/20245218Windows: 266. Windows - 대소문자 구분이 가능한 파일 시스템
13785정성태10/23/20244985C/C++: 182. 윈도우가 운영하는 2개의 Code Page파일 다운로드1
13784정성태10/23/20245248Linux: 95. eBPF - kprobe를 이용한 트레이스
13783정성태10/23/20244860Linux: 94. eBPF - vmlinux.h 헤더 포함하는 방법 (bpf2go에서 사용)
13782정성태10/23/20244621Linux: 93. Ubuntu 22.04 - 커널 이미지로부터 커널 함수 역어셈블
13781정성태10/22/20244801오류 유형: 930. WSL + eBPF: modprobe: FATAL: Module kheaders not found in directory
13780정성태10/22/20245549Linux: 92. WSL 2 - 커널 이미지로부터 커널 함수 역어셈블
13779정성태10/22/20244845개발 환경 구성: 729. WSL 2 - Mariner VM 커널 이미지 업데이트 방법
13778정성태10/21/20245671C/C++: 181. C/C++ - 소스코드 파일의 인코딩, 바이너리 모듈 상태의 인코딩
13777정성태10/20/20244952Windows: 265. Win32 API의 W(유니코드) 버전은 UCS-2일까요? UTF-16 인코딩일까요?
13776정성태10/19/20245269C/C++: 180. C++ - 고수준 FILE I/O 함수에서의 Unicode stream 모드(_O_WTEXT, _O_U16TEXT, _O_U8TEXT)파일 다운로드1
13775정성태10/19/20245492개발 환경 구성: 728. 윈도우 환경의 개발자를 위한 UTF-8 환경 설정
13774정성태10/18/20245196Linux: 91. Container 환경에서 출력하는 eBPF bpf_get_current_pid_tgid의 pid가 존재하지 않는 이유
13773정성태10/18/20244883Linux: 90. pid 네임스페이스 구성으로 본 WSL 2 + docker-desktop
13772정성태10/17/20245160Linux: 89. pid 네임스페이스 구성으로 본 WSL 2 배포본의 계층 관계
13771정성태10/17/20245065Linux: 88. WSL 2 리눅스 배포본 내에서의 pid 네임스페이스 구성
13770정성태10/17/20245337Linux: 87. ps + grep 조합에서 grep 명령어를 사용한 프로세스를 출력에서 제거하는 방법
13769정성태10/15/20246114Linux: 86. Golang + bpf2go를 사용한 eBPF 기본 예제파일 다운로드1
13768정성태10/15/20245396C/C++: 179. C++ - _O_WTEXT, _O_U16TEXT, _O_U8TEXT의 Unicode stream 모드파일 다운로드2
1  2  3  4  5  [6]  7  8  9  10  11  12  13  14  15  ...