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

  1. 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.

  2. To import the Server Manager module into the Windows PowerShell session, run the following command:

    Import-Module Servermanager
    
  3. 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

  1. Open Server Manager.

    To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.

  2. 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

  1. Open a command prompt.

  2. To display the status of BranchCache, run the following command:

    netsh BranchCache show status all
    
  3. 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

  1. On a hosted cache, verify that the maximum cache size setting migrated correctly:

    1. At a command prompt, run the following command:

      netsh branchcache show localcache
      

      Review the results returned, and verify the following:

    2. Ensure that the cache size is identical.

    3. Ensure that the cache location is migrated correctly.

    4. Ensure that the files are located in the cache.

  2. 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.

  3. 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