Registry Key Replication Kills Performance
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Registry Key Replication Kills Performance

 
Post new topic   Reply to topic    Windows Server Forum Index -> Clustering
Author Message
ebferro
Guest





Posted: Fri Jan 07, 2005 1:45 am    Post subject: Registry Key Replication Kills Performance Reply with quote

I've got two services that I've installed as Generic Services using cluster
administrator. In order to get the services to work, I had to specify
registry key replication. As soon as I do this, the performance of the
server (a dual 3.06gig Xeon Dell) becomes terrible. There is a noticeable
lag when you click on a menu item before that item actually displays. These
services are for a database that's on the cluster. Whenever a client machine
goes to access that database, there is a noticable lag. Performance improves
for a period of time and then the lag comes back. It's almost as if the
cluster is off duplicating the registry key and it completes that task and
the performance returns. I'm not sure about this, just supposing. I've two
questions, assuming my supposition is correct, is there a way to reduce the
frequency of replication so as to reduce the frequency of the lag? In lieu
of that solution, is it possible to replicate HKLM/Software/Service name
rather than HKLM/Software?
By the way, the CPU usage is running between 35 and 40% with taskmanager
displayed on node that's hosting these two services. I'm running an
active/active cluster and the CPU usage on the node that is not currently
hosting these services is about the same but there is no performance lag.
So, can someone help me with this issue?
Thanks in advance.
Ernie
Back to top
Mike Rosado [MSFT]
Guest





Posted: Fri Jan 07, 2005 6:17 am    Post subject: Re: Registry Key Replication Kills Performance Reply with quote

Hi Ernie,

Unfortunately although the generic service resource can be used as an
effective temporary solution, it is not a good long term solution because
the generic service resource does not contain specific code to test if that
particular service is online. The generic service resource only checks with
the Service Control Manager to get a state for the service. The proper long
term solution is to write a service-specific resource dynamic-link library
(.dll) file.

The generic service resource calls the same function for both isalive and
looksalive. The function calls the QueryServiceStatus function to get the
current state of the service. If the service is either not running, or is in
a start-pending state, the LooksAlive or IsAlive function is returned as
"failed." If this behavior occurs, the cluster logs the following entry:

164.16b::19-14:17:50.007 Generic Service <Service Name>:
Failed the IsAlive test. Current State is <value>

The state value corresponds to one of the following service symbolic values:
#define SERVICE_STOPPED 0x00000001
#define SERVICE_START_PENDING 0x00000002
#define SERVICE_STOP_PENDING 0x00000003
#define SERVICE_RUNNING 0x00000004
#define SERVICE_CONTINUE_PENDING 0x00000005
#define SERVICE_PAUSE_PENDING 0x00000006
#define SERVICE_PAUSED 0x00000007

If the call to QueryServiceStatus is unsuccessful, the following entry is
logged:

164.16b::20-02:32:45.038 Generic Service <Service Name>:
Query Service Status failed <NTSTATUS>

To resolve the NTSTATUS value to a text message, type the following line at
a command prompt

"net helpmsg <errornumber>" (without the quotation marks)

where <errornumber> is the NTSTATUS value.

RELATED KNOWLEDGE BASE ARTICLES(S):
174070 Registry Replication in Microsoft Cluster Server
http://support.microsoft.com/?id=174070

Using the Server Cluster API
http://msdn.microsoft.com/library/en-us/mscs/mscs/using_the_server_cluster_api.asp

--
Hope this helps,
Mike Rosado
Windows 2000 MCSE + MCDBA
Microsoft Enterprise Platform Support
Windows NT/2000/2003 Cluster Technologies

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.microsoft.com/info/cpyright.htm

-----Original Message-----

"ebferro" <ebferro@discussions.microsoft.com> wrote in message
news:EB7614B5-A419-4EC2-BFBA-64E0AF1D2C9C@microsoft.com...
Quote:
I've got two services that I've installed as Generic Services using
cluster
administrator. In order to get the services to work, I had to specify
registry key replication. As soon as I do this, the performance of the
server (a dual 3.06gig Xeon Dell) becomes terrible. There is a noticeable
lag when you click on a menu item before that item actually displays.
These
services are for a database that's on the cluster. Whenever a client
machine
goes to access that database, there is a noticable lag. Performance
improves
for a period of time and then the lag comes back. It's almost as if the
cluster is off duplicating the registry key and it completes that task and
the performance returns. I'm not sure about this, just supposing. I've
two
questions, assuming my supposition is correct, is there a way to reduce
the
frequency of replication so as to reduce the frequency of the lag? In
lieu
of that solution, is it possible to replicate HKLM/Software/Service name
rather than HKLM/Software?
By the way, the CPU usage is running between 35 and 40% with taskmanager
displayed on node that's hosting these two services. I'm running an
active/active cluster and the CPU usage on the node that is not currently
hosting these services is about the same but there is no performance lag.
So, can someone help me with this issue?
Thanks in advance.
Ernie
Back to top
Shon Shah [MSFT]
Guest





