cancel
Showing results for 
Search instead for 
Did you mean: 

JMS sender channel - Connect to multiple server for high availability

Former Member
0 Kudos

Hi All,

I have a requirement to connect to multiple servers for high availability.I have configured the sender JMS channel for one queue and one server.However, need to conenct to two, so if one goes down, will have the secondary to connect to.

Kindly advise in the sender chanel how to do this? or do i need a new config to take care of this?

I am on PO 7.4 weith ICO configs.

Shyam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

U want to connect two different JMS servers?

Did u tried using like this: host1:port;host2:port

Thanks

Amit Srivastava

Former Member
0 Kudos

Amit,

My saviour as always

I havent tried and this is exactly what i am going to do with the same queue.Does this work?

I will find out eventually but assuming that you have commented about this, i think it does.

Do confirm back

Shyam

Former Member
0 Kudos

Hello,

>>I havent tried and this is exactly what i am going to do with the same queue.Does this work?

I think, it should work.

Try that and let us know.

Thanks

Amit Srivastava

Former Member
0 Kudos

host1:port , host2:port

It works with a comma we have tested bringing down one server and then the other and works both ways

Thanks a TON guys

Shyam

Former Member
0 Kudos

Hi Shyam.

Are you sure , it works with comma ?

every server address seperated with comma.Because I am the same situation like this , I have to configure four server address in JMS queue in SAP PI.

simply adding all the server address is fine ?

Please respond ASAP .

Thanks in advance.

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Shyam,

AFAIK - you can not configure multiple server or queues to JMS sender channel.

this needs to handle on sender server side.

regards,

Harish

Former Member
0 Kudos

but JMS sender adapter needs to be configured if at all if i am not mistaken.

Would adding the server with a ',' in between solve it?

If not, kindly elaborate how to get this done.

Just to make myself clear : TIBCO has 2 servers and would like for PI to connect to either one in case one fails.So, PI needs to connect to JMS servers anyway.

Would creating an entire new config with the 2nd serever do the trick or in one sender adapter a ',' with 2 server addresses solve it? Please help


Appreciate your help.

Shyam

former_member184720
Active Contributor
0 Kudos

Hi Shyam -

Would creating an entire new config with the 2nd serever do the trick or in one sender adapter a ',' with 2 server addresses solve it? Please help


>>> I don't think you can connect to two servers at a time with the same channel.


If you would like to connect in parallel then you have to create two configurations..


But the problem here is... at a time i think only one server (tibco) would be available so if you keep both the channels active one might always be in error.


So may be just create two channels( for two separate servers).. during downtime.. either you'll be notified through alert email or from TIBCO team.. then just switch the channels in configuration..