private static MemberData createMemberData(String host, int p, String n, int vmKind,
      String[] groups,
      DurableClientAttributes attr, String u) {
    InetAddress addr = LocalHostUtil.toInetAddress(host);
    MemberDataBuilder builder = MemberDataBuilder.newBuilder(addr, host)
        .setName(n)
        .setMembershipPort(p)
        .setDirectChannelPort(p)
        .setPreferredForCoordinator(false)
        .setNetworkPartitionDetectionEnabled(true)
        .setVmKind(vmKind)
        .setUniqueTag(u)
        .setGroups(groups);
    if (attr != null) {
      builder.setDurableId(attr.getId())
          .setDurableTimeout(attr.getTimeout());
    }
    return builder.build();
  }
Create a InternalDistributedMember referring to the current host (as defined by the given
string) with additional info including optional connection name and an optional unique string.
Currently these two optional fields (and this constructor) are only used by the
LonerDistributionManager.
<p>

< b> DO NOT USE THIS METHOD TO CREATE ANYTHING OTHER THAN A LONER ID. IT DOES NOT PROPERLY
INITIALIZE THE ID. </b>

@param host the hostname, must be for the current host
@param p the membership port
@param n member name
@param u unique string used make the member more unique
@param vmKind the dmType
@param groups the server groups / roles
@param attr durable client attributes, if any
geode-core/src/main/java/org/apache/geode/distributed/internal/membership/InternalDistributedMember.java