Showing posts with label settings. Show all posts
Showing posts with label settings. Show all posts

Tuesday, March 27, 2012

Changing collation when installing SQL2000

Hi,
I'm installing SQL2000 on a new cluster server.
I selected a 'custom installation' and was presented with a
'Collation settings' screen.
I need it to be SQL_Latin1_General_CP1_CI_AS collation
as I will be restoring databases with this collation.
What should I choose from the 'Collation designator' and 'SQL
Collations' box.
Is it 'Dictionary order, case-insensitive, for use with 1252
characters'?

What will be the default? Will it be the same default as for the
'typical' installation?
Thanks(polinaskulski@.aol.com) writes:
> I'm installing SQL2000 on a new cluster server.
> I selected a 'custom installation' and was presented with a
> 'Collation settings' screen.
> I need it to be SQL_Latin1_General_CP1_CI_AS collation
> as I will be restoring databases with this collation.
> What should I choose from the 'Collation designator' and 'SQL
> Collations' box.
> Is it 'Dictionary order, case-insensitive, for use with 1252
> characters'?

I would guess that is be the one, although the description also fits into
SQL_Latin1_General_CP1_CI_AI.

When you install Window collations, there are check-boxes for the
sensitivity stuff, but there might not be for SQL collations. (I
never install these.)

> What will be the default? Will it be the same default as for the
> 'typical' installation?

I believe that SQL_Latin1_General_CP1_CI_AS is the default is your
regional settings is English (USA).

--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp

Tuesday, March 20, 2012

Changes to clustered sql server

Hi
I need to change some settings on a clustered sql server 2000. I need to
use sp_configure to change the "set working set size" option and also
increase the memtoleave area using the -g flag.
How is this best accomplished in a cluster with 2 nodes?
- failover to node2, do the changes to node1 and restart the service?
- fail back to node1 and update node2 with a restart of service?
This way I will avoid downtime on the server.
Is this the way to do it?The settings follow the virtual server so once you stop and restart the
instance, you don't have to modify settings for any other nodes. Be sure
and make the startup flag changes using Enterprise Manager so it updates the
cluster properly. It is typically faster to move an instance to a new node
if you have a lot of AWE memory. Otherwise it is usually better to stop and
restart on the same node.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E413E39AEgurbaohotmailcom@.129
.250.171.65...
> Hi
> I need to change some settings on a clustered sql server 2000. I need to
> use sp_configure to change the "set working set size" option and also
> increase the memtoleave area using the -g flag.
> How is this best accomplished in a cluster with 2 nodes?
> - failover to node2, do the changes to node1 and restart the service?
> - fail back to node1 and update node2 with a restart of service?
> This way I will avoid downtime on the server.
> Is this the way to do it?|||Thanks,
does this mean that e.g. the -g flag should not be added to the
imagepath key in the registry for the sql server service? Will
parameters to the service not be taken into account?
The reason I ask is that the cluster is set up this way today.
We don't use AWE, so I understand your advise as
- add the -g parameter in EM for the active instance
- restart the service
My goal is to minimize downtime.
Regards,
"Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:

> The settings follow the virtual server so once you stop and restart
> the instance, you don't have to modify settings for any other nodes.
> Be sure and make the startup flag changes using Enterprise Manager so
> it updates the cluster properly. It is typically faster to move an
> instance to a new node if you have a lot of AWE memory. Otherwise it
> is usually better to stop and restart on the same node.
> Geoff N. Hiten
> Microsoft SQL Server MVP
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E413E39AEgurbaohotmailcom@.129
.250.171.65...
>|||Generally on a cluster we are all trying to minimize downtime.
I am curious why you need more memtoleave. Are you running a lot of
third-party extended stored procedures? What specific symptoms are you
seeing? Before tweaking that parameter, I would open a case with PSS to try
and diagnose whatever the underlying problem really is.
EM is supposed to do the registry writes "under the covers" correctly for
clustered and non-clustered SQL instances.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E70926DD36gurbaohotmailcom@.12
9.250.171.68...
> Thanks,
> does this mean that e.g. the -g flag should not be added to the
> imagepath key in the registry for the sql server service? Will
> parameters to the service not be taken into account?
> The reason I ask is that the cluster is set up this way today.
> We don't use AWE, so I understand your advise as
> - add the -g parameter in EM for the active instance
> - restart the service
> My goal is to minimize downtime.
> Regards,
> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>
>|||Hi,
We are seeing "WARNING: Failed to reserve contiguous memory ..."
messages in the errorlog. I've already been in contact with MS PSS and
they have advised us to increase the memtoleave area to see if this
resolves our problems.
This is not as a result of 3rdparty xps, but rather some "extreme"
queries that are submitted from time to time.
Thanks for your help.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:

> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.12
9.250.171.68...
>
>|||Sorry for being "slow" here;
if I add the parameter (using EM) on the node owning the sql resource,
everything will be ok also when I failover and the sql server service
starts on the new node? EM took care of updating the registry also on
the second node?
If I add the parameter on the node _not_ owning the sql resource, EM
will update the registry on this node but not the other, so that I will
have to do the same on that after failover to this (phew)?
I have a feeling I'm being too complicated here, or is this stuff
complicated?
TIA
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:

> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.12
9.250.171.68...
>|||Comments Inline
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns9680AAAF4D1gurbaohotmailcom@.129.250.171.65...
> Sorry for being "slow" here;
I have no problem with you asking careful questions. NNTP postings are
cheap. Downtime gets expensive.

> if I add the parameter (using EM) on the node owning the sql resource,
> everything will be ok also when I failover and the sql server service
> starts on the new node? EM took care of updating the registry also on
> the second node?
Technically, EM updates the clustered registry keys and MSCS takes care of
copying them around where needed, but yes, that is essentially what happens.
> If I add the parameter on the node _not_ owning the sql resource, EM
> will update the registry on this node but not the other, so that I will
> have to do the same on that after failover to this (phew)?
>
Depends. If you manually hack the registry and/or startup parameters on a
non-owner node, it gets worse. Since that node doesn't own the resource
group, any changes made to the clustered keys/parameters get overwritten the
next time the resource group shifts to that node. EM actually has the SQL
Service write everything to the registry so it always happens on the correct
node.

> I have a feeling I'm being too complicated here, or is this stuff
> complicated?
Yes, it is complicated, but the fine programmers at Microsoft (cough, cough)
handle the complexity for you, at least in this case.
GNH

> TIA
> "Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
> news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:
>
>

Changes to clustered sql server

