Example #1
0
        public bool AddServerToShard(string configCluster, string clusterUID, Address[] configServers, string databaseCluster, string shard, string shardUid, int shardPort, bool start, Common.Configuration.ClusterConfiguration clusterConfig)
        {
            bool nodeAdded = false;

            try
            {
                nodeAdded = dbMgtServer.AddServerToShard(configCluster, clusterUID, configServers, databaseCluster, shard, shardUid, shardPort, start, clusterConfig);
            }
            catch (System.Exception ex)
            {
                throw ex;
            }
            return(nodeAdded);
        }