ROBOCOPY to Synchronize PVS Servers
As a general practice, it's recommended to perform initial configuration and testing on one server before replicating them to the supporting servers for fault tolerance and/or load balancing. This applies to the Provisioning Services servers (as well as StoreFront).
Unfortunately, current versions of Provisioning Services (7.6 and below) do not have any built-in features to replicate vDisks across all the servers.
Automate MCLI.EXE
ROBOCOPY /MIR \\\ /XF *.LOK *.AVHD *.PVP /XD \WRITECACHE /XO
Example:
REM Robocopy from PVS01 to PVS02
REM Deletes files from other server if not present on local server
Robocopy D:\vDisks \\pvs02\d$\vDisks *.vhd *.avhd *.pvp /b /mir /xf *.lok /xd WriteCache /xo
/B Copy files in Backup mode.
/MIR MIRror a directory tree (equivalent to a combination of /E and /PURGE).
/XF eXclude Files matching given name/path/wildcards.
/XD eXclude Directories matching given names/paths.
/XO eXclude Older files.
Unfortunately, current versions of Provisioning Services (7.6 and below) do not have any built-in features to replicate vDisks across all the servers.
Automate MCLI.EXE
ROBOCOPY /MIR
Example:
REM Robocopy from PVS01 to PVS02
REM Deletes files from other server if not present on local server
Robocopy D:\vDisks \\pvs02\d$\vDisks *.vhd *.avhd *.pvp /b /mir /xf *.lok /xd WriteCache /xo
/B Copy files in Backup mode.
/MIR MIRror a directory tree (equivalent to a combination of /E and /PURGE).
/XF eXclude Files matching given name/path/wildcards.
/XD eXclude Directories matching given names/paths.
/XO eXclude Older files.
No comments