Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Sev package over pwrrt

Sev package over pwrrt 1 year 3 months ago #11830

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi all,
It's the first time I'm trying the sev server on the same node as the runtime (using Proview v5.5 over ubuntu 16 LTS).

Usually we use another desktop to be used as storage station and we install only the runtime package (pwrrt) on our PLC and the pwr pcakge on the developpement station that acts as storage station.
This works pretty well as expected but here on a new project we don't have a development station (or storage) so we need to install the sev server on the same node as the runtime (our PLC).

My question is: Is it possible to install the deb package pwrrt and then the pwrsev ? In my case I got an error during installlation (using dpkg -i) mentioning :
dpkg: error processing archive pwrsev_5.5.0...
trying to overwrite '/etc/pwrp_profile', which is also in package pwrrt
dpkg-deb : error : subprocess paste was killed by signal (broken pipe)
[...]
Erros were encountered while processing: pwrsev_5.5.0-1_i386.deb

I tried to remove original (from pwrrt) pwrp_profile file but no luck.
Would someone have already tried this and have any idea ?

Thanks for your help
Snarf
The administrator has disabled public write access.

Sev package over pwrrt 1 year 3 months ago #11831

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Snarf,

It's not possible to install pwrsev when pwrrt is installed. The sev server is included in the pwrrt package and will be started if you configure a SevServer object in the node hierarchy.

/Claes
The administrator has disabled public write access.

Sev package over pwrrt 1 year 3 months ago #11832

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,
It's even better...
I didn't know it was included in pwrrt...perfect !!

I consequently declared a HistSErver and ThreadHist in my project and some sevData here and there to test.
In rt_xtt I saw that HistServer is intialised but I can't access my plot group.
Looking in mysql, the pwrp__projectname database I'm used to see when using an external storage server is not created here.
In this configuration (same node for runtime and storage) what is triggering the database creation in mysql ?
Thanks for your help
Snarf
The administrator has disabled public write access.

Sev package over pwrrt 1 year 3 months ago #11834

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Snarf,

When you have configured a SevServer object, the sev_server process will be started and create the mysql database if it doesn' exist. Note that you have to install mysql server (or mariadb) and add the pwrp user to mysql.

/Claes
The administrator has disabled public write access.

Sev package over pwrrt 1 year 3 months ago #11835

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Stupid question but where is the SevServer object suppposed to be ?

At the moment, I just added a SevHistMonitor and SevHistThread in my runtime Node (in addition to the sevData object and PlotGroup in my Plant).
Probably I missed the most critical one but can't remind where it should be

Just in case I tried to start the sev_ini as I did in my development station (using sev_ini) but it fails when rt_ini is already launched.

I think we are one step from completion but yet another step to go...
Snarf
The administrator has disabled public write access.

Sev package over pwrrt 1 year 3 months ago #11836

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
If it's not in Node/Servers you should be able to find it in AllClasses/Sev.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.688 seconds