Hi
I need to change some settings on a clustered sql server 2000. I need to
use sp_configure to change the "set working set size" option and also
increase the memtoleave area using the -g flag.
How is this best accomplished in a cluster with 2 nodes?
- failover to node2, do the changes to node1 and restart the service?
- fail back to node1 and update node2 with a restart of service?
This way I will avoid downtime on the server.
Is this the way to do it?The settings follow the virtual server so once you stop and restart the
instance, you don't have to modify settings for any other nodes. Be sure
and make the startup flag changes using Enterprise Manager so it updates the
cluster properly. It is typically faster to move an instance to a new node
if you have a lot of AWE memory. Otherwise it is usually better to stop and
restart on the same node.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
> Hi
> I need to change some settings on a clustered sql server 2000. I need to
> use sp_configure to change the "set working set size" option and also
> increase the memtoleave area using the -g flag.
> How is this best accomplished in a cluster with 2 nodes?
> - failover to node2, do the changes to node1 and restart the service?
> - fail back to node1 and update node2 with a restart of service?
> This way I will avoid downtime on the server.
> Is this the way to do it?|||Thanks,
does this mean that e.g. the -g flag should not be added to the
imagepath key in the registry for the sql server service? Will
parameters to the service not be taken into account?
The reason I ask is that the cluster is set up this way today.
We don't use AWE, so I understand your advise as
- add the -g parameter in EM for the active instance
- restart the service
My goal is to minimize downtime.
Regards,
"Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
> The settings follow the virtual server so once you stop and restart
> the instance, you don't have to modify settings for any other nodes.
> Be sure and make the startup flag changes using Enterprise Manager so
> it updates the cluster properly. It is typically faster to move an
> instance to a new node if you have a lot of AWE memory. Otherwise it
> is usually better to stop and restart on the same node.
> Geoff N. Hiten
> Microsoft SQL Server MVP
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
>> Hi
>> I need to change some settings on a clustered sql server 2000. I need
>> to use sp_configure to change the "set working set size" option and
>> also increase the memtoleave area using the -g flag.
>> How is this best accomplished in a cluster with 2 nodes?
>> - failover to node2, do the changes to node1 and restart the service?
>> - fail back to node1 and update node2 with a restart of service?
>> This way I will avoid downtime on the server.
>> Is this the way to do it?
>|||Generally on a cluster we are all trying to minimize downtime.
I am curious why you need more memtoleave. Are you running a lot of
third-party extended stored procedures? What specific symptoms are you
seeing? Before tweaking that parameter, I would open a case with PSS to try
and diagnose whatever the underlying problem really is.
EM is supposed to do the registry writes "under the covers" correctly for
clustered and non-clustered SQL instances.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E70926DD36gurbaohotmailcom@.129.250.171.68...
> Thanks,
> does this mean that e.g. the -g flag should not be added to the
> imagepath key in the registry for the sql server service? Will
> parameters to the service not be taken into account?
> The reason I ask is that the cluster is set up this way today.
> We don't use AWE, so I understand your advise as
> - add the -g parameter in EM for the active instance
> - restart the service
> My goal is to minimize downtime.
> Regards,
> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>> The settings follow the virtual server so once you stop and restart
>> the instance, you don't have to modify settings for any other nodes.
>> Be sure and make the startup flag changes using Enterprise Manager so
>> it updates the cluster properly. It is typically faster to move an
>> instance to a new node if you have a lot of AWE memory. Otherwise it
>> is usually better to stop and restart on the same node.
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>> "Gurba" <gurbao@.hotmail.com> wrote in message
>> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
>> Hi
>> I need to change some settings on a clustered sql server 2000. I need
>> to use sp_configure to change the "set working set size" option and
>> also increase the memtoleave area using the -g flag.
>> How is this best accomplished in a cluster with 2 nodes?
>> - failover to node2, do the changes to node1 and restart the service?
>> - fail back to node1 and update node2 with a restart of service?
>> This way I will avoid downtime on the server.
>> Is this the way to do it?
>>
>|||Hi,
We are seeing "WARNING: Failed to reserve contiguous memory ..."
messages in the errorlog. I've already been in contact with MS PSS and
they have advised us to increase the memtoleave area to see if this
resolves our problems.
This is not as a result of 3rdparty xps, but rather some "extreme"
queries that are submitted from time to time.
Thanks for your help.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:
> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.129.250.171.68...
>> Thanks,
>> does this mean that e.g. the -g flag should not be added to the
>> imagepath key in the registry for the sql server service? Will
>> parameters to the service not be taken into account?
>> The reason I ask is that the cluster is set up this way today.
>> We don't use AWE, so I understand your advise as
>> - add the -g parameter in EM for the active instance
>> - restart the service
>> My goal is to minimize downtime.
>> Regards,
>> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
>> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>> The settings follow the virtual server so once you stop and restart
>> the instance, you don't have to modify settings for any other nodes.
>> Be sure and make the startup flag changes using Enterprise Manager
>> so it updates the cluster properly. It is typically faster to move
>> an instance to a new node if you have a lot of AWE memory.
>> Otherwise it is usually better to stop and restart on the same node.
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>> "Gurba" <gurbao@.hotmail.com> wrote in message
>> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
>> Hi
>> I need to change some settings on a clustered sql server 2000. I
>> need to use sp_configure to change the "set working set size"
>> option and also increase the memtoleave area using the -g flag.
>> How is this best accomplished in a cluster with 2 nodes?
>> - failover to node2, do the changes to node1 and restart the
>> service? - fail back to node1 and update node2 with a restart of
>> service?
>> This way I will avoid downtime on the server.
>> Is this the way to do it?
>>
>
>|||Sorry for being "slow" here;
if I add the parameter (using EM) on the node owning the sql resource,
everything will be ok also when I failover and the sql server service
starts on the new node? EM took care of updating the registry also on
the second node?
If I add the parameter on the node _not_ owning the sql resource, EM
will update the registry on this node but not the other, so that I will
have to do the same on that after failover to this (phew)?
I have a feeling I'm being too complicated here, or is this stuff
complicated?
TIA
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:
> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.129.250.171.68...
>> Thanks,
>> does this mean that e.g. the -g flag should not be added to the
>> imagepath key in the registry for the sql server service? Will
>> parameters to the service not be taken into account?
>> The reason I ask is that the cluster is set up this way today.
>> We don't use AWE, so I understand your advise as
>> - add the -g parameter in EM for the active instance
>> - restart the service
>> My goal is to minimize downtime.
>> Regards,
>> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
>> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>> The settings follow the virtual server so once you stop and restart
>> the instance, you don't have to modify settings for any other nodes.
>> Be sure and make the startup flag changes using Enterprise Manager
>> so it updates the cluster properly. It is typically faster to move
>> an instance to a new node if you have a lot of AWE memory.
>> Otherwise it is usually better to stop and restart on the same node.
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>> "Gurba" <gurbao@.hotmail.com> wrote in message
>> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
>> Hi
>> I need to change some settings on a clustered sql server 2000. I
>> need to use sp_configure to change the "set working set size"
>> option and also increase the memtoleave area using the -g flag.
>> How is this best accomplished in a cluster with 2 nodes?
>> - failover to node2, do the changes to node1 and restart the
>> service? - fail back to node1 and update node2 with a restart of
>> service?
>> This way I will avoid downtime on the server.
>> Is this the way to do it?
>>
>|||Comments Inline
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns9680AAAF4D1gurbaohotmailcom@.129.250.171.65...
> Sorry for being "slow" here;
I have no problem with you asking careful questions. NNTP postings are
cheap. Downtime gets expensive.
> if I add the parameter (using EM) on the node owning the sql resource,
> everything will be ok also when I failover and the sql server service
> starts on the new node? EM took care of updating the registry also on
> the second node?
Technically, EM updates the clustered registry keys and MSCS takes care of
copying them around where needed, but yes, that is essentially what happens.
> If I add the parameter on the node _not_ owning the sql resource, EM
> will update the registry on this node but not the other, so that I will
> have to do the same on that after failover to this (phew)?
>
Depends. If you manually hack the registry and/or startup parameters on a
non-owner node, it gets worse. Since that node doesn't own the resource
group, any changes made to the clustered keys/parameters get overwritten the
next time the resource group shifts to that node. EM actually has the SQL
Service write everything to the registry so it always happens on the correct
node.
> I have a feeling I'm being too complicated here, or is this stuff
> complicated?
Yes, it is complicated, but the fine programmers at Microsoft (cough, cough)
handle the complexity for you, at least in this case.
GNH
> TIA
> "Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
> news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:
>> Generally on a cluster we are all trying to minimize downtime.
>> I am curious why you need more memtoleave. Are you running a lot of
>> third-party extended stored procedures? What specific symptoms are
>> you seeing? Before tweaking that parameter, I would open a case with
>> PSS to try and diagnose whatever the underlying problem really is.
>> EM is supposed to do the registry writes "under the covers" correctly
>> for clustered and non-clustered SQL instances.
>>
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>>
>> "Gurba" <gurbao@.hotmail.com> wrote in message
>> news:Xns967E70926DD36gurbaohotmailcom@.129.250.171.68...
>> Thanks,
>> does this mean that e.g. the -g flag should not be added to the
>> imagepath key in the registry for the sql server service? Will
>> parameters to the service not be taken into account?
>> The reason I ask is that the cluster is set up this way today.
>> We don't use AWE, so I understand your advise as
>> - add the -g parameter in EM for the active instance
>> - restart the service
>> My goal is to minimize downtime.
>> Regards,
>> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
>> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>> The settings follow the virtual server so once you stop and restart
>> the instance, you don't have to modify settings for any other nodes.
>> Be sure and make the startup flag changes using Enterprise Manager
>> so it updates the cluster properly. It is typically faster to move
>> an instance to a new node if you have a lot of AWE memory.
>> Otherwise it is usually better to stop and restart on the same node.
>> Geoff N. Hiten
>> Microsoft SQL Server MVP
>> "Gurba" <gurbao@.hotmail.com> wrote in message
>> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.65...
>> Hi
>> I need to change some settings on a clustered sql server 2000. I
>> need to use sp_configure to change the "set working set size"
>> option and also increase the memtoleave area using the -g flag.
>> How is this best accomplished in a cluster with 2 nodes?
>> - failover to node2, do the changes to node1 and restart the
>> service? - fail back to node1 and update node2 with a restart of
>> service?
>> This way I will avoid downtime on the server.
>> Is this the way to do it?
>>
>>
>

