Re: SQL Server service on active/passive
- From: "Linchi Shea" <linchi_shea@xxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 22:43:23 -0400
> I have inherited 2 node active/passive SQL Server cluster. I have
> noticed that SQL Server service is running on active node only. I was
> wondering if this is normal behavior.
By definition, the node that runs the SQL instance is the active node. So
this cannot be any more normal. Typically, people would consider one of the
two nodes to be the preferred node, and will run the SQL instance on that
node under normal circumstances. If you have only one instance in this
cluster and yuor two nodes are identically configured, it shouldn't really
make any difference on which node the SQL instance is running. If you have
multiple instances in a cluster, it's often important to watch which
instance runs on which node because of resource consumption issues. So for
instance, if your normal configuration is to run instance 1 on node A and
instance 2 on node B, having them both run on the same node may degrade
their performance because they have to compete for CPU among other things.
> In case of failover, will SQL Server service start automatically on
> passive node?
Yes. The SQL services will be started by the cluster service on the other
node.
> What will happen if new databases created on while service on active node
> is running and failover occurs?
If the CREATE DATABASE has not completed when failover happens, the
transaction will be rolled back, and the database will not be created. This
is not different from any other in-flight transaction, and it is no
different from crashing/starting an instance on a standalone box.
> I guess, since system specific information is stored in system tables
> rather than on share SAN (in our case) drive, I am not sure how will it be
> replicated to passive node in case of failover.
All the databases, including the system databases, should reside on the
shared drives (i.e. your shared SAN). All nodes are seeing the same data,
albeit not at same time. There is only one copy of the data. So there is no
replication of the system tables from one node to another.
Now, the system info in the SQL Server registry is a different matter. The
cluster service wll replicate them among the nodes, and that is part of an
app being cluster aware.
Linchi
"imarchenko" <igormarchenko@xxxxxxxxxxx> wrote in message
news:e8rzRfb2FHA.892@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I have inherited 2 node active/passive SQL Server cluster. I have
> noticed that SQL Server service is running on active node only. I was
> wondering if this is normal behavior. In case of failover, will SQL Server
> service start automatically on passive node? What will happen if new
> databases created on while service on active node is running and failover
> occurs? I guess, since system specific information is stored in system
> tables rather than on share SAN (in our case) drive, I am not sure how
> will it be replicated to passive node in case of failover.
> I would appreciate if somebody can point me to the articles on this
> subject.
>
> Thanks,
> Igor
>
.
- References:
- SQL Server service on active/passive
- From: imarchenko
- SQL Server service on active/passive
- Prev by Date: Re: SQL Server service on active/passive
- Next by Date: Re: Memory Config - AWE, PAE, 3GB
- Previous by thread: Re: SQL Server service on active/passive
- Next by thread: Re: Install fails with a "..path specified...is invalid"
- Index(es):
Relevant Pages
|
Loading