Profile Management

Replicate user stores

With the Replicate user stores policy, you can replicate the user store to multiple paths on each user logon and logoff. Doing so provides profile redundancy and guarantees a high level of availability for user profiles.

Note:

  • This feature applies to both file-based and container-based profile solutions.
  • Replicated profile containers provide profile redundancy for user logons but not for in-session failover.
  • Enabling the policy increases system I/O and might prolong logoffs.

How it works

In addition to the user store configured using the Path to user store policy, you can configure more user stores using the Replicate user stores policy. When multiple user stores are deployed and configured in your environment, Profile Management works as follows:

  • During user logon, Profile Management selects the user store with the latest profile for the user. If multiple user stores have the latest profile, by default, Profile Management selects the earliest configured store. You can also enable Profile Management to select the store with the best access performance. For more information, see Change the user store selection method.

  • During user logoff, Profile Management writes the local profile back to all user stores.

Configure replicated user stores

To provide profile redundancy, set up additional user stores beyond the user store configured using the Path to user store policy. To configure replicated user stores using Group Policy, follow these steps:

To complete the configuration using Group Policy, follow these steps:

  1. Open the Group Policy Management Editor.

  2. Access Computer Configuration > Administrative Templates > Citrix Components > Profile Management > Advanced settings, and then double-click the Replicate user stores policy.

  3. Set the policy to Enabled.

  4. Click Show next to Paths to replicate a user store.

  5. In the Value field, enter the path for a replicated user store. Repeat this step for the other replicated user stores.

    If the profile container is enabled for part of the user profile, you can replicate container-based profiles and file-based profiles to different locations. To do so, enter the path in this form: <path to the replicated container-based profiles>|<path to the replicated file-based profiles>. For example: \\path_a|\\path_b indicates that Profile Management replicates container-based profiles to \\path_a and file-based profiles to \\path_b.

  6. Click OK and OK again.

Note:

To synchronize files and folders modified during a session to the user store, enable the Enable active write-back policy.

Change the user store selection method

By default, when multiple user stores are available, Profile Management selects the store with the latest profile. If there are multiple options, it selects the one configured earliest. When necessary, you can enable Profile Management to select the store with the best access performance. Detailed steps are as follows:

  1. Open the Group Policy Management Editor.

  2. Access Computer Configuration > Administrative Templates > Citrix Components > Profile Management > Advanced settings, and then double-click the User store selection method policy.

  3. Set the policy to Enabled.

  4. In the Selection method field, select Access performance. To revert to the configuration order-based selection, select Configuration order.

    • Configuration order. Profile Management selects the earliest configured store.
    • Access performance. Profile Management selects the store with the best access performance.
  5. Click OK.

Configuration precedence:

  1. If this setting isn’t configured here, the value from the .ini file is used.
  2. If this setting isn’t configured here or in the .ini file, Configuration order is used.

Tip:

To trace a store selection event at user logon, open Windows Event Viewer on the machine, go to Windows Logs > Applications, and apply a filter for Citrix Profile Management events with the ID 5.

Replicate user stores