Fixed license

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
8 posts • Page 1 of 1
Gyfee1
Posts:7
Joined: Thu Apr 18, 2019 1:11 pm

Fixed license

Post by Gyfee1 »

Good day.

We have pair servers (redundancy system), with two dongles and shield.
For administrate para only on the one machine, the license has two fields “parafix = 1” and “uifix = 1".
The project has been not started with this license, so we launched the script described in help, with "HW" of our servers (e.g “Fixed Licensing”).

main()
{
int i;
string sCode = "";
dyn_anytype daT, da, daa;
dyn_anytype hwCode,uifix,parafix;
=====================================
hwCode[1]="---";
uifix[1]="1";
parafix[1]="1";

hwCode[2]="---";
uifix[2]="0";
parafix[2]="0";
=====================================
for ( i = 1; i <=dynlen(hwCode); i++ )
{
sCode += "parafix_" + hwCode + " = " + parafix + "\n" +
"uifix_" + hwCode + " = " + uifix + "\n";
}
dpSet("_Event.License.HW:_original.._value", sCode);
dpSet("_Event_2.License.HW:_original.._value", sCode); //redundant system
}

After this, module "Gedi" was run. But, after 7 - 8 minutes of working, the “Gedi” module was closed, with message "Invalid license, Shutdown para because it is not licensed". Its repeat every time.
Attachments
parafix.png
fatal error.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Fixed license

Post by leoknipp »

With the fixed license feature you can define at which machine a UI can be started all the time.
To define the machine you have to enter the hardware code for this machine in the panel shown in the screenshot.
The screenshot you have added does not show a valid hardware code and therefore it does not work.

Best Regards
Leopold Knipp
Senior Support Specialist

Gyfee1
Posts:7
Joined: Thu Apr 18, 2019 1:11 pm

Re: Fixed license

Post by Gyfee1 »

Sorry for bad screenshots. They were edited.

There are two HW, get it from panel "Get hardware code".
72537---341
70415---878

We used script with these HW. In panel "Fixed licenses" we see correct number of our HW.
Attachments
HW.png
HW.png (10.95 KiB) Viewed 6540 times
Get_HW_2.png
Get_HW.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Fixed license

Post by leoknipp »

If you have configured a fixed license for a UI running on the machine with the HW code 72537---341 it should be possible to run a UI with para option at exactly this machine.
Did you check if a UI runs correctly at this machine?

Best Regards
Leopold Knipp
Senior Support Specialist

Gyfee1
Posts:7
Joined: Thu Apr 18, 2019 1:11 pm

Re: Fixed license

Post by Gyfee1 »

Yes we check. UI correctly runs on machine with HW 72537---341. But after working 7-8 min, UI close with warning message "Invalid license".
Attachments
invalid.png
run.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Fixed license

Post by leoknipp »

In the screenshots we cannot see which WinCC OA version and patch level you are using.
Can you please add this information.

Best Regards
Leopold Knipp
Senior Support Specialist

Gyfee1
Posts:7
Joined: Thu Apr 18, 2019 1:11 pm

Re: Fixed license

Post by Gyfee1 »

We are using, WinCC OA 3.15 P024.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Fixed license

Post by leoknipp »

When you have configured the fixed license and when you have started the UI please do a "-report dispatch,license" for the Event Manager on both servers.

I have seen that you normally get in contact with our WinCC OA Consulting team when you have questions concerning WinCC OA.
When you have used the debug flags to generate information please use the WinCC OA Consulting Tracker and submit a consulting request. In the request please describe the problem and add the logfiles (pmon.<hostname>,PVSS_II.log, WCCILevent0.log9 for both servers.

Best Regards
Leopold Knipp
Senior Support Specialist

8 posts • Page 1 of 1