private TConfigNodeLocation generateConfigNodeLocation(int configNodeId) {
    return new TConfigNodeLocation(
        configNodeId,
        new TEndPoint(CONF.getInternalAddress(), CONF.getInternalPort()),
        new TEndPoint(CONF.getInternalAddress(), CONF.getConsensusPort()));
  }
Register Non-seed {@link ConfigNode} when first startup.

@throws StartupException if register failed.
@throws IOException if {@link ConsensusManager} init failed.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java