" /> Multiple SIP Server HA on single Host - Genesys CTI User Forum

Author Topic: Multiple SIP Server HA on single Host  (Read 1574 times)

Offline Elvis

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Multiple SIP Server HA on single Host
« on: November 04, 2021, 01:36:17 PM »
Advertisement
Hi All Expert here,

      We are deploying multiple SIP servers on single host (3x SIP server) using different ports. For HA we tried to use IP takeover method with Virtual IP address. But HA is not working. When one of primary SIP server down and takeover by Backup, the rest of SIP servers also affected and all 3 SIP servers are jumping up/down between primary and backup.
Can anyone advise what could be the best way to deploy HA for multiple SIP servers on single host to be working. due to some reason,my company don't want to use separate Hosts for each sip server. Please advise if any idea or the best way to implement it.

Another question, how can I disable multiple concurrent agent login? For now,I can login same agent ID on multiple different PC at the same time. Couldn't find how to disable it. Just want one user login 1 time at 1 pc only. Please advise.

Thanks a lot ALL!!! 

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Multiple SIP Server HA on single Host
« Reply #1 on: November 04, 2021, 03:01:36 PM »
Maybe I'm a bit dense, but what kind of HA service would you get if all instances are on one host? Protection from software failure of one of the SIPS instances?

To me having HA on one host seems to defeat the purpose?

Regarding the virtual ip switch, that IP will always belong to the right host; your only concern would be to have the desired SIPS instance being primary?

Best regards

Skickat från min Mi MIX 3 5G via Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: Multiple SIP Server HA on single Host
« Reply #2 on: November 04, 2021, 04:00:34 PM »
Makes no sense at all from HA perspective...server down and goodbye.
Why 3 SIP Servers? How does that works?
Maybe use a SIP Server proxy but again...makes no sense. Terrible awful solution. Sorry but it is.

Offline Elvis

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Multiple SIP Server HA on single Host
« Reply #3 on: November 04, 2021, 04:58:21 PM »
Hi gen_rtfm, cavagnaro,

Thanks for your response. I understand it's a bit weird deployment. Our intention is each sip backup server can take over when primary down without affecting other sip servers.
Tenant A : SIPServerA (primary)  on Host1        SIPServerA1 (backup) on Host2    port 5060
Tenant B : SIPServerB (primary)  on Host1        SIPServerB1 (backup) on Host2    port 6060
Tenant C : SIPServerC (primary)  on Host1        SIPServerC1 (backup) on Host2    port 6080
let's say SIPServerA down  A1 will takeover, not to affect other SIP Servers

From the 4 options of HA deployment ,which way could work?  Thanks again

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Multiple SIP Server HA on single Host
« Reply #4 on: November 04, 2021, 05:40:02 PM »
How did you configure VIP scripts for each SIP server app?

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Multiple SIP Server HA on single Host
« Reply #5 on: November 04, 2021, 06:29:40 PM »
Hi, without diving into the HA alternatives I'd probably investigate the SIP Proxy method, but in that case I'd put the sip proxies on a separate host, since they need to be reachable in the event that the sip server hosts fail.

And to me that only shifts the single point of failure, if the proxy dies, the comms die.

The last option, network device based HA also looks like a fit but with specific hardware requirements.

About the question regarding simultaneous logins - i couldn't find the option from s quick Google but I know it exists. If you haven't got the answer before I'm back at work I'll supply it to you ;)

Skickat från min Mi MIX 3 5G via Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: Multiple SIP Server HA on single Host
« Reply #6 on: November 04, 2021, 08:29:18 PM »
[quote author=Elvis link=topic=12169.msg54473#msg54473 date=1636045101]
Hi gen_rtfm, cavagnaro,

Thanks for your response. I understand it's a bit weird deployment. Our intention is each sip backup server can take over when primary down without affecting other sip servers.
Tenant A : SIPServerA (primary)  on Host1        SIPServerA1 (backup) on Host2    port 5060
Tenant B : SIPServerB (primary)  on Host1        SIPServerB1 (backup) on Host2    port 6060
Tenant C : SIPServerC (primary)  on Host1        SIPServerC1 (backup) on Host2    port 6080
let's say SIPServerA down  A1 will takeover, not to affect other SIP Servers

From the 4 options of HA deployment ,which way could work?  Thanks again
[/quote]


Think on this. You have a Unique exposed IP address for the HOST1 and HOST2.


1. Scripts:
If SIP Server A fails, it will command the HOST1 to take down the VIP NIC and assign it to HOST2.
You would need a unique NIC card for each SIP Server. Adjust the Scripts for each unique NIC pair.
Not sure if you can have 3 VIP on a single HOST. Otherwise you will compromise the whole server as it would have a unique NIC for all 3 SIP Servers.


2. SIP Proxy
Now you have a Single point of failure for 3 Environments, not just one. If it dies, it dies.
You could try to install 3 SIP Proxy on another host for each Pair of SIP Servers.


3. External NLB
Same as SIP Proxy, however you can have HA here


4. Windows NLB
Similar to #1