Amos Shapira | 1 Dec 2007 01:01
Picon
Gravatar

Re: RedHat Cluster Suite as a replacement for linux-ha?

On 30/11/2007, Noam Meltzer <tsnoam@...> wrote:
> Hi,
>
> I had some experience with RHCS. Personally, it will be one of my last
> choices for a good opensource HA software. (linux-ha first, actually)

That's what I tried - but at least the packages on my test systems
just crash and burn even running a simple "stonith -h" or
"BasicSanityCheck".

> It is very lacking in the area of Ethernet heartbeats (allows only one!) and

What do you mean by "allows only one"?

> Anyhow, RHCS does have one good point which will make it the first OSS
> candidate on certain scenarios which is GFS.

Well - can't you configure GFS without it?

Also - I got the impression the OCFS is more recommanended by users on
the net, but it doesn't come as a CentOS package - is it worth the
trouble to install?

> There is much more into it, but in order to give more information I would
> need more information about your application and its architecture.

The main application just updates a SQLite file a lot. All we want is
to have a stand-by node to take over and keep providing network
service (reading and updating the file) if/when the primary node goes
down. For this we share the file on DRBD but of course we need
(Continue reading)

Amos Shapira | 1 Dec 2007 03:29
Picon
Gravatar

results for benchmark for Maildir filesystem

Hi,

I just saw a link for this on the CentOS mailing list and though it
might interest people here.

http://www.htiweb.inf.br/benchmark/fsbench.htm

--Amos

PS - Shachar Shemesh deserves big "congratulations" for his win in
first prize in the "Security" category in
http://www.tropheesdulibre.org/?lang=en  -
http://blog.shemesh.biz/?p=516 (explanation:
http://blog.shemesh.biz/?p=509)

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...

Noam Meltzer | 1 Dec 2007 09:28
Picon

Re: RedHat Cluster Suite as a replacement for linux-ha?


On Dec 1, 2007 2:01 AM, Amos Shapira <amos.shapira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On 30/11/2007, Noam Meltzer <tsnoam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> I had some experience with RHCS. Personally, it will be one of my last
> choices for a good opensource HA software. (linux-ha first, actually)

That's what I tried - but at least the packages on my test systems
just crash and burn even running a simple "stonith -h" or
"BasicSanityCheck".
Never felt the need for using stonith, so can't really know. Linux-HA just worked for me great without it.


> It is very lacking in the area of Ethernet heartbeats (allows only one!) and

What do you mean by "allows only one"?
Exactly what it sounds like.


> Anyhow, RHCS does have one good point which will make it the first OSS
> candidate on certain scenarios which is GFS.

Well - can't you configure GFS without it?
No. GFS requires RHCS, it's one bundle.


Also - I got the impression the OCFS is more recommanended by users on
the net, but it doesn't come as a CentOS package - is it worth the
trouble to install?
You need OCFS2. You can download RPMs from Oracle's website.
Though, I *think* that you will require oracle's cssd to use it.


> There is much more into it, but in order to give more information I would
> need more information about your application and its architecture.

The main application just updates a SQLite file a lot. All we want is
to have a stand-by node to take over and keep providing network
service (reading and updating the file) if/when the primary node goes
down. For this we share the file on DRBD but of course we need
something to tell the secondary node to take control of the service.
Uhm. Don't have actual experience with DRBD. Though, I find this technology a bit scary. Personally I would prefer a real storage device (SAN  or NAS) for this kind of work (and make sure that the storage is highly available). Then I can go to sleep at night ;-)
At this point I would prefer Linux-HA (or if you really have the money: Veritas Cluster)



Best regards,
Noam
ik | 1 Dec 2007 11:23
Picon
Gravatar

Re: Pango Hebrew and Ampersand char

Thank you and Shachar for the answers.

It appears that actually a function in between changed the encoding to
ASCII based rather kept it as UTF-8.

On Nov 30, 2007 2:14 AM, Dotan Cohen <dotancohen <at> gmail.com> wrote:
>
> On 29/11/2007, ik <idokan <at> gmail.com> wrote:
> > Hello List,
> >
> > I have this weird annoying bug on a GTK2 based program.
> > When I use Hebrew everything displaied properly, but when I add the
> > ampersand char (&) it will report a warning:
> >
> > Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
> >
> > Does anyone have experience with this issue and knows what I'm missing ?
> >
> > Thanks,
> > Ido
>
> The program may be storing it's info in XML files. Ampersand is an
> illegal character in XML. In any case (XML or not) file a bug with the
> software's author.
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>

Ido
--

-- 
http://ik.homelinux.org/
Amos Shapira | 1 Dec 2007 12:30
Picon
Gravatar

Re: RedHat Cluster Suite as a replacement for linux-ha?

