| Grid Protection Alliance | openPDC Project | PMU Connection Tester Project | Exercises |
This document is an exercise procedure for setting up and testing concepts.
Grid Protection Alliance Projects
This is a cookbook recipe style exercise procedure for setting up openPDC and PMU Connection Tester. This procedure was developed and tested using specified operating systems and software versions. However, with appropriate modifications, this procedure should be adaptable to work in other hardware and software platforms.
This is not a production deployment configuration. Production deployments need signifiant additional performance and security tuning.
- Platform
OPDC-01Server, GPA Software Installation- Create a Shared Folder on the
OPDC-01Server for Receiving Software and Files - Connect the
PMU-TESTERWorkstation to theOPDC-01and Map a Drive to the\\OPDC-01\GPA.sharedFolder - Download the openPDC Software and Save it to the
GPA.sharedShared Folder onOPDC-01 - Install the openPDC Software on the
OPDC-01Server - Configuration Setup Utility
- Download the PMU Connection Tester Software and Save it to the
GPA.sharedFolder - Install the PMU Connection Tester Software on the
OPDC-01Server
- Create a Shared Folder on the
PMU-TESTERWorkstation GPA Software Installation- Test openPDC Concentrator Output Streaming to PMU Connection Tester
- Exercise Conclusion
This example uses a Microsoft Windows Server 2012 R2 Host server, named GPA-HOST running Hyper-V to host virtual machines configured with various operating systems and GPA software. The GPA-HOST server also runs Microsoft DNS Server to map the host's and virtual machines' names to IP addresses in our local network.
The virtual machines will be created with a clean operating system and software installed for this example. This document will try to highlight the non-default customized installation and configuration steps. This document does not include many default installation and configuration steps.
- Windows Server 2012 R2 Standard with Hyper-V for hosting virtual machines
- DNS Server
- CPU = AMD Phenom X4, 3.2GHz
- RAM = 16GB, 1600 MHz, non-ECC
- Ethernet with Internet access
- OS = Windows Server 2016 Standard
- Software = **GPA Software**
- CPU = 2 virtual cores
- RAM = 4096MB standard (not dynamic)
- VHD = 127GB virtual hard drive
- OS = Windows 10 Enterprise 2016 LTSB
- Software = **GPA Software**
- Environment for developing, debugging, and documenting GPA Software
- CPU = 2 virtual cores
- RAM = 2048MB standard (not dynamic)
- VHD = 127GB virtual hard drive
In this example, the Host Server is a general purpose physical server whose function is providing a Hyper-V infrastructure to run the virtual machines and local DNS service. Setting up the Host Server is beyond the scope of this example. However, the only significant Host Server setup beyond a clean Windows install is the installation of Hyper-V and DNS services.
The Host Server DNS service is optional. The DNS service provides reliable and easy to manage Host Name to IP address resolution. This example will use static IPv4 addresses for all of the machines.
This example's local area network (LAN) IP Address range is 192.168.1.0 to 192.168.1.255. Your network will not likely use the same IP Addresses. Also the gpa.net domain name is arbitrary. If using a different domain name, make sure it does not conflict with a real Internet domain you may want to access. Also, make sure to configure the DNS server's to Forwarders properties to resolve Internet side domains' host names.
- Create a Forward Lookup Zone for the domain named:
gpa.net - Under the
gpa.netzone, create the following Host A records:GPA-HOST A 192.168.1.249OPDC-01 A 192.168.1.110PMU-TESTER A 192.168.1.120
- Set the DNS Server's Forwarders properties to include your favorite ISP's DNS service or public DNS service. This example uses Google's public DNS.
8.8.8.8 google-public-dns-a.google.com
This example uses Microsoft Developer Network (MSDN) subscription releases of the Windows operating system software in ISO file format. The ISO filenames in this document are renamed to be simplified.
In Production Deployments, complex passwords are desireable. However, in these cookbook scenarios, certain test procedures may be easier to troubleshoot if your passwords are at least 8 alpha-numeric characters long, with mixed character cases, and at least 1 numeric digit. For now, avoid short simple passwords and avoid using symbols in the passwords.
-
- Download the
windows_server_2016.isofile to theGPA-HOSTserver
- Download the
-
- Configure
OPDC-01'sHyper-V Settings as described in the earlier Platform Configuration section and assign thewindows_server_2016.isoimage file to its DVD drive.
- Configure
-
- Start the
OPDC-01virtual machine and run the Windows installation. In the Windows Setup dialog's "Select the operating system..." screen, select "Windows Server 2016 Standard (Desktop Experience)"
- Start the
-
- During setup, you will be prompted to enter an appropriate password for the Administrator account. The Administrator account will only be used for software installation and configuration changes requiring elevated privileges.
-
- Configure the static IP address
- Open the
Control Panel\Network and Internet\Network and Sharing Center - Open the Ethernet / Properties and open its Internet Protocol Version 4 (TCP/IPv4) / Properties and set the following values:
IP address: 192.168.1.110- set to match your DNS forOPDC-01.gpa.netSubnet mask: 255.255.255.0- set to your network's subnet maskDefault gateway: 192.168.1.1- set to your Router's LAN IP addressPreferred DNS server: 192.168.1.249- set to theGPA-HOSTserver's IP address
- Ping stuff to test the network and DNS configuration.
C:\Users\Administrator> ping gpa-host.gpa.net
Pinging gpa-host.gpa.net [192.168.1.249] with 32 bytes of data:
Reply from 192.168.1.249: bytes=32 time<1ms TTL=128
...
C:\Users\Administrator> ping google-public-dns-a.google.com
Pinging www.google.com [8.8.8.8] with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=20ms TTL=45
...
C:\Users\Administrator> ping time.nist.gov
Pinging ntp1.glb.nist.gov [132.163.4.102] with 32 bytes of data:
Request timed out.
-
- In
Control Panel\Clock, Language, and Regionclick the "Set the time and date"
- In the Date and Time tab, set the date and time and set the local time zone
- Set the local time zone
- In the Internet Time tab, click the Change settings... button and set the Server to
time.nist.govthen click Update now and look for a message like "The clock was successfully synchronized with time.nist.gov on..."
- In
-
- If everything is working so far, run Windows Update and take a coffee break!
-
- Reboot after Windows Updates are downloaded and let them install by rebooting.
-
- In
Control Panel\System and Security\Systemclick the Change Settings link in the *Computer name, domain, and workgroup settings section.
- In the System Properties / Computer Name tab, click the Change... button.
- In the Computer Name/Domain Changes dialog,
- change the Computer name value to
OPDC-01 - change the Workgroup value to
GPA.NET - click the More... button and set the *Primary DNS suffix of this computer" value to
gpa.net - close the dialogs and reboot
- change the Computer name value to
- In
-
- Optional: In
Control Panel\System and Security\System
- Enable Remote Desktop: click the Remote Settings link and select "Allow remote connetions to this computer."
- Adjust for Best Performance: click the Advanced system settings link
- In the System Properties / Advanced tab's Performance section, click the Settings... button
- Click the Adjust for best performance radio option, and select only the minimum Custom features desired
- Optional: In
-
- After rebooted, Shut Down the virtual machine and create a Hyper-V Checkpoint recording of this basic installation configuration
-
- In Computer Management / Local Users and Groups / Users, create a User Account and Password
- The user name in this example is:
cosine - If you enabled Remote Desktop, add the
cosineuser to theRemote Desktop UsersGroup
-
- Download the
windows_10_enterprise_2016_ltsb.isofile to theGPA-HOSTserver
- Download the
-
- On the
GPA-HOSTserver: create thePMU-TESTERWorkstation virtual machine.
- Configure
PMU-TESTER'sHyper-V Settings as described in the earlier Platform Configuration section and assign thewindows_10_enterprise_2016_ltsb.isoimage file to its DVD drive.
- On the
-
- Start the
PMU-TESTERvirtual machine and run the Windows installation.
- In the Get going fast screen, press the "Customize" button.
- In the 3 Customize settings screens, turn All of the options to Off. Optionally leave the "Browser, protection, and update / Use SmartScreen..." turned On
- Start the
-
- In the Choose hou you'll connect screen, select "Join a local Active Directory domain"
-
- In the Create an account for this PC screen, enter the user information and Password you want to use and need to remember.
- The user name in this example is:
tangent
-
- Configure the static IP address
- Open the
Control Panel\Network and Internet\Network and Sharing Center - Open the Ethernet / Properties and open its Internet Protocol Version 4 (TCP/IPv4) / Properties and set the following values:
IP address: 192.168.1.120- set to match your DNS forPMU-TESTER.gpa.netSubnet mask: 255.255.255.0- set to your network's subnet maskDefault gateway: 192.168.1.1- set to your Router's LAN IP addressPreferred DNS server: 192.168.1.249- set to theGPA-HOSTserver's IP address
- Ping stuff to test the network and DNS configuration.
C:\Users\Administrator> ping gpa-host.gpa.net
Pinging gpa-host.gpa.net [192.168.1.249] with 32 bytes of data:
Reply from 192.168.1.249: bytes=32 time<1ms TTL=128
...
C:\Users\Administrator> ping opdc-01.gpa.net
Pinging gpa-host.gpa.net [192.168.1.110] with 32 bytes of data:
Request timed out
...
C:\Users\Administrator> ping google-public-dns-a.google.com
Pinging www.google.com [8.8.8.8] with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=20ms TTL=45
...
C:\Users\Administrator> ping time.nist.gov
Pinging ntp1.glb.nist.gov [132.163.4.102] with 32 bytes of data:
Request timed out.
-
- In
Control Panel\Clock, Language, and Regionclick the "Set the time and date"
- In the Date and Time tab, set the date and time and set the local time zone
- Set the local time zone
- In the Internet Time tab, click the Change settings... button and set the Server to
time.nist.govthen click Update now and look for a message like "The clock was successfully synchronized with time.nist.gov on..."
- In
-
- If everything is working so far, run Windows Update and take a coffee break!
-
- Reboot after Windows Updates are downloaded and let them complete by rebooting.
-
- In
Control Panel\System and Security\Systemclick the Change Settings link in the *Computer name, domain, and workgroup settings section.
- In the System Properties / Computer Name tab, click the Change... button.
- In the Computer Name/Domain Changes dialog,
- change the Computer name value to
PMU-TESTER - change the Workgroup value to
GPA.NET - click the More... button and set the *Primary DNS suffix of this computer" value to
gpa.net - close the dialogs and reboot
- change the Computer name value to
- In
-
- Optional: In
Control Panel\System and Security\System
- Enable Remote Desktop: click the Remote Settings link and select "Allow remote connetions to this computer."
- Adjust for Best Performance: click the Advanced system settings link
- In the System Properties / Advanced tab's Performance section, click the Settings... button
- Click the Adjust for best performance radio option, and select only the minimum Custom features desired
- Optional: In
-
- After rebooted, Shut Down the virtual machine and create a Hyper-V Checkpoint recording of this basic installation configuration
- Start the
OPDC-01Server if it is not already running- Sign in with the
Administratoraccount
- Sign in with the
- Start the
PMU-TESTERWorkstation if it is not already running- Sign in with the
tangentaccount
- Sign in with the
Do the following tasks in the OPDC-01 Server:
- Create the following 2 folders:
C:\GPAC:\GPA\GPA.shared
- In the Windows File Explorer, right click on the
C:\GPA\GPA.sharedfolder and click Properties - Select the Sharing tab and click the Advanced Sharing... button.
- Check the Share this folder checkbox, make sure the Share name value is
GPA.shared - Click the Permissions button
- Add the
Administratorand assign Full Control permissions - Add the
cosineuser and assign Change permissions - Remove the
Everyonegroup
- Add the
- Click the OK button and close the dialogs
Connect the PMU-TESTER Workstation to the OPDC-01 and Map a Drive to the \\OPDC-01\GPA.shared Folder
Do the following tasks in the PMU-TESTER Workstation:
- Map the letter "G" to the
GPA.sharedfolder onOPDC-01- Open a Command Prompt console window
- Execute the command:
net use G: \\opdc-01.gpa.net\GPA.shared /PERSISTENT:yes /SAVECRED - Enter the user name for 'opdc-01.gpa.net':
cosine - Enter the password for the
cosineuser - The result should be "The command completed successfully."
- While the Command Prompt console window is open, test the share by typing the command:
dir G:
Do the following tasks in the PMU-TESTER Workstation:
- Open the Windows Accessories / Internet Explorer web browser
- Navigate to the openPDC Release page: https://github.com/GridProtectionAlliance/openPDC/releases
- Scroll down to the Downloads section and click on the Synchrophasor.Installs.zip link to start the download.
- When prompted, drop down the Save button menu and click Save as
- In the Save As dialog, browse to the mapped network drive
G:\, then click the Save button.
Do the following tasks in the OPDC-01 Server
- Open the Windows System / File Explorer and navigate to the
C:\GPA\GPA.sharedfolder. - Extract the Synchrophasor.Installs.zip contents to a new
C:\GPA\GPA.shared\Synchrophasor.Installsfolder and open the folder. - Run the openPDCSetup.msi setup wizard
- Accept the terms in the MIT License Agreement
- In the Custom Setup screen, click the Browse... button and change the Location value to
C:\GPA\openPDC\ - Continue with the remaining openPDC Setup by accepting the default values until you see the Completed the openPDC Setup Wizard screen.
- Make sure the Launch Configuration Setup Utility option is checked then click the Finish button
Do the following tasks in the OPDC-01 Server
Unless otherwise noted, accept the default configuration options and continue to the Next screen.
- In the Set up a database screen, select the SQLite radio option and check the Run sample data script option, then click the Next button.
- In the Set up an SQLite database screen, change the "Please select the location in which to save the new database file." value to
C:\GPA\openPDC\data\openPDC.db - In the Define User Account Credentials verify the user account is correct and that Allow pass-through authentication for openPDC Manager is checked
- Continue and accept defaults for the remaining configuration screens. If all goes well, the configuration will complete and display a screen like this:
- Run the openPDC service and openPDC Manager
Do the following tasks in the PMU-TESTER Workstation:
- Open the Windows Accessories / Internet Explorer web browser
- Navigate to the PMU Connection Tester Release page: https://github.com/GridProtectionAlliance/PMUConnectionTester/releases
- Scroll down to the Downloads section and click on the PMUConnectionTesterSetup.zip link to start the download.
- When prompted, drop down the Save button menu and click Save as
- In the Save As dialog, browse to the mapped network drive
G:\, then click the Save button.
Do the following tasks in the OPDC-01 Server
- Open the Windows System / File Explorer and navigate to the
C:\GPA\GPA.sharedfolder. - Extract the
PMUConnectionTesterSetup.zipcontents to a newC:\GPA\GPA.shared\PMUConnectionTesterSetupfolder and open the folder. - Run the PMUConnectionTesterSetup64.msi setup wizard
- In the Select Installation Folder screen, change the Folder value to
C:\GPA\PMU Connection Tester\ - Continue with the remaining PMU Connection Tester Setup by accepting the default values until it has completed.
- Run the PMU Connection Tester application with its first time defaults and click the Connect button.
- Start the
PMU-TESTERWorkstation if it is not already running- Sign in with the
tangentaccount
- Sign in with the
Do the following tasks in the PMU-TESTER Workstation:
- Create the following 2 folders:
C:\GPAC:\GPA\GPA.shared
Do the following tasks in the PMU-TESTER Workstation:
- Open the Windows Accessories / Internet Explorer web browser
- Navigate to the PMU Connection Tester Release page: https://github.com/GridProtectionAlliance/PMUConnectionTester/releases
- Scroll down to the Downloads section and click on the PMUConnectionTesterSetup.zip link to start the download.
- When prompted, drop down the Save button menu and click Save as
- In the Save As dialog, browse to the
C:\GPA\GPA.sharedfolder, then click the Save button.
Do the following tasks in the PMU-TESTER Workstation:
- Open the Windows System / File Explorer and navigate to the
C:\GPA\GPA.sharedfolder. - Extract the
PMUConnectionTesterSetup.zipcontents to a newC:\GPA\GPA.shared\PMUConnectionTesterSetupfolder and open the folder. - Run the PMUConnectionTesterSetup64.msi setup wizard
- In the Select Installation Folder screen, change the Folder value to
C:\GPA\PMU Connection Tester\ - Continue with the remaining PMU Connection Tester Setup by accepting the default values until it has completed.
- Run the PMU Connection Tester application with its first time defaults and click the Connect button.
- Start the
OPDC-01Server if it is not already running- Sign in with the
Administratoraccount
- Sign in with the
- Start the
PMU-TESTERWorkstation if it is not already running- Sign in with the
tangentaccount
- Sign in with the
Do the following tasks in the OPDC-01 Server:
- Run the openPDC Manager application
- Click the Outputs menu and select Concentrator Output Streams and review the
TESTSTREAMproperties- Set the TCP Channel text to "
Port=8900; maxSendQueueSize=-1; interface=0.0.0.0" (this will force openPDC to use IPv4) - Set the UDP Channel text to "
port=-1; clients=localhost:8800,pmu-tester.gpa.net:8801; interface=0.0.0.0" - Click the Save button
- Click the Initialize button

