Red Hat Bugzilla – Bug 157523
cman-kernel-xenU takes over 5 minutes to form a cluster
Last modified: 2007-11-30 17:11:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050509 Fedora/1.0.3-5 Firefox/1.0.3
Description of problem:
Running cman under xen, all the timeouts are 10 times too long. For instance, it takes around 5.5 minutes for a single node to form a new cluster, rather than 30 seconds.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run Fedora in a Xen VM
2. Install cman
3. cman_tool join
Actual Results: May 11 10:58:23 fedora1 kernel: CMAN: Waiting to join or form a Linux-cluster
May 11 11:03:43 fedora1 kernel: CMAN: forming a new cluster
Expected Results: May 11 11:48:41 arthur kernel: CMAN: Waiting to join or form a Linux-cluster
May 11 11:49:13 arthur kernel: CMAN: forming a new cluster
IME, this is caused by building the modules outside of the kernel tree and not adding ARCH=xen to the build command line. This causes HZ to be the (normal i386) default value of 1000, rather than the xen value of 100.
As HZ is the number of time ticks in a second, and it's used by CMAN (and the DLM) to calculate timeouts, it seems reasonable to me that this is the probably cause of the timeouts being 10x out!
Reassign to Chris as it's a build problem.
This should be fixed in the latest fc4 builds
(cman-kernel-188.8.131.52-20050425.154843.FC4.19) and up.
Let me know if it's not fixed.
May 18 03:47:00 fedora1 kernel: CMAN 184.108.40.206-20050425.154843.FC4.19 (built May
17 2005 11:33:22) installed
May 18 03:47:00 fedora1 kernel: NET: Registered protocol family 30
May 18 03:47:43 fedora1 kernel: CMAN: Waiting to join or form a Linux-cluster
May 18 03:53:03 fedora1 kernel: CMAN: forming a new cluster
I also added ARCH=xen in the make install and that appears to have done.
Let me know if it still isn't fixed.
(should be fixed in CMAN 220.127.116.11-20050517.141233.FC4.3 and beyond).
That works. thanks