Rediger

Del via


Manage process servers

This article describes common tasks for managing the Site Recovery process server.

The process server is used to receive, optimize, and send replication data to Azure. It also performs a push installation of the Mobility service on VMware VMs and physical servers you want to replicate, and performs automatic discovery of on-premises machines. For replicating on-premises VMware VMs or physical servers to Azure, the process server is installed by default on the configuration server machine.

  • For large deployments, you might need additional on-premises process servers to scale capacity.
  • For failback from Azure to on-premises, you must set up a temporary process server in Azure. You can delete this VM when failback is done.

Learn more about the process server.

Upgrade a process server

When you deploy a process server on-premises, or as an Azure VM for failback, the latest version of the process server is installed. The Site Recovery teams release fixes and enhancements on a regular basis, and we recommend you keep process servers up-to-date. You can upgrade a process server as follows:

  1. Sign in to the process server as an administrator.
  2. Download the latest version of the Unified Setup Installer.
  3. Double-click the installer to launch the update process.
  4. The installer detects the Site Recovery components that are installed, and upgrades them to the latest version.

Move VMs to balance the process server load

Balance the load by moving VMs between two process servers, as follows:

  1. In the vault, under Manage click Site Recovery Infrastructure. Under For VMware & Physical machines, click Configuration Servers.

  2. Click on the configuration server with which the process servers are registered.

  3. Click on the process server for which you want to load balance traffic.

    Screenshot shows a Process Server for which you can load balance traffic.

  4. Click Load balance, select the target process server to which you want to move machines. Then click OK

    Screenshot shows the Load balance pane with Select target process server selected.

  5. Click Select machines, and choose the machines you want to move from the current to the target process server. Details of average data change are displayed against each virtual machine. Then click OK.

  6. In the vault, monitor the progress of the job under Monitoring > Site Recovery jobs.

It will take around 15 minutes for changes to be reflected in the portal. For a quicker effect, refresh the configuration server.

Switch an entire workload to another process server

Move the entire workload handled by a process server to a different process server, as follows:

  1. In the vault, under Manage click Site Recovery Infrastructure. Under For VMware & Physical machines, click Configuration Servers.

  2. Click on the configuration server with which the process servers are registered.

  3. Click on the process server from which you want to switch the workload.

  4. Click on Switch, select the target process server to which you want to move the workload. Then click OK

    Screenshot shows the Select target process server pane.

  5. In the vault, monitor the progress of the job under Monitoring > Site Recovery jobs.

It will take around 15 minutes for changes to be reflected in the portal. For a quicker effect, refresh the configuration server.

Register a master target server

Master target server resides on configuration server and scale-out process servers. It must be registered with configuration server. In case there is a failure in this registration, it can impact the health of protected items. To register master target server with configuration server, login to the specific configuration server/scale-out process server on which the registration is required. Navigate to folder %PROGRAMDATA%\ASR\Agent, and run the following on administrator command prompt.

cmd
cdpcli.exe --registermt

net stop obengine

net start obengine

exit

Reregister a process server

Reregister a process server running on-premises or on an Azure VM with the configuration server as follows:

  1. Establish a Remote Desktop Connection to the machine running the process server.

  2. Run cspsconfigtool.exe to start the Azure Site Recovery Process Server configuration tool.

    • The tool is launched automatically the first time you sign into the process server.
    • If it doesn't open automatically, click its shortcut on the desktop.
  3. In Configuration server FQDN or IP, specify the name or IP address of the configuration server with which to register the process server.

  4. In Configuration Server Port, ensure that 443 is specified. This is the port on which the configuration server listens for requests.

  5. In Connection Passphrase, specify the passphrase that you specified when you set up the configuration server. To find the passphrase:

    • On the configuration server, navigate to the Site Recovery installation folder **\home\svssystems\bin**:
    cd %ProgramData%\ASR\home\svsystems\bin
    
    • Run the below command to print out the current passphrase:
    genpassphrase.exe -n
    
  6. In Data Transfer Port, leave the default value unless you've specified a custom port.

  7. Click Save save the settings, and register the process server.

    Register the process server

After you've saved the settings, do the following:

  1. On the process server, open an administrator command prompt.

  2. Browse to folder %PROGRAMDATA%\ASR\Agent, and run the command:

    cdpcli.exe --registermt
    net stop obengine
    net start obengine
    

Modify proxy settings for an on-premises process server

If an on-premises process server uses a proxy to connect to Azure, you can modify the proxy settings as follows:

  1. Sign into the process server machine.
  2. Open an Admin PowerShell command window, and run the following command:
    $pwd = ConvertTo-SecureString -String MyProxyUserPassword
    Set-OBMachineSetting -ProxyServer http://myproxyserver.domain.com -ProxyPort PortNumber –ProxyUserName domain\username -ProxyPassword $pwd
    net stop obengine
    net start obengine
    
  3. Browse to folder %PROGRAMDATA%\ASR\Agent, and run this command:
    cmd
    cdpcli.exe --registermt
    
    net stop obengine
    
    net start obengine
    
    exit
    

Remove a process server

Follow the steps for your specific circumstances.

Unregister a connected process server

  1. Establish a remote connection to the process server as an Administrator.
  2. In the Control Panel, open Programs > Uninstall a program.
  3. Uninstall the program Microsoft Azure Site Recovery Mobility Service/Master Target Server.
  4. Uninstall the program Microsoft Azure Site Recovery Configuration/Process Server.
  5. After the programs in steps 3 and 4 are uninstalled, uninstall Microsoft Azure Site Recovery Configuration/Process Server Dependencies.

Unregister a disconnected process server

Only use these steps if there's no way to revive the machine on which the process server is installed.

  1. Sign in the configuration server as an Administrator.

  2. Open an Administrative command prompt, and browse to %ProgramData%\ASR\home\svsystems\bin.

  3. Run this command to get a list of one or more process servers.

    perl Unregister-ASRComponent.pl -IPAddress <IP_of_Process_Server> -Component PS
    
    • IP/Name: The IP address and name of the machine running the process server.

    Screenshot shows a plaintext display of information about your process servers and the text. Choose one of the above servers to unregister.

  4. Specify the serial number of the process server you want to unregister.

  5. Unregistering a process server removes all of its details from the system, and displays the message: Successfully unregistered server-name> (server-IP-address)

Exclude folders from anti-virus software

If anti-virus software is running on a scale-out process server (or master target server), exclude the following folders from anti-virus operations:

  • C:\Program Files\Microsoft Azure Recovery Services Agent
  • C:\ProgramData\ASR
  • C:\ProgramData\ASRLogs
  • C:\ProgramData\ASRSetupLogs
  • C:\ProgramData\LogUploadServiceLogs
  • C:\ProgramData\Microsoft Azure Site Recovery
  • Process server installation directory. For example: C:\Program Files (x86)\Microsoft Azure Site Recovery