Changes to clustered sql server

Hi
I need to change some settings on a clustered sql server 2000. I need to
use sp_configure to change the "set working set size" option and also
increase the memtoleave area using the -g flag.
How is this best accomplished in a cluster with 2 nodes?
- failover to node2, do the changes to node1 and restart the service?
- fail back to node1 and update node2 with a restart of service?
This way I will avoid downtime on the server.
Is this the way to do it?
The settings follow the virtual server so once you stop and restart the
instance, you don't have to modify settings for any other nodes. Be sure
and make the startup flag changes using Enterprise Manager so it updates the
cluster properly. It is typically faster to move an instance to a new node
if you have a lot of AWE memory. Otherwise it is usually better to stop and
restart on the same node.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.6 5...
> Hi
> I need to change some settings on a clustered sql server 2000. I need to
> use sp_configure to change the "set working set size" option and also
> increase the memtoleave area using the -g flag.
> How is this best accomplished in a cluster with 2 nodes?
> - failover to node2, do the changes to node1 and restart the service?
> - fail back to node1 and update node2 with a restart of service?
> This way I will avoid downtime on the server.
> Is this the way to do it?
|||Thanks,
does this mean that e.g. the -g flag should not be added to the
imagepath key in the registry for the sql server service? Will
parameters to the service not be taken into account?
The reason I ask is that the cluster is set up this way today.
We don't use AWE, so I understand your advise as
- add the -g parameter in EM for the active instance
- restart the service
My goal is to minimize downtime.
Regards,
"Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:

