Showing posts with label cluster. Show all posts
Showing posts with label cluster. Show all posts

Monday, March 26, 2012

Number of SQL licenses for a cluster

Looking for quick answer. If we implement a 2 node cluster fora single SQL
database...do we need to buy two licenses of SQL enterprise. It will reside
on an active\passive cluster. Can I use SQL standard?
Dan
You can use a single SQL Server 2005 Std license or a single SQL Server 2000
Enterprise license.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinpub.com
"DEAKER00" <deaker00@.hotmail.com> wrote in message
news:dmTcf.18409$1L3.845653@.news20.bellglobal.com. ..
> Looking for quick answer. If we implement a 2 node cluster fora single SQL
> database...do we need to buy two licenses of SQL enterprise. It will
> reside on an active\passive cluster. Can I use SQL standard?
> Dan
>
|||Per CPU, yes?
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
"Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
news:OpkMY4m5FHA.2192@.TK2MSFTNGP14.phx.gbl...
> You can use a single SQL Server 2005 Std license or a single SQL Server
> 2000 Enterprise license.
> --
> Tom
> ----
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinpub.com
> "DEAKER00" <deaker00@.hotmail.com> wrote in message
> news:dmTcf.18409$1L3.845653@.news20.bellglobal.com. ..
>
|||It doesn't matter
http://www.microsoft.com/sql/howtobu...vepassive.mspx
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in message
news:%23pYrecs5FHA.252@.TK2MSFTNGP15.phx.gbl...
> Per CPU, yes?
> --
> Kevin Hill
> President
> 3NF Consulting
> www.3nf-inc.com/NewsGroups.htm
>
> "Tom Moreau" <tom@.dont.spam.me.cips.ca> wrote in message
> news:OpkMY4m5FHA.2192@.TK2MSFTNGP14.phx.gbl...
>
|||I know the passive box doesn't need licenses, but if the active node has
more than one CPU socket exposed to the O/S, and therefore to SQL as
well...don't you need a license for each one on the active node?
It's entirely possible I am mistaken :-)
Kevin Hill
President
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
"Jasper Smith" <jasper_smith9@.hotmail.com> wrote in message
news:%232BtL3w5FHA.4076@.tk2msftngp13.phx.gbl...
> It doesn't matter
> http://www.microsoft.com/sql/howtobu...vepassive.mspx
> --
> HTH
> Jasper Smith (SQL Server MVP)
> http://www.sqldbatips.com
> I support PASS - the definitive, global
> community for SQL Server professionals -
> http://www.sqlpass.org
> "Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in message
> news:%23pYrecs5FHA.252@.TK2MSFTNGP15.phx.gbl...
>
|||"Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in
news:eStEXeS6FHA.2176@.TK2MSFTNGP14.phx.gbl:

> I know the passive box doesn't need licenses, but if the active node has
> more than one CPU socket exposed to the O/S, and therefore to SQL as
> well...don't you need a license for each one on the active node?
> It's entirely possible I am mistaken :-)
You're not completely mistaken. You are required to have licences for the
number of physical CPUs on which Sql Server 2005 is configured to run, by
deafalt that is all available CPUs (afaik). However, if this number is
different on the two nodes, you'll need licenses for the higher number. If
the SQL Server is configured with multiple instances, and by configuration
can run in Active/Active mode then you'll need licenses for both servers.
If you think this is difficult, look on the licensing rules for Oracle
Ole Kristian Bangs
MCT, MCDBA, MCDST, MCSE:Security, MCSE:Messaging
|||Also keep in mind that there are different ways to classify a CPU: socket,
physical, and logical. Microsoft has amended their physical/logical
licensing to now focus on the socket.
This means that when the Intel Itanium2 Montecito chips are available, they
will be multi-core (dual to start with) and hyper-threaded. So, you could
have a 4-way socket installation but expose what would appear to be 16
logical CPUs to the OS and SQL Server, but Microsoft would only require you
to license the 4 sockets per-processor license. Moreover, those bad boys
are IA64.
Now, that's a bargain. Can you imagine the muscle something like the HP
Superdome will have rolling out a 16-way installation with these chips?
With a single Superdome, you could load it with 32 of these processors,
create 2 LPARs, install a 2-node cluster, multi-instanced, each with 16
sockets, but each looking like it has 64 logical CPUs? Wow!
For those not so lofty at heart, there is also the Paxville x64 Xeon variant
that is also supposed to be released as dual-core and hyperthreaded.
Either way, x86, x64, IA64, a CPU is a CPU and if Microsoft is only going to
charge you per-socket, get the most bang for your buck.
Sincerely,
Anthony Thomas

