Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Seting up OpenStudio-server on a local machine

I'm trying to launch OpenStudio-server on a local machine.

It seems that one can either use Vagrant or Docker. I have never used either, and they seem to overlap quite significantly. Even more confusing, apparently Vagrant can run Docker inside.

  • Which one should I use? 1
  • Can I use neither if I have full control of the machine I want to install it on and do not want to deploy it later? 2

1 Since I assume the answer is "it depends what you want to do", for context (see this question), I have other machines on my LAN network (Windows and Mac), on which I'd like to dispatch parametric runs.

2 I've tried running ruby bin/openstudio_meta install_gems then ruby bin/openstudio_meta start_local --worker-number=2 --debug ~/OS-server-test/ but obviously it failed

E, [2017-04-27T00:10:58.771060 #18153] ERROR -- : Mongod returned non-zero status code  `2`. Please refer to `~/OS-server-test/logs/mongod.log`.
E, [2017-04-27T00:10:58.771322 #18153] ERROR -- : File `~/OS-server-test/local_configuration.json` not found. It is possible that processes have been orphaned.

Seting up OpenStudio-server on a local machine

I'm trying to launch OpenStudio-server on a local machine.

It seems that one can either use Vagrant or Docker. I have never used either, and they seem to overlap quite significantly. Even more confusing, apparently Vagrant can run Docker inside.

  • Which one should I use? 1
  • Can I use neither if I have full control of the machine I want to install it on and do not want to deploy it later? 2

1 Since I assume the answer is "it depends what you want to do", for context (see this question), I have other machines on my LAN network (Windows and Mac), on which I'd like to dispatch parametric runs.

2 I've tried running ruby bin/openstudio_meta install_gems then ruby bin/openstudio_meta start_local --worker-number=2 --debug ~/OS-server-test/ but obviously it failed

E, [2017-04-27T00:10:58.771060 #18153] ERROR -- : Mongod returned non-zero status code  `2`. Please refer to `~/OS-server-test/logs/mongod.log`.
E, [2017-04-27T00:10:58.771322 #18153] ERROR -- : File `~/OS-server-test/local_configuration.json` not found. It is possible that processes have been orphaned.

Seting Setting up OpenStudio-server on a local machine

I'm trying to launch OpenStudio-server on a local machine.

It seems that one can either use Vagrant or Docker. (there's also AMI, but that's Amazon specific so I'm not interested). I have never used either, and they seem to overlap quite significantly. Even more confusing, apparently Vagrant can run Docker inside.

  • Which one should I use? 1
  • Can I use neither if I have full control of the machine I want to install it on and do not want to deploy it later? 2

1 Since I assume the answer is "it depends what you want to do", for context (see this question), I have other machines on my LAN network (Windows and Mac), on which I'd like to dispatch parametric runs.

2 I've tried running ruby bin/openstudio_meta install_gems then ruby bin/openstudio_meta start_local --worker-number=2 --debug ~/OS-server-test/ but obviously it failed

E, [2017-04-27T00:10:58.771060 #18153] ERROR -- : Mongod returned non-zero status code  `2`. Please refer to `~/OS-server-test/logs/mongod.log`.
E, [2017-04-27T00:10:58.771322 #18153] ERROR -- : File `~/OS-server-test/local_configuration.json` not found. It is possible that processes have been orphaned.