Non-domain servers which often are referred to as workgroup or DMZ servers are quite common in most environments.
These servers are in need of backup as much as any server that belongs to a domain.
The process for backing up workgroup or DMZ servers is exactly the same as with domain joined servers, but installing the DPM agent is slightly different and requires a few additional steps.
In this blog post we will go through on how to install and attach a DPM agent on a server that resides in a workgroup or DMZ environment.
- Network configuration of the workgroup server
- Assigning a DNS suffix to the workgroup server
- DPM Agent installation
- Attaching the DPM agent
We have a Windows Server 2016 Standard that currently resides in a non-domain environment also known as WORKGROUP. We will go through some of the important settings before starting the process of installing the DPM agent.
Network configuration of the workgroup server
For the DPM server to be able to resolve a server that resides in a workgroup or DMZ environment, we will need to set up a DNS resolution.
Both the DPM server and the workgroup server have to be able to resolve each other’s DNS.
Below we have the network connection details of our workgroup server:
In our environment, the Domain Controller (DC) also hosts the DNS (Domain Name System) role, let’s take note of our IP address 192.168.0.111 which we will need later.
Assigning a DNS suffix to the workgroup server
In this step we will assign a DNS suffix to our workgroup server.
- Right-click on the Windows taskbar icon and choose System.
- In the System window, locate the Change settings button in the middle of the window.
- A System Properties window will now open up, now click on Change.
- A Computer Name/Domain Changes window will open up, click on More.
- Provide a suffix for your workgroup server, in our case we will use the same as our domain suffix: lab.ad.
- Write down the server name, in this case WINSRV2016V2 as we will need it later.
- Finish up by clicking OK three (3) times to apply the setting and restart the workgroup server.
Adding a DNS entry for the workgroup server
We will now have to create a DNS entry for our workgroup server so that our DPM server can resolve it.
- Open up the DNS Manager.
- Head to the Forward Lookup Zones select our domain, in our case lab.ad.
- Now right-click on the domain (lab.ad in our case) and choose New Host (A or AAAA).
- Enter the name and the IP address of our workgroup server and then click Add Host.
- We’ll now get a message that tells us that the host record was successfully created, click OK.
- The host record can now also be seen in the DNS Manager.
DPM Agent installation
Now that we have created the necessary steps for workgroup server, we can finally start installing the DPM agent.
- Run the DPMAgentInstaller.exe (Run as administrator) on the workgroup server, the latest DPM agent can be found from the DPM installation folder on the DPM server, by default at:
C:\Program Files\Microsoft System Center\DPM\DPM\agents\RA\5.1.378.0\amd64\1033Note: If you can’t access the DPM server, you can mount up the DPM installation ISO on the workgroup server and install the agent from there.
- Click Accept in the the Microsoft Software License Terms windows to start the DPM agent installation.
- The DPM agent installation will popup some window and then close automatically once the installation is complete.
The agent installation should take roughly 10 seconds.
- Once the DPM agent installation is complete, open up a Command Prompt (Admin) on the workgroup server.
- Head to the installation folder of the DPM agent, it can be located here:
C:\Program Files\Microsoft Data Protection Manager\DPM\bin
- Now we will provide which DPM server we want our workgroup server to communicate to by running the SetDpmServer.exe command.Since our server is located in a workgroup or DMZ environment, we will have to run the following command:
SetDpmServer.exe -dpmServerName <serverName> -isNonDomainServer -userName <userName> [-productionServerDnsSuffix <DnsSuffix>]
Specify the name of the DPM server. Use either an FQDN if the server and computer are accessible to each other using FQDNs, or a NETBIOS name.
Use to indicate that the server is in a workgroup or untrusted domain in relation to the computer you want to protect. Firewall exceptions are created for required ports.
Specify the name of the account you want to use for NTLM authentication. To use this option you should have the -isNonDomainServer flag specified. A local user account will be created and the DPM protection agent will be configured to use this account for authentication.
Use this switch if the server has multiple DNS suffixes configured. This switch represents the DNS suffix that the server uses to connect to the computer you’re protecting.
- In this guide, the DPM server name is DPM.lab.ad, for the user name we will create a user called DPM-User, and the production server dns suffix we will be using lab.ad.
- Once we run the above command we will be asked twice to provide a password for our newly created DPM-User.
- Once a password has been provided, firewall exceptions will be configured automatically and we should have the configuration done.
- We can now also verify that our DPM-User account has been successfully created on the workgroup server.
Attaching the DPM agent
Now it’s time to finally attach our DPM agent located on our workgroup server.
- Open the System Center DPM Administrator Console on the DPM server.
- Head to the Management tab.
- In the upper left corner, click on Add.
- Check the Windows Servers check box, as we are attaching a DPM agent on a Windows Server operating system, click Next to continue.
- In the next step, select Attach agents and at the bottom check the box for Computer in a workgroup or untrusted domain, click Next to continue.
- Provide the FQDN of the workgroup server, the user name and password of the local user we created earlier, click Add and then click Next.
- Finally click on Attach to attach our workgroup server’s DPM agent.
- Our DPM agent should now be attached successfully, click Close to finish.
72 total views, 1 views today