Posted: Fri Jan 07, 2005 7:42 am    Post subject: Re: Registry Key Replication Kills Performance Reply with quote

Ernie,

If you have specified HKLM\Software for registry replication then I think
that is the root cause for the issue you are facing. You should only specify
those keys which are used by your service (service documentation or vendor
should be able to get you this information). I am sure there are hundreds of
keys under HKLM\Software which your service does not care about, so why ask
clustering software to watch those to ensure that updates to those are
replicated to other node when the resource moves to that node. KB 174070 has
some details regarding how registry replication works.

Hope this helps.

--
Regards,
Shon Shah
Software Design Engineer/Test
Microsoft Cluster Server

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples, if any, are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"ebferro" <ebferro@discussions.microsoft.com> wrote in message
news:EB7614B5-A419-4EC2-BFBA-64E0AF1D2C9C@microsoft.com...
Quote:
I've got two services that I've installed as Generic Services using
cluster
administrator. In order to get the services to work, I had to specify
registry key replication. As soon as I do this, the performance of the
server (a dual 3.06gig Xeon Dell) becomes terrible. There is a noticeable
lag when you click on a menu item before that item actually displays.
These
services are for a database that's on the cluster. Whenever a client
machine
goes to access that database, there is a noticable lag. Performance
improves
for a period of time and then the lag comes back. It's almost as if the
cluster is off duplicating the registry key and it completes that task and
the performance returns. I'm not sure about this, just supposing. I've
two
questions, assuming my supposition is correct, is there a way to reduce
the
frequency of replication so as to reduce the frequency of the lag? In
lieu
of that solution, is it possible to replicate HKLM/Software/Service name
rather than HKLM/Software?
By the way, the CPU usage is running between 35 and 40% with taskmanager
displayed on node that's hosting these two services. I'm running an
active/active cluster and the CPU usage on the node that is not currently
hosting these services is about the same but there is no performance lag.
So, can someone help me with this issue?
Thanks in advance.
Ernie
Back to top
ebferro
Guest





Posted: Fri Jan 07, 2005 7:35 pm    Post subject: Re: Registry Key Replication Kills Performance Reply with quote

Shon:
Thanks for your response. How do I specify keys below the root on HKLM in
the wizard?
TIA
Ernie
"Shon Shah [MSFT]" wrote:

Quote:
Ernie,

If you have specified HKLM\Software for registry replication then I think
that is the root cause for the issue you are facing. You should only specify
those keys which are used by your service (service documentation or vendor
should be able to get you this information). I am sure there are hundreds of
keys under HKLM\Software which your service does not care about, so why ask
clustering software to watch those to ensure that updates to those are
replicated to other node when the resource moves to that node. KB 174070 has
some details regarding how registry replication works.

Hope this helps.

--
Regards,
Shon Shah
Software Design Engineer/Test
Microsoft Cluster Server

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples, if any, are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm

Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"ebferro" <ebferro@discussions.microsoft.com> wrote in message
news:EB7614B5-A419-4EC2-BFBA-64E0AF1D2C9C@microsoft.com...
I've got two services that I've installed as Generic Services using
cluster
administrator. In order to get the services to work, I had to specify
registry key replication. As soon as I do this, the performance of the
server (a dual 3.06gig Xeon Dell) becomes terrible. There is a noticeable
lag when you click on a menu item before that item actually displays.
These
services are for a database that's on the cluster. Whenever a client
machine
goes to access that database, there is a noticable lag. Performance
improves
for a period of time and then the lag comes back. It's almost as if the
cluster is off duplicating the registry key and it completes that task and
the performance returns. I'm not sure about this, just supposing. I've
two
questions, assuming my supposition is correct, is there a way to reduce
the
frequency of replication so as to reduce the frequency of the lag? In
lieu
of that solution, is it possible to replicate HKLM/Software/Service name
rather than HKLM/Software?
By the way, the CPU usage is running between 35 and 40% with taskmanager
displayed on node that's hosting these two services. I'm running an
active/active cluster and the CPU usage on the node that is not currently
hosting these services is about the same but there is no performance lag.
So, can someone help me with this issue?
Thanks in advance.
Ernie


Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Clustering All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB