graphConfig.addProperty(Tokens.REXSTER_GRAPH_HA, "true");
ArrayList<HierarchicalConfiguration.Node> listOfNodes = new ArrayList<HierarchicalConfiguration.Node>();
listOfNodes.add(new HierarchicalConfiguration.Node("ha.machine_id", "1"));
listOfNodes.add(new HierarchicalConfiguration.Node("ha.server", "localhost:9939"));
graphConfig.addNodes(Tokens.REXSTER_GRAPH_PROPERTIES, listOfNodes);
Map<String, RexsterApplicationGraph> graphs = new HashMap<String, RexsterApplicationGraph>();
GraphConfigurationContext context = new GraphConfigurationContext(graphConfig, graphs);
configuration.configureGraphInstance(context);
}