Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

This will install Yarnman as a core server with a single standalone CouchDB, Redis and Yarnman Node all on the same VM. This automatically sets up Admin App and other services required to get started. Other Arm Nodes may connect to this one as well.

  1. SSH to Yarnman

  2. CD to /opt/yarnlab/yarnman/

  3. Run the script using node and sudo: sudo node ./scripts/install-as-core-standalone.js -p <password> --couchport <couchport> --redisport <redisport> with values prepared above substituted for <value>.

sudo node ./scripts/install-as-core-standalone.js -p <password> --couchport 5984 --redisport 6379

  1. Monitor the process for any errors and record them if they occur

  2. Browse to Yarnman IP and login default username password yarnman/yarnman

...

Target full path of the core's Redis - redis://<some host or ipaddress>:<port - likely 6378>

  1. CD to /opt/yarnlab/yarnman/

  2. Run the script using node and sudo: sudo node ./scripts/install-as-arm.js -n <node name> -c <couchpath> -r <redispath> with values prepared above substituted for <value>.

  • Name to appear on the enrollment screen in AdminApp of the core do is easy to accept this node.

  • Target full path of the core's CouchDB - http(s)://<some host or ipaddress>:<port - likely 5984>

sudo node ./scripts/install-as-arm.js -n <name> -c http://<core ip>:5984 -r redis://<core ip>:6379' 

  1. Go to the Core's Administration App → Enrollments and accept the new node, you may add services and interface in the normal way.

  2. The enrollment process will auto-generate credentials for the Arm.

...