cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PCo reliable connection

neha1609
Explorer
0 Kudos
515

Hi Experts,

I have created SAP PCo agent instance with OPC UA as source system.

If source system connection is interrupted ,PCo agent instance goes to warning state. If source system connection is established again then PCo agent takes some time to come back to running state.

It usually takes 40-70 sec. I tried changing values in reliable connection tab of source system. But it did not helped much.

Can you please tell me how reliable connection tab works? Is there any way to reduce start time from 60 sec to 10 sec?

Thanks in advance.

Thanks,

Neha

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_Hunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Updating this question for other peoples reference.

To explain the "reliable connections" tab-

There are 2 user configurable settings:

  • Retry Interval - In the event of a connection error this is the time that PCo will wait before trying again.
  • Max. Number of Retries - Sets the number of times PCo will attempt to reconnect before it finally gives up and sets the agent to a Stopped or Faulted status

In Neha's setup she has the Retry interval set to 30 secs (default) and the log files provided by her show that PCo attempts to connect to the OPC UA server but it refuses the connection and PCo waits for 30 secs, it then tried again and was again refused, PCo then waited another 30 secs and on the 3rd attempt the server allowed it to connect. Hence why its taking so long to connect.

Reducing the retry interval in this situation does not improve the issue as its the Server refusing the connection and not PCo failing to connect.

In general it should be noted that OPC UA servers are expected to be running 100% of the time and not turned on and off when required.

Thanks

Kevin

neha1620
Explorer
0 Kudos

Hi Kevin,

Thanks for reply.

Yes it looks like same issue. We are currently working on how we can make OPC UA server running 100% of the time.

I will update you on my findings.

Thanks,

Neha