@Override
  void setGemFireVM(GemFireVM vm) throws AdminException {
    super.setGemFireVM(vm);
    if (vm != null) {
      setState(RUNNING);

    } else {
      setState(STOPPED);
    }
  }
Sets the state of this managed system member depending on whether or not <code>vm</code> is
<code>null</code>.
geode-core/src/main/java/org/apache/geode/admin/internal/ManagedSystemMemberImpl.java