On 01/12/2007, Noam Meltzer <tsnoam@...> wrote:
>
> On Dec 1, 2007 2:01 AM, Amos Shapira <amos.shapira@...> wrote:
> >
> > On 30/11/2007, Noam Meltzer <tsnoam@...> wrote:
> > > Hi,
> > >
> > > I had some experience with RHCS. Personally, it will be one of my last
> > > choices for a good opensource HA software. (linux-ha first, actually)
> >
> > That's what I tried - but at least the packages on my test systems
> > just crash and burn even running a simple "stonith -h" or
> > "BasicSanityCheck".
> Never felt the need for using stonith, so can't really know. Linux-HA just
> worked for me great without it.

Me neither. I don't even have the hardware to use it. But it appears
that "service heartbeat start" depends on it being installed and
functioning. Or maybe I'm mixing up the failure of crmd to start on
that system with something else...

> >
> >
> >
> > > It is very lacking in the area of Ethernet heartbeats (allows only one!)
> and
> >
> > What do you mean by "allows only one"?
> Exactly what it sounds like.

That it allows only one heartbeat on the ether? Allows only one
heartbeat medium or what?
Because from what I've seen so far it's possible to have multiple
cluster's heartbeats on the same network without interruption - just
use different ports or different multicast groups or unicast, and the
documentation recommends using multiple parallel heartbeat mediums
(serial + ether, for instance) so a single medium failure won't cause
a split-brain situation (where both nodes are alive and think that
they are the master).

> >
> >
> >
> > > Anyhow, RHCS does have one good point which will make it the first OSS
> > > candidate on certain scenarios which is GFS.
> >
> > Well - can't you configure GFS without it?
>
> No. GFS requires RHCS, it's one bundle.

I see. Thanks for the clarification. I intend to configure it as
master/slave anyway (at least at first stage) so I don't need a
cluster-aware filesystem, but I'll keep your comments in mind if and
when I need it.

> >
> >
> > Also - I got the impression the OCFS is more recommanended by users on
> > the net, but it doesn't come as a CentOS package - is it worth the
> > trouble to install?
> You need OCFS2. You can download RPMs from Oracle's website.
> Though, I *think* that you will require oracle's cssd to use it.

OK, thanks.

> >
> >
> >
> > > There is much more into it, but in order to give more information I
> would
> > > need more information about your application and its architecture.
> >
> > The main application just updates a SQLite file a lot. All we want is
> > to have a stand-by node to take over and keep providing network
> > service (reading and updating the file) if/when the primary node goes
> > down. For this we share the file on DRBD but of course we need
> > something to tell the secondary node to take control of the service.
>
> Uhm. Don't have actual experience with DRBD. Though, I find this technology
> a bit scary. Personally I would prefer a real storage device (SAN  or NAS)
> for this kind of work (and make sure that the storage is highly available).
> Then I can go to sleep at night ;-)
> At this point I would prefer Linux-HA (or if you really have the money:
> Veritas Cluster)

That's the point - I don't have the money. Someone pointed me to a new
3000$ SAN not long ago (Geoffry?) but it's not in my budget for now.

Also my previous employer (a very large company with hundreds of
RedHat servers) used it extensively with no problem.

Right now I finished "make" of the 2.1.2 sources but got a breakage in
"make rpm". When I get that RPM built I'll try using it instead of the
ones coming with CentOS and see what happens.

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...

Noam Meltzer | 1 Dec 2007 13:18
Picon

Re: RedHat Cluster Suite as a replacement for linux-ha?



On Dec 1, 2007 1:30 PM, Amos Shapira <amos.shapira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > It is very lacking in the area of Ethernet heartbeats (allows only one!)
> and
> >
> > What do you mean by "allows only one"?
> Exactly what it sounds like.

That it allows only one heartbeat on the ether? Allows only one
heartbeat medium or what?
Because from what I've seen so far it's possible to have multiple
cluster's heartbeats on the same network without interruption - just
use different ports or different multicast groups or unicast, and the
documentation recommends using multiple parallel heartbeat mediums
(serial + ether, for instance) so a single medium failure won't cause
a split-brain situation (where both nodes are alive and think that
they are the master).

Uhm.

From what I remember in RHCS4, the network heartbeat is influenced by the hostnames specified in /etc/cluster/cluster.conf, and each node tries to "ping" the other according to "getent hosts <nodeName>". This methodology allows only one IP heartbeat. (when I come to think about it "IP" is more correct then "ethernet") So you put this IP over a bonded interface, you will have HA there.
I *think* (why think? because I'm not sure any more! - will explain it later on) that the multicast works only over this network interface (bonded or not) and not over any other.

Anyway, when I wrote these lines it caused me to question my knowledge about RHCS, and I think that this is exactly the problem. Linux-HA is plain and simple and full of features. Veritas Cluster is simple, powerful and the most robust. But when it comes to RHCS, I always question my knowledge.

Regarding serial heartbeat - this is useful when you have the two nodes in a close distance and is not helpful when you have more than two nodes in the cluster.
You can also use a shared storage device for heartbeat in RHCS3 and RHCS > 4.5 (they removed the support in RHCS4.0-4.4) . But that won't help you as you don't have a shared storage.
(actually, I remember reading about RHCS5 that it can use GNBD for heartbeat)

> Uhm. Don't have actual experience with DRBD. Though, I find this technology
> a bit scary. Personally I would prefer a real storage device (SAN  or NAS)
> for this kind of work (and make sure that the storage is highly available).
> Then I can go to sleep at night ;-)
> At this point I would prefer Linux-HA (or if you really have the money:
> Veritas Cluster)

