Szerkesztés

Megosztás a következőn keresztül:


ClientConfiguration.ClusterId Property

Definition

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

Property Value

Applies to