cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Server Question

Former Member
0 Kudos

We’re using the RFC Server functionality of the SAP .NET Connector.

We’re running a .NET Windows Service that receives the call from a SAP program.

1)

We’re trying to implement a load balancing strategy for the .NET Windows Service.

We plan to have the same .NET Windows Services running on multiple systmes.

The SAP program fails if there are multiple .NET Windows Services running that use the same ProgramID.

Is there any way to avoid this?

Do you have any suggestions or BKMs for implementing this scenario?

Do we need to use a different ProgramID for each server and make to each one from the SAP program?

2)

Do you have any BKMs or suggestions about how to prevent someone from inadvertently using the

Same ProgramID as one that is being used for a Production application.

Regards,

Lavaughn

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

interesting question, I'd like to have a comment too.

for failover scenarios, we could implement the RFC Server as a cluster resource on an active\passive implementation, but what about balanced loading requirements?

Former Member
0 Kudos

Hello,

It is a common practice to have multiple RFC server instances registered on a SAP gateway with the same programID in order to distribute the load among these RFC server instances running on the same or on different machines. If your ABAP program has problem with it, please check your ABAP program and find out what the problem is. Please note that this kind of load balancing works only if the RFC calls are stateless.

There is no automatic way to prevent multiple RFC programs from using the same program IDs mistakenly. However, you can manually control this with help of SMGW, SM59 etc.

Regards,

Guangwei