BranchCache Migration: Verifying the Migration
Updated: April 28, 2009
Applies To: Windows Server 2008 R2
After all the migration steps are completed, you can use the following procedure to verify that the migration of your BranchCache feature was successful. If the migration failed, return to the previous valid configuration by following the steps in BranchCache Migration: Post-migration Tasks.
Verify the destination server configuration by following the steps in the next sections.
Membership in the Domain Administrators group, or equivalent, is the minimum required to complete this procedure.
To verify the BranchCache component configuration on the destination server by using Windows PowerShell, review the list of features that are available on the destination server by running the Server Manager Get-WindowsFeature cmdlet.
If a Windows PowerShell session is not already open on the destination server, open a Windows PowerShell session with elevated user rights. To do this, click Start, click All Programs, click Accessories, right-click Windows PowerShell, and then click Run as administrator.
To import the Server Manager module into the Windows PowerShell session, run the following command:
To view the installation status of BranchCache, run the following command:
The check box to the left of the BranchCache feature name is filled if BranchCache is installed on the destination server. If the feature is not installed, the check box is empty.
Open Server Manager.
To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
Review the Features Summary in the main window. Verify that BranchCache is listed among installed features.
Perform the steps in this section to set the service mode of the destination server to the correct setting.
Open a command prompt.
To display the status of BranchCache, run the following command:
netsh BranchCache show status all
Ensure that the status shown is identical to that of the source computer before migration.
Perform the steps in this section to verify that all other settings were migrated correctly.
On a hosted cache, verify that the maximum cache size setting migrated correctly:
At a command prompt, run the following command:
netsh branchcache show localcache
Ensure that the cache size is identical.
Ensure that the cache location is migrated correctly.
Ensure that the files are located in the cache.
- At a command prompt, run the following command:
As soon as the service is started, “show localcache” will display the “active” current cache size. This should be very large for hosted cache servers, but very small or even zero (0) for file or Web servers.
Verify that the server key migrated correctly by checking the key value, and ensure that they are identical on both source and destination computers, as shown next:
Key: HKLM\Software\Microsoft\WindowsNT\CurrentVersion\PeerDist\SecurityManager\Restricted Value: Seed
This step is not needed if this is a hosted cache server.