Also my previous employer (a very large company with hundreds of
RedHat servers) used it extensively with no problem.

Can you please tell me (off-list possibly) who was this employer,  and how uses DRBD?
I'm really interested in such success stories from the technological aspect of it.

Best regards,
Noam
Gabor Szabo | 2 Dec 2007 08:52
Picon
Gravatar

Perl Workshop: Early bird registration dead-line

Just a reminder that the Early bird registration dead-line of the
Perl Workshop ( http://act.perl.org.il/ ) is tomorrow.

List of presentations can be found here:
http://act.perl.org.il/ilpw2007/talks

If you would like to enjoy the discount the early birds are entitled to,
please arrange your payment now.
For details look at the explanation on this page:

http://act.perl.org.il/ilpw2007/payment.html

If you still have questions ask here on the mailing list or call Naama Enosh.

regards
    Gabor

--
Gabor Szabo
http://www.szabgab.com/
Perl Training in Israel  http://www.pti.co.il/
Profile: http://www.linkedin.com/profile?viewProfile=&key=82476

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...

Constantine Shulyupin | 2 Dec 2007 10:42
Picon
Favicon

Re: Linux reference

Thanks Nadav,
Indeed, local access is valuable too.

On Nov 26, 2007 10:06 AM, Nadav Har'El <nyh@...> wrote:
> On Mon, Nov 26, 2007, Shachar Shemesh wrote about "Re: Linux reference":
> > What is missing, IMHO, is a real MSDN like site. Something that will
> > give a spread of the man pages and header files with a search engine.
>
> I agree that lately it seems that the Web has become everything, but really,
> in this case, why do you want to have this information on the Web, and not
> locally? Wouldn't it be better to some program (a beefed up version of xman,
> tkman, pinfo, or whatever) that give you access to the man pages, header files,
> javadocs, info files, documentation PDFs, READMEs and so on and so on *on
> your system*? This will have several benefits over a Web version:
>
> * The information you get is true to your exact system and the software
>   versions you have - not more and not less.
> * The information is always there and always quick (this is becoming less
>   and less of an issue, but sometimes still matters).
>
> Unlike Microsoft's MSDN, which can (somewhat) cleanly divide the information
> it gives into "in Windows XP, ...., while in Windows VISTA, ...". in Linux
> this would be almost impossible - for every search you perform, there will be
> a different answer for Fedora, Debian, Ubuntu, an answer for Linux 2.4 vs. 2.6,
> for Glibc version X vs. version Y, for ten-thousand different packages you may
> or may not have installed, with ten versions each, and so on and so on.
> This is why I think it would be easier to create a system that searched for
> information on your system, which is relevant to your system.
>
> > Ok, not really MSDN like. It will be more useful to allow the user to
> > limit the search to a specific subsection of the site.
>
> Indeed.
>
>
> --
> Nadav Har'El                        |      Monday, Nov 26 2007, 16 Kislev 5768
> nyh@...             |-----------------------------------------
> Phone +972-523-790466, ICQ 13349191 |My typos are intentional copyright traps.
> http://nadav.harel.org.il           |
>

--

-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...

Constantine Shulyupin | 2 Dec 2007 10:37
Picon
Favicon

Re: Linux reference

Thank you, Shachar.
I changed ALP layout. I added man & h reference and search to my TODO list.

On Nov 26, 2007 9:43 AM, Shachar Shemesh <shachar@...> wrote:
> Constantine Shulyupin wrote:
> > Hi,
> >
> > I make yet another Linux reference based on links collection:
> > http://www.makelinux.net/reference . It is going to be like MSDN for
> > Linux. Could you please share with me your experience about it? Have
> > you any useful links to add there? How to improve it?
> I think links are not really all that important. You point, in a frame,
> to pages that have frames themselves, and that are huge to read. That
> makes no sense. Someone arriving at http://www.makelinux.net/alp/ will
> not return to your site for some time while reading.
>
> What is missing, IMHO, is a real MSDN like site. Something that will
> give a spread of the man pages and header files with a search engine.
>
> Ok, not really MSDN like. It will be more useful to allow the user to
> limit the search to a specific subsection of the site.
>
> Shachar
>

--

-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...

Dotan Shavit | 2 Dec 2007 10:26
Favicon

[Job offer] C++ / Embedded programmer

Hi All,

One of my friends (another one) asked me to recruit a new employee / 
outsourcer with experience in C++ and Embedded systems.

The company is a new startup in the clean-tech area.
Outsourcing is an option, but you will have to obligate for a fulltime job for 
(at least) several months.

Send your C.V to dotan@...

All the best,
Dotan

=================================================================
To unsubscribe, send mail to linux-il-request@... with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@...


Gmane