Configure Connection
Skyward SMS 2.0 guide
Connect NIM to Skyward SMS 2.0 through the Progress OpenEdge driver, with optional VPN automation where needed.
Before you begin
This integration uses a database connection through Progress OpenEdge Driver 11.7 or later. Review the vendor's Skyward ODBC Launch Kit before configuring the connection.
Use a client VPN when required
When a VPN is required to reach the database, use a site-to-site VPN where possible. It is more reliable for an unattended NIM service than an interactive client VPN.
The following Cisco AnyConnect example opens the VPN before NIM connects to the database.
-
Create a connection file, such as
C:\Tools4ever\Scripts\connect.txt.connect.txtconnect vpn-1.iscorp.com idofgroup thisismyusername thisismypasswordyquitDo not store passwords in plain textThe example above illustrates the required VPN command structure only. Do not place a real password in
connect.txt. Use an approved secure credential method for the account running the NIM service. -
Create
C:\Tools4ever\Scripts\OpenVPN.batto close existing AnyConnect processes and open the VPN.OpenVPN.bat@echo offcd /d C:\Tools4ever\Scriptstaskkill /S localhost /IM vpncli.exe /F /Ttaskkill /S localhost /IM vpnui.exe /F /T"C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe" -s < connect.txt -
Create
C:\Tools4ever\Scripts\CloseVPN.batto disconnect when the connection is no longer required.CloseVPN.bat@echo off"C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\vpncli.exe" disconnect -
Configure NIM to run the opening script before its database connection is used, then test the connection from the NIM server.