Windows Server 2008 R2 Active Directory無人インストール

Windows Server 2008 R2を我が家に導入した。

我が家のAD環境は元々Solaris10のVirtualBox上に1仮想マシンで動作していてディレクトリサービスの冗長化ができていなかった。今回Windows Server 2008 R2にバージョンアップすることに会わせて、Windows Server CoreでActive Directoryの冗長化を試みた。

ただ、Server CoreにはGUIでADをセットアップできるものが無い。よってnotepad.exeを利用して無人セットアップ用のファイルを作成し、それをdcpromoで流し込んだ。そうそう、notepad.exeを起動すると普通にメモ帳が起動するにはちょっとびっくり。GUI使えるじゃん・・・

[DCINSTALL]
UserName=Administrator
ReplicaDomainDNSName=hogehoge.example.com
UserDomain=hogehoge.example.com
SiteName=Default-First-Site-Name
Password=hogehoge
ReplicaOrNewDomain=replica
InstallDNS=yes
ConfirmGC=yes
SafeModeAdminPassword=hogehoge
RebootOnCompletion=yes
DatabasePath="C:\Windows\NTDS"
LogPath="C:\Windows\NTDS"
SYSVOLPath="C:\Windows\SYSVOL"

以下のコマンドを実行

dcpromo /unattend:<path of the answer file>

これでばっちりADのレプリカができました!うれしい。

ところで、でもADの管理はどうするの?という点ですが、以下のWindows 7 用のリモート サーバー管理ツールを(通称 RSAT)使ってWindows7から操作しています。快適快適。

http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&displaylang=ja

This entry was posted in Windows, コンピュータ. Bookmark the permalink.

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt="">