"Ole Kristian Bangs" <olekristian.bangas@.masterminds.no> wrote in message
news:Xns970EA5F525F62olekristianbangaas@.207.46.248 .16...
> "Kevin3NF" <KHill@.NopeIDontNeedNoSPAM3NF-inc.com> wrote in
> news:eStEXeS6FHA.2176@.TK2MSFTNGP14.phx.gbl:
>
> You're not completely mistaken. You are required to have licences for the
> number of physical CPUs on which Sql Server 2005 is configured to run, by
> deafalt that is all available CPUs (afaik). However, if this number is
> different on the two nodes, you'll need licenses for the higher number. If
> the SQL Server is configured with multiple instances, and by configuration
> can run in Active/Active mode then you'll need licenses for both servers.
> If you think this is difficult, look on the licensing rules for Oracle
> --
> Ole Kristian Bangs
> MCT, MCDBA, MCDST, MCSE:Security, MCSE:Messaging

Friday, March 23, 2012

Number of Nodes and Instance on Windows 2003 Cluster

How many Ressource group or Virtual SQL server may I run on on Windows 2003
cluster node ?
How many nodes can I have for an SQL Cluster architecture ? Apparently Four
? May someone confirm this number ? and is it four active instances or 3
active/ 1 passive ?
What happend if I have four SQL resource group with a eight nodes Windows
2003 cluter ?
answers inline below...
Cheers,
Rod
MVP - Windows Server - Clustering
http://www.nw-america.com - Clustering
"Jean-Michel Remiche" <jmr@.visionitgroup.com> wrote in message
news:B59BD2B2-E7DF-4642-9613-78722FA27374@.microsoft.com...
> How many Ressource group or Virtual SQL server may I run on on Windows
> 2003
> cluster node ?
>
SQL supports a 4 node cluster on a 32-bit OS. Each SQL supports 16
instances. Given that you have monster machines and an A/A/A/A cluster you
could have 64 databases in the cluster.
I am not aware of a limit to resource groups in clustering. Files shares
have been limited in the past
(http://support.microsoft.com/default...NoWebContent=1)
but I have not seen anything on Groups.

> How many nodes can I have for an SQL Cluster architecture ?
Windows 2000 = 2
Windows 2003 32 bit = 4
Windows 2003 64 bit = 8

>Apparently Four
> ?
With the 32-bit OS, yes.
May someone confirm this number ?
I just did

>and is it four active instances or 3
> active/ 1 passive ?
>
You can do all 4 Active, though I would never do this.

> What happend if I have four SQL resource group with a eight nodes Windows
> 2003 cluter ?
SQL will only install on any 4, though I have not tested this.
Source of information:
http://www.microsoft.com/usa/webcasts/ondemand/1751.asp
|||Under Windows 2003 and SQL 2000 here are the rules.
Each cluster can have 8 host nodes.
Each cluster can have 16 instances. (Note that this is a Cluster-wide limit,
not a host node limit.
Each SQL instance can be installed on up to 4 nodes. (8 for 64-bit, it is an
installer limitation)
Each SQL Resource group = 1 instance.
Each SQL instance = 1 Resource group.
You can have non-SQL resource groups in the cluster, but it is generally a
bad idea except for the MSDTC resource group.
Forget you ever heard of 'active/active' or 'active/passive' or any
variation of those. Those terms referred to some technical limitations of
SQL 7.0 clustering and have no real meaning for SQL 2000 clustering.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Rodney R. Fournier [MVP]" <rod@.die.spam.die.nw-america.com> wrote in
message news:%23ojM6JOkEHA.644@.tk2msftngp13.phx.gbl...
> answers inline below...
> Cheers,
> Rod
> MVP - Windows Server - Clustering
> http://www.nw-america.com - Clustering
> "Jean-Michel Remiche" <jmr@.visionitgroup.com> wrote in message
> news:B59BD2B2-E7DF-4642-9613-78722FA27374@.microsoft.com...
> SQL supports a 4 node cluster on a 32-bit OS. Each SQL supports 16
> instances. Given that you have monster machines and an A/A/A/A cluster you
> could have 64 databases in the cluster.
> I am not aware of a limit to resource groups in clustering. Files shares
> have been limited in the past
>
(http://support.microsoft.com/default...microsoft.com
:80/support/kb/articles/Q185/2/12.ASP&NoWebContent=1)[vbcol=seagreen]
> but I have not seen anything on Groups.
>
> Windows 2000 = 2
> Windows 2003 32 bit = 4
> Windows 2003 64 bit = 8
>
> With the 32-bit OS, yes.
> May someone confirm this number ?
> I just did
>
> You can do all 4 Active, though I would never do this.
Windows
> SQL will only install on any 4, though I have not tested this.
> Source of information:
> http://www.microsoft.com/usa/webcasts/ondemand/1751.asp
>
sql

Saturday, February 25, 2012

Null User Problem

Here is what we have going on...

we have 2 servers, the web server (A), and a SQL cluster (B). When a user visits a website on A there is some stored procedures that get called on B. We would like those stored procedures to be executed using the "network users" login. We try to implement this by doing the following:


the connection string looks like this
<add key="ConnectionString" value="Workstation ID=UTMPLMDBT;Packet Size=4096;Integrated Security=SSPI;Data Source=XXX.XXX.XXX.XXX,xxxx;Persist Security Info=False;Initial Catalog=XXXX" /
we added this in the web.config
<authentication mode="Windows" />
<identity impersonate="true"/>

-The web server is running IIS 6 on windows 2003 server
-We currently do not used Active Directory
-SQL cluster is running SQL 2000 on windows 2003 server

The error we are currently getting is:
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

This error occurs when we try sqlConn.Open()

Any help would be greatly appreciated,
TreyHere is some other information...I wrote the following program...


Dim authUserName As String
Dim aspUserName As String
authUserName = User.Identity.Name
aspUserName = Principal.WindowsIdentity.GetCurrent.Name
authUserPrincipalLabel.Text = "You are: " & authUserName
aspPrincipalLabel.Text = "This page runs as: " & aspUserName

it displays:

You are:MYDomain\144205
This page runs as: MYDomain\144205

So I'm not sure what is going wrong|||This:

::We would like those stored procedures to be executed using the "network users" login

and this:

::<authentication mode="Windows" />
::<identity impersonate="true"/
contradicts. The statement will get executed using the identity of the user making the call, IF the page is protected, null (imho - am I correct here?) if anonymous access is allowed (or: the asp.net worker process identity, which is NOT network_users and a local account, unless reconfigured, which you did not say you did).|||When I said,
::We would like those stored procedures to be executed using the "network users" login
I mean I want to log into SQL using the users network username (ex) Mydomain\Trey
and password and execute the the procedure.

anonymous access is not allowed (not checked) in or IIS server.

I'm gettng kinda lost...how do I do this?

Thanks,
Trey|||OK after much reading...I was wondering if I can try the following

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/html/secmod15.asp

without using active directory?

Thanks,
Trey|||::OK after much reading...

NOW you deserve a good answer :-) And this is not meant sarcastic. You proapbly learned a lot about how the WIndows Security System works, and this is sort of exactly what you need.

Could you describe the server side network setup?

Basically, what you can do is:

* One Server: create a custom asp.net account, give it rights in the database, do NOT use impersonation. Voila.
* Multiple Servers: no impersonation, no trusted connection, turn the server to "mixed mode", use username and password.

Unter 99% of the cases the real user should NOT map through to the database.|||Ok...what we did is created a minimum privileged domain account, "Me"

Added this to the web.config


<identity impersonate="true" userName="MyDomain\Me"password="Something" />

Just a note I am not going to leave the Username and Password in clear text.

And we connected successfully. Whoop!

So I tried something else... I changed the web.config file back to:


<identity impersonate="true" />

and logged in as the new "Me" account
I got the account null error again. I guess I'm getting lost on what is going on in the back end.

The reason I would like to use the real user is for auditing purposes. So we know who is doing every select, insert, ect. Would it be better just to pass the users info as a value in the stored procedure?

Thanks,
Trey