- Click the Advanced Properties and scroll down to review them

- Set the TCP Channel text to "
Do the following tasks in the OPDC-01 Server:
- Run the PMU Connection Tester application
- Select the Settings tab (in the lower middle of the screen). In the Applications Settings section, set the following parameters:
- Set the ForceIPv4 value to
True - Set the MaximumFrameDisplayBytes value to
512(the IEEE C37-118 Configuration Frame Size)
- Set the ForceIPv4 value to
- Select the UDP tab in the Connection Parameters
- In the Protocol tab
- Click the Connect button

- Select the Settings tab (in the lower middle of the screen). In the Applications Settings section, set the following parameters:
Configure the Windows Firewall on the OPDC-01 Server for the Output Stream TCP Port 8900 and UDP Ports 8800 to 8809
Do the following tasks in the OPDC-01 Server:
- Open the
Control Panel\System and Security\Windows Firewall - In the left side menu, click the Advanced settings link
- In the *Windows Firewall with Advanced Security applet's left side tree view, select the Inbound Rules node
- In the right side Actions menu, Inbound Rules submenu, click the New Rule... action item
- Create a new Inbound Rule using the New Inbound Rule Wizard
- Rule Type = Port
- Protocol and Ports = TCP and Specific local ports =
8900 - Action = Allow the Connection
- Profile = Check all profiles. Note: this exercise needs only the Private profile checked
- Name = openPDC Output Stream TCP 8900. Note: this can be any name you want
- Make sure the new *openPDC Output Stream TCP 8900 Inbound Rule is Enabled and open it up to review its properties
- Create a new Inbound Rule using the New Inbound Rule Wizard
- Rule Type = Port
- Protocol and Ports = UDP and Specific local ports =
8800-8809= a range of 10 ports starting at port# 8800 - Action = Allow the Connection
- Profile = Check all profiles. Note: this exercise needs only the Private profile checked
- Name = openPDC Output Stream UDP 8800. Note: this can be any name you want
- Make sure the new *openPDC Output Stream UDP 8800 Inbound Rule is Enabled and open it up to review its properties
If the PMU Connection Tester on OPDC-01 Server is still Connected, please Disconnect it before performing the following tasks.
Do the following tasks in the PMU-TESTER Workstation:
- Run the PMU Connection Tester application
- Select the Settings tab (in the lower middle of the screen). In the Applications Settings section, set the following parameters:
- Set the ForceIPv4 value to
True - Set the MaximumFrameDisplayBytes value to
512(the IEEE C37-118 Configuration Frame Size)
- Set the ForceIPv4 value to
- Select the UDP tab in the Connection Parameters
- In the Protocol tab
- Click the Connect button

- Select the Settings tab (in the lower middle of the screen). In the Applications Settings section, set the following parameters:
- If you get an error trying to connect and stream data, check the
OPDC-01Server and make sure PMU Connection Tester is not still connected to the Output Stream. If it is, then click Disconnect and try this step again.
Dec 19, 2016 - Created by aj, version 1.0
Dec 30, 2016 - Updated by aj, version 1.1
Copyright 2017 Grid Protection Alliance


















