Tempdb on a nonclustered resource in the SAN

  • Hi,

    We are running a database on a stretched cluster with a SAN. The tempdb is on a clustered disk and is replicated to the other site. This seems completely wasted to me, since when after failover the database restarts on the other site and recreates the tempdb.

    When I search this forum, I find that it wouldn't be possible and that someone had a message like this:

    Only formatted files on which the

    cluster resource of the server has a dependency can be used.

    Server: Msg 5184, Level 16, State 1, Line 2

    And of course a dependency is only possible on clustered resources.

    Is there somebody who has found a solution for this? We are using SQL 2005 on Windows 2008.

    thanks,

    Jan

  • SQL Server can only use the disk resources defined in the cluster so I think you're stuck with putting tempdb on a clustered drive

  • Cluster Resources are used to define everything required for the service to work correctly. The clustering software monitors the availability of everything in the cluster resource and when something become unavailable, a failover to a standby node in the cluster can be initiated.

    If you were able to create TEMPDB on a device that is not a cluster resource, it is possible for the resource to fail and since it is not managed within the cluster, when the service is initiated on the standby node, you will not be able to start it. This kinda defeats the purpose of the cluster. This will probably result in another failover back to the first node and on it goes.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply