Pages

lørdag 26. juli 2014

DPM: Configure a Backup Network

Let's say I have a production network, contoso.com with subnet 192.168.0.0/24. I already have two domain controllers (dc1 and dc2), a backup server (dpm1) and other member servers. The domain controllers and DPM servers are running Windows Server 2012 R2. I wan't to add a backup network. This is how I would do it:

First I add a network interface to each server. This will be used by the backup network. I name the interface BackupNet on each server.

The backup network will use subnet 192.168.10.0/24.

I create a DNS Zone, backup.contoso.com, using Powershell:
Add-DnsServerPrimaryZone -Name backup.contoso.com -ReplicationScope 'Domain' -PassThru -DynamicUpdate Secure -ComputerName dc1

On each DNS Server I open DNS Properties > Interfaces and verify that the backup interface is selected.

I configure backup interface on all servers using PowerShell:
Invoke-Command -ComputerName dc1 -ScriptBlock {Set-DnsClientServerAddress -InterfaceAlias 'BackupNet' -ServerAddresses ('192.168.10.5','127.0.0.1')}
Invoke-Command -ComputerName dc2 -ScriptBlock {Set-DnsClientServerAddress -InterfaceAlias 'BackupNet' -ServerAddresses ('192.168.10.6','127.0.0.1')}
Invoke-Command -ComputerName dpm1 -ScriptBlock {Set-DnsClientServerAddress -InterfaceAlias 'BackupNet' -ServerAddresses ('192.168.10.5','192.168.10.6')}
Invoke-Command -ComputerName dc1,dc2,dpm1 -ScriptBlock {Set-DnsClient –InterfaceAlias 'BackupNet' -ConnectionSpecificSuffix 'backup.contoso.com' –RegisterThisConnectionsAddress $true –UseSuffixWhenRegistering $true}
Invoke-Command -ComputerName dc1,dc2,dpm1 -ScriptBlock {ipconfig /registerdns}

Then I add Backup and Production Networks to DPM:
Add-DPMBackupNetworkAddress –DPMServerName dpm01.contoso.com –Address 192.168.10.0/24 –SequenceNumber 1
Add-DPMBackupNetworkAddress –DPMServerName dpm01.contoso.com –Address 192.168.0.0/24 –SequenceNumber 2
Restart-Service DPM