Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Clustering / January 2005

Tip: Looking for answers? Try searching our database.

Can a virtual server have local Windows users and groups?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John [412075] - 27 Jan 2005 21:09 GMT
Hi,

I have a scenario which works fine on a non-clustered SQL server, and I now
want to implement it on a clustered SQL server.

In a stand-alone, non-clustered environment:
- I have local Windows security groups on the machine; call the groups
MyGroup1, MyGroup2.
- I grant these groups login to the server, and access to the DB, as
follows:  (later I add them to DB roles)

declare @servername sysname
declare @pos int
set @servername = serverproperty('MachineName')
set @pos = charindex(N'\', @servername, 0)
if @pos > 0
 set @servername = left(@servername, @pos-1)

use master
declare @loginame sysname
set @loginame = @servername + '\MyGroup1'
if (not exists (select name from syslogins where name = @loginame))
begin
 exec sp_grantlogin @loginame
end
exec sp_defaultdb @loginame, MyDatabase

I'd like to do something similar on a clustered SQL server.  But does a
cluster have a concept of local Windows groups, or must they be domain
groups?

How would I go about setting this up?

Thanks,
John.
Rodney R. Fournier [MVP] - 27 Jan 2005 22:37 GMT
I think I can answer this, since a cluster requires a domain account to
run - just make domain groups. Besides creating the local ones would be a
pain, think about failover.

Cheers,

Rod

MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering
http://msmvps.com/clustering - Blog

> Hi,
>
[quoted text clipped - 32 lines]
> Thanks,
> John.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.