I have sql database stored on a shared netwrok drive , after set of configurations I can attach this database over the network on sql server 2008 instance.
But I want to attach the same database on different machine that contains different sql instance (I think logically there is no data corruption as I want it to be reading only).
So my question is can I attach databse to more than one sql instance at the same time?
and how?
I am doing this to use a centralized database? if I can not, so what is the other solution to support database sharing between different sql instances on different machine?
(I know there is SAN storage but it is costly for me, and I think Fiber/SCSI connection will not support sharing)
I don’t think you can attach one db file into multiple server or server instance, if both servers are online.
If your goal is to have a replicated copy of database on another server, then have a look at SQL Server replication. There are several types of replication that you can use depending on your requirement. Another option is Database Mirroring, which will allow you to have mirrored copy of your database in another server, but I don’t think it really fits your need as with mirroring only the database in the current principal server can be accessed.
Mirroring is mostly used for high-availability and Disaster recovery scenarios. In SQL Server Replication, you can have both of your server available and you can even update both copy of your database and have them synchronized on both servers.