internal void UpdateUserConfig(StandAloneUserConfig userConfig) { userConfig.TotalNodeCount = this.Nodes.Count; userConfig.ClusterName = this.Name; userConfig.Version = new UserConfigVersion(this.ClusterConfigurationVersion); userConfig.IsScaleMin = this.Nodes.Count != this.Nodes.GroupBy(node => node.IPAddress).Count(); }
protected override StandAloneUserConfig OnGetUserConfig() { var userConfig = new StandAloneUserConfig(); this.UpdateUserConfig(userConfig); this.Properties.UpdateUserConfig(userConfig, this.Nodes); return(userConfig); }