Submitting two new resource plugins to the project
Hi,
I have developed a couple of resources for Linux-Cluster (CMAN +rgmanager) which try to fix some needs I see in Linux-Cluster when compared with other cluster solution (concretely, Linux-HA a.k.a. Heartbeat). I am a Linux-HA user and I think this two functionalities could be useful in Linux-Cluster.
I would like to give them (both resources) to the community to make them be into the project, and maybe after testing/quality testing or so be included into the RedHat Enterprise Linux packages of Linux-Cluster, so RedHat will give support for them and include them into the system-config-cluster tool to have a GUI that can configure this resources and handle their information.
I'll give you some details of both resources:
1.- ping-group: tries to bring to Linux-Cluster the Ping Group functionality of Linux-HA.
For those who don't know Ping Group, the idea is the following: its a NODE functionality (not a service or a resource) that checks IP communications with a list of given client nodes. When failed, Ping Group will move all services running in the affected node to other nodes that have proved that keep their communications right, so the service is provided to the clients even if there is a network problem that affects only a node of your cluster but the cluster itself wont realize about it.
I have developed ping-group as a resource to be used into a service of your cluster, so in the resource arguments you can specify a list of clients that service should take note on. There is one thing that could be improved: ping-group will mark the service as failed even if the other nodes of the cluster would fail too due to lack of communications with the clients (for example, all clients are powered off). In this situation the service will go on migrating from one node to another according to your service failover policy and finally the service will be stopped. Maybe some ideas could be useful to improve this behaviour.
2.- lvm-cluster: tries to bring to Linux-Cluster an exclusive shared storage option, using features of LVM2. I got accustomed to this kind of volumes when working with Linux-Ha + EVMS solution (using Cluster Segment Manager plug-in).
When defining a new LVM2 volume four your cluster, you can set it as cluster-disabled (the volume will behave as a local volume even if it is on shared storage) or as cluster-enabled (the LVM volume can be activated on many different cluster nodes at the same time).
Of course, if the filesystem placed into the LVM volume is not a clustered filesystem (GFS2) a cluster-enabled volume allows a bad administrator mount a no-clustered filesystem (EXT3) in more than one node of the cluster which may produce filesystem corruption. This is because the LVM "open flag" of the filesystem is not propagated through all the members of the cluster, so there is no knowledge of the state of the filesystem and this situations can happen.
This can be fixed with some of the options of LVM, specifically the "enable exclusively flag". This flag, when used over a cluster-enabled volume, will allow the VolumeGroup to be imported by all the nodes of the cluster but the LogicalVolumes into the VolumeGroup can only be activated by a single node. So, only one node of your cluster will have the LogicalVolume device (for example /dev/VolGrp01/LogVol01) and the problem explained above cannot happen. This is not about propagating the "open flag" through the nodes, this is about making the LogicalVolume be in only one node.
I have developed lvm-cluster as a resource to be used into a service of your cluster. In the arguments you an specify the name of the VolumeGroup and the LogicalVolume to handle.
So, I would like to receive the instructions to submit this two resources to the project to improve them, test them and find any bugs that could still be in the code. I have made some testing but of course they need much more to allow them be put into the main project.
Sincerely yours,
Signature · 1 line
Rafael Mic? Miranda
El lun, 08-06-2009 a las 16:58 +0200, Rafael Mic? Miranda escribi?:
Quoted 74 lines
Hi,
I have developed a couple of resources for Linux-Cluster (CMAN +rgmanager) which try to fix some needs I see in Linux-Cluster when compared with other cluster solution (concretely, Linux-HA a.k.a. Heartbeat). I am a Linux-HA user and I think this two functionalities could be useful in Linux-Cluster.
I would like to give them (both resources) to the community to make them be into the project, and maybe after testing/quality testing or so be included into the RedHat Enterprise Linux packages of Linux-Cluster, so RedHat will give support for them and include them into the system-config-cluster tool to have a GUI that can configure this resources and handle their information.
I'll give you some details of both resources:
1.- ping-group: tries to bring to Linux-Cluster the Ping Group functionality of Linux-HA.
For those who don't know Ping Group, the idea is the following: its a NODE functionality (not a service or a resource) that checks IP communications with a list of given client nodes. When failed, Ping Group will move all services running in the affected node to other nodes that have proved that keep their communications right, so the service is provided to the clients even if there is a network problem that affects only a node of your cluster but the cluster itself wont realize about it.
I have developed ping-group as a resource to be used into a service of your cluster, so in the resource arguments you can specify a list of clients that service should take note on. There is one thing that could be improved: ping-group will mark the service as failed even if the other nodes of the cluster would fail too due to lack of communications with the clients (for example, all clients are powered off). In this situation the service will go on migrating from one node to another according to your service failover policy and finally the service will be stopped. Maybe some ideas could be useful to improve this behaviour.
2.- lvm-cluster: tries to bring to Linux-Cluster an exclusive shared storage option, using features of LVM2. I got accustomed to this kind of volumes when working with Linux-Ha + EVMS solution (using Cluster Segment Manager plug-in).
When defining a new LVM2 volume four your cluster, you can set it as cluster-disabled (the volume will behave as a local volume even if it is on shared storage) or as cluster-enabled (the LVM volume can be activated on many different cluster nodes at the same time).
Of course, if the filesystem placed into the LVM volume is not a clustered filesystem (GFS2) a cluster-enabled volume allows a bad administrator mount a no-clustered filesystem (EXT3) in more than one node of the cluster which may produce filesystem corruption. This is because the LVM "open flag" of the filesystem is not propagated through all the members of the cluster, so there is no knowledge of the state of the filesystem and this situations can happen.
This can be fixed with some of the options of LVM, specifically the "enable exclusively flag". This flag, when used over a cluster-enabled volume, will allow the VolumeGroup to be imported by all the nodes of the cluster but the LogicalVolumes into the VolumeGroup can only be activated by a single node. So, only one node of your cluster will have the LogicalVolume device (for example
/dev/VolGrp01/LogVol01) and the problem explained above cannot happen. This is not about propagating the "open flag" through the nodes, this is about making the LogicalVolume be in only one node.I have developed lvm-cluster as a resource to be used into a service of your cluster. In the arguments you an specify the name of the VolumeGroup and the LogicalVolume to handle.
Quoted 6 lines
So, I would like to receive the instructions to submit this two resources to the project to improve them, test them and find any bugs that could still be in the code. I have made some testing but of course they need much more to allow them be put into the main project.
Sincerely yours,
I received not even a simple reply, no one will help me?
Thanks in advance,
Signature · 1 line
Rafael Mic? Miranda
Quoted 9 lines · Rafael Mic? Miranda
Quoted 7 lines
So, I would like to receive the instructions to submit this two resources to the project to improve them, test them and find any bugs that could still be in the code. I have made some testing but of course they need much more to allow them be put into the main project.
Sincerely yours,
I received not even a simple reply, no one will help me?
Rafael,
I already explained to you how to submit the agents:
http://www.redhat.com/archives/linux-cluster/2009-June/msg00003.html
and so did Jonathan Brassow:
http://www.redhat.com/archives/linux-cluster/2009-June/msg00015.html
Please just post them with the minimal info required to properly review them.
Cheers,
Fabio
Hi Fabio,
El mi?, 10-06-2009 a las 18:57 +0200, Fabio M. Di Nitto escribi?:
Quoted 20 lines · Rafael Mic? Miranda
Quoted 10 lines
Quoted 8 lines
So, I would like to receive the instructions to submit this two resources to the project to improve them, test them and find any bugs that could still be in the code. I have made some testing but of course they need much more to allow them be put into the main project.
Sincerely yours,
I received not even a simple reply, no one will help me?
Rafael,
I already explained to you how to submit the agents:
http://www.redhat.com/archives/linux-cluster/2009-June/msg00003.html
and so did Jonathan Brassow:
Quoted 8 lines
http://www.redhat.com/archives/linux-cluster/2009-June/msg00015.html
Please just post them with the minimal info required to properly review them.
Cheers,
Fabio
I was looking for some more "formal" questions. Here's the info:
Distribution: RHEL 5.3 x86_64
Package Versions: all are from the RHEL 5.3 ISOs:
cman-2.0.98-1.el5.x86_64
openais-0.80.3-22.el5.x86_64
rgmanager-2.0.46-1.el5.x86_64
lvm2-cluster-2.02.40-7.el5.x86_64
I don't know anything about git trees so, can I attach the files in an e-mail?
Thanks,
Signature · 1 line
Rafael Mic? Miranda
Quoted 1 line · Rafael Mic? Miranda
I was looking for some more "formal" questions.
Don't worry about those. If people have questions, they will ask :)
Quoted 4 lines
Here's the info:
Distribution: RHEL 5.3
x86_64
Quoted 8 lines
Package Versions: all are from the RHEL 5.3 ISOs:
cman-2.0.98-1.el5.x86_64
openais-0.80.3-22.el5.x86_64
rgmanager-2.0.46-1.el5.x86_64
lvm2-cluster-2.02.40-7.el5.x86_64I don't know anything about git trees so, can I attach the files in an e-mail?
Yes that's absolutely fine. As I said we don't have a formal contribution procedure and we don't want people to go crazy learning git. So just choose whatever is simpler for you and we will take care of the technicalities.
Cheers
Fabio
Hi Fabio,
El jue, 11-06-2009 a las 08:01 +0200, Fabio M. Di Nitto escribi?:
Quoted 18 lines · Rafael Mic? Miranda
Quoted 1 line
I was looking for some more "formal" questions.
Don't worry about those. If people have questions, they will ask :)
Quoted 4 lines
Here's the info:
Distribution: RHEL 5.3
x86_64Quoted 8 lines
Package Versions: all are from the RHEL 5.3 ISOs:
cman-2.0.98-1.el5.x86_64
openais-0.80.3-22.el5.x86_64
rgmanager-2.0.46-1.el5.x86_64
lvm2-cluster-2.02.40-7.el5.x86_64I don't know anything about git trees so, can I attach the files in an e-mail?
Quoted 8 lines
Yes that's absolutely fine. As I said we don't have a formal contribution procedure and we don't want people to go crazy learning git. So just choose whatever is simpler for you and we will take care of the technicalities.
Cheers
Fabio
Thanks for your interest and help.
Both resource files are attached to this mail (.sh extension).
I'll wait for more feedback, simply ask when you need anything.
Cheers,
Signature · 15 lines
Rafael Mic? Miranda -------------- next part -------------- A non-text attachment was scrubbed... Name: lvm-cluster.sh Type: application/x-shellscript Size: 9934 bytes Desc: not available URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20090611/13db81ce/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: ping-group.sh Type: application/x-shellscript Size: 4825 bytes Desc: not available URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20090611/13db81ce/attachment-0001.bin>