Microsoft MVP성태의 닷넷 이야기
VS.NET IDE: 24. [VPC] 타이머 동기화 기능 제거 [링크 복사], [링크+제목 복사],
조회: 21721
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Virtual PC 또는 Virtual Server를 운영해 보시면, 해당 Guest OS의 시간 변경이 안 된다는 것을 알 수 있습니다. 변경 시도는 되지만, 잠깐 동안 변경된 듯 보이다가 원래의 시간(Host OS의 시간)으로 돌아가 버립니다.

가끔은, 시간에 따른 application 테스트를 할 일도 있기 때문에 그러한 동작이 달갑지 않은 때가 있는데요. 현재로서는 해당 VPC의 "Configuration"에서 그러한 설정에 대한 제어는 지원하지 않고, 대신에 다음과 같은 2가지 방법으로 변경할 수 있습니다.

1. VMC 파일 편집
해당 파일이 XML 파일이므로 메모장 등에서 열어서 다음과 같은 부분을 편집하면 됩니다.
아래에서 /host_time_sync/enabled의 값을 기존값 true에서 false로 바꿔주면 되지요.
그 외에, VMC 파일의 여러 가지 설정값들을 한 번쯤 눈여겨 보는 것도 좋을 듯 싶습니다.

    <integration>
        <microsoft>
            <folder_sharing>
                <enabled type="boolean">false</enabled>
                <load_allowed type="boolean">false</load_allowed>
            </folder_sharing>
            <heartbeat>
                <failure_attempts type="integer">12</failure_attempts>
                <failure_interval type="integer">10</failure_interval>
                <rate type="integer">10</rate>
                <time type="integer">60</time>
            </heartbeat>
            <host_time_sync>
                <enabled type="boolean">false</enabled>
                <frequency type="integer">15</frequency>
                <threshold type="integer">10</threshold>
            </host_time_sync>
            <mouse>
                <allow type="boolean">true</allow>
            </mouse>
            <version>
                <guest_os>
                    <build_number type="string">5.02.3790</build_number>
                    <long_name type="string">Windows Server™ 2003, Enterprise Edition</long_name>
                    <short_name type="string">Windows Server™ 2003, Enterprise Edition</short_name>
                </guest_os>
                <additions_number type="string">013206</additions_number>
            </version>
        </microsoft>
    </integration>

2. Virtual Server의 경우, 제공되는 COM Interface를 이용해서 변경할 수 있습니다. IVMGuestOS 인터페이스를 얻은 후에, IVMGuestOS::put_IsHostTimeSyncEnabled 메서드에 VARIANT_FALSE 값을 전달해 주는 것이지요. 인터페이스를 통한 프로그램적으로 접근하는 것의 장점이라면, 향후 VMC 파일의 내부 구조가 변경된다 해도 해당 기능이 정상적으로 적용된다는 것을 보증할 수 있는 정도일 것입니다.








[최초 등록일: ]
[최종 수정일: 6/25/2021]

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

비밀번호

댓글 작성자
 




... 151  152  153  154  155  156  157  158  159  160  161  162  [163]  164  165  ...
NoWriterDateCnt.TitleFile(s)
1064정성태6/11/201131572웹: 22. Visual Studio 2010에서 CSS 3 인텔리센스(intellisense) 지원하는 방법 [1]
1063정성태6/10/201133354웹: 21. Sysnet 웹 사이트의 CSS 2.1 변환 기록 [1]
1062정성태6/9/201133579웹: 20. Sysnet 웹 사이트의 HTML5 변환 기록 [1]
1061정성태6/8/201131796오류 유형: 125. 인터넷 익스플로러 - 개발자 도구에서 정지점(BP: Breakpoint) 설정이 안 되는 경우 [1]
1060정성태6/8/201128463VC++: 51. PHP 모듈의 F5 디버깅
1059정성태6/6/201133704VC++: 50. PHP 모듈 - php_mysql 빌드하는 방법파일 다운로드1
1058정성태6/5/201137234개발 환경 구성: 124. .NET 개발자가 처음 해보는 PHP + MySQL 연동 [2]
1057정성태6/4/201134734VC++: 49. 소스 코드로부터 php5apache2_2.dll 생성하는 방법파일 다운로드1
1056정성태6/2/201133010VC++: 48. 윈도우에서 Apache Module - Content Handler 컴파일파일 다운로드1
1055정성태6/1/201130248오류 유형: 124. MVC 프로젝트의 Site.Master 관련 오류 정리
1054정성태5/31/201133788.NET Framework: 220. ASP.NET MVC Web Site 프로젝트 - 단위 테스트 작성파일 다운로드1
1053정성태5/31/201136623VC++: 47. Apache Module에 대한 'F5 디버그 (Start with debugging)' [2]
1052정성태5/30/201134148.NET Framework: 219. ASP.NET MVC Web Site 프로젝트 구성하기파일 다운로드1
1051정성태5/28/201142696VC++: 46. 윈도우에서 Apache Module 컴파일 (VC++)파일 다운로드1
1050정성태5/28/201128795오류 유형: 123. Firebird - Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.
1049정성태5/28/201134521.NET Framework: 218. WCF REST 서비스 - 웹 브라우저 측 Ajax 호출 캐시 [1]
1048정성태5/27/201136335개발 환경 구성: 123. Apache 소스를 윈도우 환경에서 빌드하기
1047정성태5/27/201130097.NET Framework: 217. Firebird ALinq Provider - 날짜 필드에 대한 낙관적 동시성 쿼리 오류
1046정성태5/26/201135004.NET Framework: 216. 라이선스까지도 뛰어넘는 .NET Profiler [5]
1045정성태5/24/201135858.NET Framework: 215. 닷넷 System.ComponentModel.LicenseManager를 이용한 라이선스 적용 [1]파일 다운로드1
1044정성태5/24/201136623오류 유형: 122. zlib 빌드 오류 - inflate.obj : error LNK2001: unresolved external symbol _inflate_fast
1043정성태5/24/201136389.NET Framework: 214. 무료 Linq Provider - DbLinq를 이용한 Firebird 접근파일 다운로드1
1042정성태5/23/201142009개발 환경 구성: 122. PHP 소스를 윈도우 환경에서 빌드하기
1041정성태5/22/201132941.NET Framework: 213. Linq To SQL - ALinq Provider를 이용하여 Firebird 사용파일 다운로드1
1040정성태5/21/201143462개발 환경 구성: 121. .NET 개발자가 처음 설치해 본 Apache + PHP [2]
1039정성태5/17/201136292.NET Framework: 212. Firebird 데이터베이스와 ADO.NET [2]파일 다운로드1
... 151  152  153  154  155  156  157  158  159  160  161  162  [163]  164  165  ...