BranchCache Migration: Verifying the Migration
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
Verify the destination server configuration by following the steps in the next sections.
Verify BranchCache feature installation
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.
Get-WindowsFeature BranchCache
To verify BranchCache feature installation on the destination server
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:
Import-Module Servermanager
To view the installation status of BranchCache, run the following command:
Get-WindowsFeature BranchCache
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.
To verify BranchCache component configuration on the destination server by using the Server Manager console
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.
Verify the service mode is set correctly
Perform the steps in this section to set the service mode of the destination server to the correct setting.
To verify that the service mode of the destination server is set correctly
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.
Verify that other settings were correctly migrated
Perform the steps in this section to verify that all other settings were migrated correctly.
To verify that 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
Review the results returned, and verify the following:
Ensure that the cache size is identical.
Ensure that the cache location is migrated correctly.
Ensure that the files are located in the cache.
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.
See Also
Concepts
BranchCache Migration Guide
BranchCache Migration: Preparing to Migrate
BranchCache Migration: Migrating BranchCache
BranchCache Migration: Post-migration Tasks