Configuring for high availability with shared storage
Citrix Provisioning servers are configured to access your shared-storage location, and supports various shared-storage configurations. The configuration steps for highly available storage in the network vary depending on shared-storage configurations.
Windows shared-storage configuration
When using a Windows shared storage location, service account credentials (user account name and password) must be a domain account that is configured on each Citrix Provisioning server. This method is used to access the Stream Service and the shared storage system.
Creating stream service account credentials on the domain controller
流服务运行在用户帐户。When the stream service accesses a virtual disk stored locally on the server, the local user rights provide full access. However, when the database or virtual disk is on a remote storage device, the streaming server must use a domain account with rights to both the provisioning server and the remote storage location. An administrator must assign full control rights to the stream service account in order for it to read and write to the remote storage location.
An administrator creates service account credentials in Active Directory and assigns the credentials to the stream service on all Citrix Provisioning servers that participate in high availability. Alternatively, an existing domain user account can be given full control rights to the network share and be assigned to the Stream Service.
Consider the following when creating service account credentials:
- You must be logged on as an administrator or a member of the Administrator group to create a domain account.
- Clear the User must change password at next logon check box.
Assigning stream service account credentials manually
When running the Configuration Wizard on a provisioning server, you are prompted to enter an account name and password for the Stream Service to use. This account must have access permissions for any stores it is given access to, in addition to permissions in SQL Server for database access. If necessary, credentials can be assigned manually.
To assign the Service account credentials to the Stream Service:
- Open theWindows Control Panel.
- Go to AdministrativeTools > Services.
- Double-click on the first Citrix Provisioning Stream Service name in the Services list.
- On theLog Ontab, selectThis Account, then clickBrowse.
- ClickLocations, select thedomain node, then clickOK.
- Type the name of the Stream Service user account, then clickCheck Names.
- ClickOKto close theSelect User dialog.
- On theLog Ontab, enter and confirm the Stream Service account password, then clickOK.
- After assigning the Service account credentials to the Stream Service, restart the Stream Service.
Configuring storage access
The stores that contain the vDisks must be shared, and the Service account credentials need to have access to remote storage for vDisks, with the appropriate permissions.
To share your virtual disk’s stores folders, and grant access permissions to your Service account credentials:
- In Windows Explorer, right-click on the folder that contains the database and virtual disk folders. For example, if the database and virtual disk files are stored in the default C:\Program Files\Citrix\Provisioning Services folder, right-click on that folder.
- SelectSharing and Securityfrom the shortcut menu.
- Enable theShare this folderradio button, then optionally enter a share name, and comment.
- ClickPermissions.
- If the Service account credentials user name does not appear in the Group or user names list, clickAdd. Enter the user name of the Service account credentials, and clickCheck Namesto verify.
- ClickOK.
- Select the service account credentials user name.
- Enable theFull Controlcheck box (theFull Controlcheck box and all additional check boxes are selected).
- ClickApply.
- Select theSecuritytab.
- If the Service account credentials user name does not appear in the Group or user names list, clickAdd. Enter the user name of the Service account credentials, then clickCheck Namesto verify.
- ClickOK.
- Select theService account credentialsas the user name.
- Enable theFull Controlcheck box, then clickApply.
- ClickOK.
SAN configuration
If you are storing the database and vDisks on a SAN, use local system accounts for the Stream Service. Unlike a Windows network share, creating special Service Account Credentials to guarantee access to your data is not necessary to guarantee access to your data.
Usually, a SAN configuration allows setting up as if the database and vDisks were stored locally on the Citrix Provisioning server.