openHistorian v2.8.423 (POSIX) Beta
Pre-releaseThis is the initial beta release for openHistorian v2.8.423 for POSIX platforms 🎃
openHistorian POSIX Deployment Steps
Notes:
- The following steps tested on Ubuntu 20.04 / Docker
- Updates from v2.8.421: enables IPv4 socket for openHistorian
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
wgetis installed, e.g.:sudo apt install wget - Make sure
unzipis installed, e.g.:sudo apt install unzip - Make sure
sqlite3is installed, e.g.:sudo apt install sqlite3 - Make sure
build-essentialis 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.423-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.shopenHistorian 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.exeAuthenticate 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 stopRestart openHistorian Daemon
sudo /opt/openHistorian/openHistorian startUninstall 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 | 3A6AFCB3FADBB9E9CC8031AE6788B12F919DDE8B5D9A398010604D43A3BB9970 |