> The settings follow the virtual server so once you stop and restart
> the instance, you don't have to modify settings for any other nodes.
> Be sure and make the startup flag changes using Enterprise Manager so
> it updates the cluster properly. It is typically faster to move an
> instance to a new node if you have a lot of AWE memory. Otherwise it
> is usually better to stop and restart on the same node.
> Geoff N. Hiten
> Microsoft SQL Server MVP
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E413E39AEgurbaohotmailcom@.129.250.171.6 5...
>
|||Generally on a cluster we are all trying to minimize downtime.
I am curious why you need more memtoleave. Are you running a lot of
third-party extended stored procedures? What specific symptoms are you
seeing? Before tweaking that parameter, I would open a case with PSS to try
and diagnose whatever the underlying problem really is.
EM is supposed to do the registry writes "under the covers" correctly for
clustered and non-clustered SQL instances.
Geoff N. Hiten
Microsoft SQL Server MVP
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns967E70926DD36gurbaohotmailcom@.129.250.171. 68...
> Thanks,
> does this mean that e.g. the -g flag should not be added to the
> imagepath key in the registry for the sql server service? Will
> parameters to the service not be taken into account?
> The reason I ask is that the cluster is set up this way today.
> We don't use AWE, so I understand your advise as
> - add the -g parameter in EM for the active instance
> - restart the service
> My goal is to minimize downtime.
> Regards,
> "Geoff N. Hiten" <SQLCraftsman@.gmail.com> wrote in
> news:uzNxL#5dFHA.3012@.tk2msftngp13.phx.gbl:
>
|||Hi,
We are seeing "WARNING: Failed to reserve contiguous memory ..."
messages in the errorlog. I've already been in contact with MS PSS and
they have advised us to increase the memtoleave area to see if this
resolves our problems.
This is not as a result of 3rdparty xps, but rather some "extreme"
queries that are submitted from time to time.
Thanks for your help.
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:

> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.129.250.171. 68...
>
>
|||Sorry for being "slow" here;
if I add the parameter (using EM) on the node owning the sql resource,
everything will be ok also when I failover and the sql server service
starts on the new node? EM took care of updating the registry also on
the second node?
If I add the parameter on the node _not_ owning the sql resource, EM
will update the registry on this node but not the other, so that I will
have to do the same on that after failover to this (phew)?
I have a feeling I'm being too complicated here, or is this stuff
complicated?
TIA
"Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:

> Generally on a cluster we are all trying to minimize downtime.
> I am curious why you need more memtoleave. Are you running a lot of
> third-party extended stored procedures? What specific symptoms are
> you seeing? Before tweaking that parameter, I would open a case with
> PSS to try and diagnose whatever the underlying problem really is.
> EM is supposed to do the registry writes "under the covers" correctly
> for clustered and non-clustered SQL instances.
>
> Geoff N. Hiten
> Microsoft SQL Server MVP
>
> "Gurba" <gurbao@.hotmail.com> wrote in message
> news:Xns967E70926DD36gurbaohotmailcom@.129.250.171. 68...
>
|||Comments Inline
"Gurba" <gurbao@.hotmail.com> wrote in message
news:Xns9680AAAF4D1gurbaohotmailcom@.129.250.171.65 ...
> Sorry for being "slow" here;
I have no problem with you asking careful questions. NNTP postings are
cheap. Downtime gets expensive.

