DHCP veritabanını bir sunucudan başkasına aktarmayı denediyseniz ve başarısız olduysanız, adımları doğru bir şekilde tamamlamamış olabilirsiniz. Veritabanını başarıyla geçirmek için doğru sırada yapılması gereken birkaç yordam vardır. Aşağıdaki yordamları sunuldukları sırada kullanarak veritabanını yeniden dışarı ve içeri aktarmayı deneyin.
Bu prosedürleri gerçekleştirmek için Administrators grubunun üyesi olmanız veya size uygun temsil yetkisinin verilmesi gerekir.
DHCP veritabanını ve yapılandırmayı başka bir sunucuya taşımak için:
Yerel Administrators grubunun üyesi olan bir hesap kullanarak kaynak DHCP sunucusunda oturum açın.
Başlat'a tıklayın, Çalıştır'a tıklayın, cmd yazın ve Tamam'a tıklayın.
netsh dhcp server export C:\dhcp.txt all yazın ve ENTER tuşuna basın.
DHCP Sunucusu hizmetini yükleme
Bu prosedürleri gerçekleştirmek için Administrators grubunun üyesi olmanız veya size uygun temsil yetkisinin verilmesi gerekir.
DHCP Sunucusu hizmetini Windows Server çalıştıran varolan bir bilgisayara yüklemek için:
DHCP sunucusu bilgisayarında, Başlat'a tıklayın, Denetim Masası'na tıklayın ve ardından Program Ekle veya Kaldır'a çift tıklayın.
Windows Bileşenleri Ekle/Kaldır'a tıklayın.
Windows Bileşeni Sihirbazı'nda, Bileşenler kutusunda, Ağ Hizmetleri'ne ve ardından Ayrıntılar'a tıklayın.
Seçili değilse Dinamik Ana Bilgisayar Yapılandırma Protokolü'nü (DHCP) seçin ve ardından Tamam'a tıklayın.
Windows Bileşenleri Sihirbazı'nda, seçilen bileşenleri yüklemek için İleri'ye tıklayın. Yapmanız istenirse, Windows Server 2008 yükleme CD'sini bilgisayarınızın CD sürücüsüne veya DVD sürücüsüne takın. Kurulum, DHCP sunucusu ev araç dosyalarını bilgisayarınıza kopyalar.
Kurulum tamamlandığında, Son'a tıklayın.
DHCP veritabanını içeri aktarma
Bu prosedürleri gerçekleştirmek için Administrators grubunun üyesi olmanız veya size uygun temsil yetkisinin verilmesi gerekir.
DHCP veritabanını içeri aktarmak için:
Yerel Administrators grubunun açık üyesi olan bir kullanıcı olarak oturum açın. Yerel Administrators grubunun bir üyesi olan gruptaki bir kullanıcı çalışmayacaktır. Etki alanı denetleyicisi için yerel Yöneticiler yoksa, bilgisayarı Dizin Hizmetleri Geri Yükleme Modu'nda yeniden başlatın ve ardından bu bölümde daha sonra açıklandığı şekilde veritabanını içeri aktarmak için yönetici hesabını kullanın.
Dışarı aktarılan DHCP veritabanı dosyasını bilgisayarın yerel sabit diskine kopyalayın.
Sunucu bilgisayarında DHCP hizmetinin başlatıldığını doğrulayın.
Başlat'a tıklayın, Çalıştır'a tıklayın, cmd yazın ve Tamam'a tıklayın.
Komut isteminde, netsh dhcp server import c:\dhcpdatabase.txt all yazın ve ENTER tuşuna basın (burada c:\dhcpdatabase.txt, sunucuya kopyaladığınız veritabanı dosyasının tam yolu ve dosya adıdır).
DHCP sunucusunu yetkilendirme
Bu prosedürleri gerçekleştirmek için Administrators grubunun üyesi olmanız veya size uygun temsil yetkisinin verilmesi gerekir.
DHCP sunucusunu yetkilendirmek için:
DHCP sunucusu bilgisayarında, Başlat'a tıklayın, imleci Tüm programlar'a ve Yönetim Araçları'na getirin ve ardından DHCP'ye tıklayın.
DHCP ek bileşeninin konsol ağacında, yeni DHCP sunucusunu genişletin. Sunucu nesnesinin sağ alt köşesinde kırmızı bir ok varsa, sunucu henüz yetkilendirilmemiştir.
Sunucu nesnesine sağ tıklayın ve ardından Yetkilendir'e tıklayın.
Birkaç dakika sonra, sunucuya yeniden tıklayın ve ardından Yenile'ye tıklayın. Yeşil bir ok, DHCP sunucusunun yetkilendirildiğini gösterir.
Target | Microsoft.Windows.DHCPServer.Library.Database | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.SingleEventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.DatabaseCorrupt" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.Database" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.DatabaseCorrupt_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1057</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>