Open Power Quality

Open Power Quality

  • Documentation
  • Opportunities
  • News

›Developer Guide: Misc

Introduction

  • Motivation for OPQ
  • A beginner's guide to power quality
  • OPQ System Architecture
  • OPQ Information Architecture
  • Related Work
  • Bibliography

User Guide

  • OPQ Box
  • OPQ Cloud

Developer Guide: OPQ Box

  • Overview
  • Hardware Design
  • Software Design
  • Manufacturing

Developer Guide: OPQ Cloud

  • Overview
  • Installation
  • Data Model
  • View
  • Mauka
  • Makai
  • Health
  • Health v2
  • Box Update Server
  • MongoDB
  • Protocol
  • Port Map
  • Docker
  • Cloud Migration

Developer Guide: Misc

  • Documentation
  • VM & Sim
  • Bibliography
  • Emilia SSH

Other

  • Roadmap
  • R&D Opportunities
  • Agile Power Monitoring for UH
  • G1 Pilot Study (2014)

Emilia SSH Access

In order to deploy OPQ to emilia.ics.hawaii.edu, you will generally need to configure ssh access to the opquser account. Here's how to do it.

Obtain opquser account credentials

Most services are deployed using the opquser account. You need to obtain the password for opquser on emilia in order to do this deployment.

ssh without password prompt

In order to use the scripts to transfer files, you need to set up SSH login without a password. You can follow these instructions.

To check to make sure you have set up your SSH keys correctly, bring up a new console and run the following command:

ssh -p 29862 opquser@emilia.ics.hawaii.edu

This should log you into emilia without prompting you for a password, with output like the following:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Apr  8 07:57:57 2018 from cpe-66-91-216-204.hawaii.res.rr.com
opquser@emilia:~$

ssh port forwarding

In certain situations, you may want to set up ssh port forwarding to create a port on your local machine that acts as if it was the MongoDB port on emilia. To do this, open a new shell, and execute the following command:

$ ssh -C -p 29862 -N -L 27017:localhost:27017 opquser@emilia.ics.hawaii.edu

The shell will appear to "hang", but that's OK: it just means port forwarding has started. Type control-C to terminate port forwarding.

← BibliographyRoadmap →
  • Obtain opquser account credentials
  • ssh without password prompt
  • ssh port forwarding
Open Power Quality
Documentation Quick Links
OverviewOPQ Box User GuideOPQ View User GuideAgile Power Monitoring for UHRoadmap
Community
SlackTwitterNewsPublic OPQ CloudContact Us
Development
GitHubProject BoardsDeveloper TeamOpportunities

Open Power Quality is sponsored by:
Collaborative Software Development Laboratory, University of Hawaii
Department of Information and Computer Sciences, University of Hawaii
Department of Electrical Engineering, University of Hawaii