Archestra License Manager Guide

This TechNote gives you important instructions to be performed on each platform at which you want to deploy the DIObjects to avoid having licensing issue in runtime when running new versions from DIObject , which use the new Archestra License not suitelink.lic for example DIMBTCP 3.0 sp1 and DIABCIP 5.0, inside Wonderware Application Server 3.1 SP3 Patch 1 .

  1. Wonderware License Manager
  2. Wonderware License Cost

When purchasing a license for a Wonderware product that uses Schneider Electric licensing, the deliverable that you will receive for your order will be an E-mail with multiple attachments – two PDF documents and a.zip archive. Select a machine to act as a License Server, then save and extract the.zip archive attachment to a location easily accessible from that server. On the Microsoft Windows Vista operating system, when you use the ArchestrA License Manager to configure licensing for a client computer, the license configuration applies only to the user running the ArchestrA License Manager.

Application Versions

  • Application Server 3.1 SP3 P01
  • DI MBTCP 3.0 SP1
  • DI ABCIP 5.0

OPERATING SYSTEM

Windows Server 2008 R2
SITUATION

When running newer DASSERVER it stops periodically , getting Information message in your logger says that <DASERVER name > Please install a valid license for this DAServer product as shown in fig.1 below. trying with external demo license and getting same issue.


Figure 1: License invalid info message
SYMPTOMS

DAServer now uses the ArchestrA License Manager and the common ArchestrA license file.

If you are still using software versions that use the wwsuite.lic license file, and you do not have an ArchestrA.lic license file with the correct feature line you need to add it, you need to run InitLicense.wsf file included with the CD image to initialize the new ArchestrA Licensing sub-system.
ACTION

If you are running Wonderware Application Server 3.1 SP3 Patch 1 or older, you must perform the following functions on each platform where you want to deploy the MBTCP DIObjects to it, Please follow below steps.

Archestra License Manager Guide
  1. Undeploy DIObjects. and close IDE.
  2. Install two Microsoft components manually.NET 4.0 Framework and Visual C++ 10.0 SP1 run-time redistributable components.
  3. Run the InitLicense.wsf file included with the CD image, fig.2, to initialize the new ArchestrA Licensing sub-system.


    Figure 2: InitLicense.wsf file in DIObject CD

    We will see license subsystem Initialization success message as shown in Figure 3 (below).


    Figure 3: License subsystem initialization success message

  4. Launch ArchestrA IDE and deploy DIObjects again.


Script in InitLicense.wsf

<job>
<script language=”VBScript”>

Set oShell = CreateObject(“WScript.Shell”)

If CInt(oShell.RegRead(“HKLMSOFTWAREMicrosoftWindows NTCurrentVersionCurrentBuildNumber”)) > 3790 Then
If WScript.Arguments.Named.Exists(“elevated”) = False Then
‘Launch the script again as administrator
CreateObject(“Shell.Application”).ShellExecute “wscript.exe”, “””” & WScript.ScriptFullName & “”” /elevated”, “”, “runas”, 1
WScript.Quit
Else
‘Change the working directory from the system32 folder back to the script抯 folder.
Set oShell = CreateObject(“WScript.Shell”)
oShell.CurrentDirectory = CreateObject(“Scripting.FileSystemObject”).GetParentFolderName(WScript.ScriptFullName)
End If
End If

Dim WSHShell, RegKey, OsType, FolderPath, ProgramFilesPath
Set WshShell = CreateObject(“WScript.Shell”)
OsType = WshShell.RegRead(“HKLMSYSTEMCurrentControlSetControlSession ManagerEnvironmentPROCESSOR_ARCHITECTURE”)

Wonderware license server

FolderPath = “Common FilesArchestrALicense”

If OsType = “x86” Then
RegKey = “HKLMSOFTWAREWonderwareLicense”
ProgramFilesPath = wshShell.ExpandEnvironmentStrings(“%PROGRAMFILES%”)
FolderPath = ProgramFilesPath + FolderPath
‘wscript.echo “Windows 32bit system detected”
Else
If OsType = “AMD64” Then
RegKey = “HKLMSOFTWAREWow6432NodeWonderwareLicense”
ProgramFilesPath = wshShell.ExpandEnvironmentStrings(“%PROGRAMFILES(x86)%”)
FolderPath = ProgramFilesPath + FolderPath
‘wscript.echo “Windows 64bit system detected”
End If
End If

Wonderware License Manager

WSHShell.RegWrite RegKey & “FlexLicFileDir”, FolderPath, “REG_SZ”

wscript.echo “ArchestrA Licensing sub-system initialization succeeded.”

Wonderware License Cost

</script>
</job>