title: ElasticSearch: Running two clusters locally with esvm
body: <p>I tried to run two clusters with <code>esvm</code> tool. However, I keep getting this error:</p>
  
  <p><strong>esvm --list 2m3d 2m3d-v2</strong></p>
  
  <pre><code>&gt; /usr/lib/node_modules/esvm/node_modules/rcfinder/index.js:138
  &gt;       if (sync &amp;&amp; err) throw err;
  &gt;                        ^
  &gt; 
  &gt; SyntaxError: Unexpected string in JSON at position 780
  &gt;     at Object.parse (native)
  &gt;     at RcFinder.loader (/usr/lib/node_modules/esvm/node_modules/rcfinder/index.js:20:17)
  &gt;     at get (/usr/lib/node_modules/esvm/node_modules/rcfinder/index.js:68:18)
  &gt;     at respond (/usr/lib/node_modules/esvm/node_modules/rcfinder/index.js:112:37)
  &gt;     at RcFinder.find (/usr/lib/node_modules/esvm/node_modules/rcfinder/index.js:158:14)
  &gt;     at RcLoader.for (/usr/lib/node_modules/esvm/node_modules/rcloader/index.js:76:43)
  &gt;     at Object.&lt;anonymous&gt; (/usr/lib/node_modules/esvm/bin/esvm.js:19:26)
  &gt;     at Module._compile (module.js:541:32)
  &gt;     at Object.Module._extensions..js (module.js:550:10)
  &gt;     at Module.load (module.js:458:32)
  &gt;     at tryModuleLoad (module.js:417:12)
  &gt;     at Function.Module._load (module.js:409:3)
  &gt;     at Module.runMain (module.js:575:10)
  &gt;     at run (bootstrap_node.js:352:7)
  &gt;     at startup (bootstrap_node.js:144:9)
  &gt;     at bootstrap_node.js:467:3
  </code></pre>
  
  <p>for the <code>.esvmrc</code> with the following content:</p>
  
  <pre><code>{
    "clusters": {
      "2m3d": {
        "plugins": ["mobz/elasticsearch-head"],
        "nodes": [
          {
            "cluster": { "name": "2m3d" },
            "node": { "name": "master-1", "data": false, "master": true }
          },
          {
            "cluster": { "name": "2m3d" },
            "node": { "name": "master-2", "data": false, "master": true }
          },
          {
            "cluster": { "name": "2m3d" },
            "node": { "name": "data-1", "data": true, "master": false }
          },
          {
            "cluster": { "name": "2m3d" },
            "node": { "name": "data-2", "data": true, "master": false }
          },
          {
            "cluster": { "name": "2m3d" },
            "node": { "name": "data-3", "data": true, "master": false }
          }
        ]
      }
          "2m3d-v2": {
            "plugins": ["mobz/elasticsearch-head"],
            "nodes": [
              {
                "cluster": { "name": "2m3d-v2" },
                "node": { "name": "master-1", "data": false, "master": true }
              },
              {
                "cluster": { "name": "2m3d-v2" },
                "node": { "name": "master-2", "data": false, "master": true }
              },
              {
                "cluster": { "name": "2m3d-v2" },
                "node": { "name": "data-1", "data": true, "master": false }
              },
              {
                "cluster": { "name": "2m3d-v2" },
                "node": { "name": "data-2", "data": true, "master": false }
              },
              {
                "cluster": { "name": "2m3d-v2" },
                "node": { "name": "data-3", "data": true, "master": false }
              }
            ]
          }
    }
  }
  </code></pre>