Manual failover from primary to secondary SMS Service provider
updated 28 February 2023
This documentation applies to version 1.7.33 of the platform known as msXsms. Version 2.0 rebranded name BNS Enterprise SMS Server manual failover if applicable will be documented in 2023.
msXsms automatically detects connection issues at the network level and will automatically failover to a configured secondary service provider.
Sometimes a service provider may have other issues such as routing issues but still continue to accept messages submitted to them by customers.
If your primary service provider continues to have these issues and cannot deliver messages submitted to them by msXsms you can perform a manual failover to your secondary service provider.
How to manually switch to a secondary service provider
- On each msXsms server open an elevated CMD prompt
- STOPSMS
- Locate the msXsmsboot.ini file in Program Files(X86)BNS GroupmsXsmsPrograms
- Edit msXsmsboot.ini
- Locate the entry SMSC-Connector-SMPP-Production-str=ServiceProviderName1
- Underneath that entry is SMSC-Connector-SMPP-FailOver-str=ServiceProviderName2
- Note the name of the production Service provider
- Locate the IP address(es) string for that service provider eg: SMSC-Connector-ServiceProviderName1-SMSC-IP-str=xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx
- Open a new notepad file to save the current values for SMSC-Connector-ServiceProviderName1-SMSC-IP-str
- Copy the existing value for SMSC-Connector-ServiceProviderName1-SMSC-IP-str into the new notepad file.
- Change the SMSC-Connector-ServiceProviderName1-SMSC-IP-str to an invalid IP address
- For example: SMSC-Connector-ServiceProviderName1-SMSC-IP-str=192.168.168.168
- Save the msXsmsboot.ini file.
- Close the msXsmsboot.ini file
- From the elevated CMD prompt STARTSMS
- Check the current day log in :Program Files (x86)BNS GroupmsXsmsProgramsLogsmsXsmsSmscTX
- It should state it is connected and authenticated to the FailOver service provider IP address.
- Advise the business that SMS messages are now being sent via a failover service provider.
- When your primary service provider advises that services are operational you can:
- Issue STOPSMS from an elevated CMD prompt
- Edit the msXsmsboot.ini to restore the correct IP addresses for the primary service provider ie:
SMSC-Connector-ServiceProviderName1-SMSC-IP-str=xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx
- Save msXsmsboot.ini
- Issue a STARTSMS from an elevated CMD prompt.
- Check the log in Program files(x86)BNS GroupmsXsmsProgramsLogsmsXsmscTX for a connection.
- Check the log in Program files(x86)BNS GroupmsXsmsProgramsLogsmsXsmscRX for a connection
- Advise the business that SMS messages are now being sent via the primary service provider.
- Close msXsmsboot.ini