Kill (stop) control manager

Find and share HowTos to various installations / configurations!
18 posts • Page 2 of 2
mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Kill (stop) control manager

Post by mkoller »

Try using the other DP: _Managers_2.Exit

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Kill (stop) control manager

Post by vedadramovic »

Hi Martin,
thank you very much for fast reply.
I forgot about Managers_2.Exit.

is there a way to go thru pmon details of other scada server or a simple way to get managerID of other scada redundant server by its parameters?
Best regards,
Vedad

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Kill (stop) control manager

Post by mkoller »

pmon opens a TCP socket which is used to communicate with it, either locally (which the console does) or also remotely - if the port can be reached from any other server. (See our help for the details of the pmon protocol to query the list of managers, etc.
and check the pmon config entry "localAddress")

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Kill (stop) control manager

Post by vedadramovic »

Thank you Martin.

pmon is accesible over TCP from other locations.

I was wondering if I could use in control manager on first SCADA server functions like: pmonGetCount(), pmonGetName(), pmonGetOptions(), pmonGetNum()...
to find out specific manager id on second redundant server?

Thanks,
Vedad

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Kill (stop) control manager

Post by Gertjan van Schijndel »

You could use the function 'convManIdToInt', if you know the manager properties, to get a manager id.
You can find out which managers are running thru the '_Connections..*' datapoint elements.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Kill (stop) control manager

Post by mkoller »

no, that's not possible since these functions directly read the local shared memory

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Kill (stop) control manager

Post by vedadramovic »

Thank you very much Gertjan.

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Kill (stop) control manager

Post by vedadramovic »

Thank you Martin for fast and precise response.
Best regards,
Vedad

18 posts • Page 2 of 2