private void setSystemProperties(final boolean management, final Properties props) {
    getSystem(props);

    if (management) {
      ManagementService service = ManagementService.getManagementService(getCache());
      if (!service.isManager()) {
        service.startManager();
      }
    }
  }
Sets the distributed system properties.

@param management starts the ManagementService when true.
@param props distributed system properties.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java