Microsoft MVP성태의 닷넷 이야기
Windows: 61. 윈도우 서버 2012 - Active Directory 서버 마이그레이션 [링크 복사], [링크+제목 복사],
조회: 24399
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 4개 있습니다.)

윈도우 서버 2012 - Active Directory 서버 마이그레이션


AD 먼저 마이그레이션하는 것이 옳겠다 싶어서 먼저 진행을 해봤는데, 마법사 화면에서 다음과 같은 경고를 내면서 진행을 하지 않았습니다.

Before continuing, make sure the app vendors support your applications on Windows Server 2012. Follow their specific recommendations before and after Windows installs. To make sure your app is compatible and to download tools and documentation, go to http://go.microsoft.com/fwlink/?LinkId=243105

Important: If the software isn't compatible with Windows Server 2012 or if the app vendor doesn't support the app, uninstall it before you install Windows. If you don't uninstall the applications, your system won't be supported, the app might not work, and settings or other information might be lost.


Windows won't install unless each of these things is taken care of. Close Windows Setup, take care of each one, and then restart Windows Setup to continue.


Active Directory on this domain controller does not contain Windows Server 2012 ADPREP /FORESTPREP updates. See http://go.microsoft.com/fwlink/?LinkId=113955.

Installing Windows will affect the following features:


The Windows partition (C:) meets the minimum requirements for free disk space, but for best results we recommend at least 16 gigabytes (GB) of free disk space before installing. Installing Windows with minimal disk space available can reduce performance. Try using Disk Cleanup, uninstalling old programs, or moving files to another location such as a CD, DVD, or external hard drive.


지정된 링크를 눌러서 따라가니 2008 서버에서의 방법이 설명된 문서가 나왔습니다.

Prepare a Windows 2000 or Windows Server 2003 Forest Schema for a Domain Controller That Runs Windows Server 2008 or Windows Server 2008 R2
; https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc753437(v=ws.10)

그리하여, 2008 R2 CD에서 /support/adprep 폴더를 복사한 후 위의 글에 나온 대로 따라했습니다.

D:\adprep\2008r2>adprep /forestprep

ADPREP WARNING:

Before running adprep, all Windows 2000 Active Directory Domain Controllers in t
he forest should be upgraded to Windows 2000 Service Pack 4 (SP4) or later.

[User Action]
If ALL your existing Windows 2000 Active Directory Domain Controllers meet this
requirement, type C and then press ENTER to continue. Otherwise, type any other
key and press ENTER to quit.


C
Forest-wide information has already been updated.
[Status/Consequence]
Adprep did not attempt to rerun this operation.

D:\adprep\2008r2>ADPREP /domainprep
Running domainprep ...


Domain-wide information has already been updated.
[Status/Consequence]
Adprep did not attempt to rerun this operation.

하지만, 이렇게 하고 나서도 여전히 2012 설치에서는 "Active Directory on this domain controller does not contain Windows Server 2012 ADPREP /FORESTPREP updates" 오류를 지적했습니다. 음... 링크에서 제공되는 설명과 상관없이 아무래도 2012 CD의 adprep을 사용해야 되나 싶어서 다시 새롭게 복사한 후 명령을 실행했습니다.

D:\adprep\2012>adprep /forestprep
ADPREP WARNING:

Before running adprep, all Windows Active Directory Domain Controllers in the fo
rest must run Windows Server 2003 or later.

You are about to upgrade the schema for the Active Directory forest named 'testh
vpc.com', using the Active Directory domain controller (schema master) 'guestad.
testhvpc.com'.
This operation cannot be reversed after it completes.

[User Action]
If all domain controllers in the forest run Windows Server 2003 or later and you
want to upgrade the schema, confirm by typing 'C' and then press ENTER to conti
nue. Otherwise, type any other key and press ENTER to quit.


C
Current Schema Version is 47


Upgrading schema to version 56


Verifying file signature
Connecting to "guestad.testhvpc.com"
Logging in as current user using SSPI
Importing directory from file "D:\adprep\2012\sch48.ldf"
Loading entries.......................................
38 entries modified successfully.

...[생략]...

The command has completed successfully
Connecting to "guestad.testhvpc.com"
Logging in as current user using SSPI
Importing directory from file "D:\adprep\2012\PAS.ldf"
Loading entries..............
201 entries modified successfully.

The command has completed successfully
................................................................................
...[생략]...
......
Adprep successfully updated the forest-wide information.


D:\adprep\2012>ADPREP /domainprep
Adprep successfully updated the domain-wide information.


오호~~~ ^^ 이번엔 실행 결과가 다릅니다. 예상했던 대로 설치도 정상적으로 되었습니다.




기타 몇 가지 알려드리자면. 기존 버전을 덮어쓰는 설치가 아닌, '업그레이드'였는데도 'windows.old' 폴더가 생성되고 이전 윈도우의 데이터들이 모두 복사되어 있습니다. 아쉽게도 서버 버전에서는 "cleanmgr.exe"가 기본적으로 설치되어 있지 않기 때문에 폴더의 권한 해제를 명시적으로 해주어야만 삭제를 진행할 수 있습니다.

system32 폴더에 있는 파일의 권한 조정
; https://www.sysnet.pe.kr/2/0/1333

그리고, 제 경우에 이상한 문제가 하나 있었는데요. 이전 윈도우 설치 시에 "작업 스케줄러"에 등록되었던 작업이 실행되지 않는 현상이 발생했습니다. 명시적으로 "Run" 명령을 내려도 오류 메시지를 내며 실행이 안 되었는데요. 할 수 없이 그 항목을 삭제하고 다시 등록을 해준 후에야 정상적으로 동작이 되는 것을 확인할 수 있었습니다.