> if I add the parameter (using EM) on the node owning the sql resource,
> everything will be ok also when I failover and the sql server service
> starts on the new node? EM took care of updating the registry also on
> the second node?
Technically, EM updates the clustered registry keys and MSCS takes care of
copying them around where needed, but yes, that is essentially what happens.
> If I add the parameter on the node _not_ owning the sql resource, EM
> will update the registry on this node but not the other, so that I will
> have to do the same on that after failover to this (phew)?
>
Depends. If you manually hack the registry and/or startup parameters on a
non-owner node, it gets worse. Since that node doesn't own the resource
group, any changes made to the clustered keys/parameters get overwritten the
next time the resource group shifts to that node. EM actually has the SQL
Service write everything to the registry so it always happens on the correct
node.

> I have a feeling I'm being too complicated here, or is this stuff
> complicated?
Yes, it is complicated, but the fine programmers at Microsoft (cough, cough)
handle the complexity for you, at least in this case.
GNH

> TIA
> "Geoff N. Hiten" <sqlcraftsman@.gmail.com> wrote in
> news:OUR8aU$dFHA.1920@.tk2msftngp13.phx.gbl:
>

Friday, February 24, 2012

Change Settings on an EM SQL Group Member

Using EM, I have a server group which includes 6 entries. I want to change
the settings on one of the entries (I want it to require a login each time I
access a DB). I don't see a way to do this. I even thought that I would just
delete that entry and recreate it but I cannot find a way to do that either?
How can I accomplish this?
Wayne
Right-click the SQL Server, "Edit Server Registration".
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:uBhIcptQFHA.248@.TK2MSFTNGP15.phx.gbl...
> Using EM, I have a server group which includes 6 entries. I want to change
> the settings on one of the entries (I want it to require a login each time I
> access a DB). I don't see a way to do this. I even thought that I would just
> delete that entry and recreate it but I cannot find a way to do that either?
> How can I accomplish this?
> Wayne
>
|||When I right click a server I see an hour glass cursor for about 15 seconds
and then - nothing?
Wayne
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:%23U1vkqyQFHA.2356@.TK2MSFTNGP14.phx.gbl...[vbcol=seagreen]
> Right-click the SQL Server, "Edit Server Registration".
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
> news:uBhIcptQFHA.248@.TK2MSFTNGP15.phx.gbl...
change[vbcol=seagreen]
time I[vbcol=seagreen]
just[vbcol=seagreen]
either?
>
|||Strange, I've never seen this. No error message, like "cannot fins server", or "cannot log in"?
Perhaps some DLL conflict with EM? Could be worth (re) applying SQL Server service pack (unless you
find something specific about this in KB).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Wayne Wengert" <wayneDONTWANTSPAM@.wengert.com> wrote in message
news:%23yDf%238zQFHA.1476@.TK2MSFTNGP09.phx.gbl...
> When I right click a server I see an hour glass cursor for about 15 seconds
> and then - nothing?
> Wayne
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
> message news:%23U1vkqyQFHA.2356@.TK2MSFTNGP14.phx.gbl...
> change
> time I
> just
> either?
>

Sunday, February 19, 2012

change save settings directory on SSMS 2005

when i exit sql server management studio i get the following error:

The automatically saved settings file '\\SERVER\DATA\Sql Server Management Studio\Settings\CurrentSettings-2006-09-21.vssettings' is not available for write. You can change this file on the 'Import and Export Settings' Tools Options page.

i'm guessing this might be because of the corporate policy of pointing everyone's "My Documents" at a read-only folder.

i'd like to follow the advice on the dialog but unfortunately my Tools, Options dialog does not have an 'Import and Export Settings' page.

any ideas?

This problem relates to SSMS being an offshoot of the Visual Studio Shell. I would raise a bug in Connect http://connect.microsoft.com/sqlserver|||

You could try changing the registry I found this key that might be worth looking at

HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\90\Tools\Shell

|||

Probably the folder in which the vssettings file is present is a read-only location and that's why it's not allowing you to over-write it.

But you can very well re-direct your My Documents folder to any location(for which you have write access) and save the settings file will be saved when you close the SSMS.

For redirecting the My Documents folder, right click on it and select Properties and specify the new path in the Target folder location.

Hope that Helps.

Regards,

Rajesh

|||bug raised as https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=208955