If you need to add an additional file share alias to a Microsoft failover cluster, follow these steps:
For example, let's take the current name of the file server "name1.mydomain.com", and you need to add access to the share using the following names: "name2.mydomain.com", "name3.mydomain.com".
1. Add new CNAME records to DNS that reference the original name "name1.mydomain.com".
2. Go to any node in the cluster and open an elevated PowerShell console.
3. Run:
Get-ClusterResource name1 | Get-ClusterParameter Aliases
In the resulting output, notice the value in the "Value" column. It should be empty if no aliases have been configured previously.
4. Run to setup aliases:
Get-ClusterResource name1 | Set-ClusterParameter Aliases "name1,name2,name3"
5. Re-run "Get-ClusterResource name1 | Get-ClusterParameter Aliases", to make sure the settings are correct.
6. Finally, you need to open the "Failover Cluster Manager" snap-in and use it to restart the "File Server" role.
No comments:
Post a Comment