Skip to content

openPDC v2.9.148

Latest
Compare
Choose a tag to compare
@ritchiecarroll ritchiecarroll released this 01 Apr 03:05
· 449 commits to master since this release
697f34f

This is the official release for openPDC v2.9.148

This is version 2.9.148 of the openPDC, released on March 31, 2022

FYI - Windows installers for openPDC v2.9.148 prior to 4/9/2024 were suspectable to CVE-2024-24810. The installer download below has been updated to compensate for this vulnerability. Note that since this only affected the installer, the openPDC version remains the same. If you have an installer (i.e., the openPDCSetup.msi file) cached on your system, it is recommended to replace the file from the updated download below.

This is an optional minor point release of openPDC v2.9 which includes a POSIX deployment for Linux and OSX, see updates below for details.

NOTE: If you are upgrading from a prior version of the openPDC, older than v2.9, you must migrate your existing configuration to use the latest database schema when the Configuration Setup Utility is run after the installation completes - this version includes schema updates.

Updates Since v2.9 November Release

  • This release includes a POSIX deployment (see deployment steps below)
  • Windows installer includes updated PMU Connection Tester, v4.7.1
  • Updated SerialClient to Disconnect and Dispose SerialPort on class Dispose (fixes rare unhandled exception on service shutdown)
  • Added UpdateExistingTagCompressionState parameter to PI Adapter to control if tag compression attribute should be updated on existing tags when UseCompression parameter is enabled
  • Added time reasonability parameters to PI Adapter
  • Added SkipDigitalAlternateTagSync operation with PI Adapter Tag Sync
  • Added Gzip export option to GEP data extractor tool
  • Updated DeviceStats adapter SQL
  • Added configuration timeout parameters to DeviceStats adapter
  • Improved phasor protocol adapter for manual measurement key lookups
  • Updated phasor protocol to better handle auto-repeats with spanned CFG3 frames
  • Fixed phasor protocol CFG3 Guid attribute display
  • Simplified IEEE C37.118 concentrator use of Device model (no local proxy settings required)
  • Fixed encoding issues with ValidateAssemblyBindings
  • Fixed issue with simulated timestamp ordering during file-based replay
  • Fixed restoration of file-based auto-repeat playback checkbox when deserializing a saved connection file

openPDC POSIX Deployment Steps

Note: The following steps tested on Ubuntu 20.04

Prerequisites

  1. Make sure Mono is installed (this build tested with v6.12.0)

    https://www.mono-project.com/download/stable/#download-lin-ubuntu

  2. Make sure wget is installed, e.g.:

    sudo apt install wget

  3. Make sure unzip is installed, e.g.:

    sudo apt install unzip

  4. Make sure sqlite3 is installed, e.g.:

    sudo apt install sqlite3

  5. Make sure build-essential is installed, e.g.:

    sudo apt install build-essential

  6. Make sure PAM libraries, i.e., libpam0g-dev, are installed, e.g.:

    sudo apt install libpam0g-dev

Install Steps

# Download openPDC POSIX release
wget https://github.com/GridProtectionAlliance/openPDC/releases/download/v2.9.148/openPDC-POSIX.zip
# Unzip POSIX release
unzip openPDC-POSIX.zip
# Find a suitable install location, e.g., /opt/
sudo mv openPDC /opt
cd /opt/openPDC
# Generate a service certificate
mono MonoGenCert.exe openPDC
# Enable local user auth for openPDC (must run as root):
sudo bash enable-security.sh
# Add current user as initial openPDC admin (must run as user):
bash add-user.sh
# Register openPDC service to run as a daemon (must run as root):
sudo bash register-openPDC.sh

openPDC Web Management Interface

http://localhost:8280/

Authenticate on openPDC 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 openPDC 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 openPDC Web Services

Run openPDC Console

cd ~
mono /opt/openPDC/openPDCConsole.exe

Authenticate as requested.

To login as another user, enter login command into console.

Enter command exit to exit console application. openPDC will continue to run.

Controlling openPDC Daemon

Stop openPDC Daemon

sudo /opt/openPDC/openPDC stop

Restart openPDC Daemon

sudo /opt/openPDC/openPDC start

Uninstall Steps

# Unregister openPDC as Daemon
cd /opt/openPDC
sudo bash register-openPDC.sh -u
# Remove openPDC folder
cd /opt
sudo rm -rdf openPDC
# Remove user cache
cd ~/.config/Grid\ Protection\ Alliance/
rm -rdf openPDCConsole

Asset Filename SHA256 Hash
Synchrophasor.Binaries.zip 3D40A8CFD33EA64825A586716A7DDAA15F8E80494FBAE1330C5DDBF3F941AAA5
Synchrophasor.Installs.zip F3097477925768B4B7CB48C0CFB568F93D9DC92119A5D2B439E5D81A78BCFC24
Synchrophasor.Scripts.zip D6047EE6816CD5D42BAF8A9B2B4C77D762DFB3B361F57B3FDD5E5668DB4DA9F7
openPDC-POSIX.zip BD5C7E4A67C4150331B4FE120651C46A3CB354FA0B34A139FF7FA9C6D5ABF461