Does the EVDExport utility support MultiSubnet Failover for exporting to SQL Server 2019?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does the EVDExport utility support MultiSubnet Failover for exporting to SQL Server 2019?

L0 Member

Our company is upgrading from SQL Server 2012 to SQL Server 2019. The two replicating DB's sit behind a listener. When we try to export, we get timeout about 50% of the time when I try to export to the listener. If I export directly to one of the DB's, it works 100% of the time.

 

Our DBA's say that apps connecting to the listener need to support MulitSubnet Failover.

 

So the question is; Does the EVD support MultiSubnet Failover, and if so, do I need to do anything to make this work or is it automatic?

1 accepted solution

Accepted Solutions

L0 Member

The solution that worked for me was editing the CAMSSQLImportcmd file.

 

There are a few steps to get it working:

  1. Replace the osql command with the sqlcmd command as Microsoft is deprecating osql.
  2. Add the -M flag to the sqlcmd for Multisubnet failover. This will fix the issue for static tables (the tables in the EVD that are replaced at each export).
  3. For the export of the data to the DB, the bcp command needs to be modified. Change the -S flag from
-S%3

to

-s%3;multisubnetfailover=yes

I couldn't find this documented on a Microsoft website, but found it here and here

 

Since these changes were made, I haven't seen any issues regarding export of the EVD data to the DB

 

View solution in original post

2 REPLIES 2

L4 Transporter

Hi @Trevor Corbin​ 

 

As the community has not answered this question for some time, could you kindly share if you could resolve this issue and how?

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thanks,

Niv

L0 Member

The solution that worked for me was editing the CAMSSQLImportcmd file.

 

There are a few steps to get it working:

  1. Replace the osql command with the sqlcmd command as Microsoft is deprecating osql.
  2. Add the -M flag to the sqlcmd for Multisubnet failover. This will fix the issue for static tables (the tables in the EVD that are replaced at each export).
  3. For the export of the data to the DB, the bcp command needs to be modified. Change the -S flag from
-S%3

to

-s%3;multisubnetfailover=yes

I couldn't find this documented on a Microsoft website, but found it here and here

 

Since these changes were made, I haven't seen any issues regarding export of the EVD data to the DB

 

  • 1 accepted solution
  • 267 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!