openHistorian v2.8.421 (POSIX) Beta
Pre-releaseThis is the initial beta release for openHistorian v2.8.421 for POSIX platforms
openHistorian POSIX Deployment Steps
Note: The following steps tested on Ubuntu 20.04
Prerequisites
- Make sure Mono is installed (this build tested with v6.12.0)
https://www.mono-project.com/download/stable/#download-lin-ubuntu
- Make sure
wget
is installed, e.g.:sudo apt install wget
- Make sure
unzip
is installed, e.g.:sudo apt install unzip
- Make sure
sqlite3
is installed, e.g.:sudo apt install sqlite3
- Make sure
build-essential
is installed, e.g.:sudo apt install build-essential
- Make sure PAM libraries, i.e.,
libpam0g-dev
, are installed, e.g.:sudo apt install libpam0g-dev
Install Steps
# Download openHistorian POSIX release
wget https://github.com/GridProtectionAlliance/openHistorian/releases/download/v2.8.421-beta/openHistorian-POSIX.zip
# Unzip POSIX release
unzip openHistorian-POSIX.zip
# Find a suitable install location, e.g., /opt/
sudo mv openHistorian /opt
cd /opt/openHistorian
# Generate a service certificate
mono MonoGenCert.exe openHistorian
# Enable local user auth for openHistorian (must run as root):
sudo bash enable-security.sh
# Add current user as initial openHistorian admin (must run as user):
bash add-user.sh
# Register openHistorian service to run as a daemon (must run as root):
sudo bash register-openHistorian.sh
openHistorian Web Management Interface
Authenticate on openHistorian web login page
Note that user name is in the format of domain\username
. If you are running as a local user you can use computer name as the domain name, or simply .
for short. For example, if the openHistorian admin user is a local account called john
, then enter user name as .\john
Once logged in you can navigate to Settings > Users
on the main menu to add other users.
Available openHistorian Web Services
- Primary metadata web service, e.g.:
- Primary data web service, e.g.:
http://localhost:6156/historian/timeseriesdata/read/current/12/json
- Statistics metadata web service, e.g.:
- Statistics data web service, e.g.:
http://localhost:6056/historian/timeseriesdata/read/current/32/json
- Alarm web service, e.g.:
- Grafana openHistorian data source for primary data source.:
- Grafana openHistorian data source for statistics, e.g.:
- Grafana openHistorian data source for other instances (example uses instance named
SCADA
):
Run openHistorian Console
cd ~
mono /opt/openHistorian/openHistorianConsole.exe
Authenticate as requested.
To login as another user, enter login
command into console.
Enter command exit
to exit console application. openHistorian will continue to run.
Controlling openHistorian Daemon
Stop openHistorian Daemon
sudo /opt/openHistorian/openHistorian stop
Restart openHistorian Daemon
sudo /opt/openHistorian/openHistorian start
Uninstall Steps
# Unregister openHistorian as Daemon
cd /opt/openHistorian
sudo bash register-openHistorian.sh -u
# Remove openHistorian folder
cd /opt
sudo rm -rdf openHistorian
# Remove user cache
cd ~/.config/Grid\ Protection\ Alliance/
rm -rdf openHistorianConsole
Asset Filename | SHA256 Hash |
---|---|
openHistorian-POSIX.zip | C0C804D68C21ADCF2B62E65F83B7F7A05FF5C798C16C27F0D09B8A3414CE8EA8 |