December 10, 2020 at 10:47 pm
Hi team,
I was asked to enable FileStream for one of the existing varbinary(max) column in existing table. It is already participating in Avalability Group where we have 1 primary & 1 secondary server.
Now as part of the change, i am doing the below
ALTER DATABASE [FS]
ADD FILEGROUP [FSFileGroup] CONTAINS FILESTREAM
GO
ALTER DATABASE [FS]
ADD FILE (NAME = N'FSFileData', FILENAME = N'E:\MSSQL13.SQLTST_BACH3T1\MSSQL\FS')
TO FILEGROUP [FSFileGroup]
GO
Now the question, as the database is participating in Availability Group, how the files stored the above path will be in consistent with primary & secondary server.
Say, if I insert some records when primary is active and it stores files in primary server E Drive and due to some reasons fail over happens and now secondary server is active.
Will i be able to access the existing records when secondary is active ?
if not, what I have to do to make sure it is accessible irrespective of active status of primary / secondary.
Note. we mostly access the records via T-SQL not filesystem API like VNN
Thanks in Advance.
December 11, 2020 at 11:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply