cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Routing to second AS2 server if first server is down

former_member190358
Participant
0 Kudos

Hello Team,

I have a requirement where business server goes down without any warning. And hence there is loss of messages

at the target side.

So is it possible to, switch to backup line  if the original server is down and how do we configure it in case of AS2 server as target.

Regards,

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

former_member181985
Active Contributor
0 Kudos

>>I have a requirement where business server goes down without any warning. And hence there is loss of messages

Incorrect, there will never be data loss if it is asynchrnous scenario, since adapter engine will retry 3 times by default. And manual retry is always possible.

Amit's solution looks fine and in general it is valid, however i only see issue as a duplicate message, since the message will go to two AS2 servers in case of first failure.

Former Member
0 Kudos

Hi Praveen,

I am not sure whether i understood u completely or not, but u will only throw exception in BPM (using contol step inside a deadline branch) once the adapter retries all its 3 attempts and then may be after 16 minutes (5minutes*3 retry) u are throwing exception inside ur BPM and pushing the message to go through the next AS2 server. So u actually wont get a duplicate message?

Thanks

Amit Srivastava

former_member181985
Active Contributor
0 Kudos

Hello Amit,

I understand you point. But what if within 16 mins the first AS2 is not up? The BPM will send message to second AS2 server.

What I mean duplicate is from business point of view, the failed message will again go to first AS2 server in case some one manually re-sends/a scheduled job re-sends, meaning it has to be cancelled in Adapter engine.

Regards,

Praveen Gujjeti

Former Member
0 Kudos

Hi Praveen,

Rightly said, indeed the owner has to take care of this.

Thanks

Amit Srivastava

former_member190358
Participant
0 Kudos

Hello Amit and Praveen ,

Thanks for your valuable inputs.

However, will adapter engine  automatically process the message once the server 1  is up,  or it will only go when sent manually  or through job ?

Regards,

Ravi

former_member181985
Active Contributor
0 Kudos

hello ravi,

in production environment there will be jobs to re-trigger failed messages. support team can also resend the failed message for Adapter Engine.

- praveen

Former Member
0 Kudos

Hi,

Not sure abt the jobs name, but I would have personally opted for manually reprocessing of failed messages.

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi,

You can use the job for the program RSXMB_RESTART_MESSAGES to schedule automatic restart of failed messages.

This can be set at desired interval(say 10 mins) and the failed messages will be restarted.

http://help.sap.com/saphelp_nw70/helpdata/en/cd/20bc3ff6beeb0ce10000000a114084/content.htm

Thanks,

Sudhansu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I had a similar kind of req. where i need to switch between diff. ftp servers using file adapter...so i have used BPM for that, and in the send step of BPM I requested for transport ack from the file adapter and if the ack fails then i switched the message to pass through diff. ftp server (using another send step in the exception branch)

But here you are dealing with AS2 adapter..so u can give a try or wait for experts to comment on this

Thanks

Amit Srivastava