void setGemFireVM(GemFireVM vm) throws AdminException {
    this.vm = vm;
    if (vm != null) {
      internalId = vm.getId();
      id = internalId.toString();
      name = vm.getName();
      host = toHostString(vm.getHost());
    } else {
      internalId = null;
      id = null;
      // leave this.name set to what it is (how come?)
      host = getHost();
    }

    if (DistributionConfig.DEFAULT_NAME.equals(name)) {
      // Fix bug 32877
      name = id;
    }

    if (vm != null) {
      refreshConfig();
    }
  }
Sets the <code>GemFireVM</code> that underlies this <code>SystemMember</code>. This method is
used when a member, such as a cache server, is started by the admin API.
geode-core/src/main/java/org/apache/geode/admin/internal/SystemMemberImpl.java