ClientConfiguration.ClusterId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a unique identifier for this cluster. If the silos are deployed on Azure (run as workers roles), deployment id is set automatically by Azure runtime, accessible to the role via RoleEnvironment.DeploymentId static variable and is passed to the silo automatically by the role via config. So if the silos are run as Azure roles this variable should not be specified in the OrleansConfiguration.xml (it will be overwritten if specified). If the silos are deployed on the cluster and not as Azure roles, this variable should be set by a deployment script in the OrleansConfiguration.xml file.
public string ClusterId { get; set; }
member this.ClusterId : string with get, set
Public Property ClusterId As String