Skip to Content
0

Can we truly make PI Application server passive

Oct 27, 2016 at 11:51 AM

159

avatar image

Hi Team,

We faced the below issue in the PI system.

We have observed issue in one of the PI application server. We have removed it from web dispatcher, smlg, rz12,sm61 and made it passive in SM51.

Then after some time we observed that some of the interfaces had processes files on this particular server.

On further investigation we found out that these interfaces are file based interfaces and the application server which we make passive is still polling for files and when it finds the files, its processing them.

So there are two question here,

1. Is there any place we missed to remove the application server, due to which its still processing the files

2. Is there any way to stop a channel from polling on a particular node.

Regards

Pavan Kumar

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Praveen Gandepalli Oct 27, 2016 at 03:20 PM
0

Hi Pavan,

You have removed the ABAP application server not the java application server, File adapter is running on java application so you need to remove the java application server also.

Adding and Removing Server Processes

Regards,

Praveen.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Praveen,

Apologies, I have gone through the url you have provided. It doesnt answer any of my above questions.

It suggests as to how to remove server process ( which i understand nodes in my terminology), which is more of permanent one than a temporary disabling of the server.

As for our case, we remove it from web dispatcher, which is supposed to be remove the java stack for getting requests ( Actually i belive it served its purpose, interfaces which are of idoc based and all didnt flow through that server) and also made the server passive, which we assumed will make passive both the stacks

0
Bhavesh Kantilal Nov 03, 2016 at 08:40 AM
0

Hello Pavan,

I have never tried this ( and unfortunately cannot try this on my test server as I do not have multiple App Servers on it ) but you might want to check SAP note: 1355715 and set scheduler.relocMode to a positive value ( maybe 0 or 1 ). In this case, it could be a case where the Adapter continues to poll on the same App server and switch does not happen.

By default this parameter is set to -10 which means after every 10 polls, the App Server is auto switched. The details of this is described in the note.

You might want to have a look at Vadim's response on this thread:

https://archive.sap.com/discussions/message/16119828

Regards,

Bhavesh

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Bhavesh,

Many Thanks for your reply, it gave me bit of insight into the issue i am facing.

Will you be able to confirm if a communication channel can poll on all the server nodes, i understood from the above blog that channels will be polling on one node and will be relocating or not relocating.

But is it possible for a channel to poll on all the nodes.

Regards

Pavan Kumar

0
Bhavesh Kantilal Nov 04, 2016 at 03:17 AM
0

Hello Pavan,

Assume you have 2 App Servers ( Including the Primary Instance ) . By setting the property scheduler.relocMode to a negative value -> -10 ( by default ) what you are telling PI is,

  • Poll 1 to Poll 10 of the channel will happen on App Server 1 ( Say Primary Instance )
  • Poll 11 to Poll 20 of the channel will happen on App Server 2
  • Poll 21 to Poll 30 will happen on App Server 1
  • Poll 31 to Poll 40 on App Server 2 and so on.

As mentioned in the link I had provided ( Vadim's response ), you can go to PI Monitoring and Adapter Framework Jobs and see which App Server the PI Channel is currently polling on. You can also see this App Server change once the "10" Pollings are done here in the Job.

By default as documented in the OSS note - EOIO channels will always run on one App Server as it is set to a non relocating mode. Not sure how SAP does this internally.

In your case, you might want to look at an option to set this value to 0 or 1 to see if it can then run only on one App Server - not sure if it will work though!

Regards,

Bhavesh

Share
10 |10000 characters needed characters left characters exceeded
Praveen Gandepalli Nov 04, 2016 at 06:08 AM
0

Hi Pavan,

Why don't you stop the application server which you don't want to process the messages then no messages processed by that application server.

Regards,

Praveen.


stopappserver.png (10.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Many Thanks for explaining how to stop a Application server.

But as my title suggests i am only looking for it to be made passive or temporarily to be deactivated for any reason.

Regards

Pavan Kumar

0