본문의 글에 보면 '경고'가 하나 보이는데요. '업그레이드'는 기존 윈도우가 설치된 드라이브에 16GB 정도의 여유를 권장하고 있습니다. (실제로, 약 15GB 이하에서는 설치 단계로 넘어가지 않습니다.) 비록 16GB 공간이 필요하다고는 하지만 업그레이드 후 16GB 공간이 줄어드는 것은 아닙니다. 물론 업그레이드 후 여유 공간이 줄어들긴 하는데 대부분의 용량이 "windows.old" 폴더에서 잡아먹고 있기 때문에 그 폴더를 삭제하면 예전과 비슷한 여유 공간이 남는 것을 확인할 수 있습니다.

마지막으로!
윈도우 8 업그레이드때와는 달리, 윈도우 서버 2012는 물리 PC 2대와 가상 머신 4대에 대해서 정상적으로 작업이 잘 진행되었습니다. 하지만 아는 분의 마이그레이션 경험담에 의하면, '물리 머신'의 16GB 메모리가 8GB로 인식되는 문제를 겪고 있다고 하니, 긴장을 풀어서는 안될 것 같습니다. ^^




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

[연관 글]






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

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

비밀번호

댓글 작성자
 




1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
13459정성태11/26/20232338닷넷: 2171. .NET Core 3/5+ 기반의 COM Server를 기존의 regasm처럼 등록하는 방법파일 다운로드1
13458정성태11/26/20232365닷넷: 2170. .NET Core/5+ 기반의 COM Server를 tlb 파일을 생성하는 방법(tlbexp)
13457정성태11/25/20232297VS.NET IDE: 187. Visual Studio - 16.9 버전부터 추가된 "Display inline type hints" 옵션
13456정성태11/25/20232606닷넷: 2169. C# - OpenAI를 사용해 PDF 데이터를 대상으로 OpenAI 챗봇 작성 [1]파일 다운로드1
13455정성태11/25/20232495닷넷: 2168. C# - Azure.AI.OpenAI 패키지로 OpenAI 사용파일 다운로드1
13454정성태11/23/20232843닷넷: 2167. C# - Qdrant Vector DB를 이용한 Embedding 벡터 값 보관/조회 (Azure OpenAI) [1]파일 다운로드1
13453정성태11/23/20232342오류 유형: 879. docker desktop 설치 시 "Invalid JSON string. (Exception from HRESULT: 0x83750007)"
13452정성태11/22/20232446닷넷: 2166. C# - Azure OpenAI API를 이용해 사용자가 제공하는 정보를 대상으로 검색하는 방법파일 다운로드1
13451정성태11/21/20232575닷넷: 2165. C# - Azure OpenAI API를 이용해 ChatGPT처럼 동작하는 콘솔 응용 프로그램 제작파일 다운로드1
13450정성태11/21/20232383닷넷: 2164. C# - Octokit을 이용한 GitHub Issue 검색파일 다운로드1
13449정성태11/21/20232459개발 환경 구성: 688. Azure OpenAI 서비스 신청 방법
13448정성태11/20/20232701닷넷: 2163. .NET 8 - Dynamic PGO를 결합한 성능 향상파일 다운로드1
13447정성태11/16/20232582닷넷: 2162. ASP.NET Core 웹 사이트의 SSL 설정을 코드로 하는 방법
13446정성태11/16/20232535닷넷: 2161. .NET Conf 2023 - Day 1 Blazor 개요 정리
13445정성태11/15/20232853Linux: 62. 리눅스/WSL에서 CA 인증서를 저장하는 방법
13444정성태11/15/20232607닷넷: 2160. C# 12 - Experimental 특성 지원
13443정성태11/14/20232635개발 환경 구성: 687. OpenSSL로 생성한 사용자 인증서를 ASP.NET Core 웹 사이트에 적용하는 방법
13442정성태11/13/20232454개발 환경 구성: 686. 비주얼 스튜디오로 실행한 ASP.NET Core 사이트를 WSL 2 인스턴스에서 https로 접속하는 방법
13441정성태11/12/20232767닷넷: 2159. C# - ASP.NET Core 프로젝트에서 서버 Socket을 직접 생성하는 방법파일 다운로드1
13440정성태11/11/20232437Windows: 253. 소켓 Listen 시 방화벽의 Public/Private 제어 기능이 비활성화된 경우
13439정성태11/10/20232973닷넷: 2158. C# - 소켓 포트를 미리 시스템에 등록/예약해 사용하는 방법(Port Exclusion Ranges)파일 다운로드1
13438정성태11/9/20232585닷넷: 2157. C# - WinRT 기능을 이용해 윈도우에서 실행 중인 Media App 제어
13437정성태11/8/20232757닷넷: 2156. .NET 7 이상의 콘솔 프로그램을 (dockerfile 없이) 로컬 docker에 배포하는 방법
13436정성태11/7/20232985닷넷: 2155. C# - .NET 8 런타임부터 (Reflection 없이) 특성을 이용해 public이 아닌 멤버 호출 가능
13435정성태11/6/20232908닷넷: 2154. C# - 네이티브 자원을 포함한 관리 개체(예: 스레드)의 GC 정리
13434정성태11/1/20232687스크립트: 62. 파이썬 - class의 정적 함수를 동적으로 교체
1  2  3  4  5  6  [7]  8  9  10  11  12  13  14  15  ...