is virtual ip is up

2009-06-24 Thread Biran, Yahav (Yahav)
im running multiply IPs on the same host. for each IP i wish to start an
instance of httpd server. therefore i would liek to make sure that the VIP
is up and running before the httpd is starting up.
i tried using the /sbin/ifconfig and it doesn't give a full indication on
the availbilty of the IP. i also tried to ping this IP but it is not clear
if this ip is running from the same host.

is there any way to distinguesh what IPs are running on a particualr host,
and if this IP is vaild on the network before starting any service on this
IP.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


A simple question about hebrew in terminal

2009-06-24 Thread Dan Shimshoni
Hello,
 I have support in hebrew on my Linux desktop (Fedora 10).
I can switch to hebrew with the keyboard indicator and it works.

Say I want to perform a simple operation in terminal: rename a file
named a.txt to קובץ.txt


I type:
mv a.txt and then, when I type: ק and then ו and then ב and then
ץ it shows:
 ץבוק

I can of course write the letters in reverse order, but this is not
comfortable to do it for each rename
operation.

Is there a way to solve this ? If I am not wrong I heard about some
BIDI support, but it seems to me that this BIDI support is for some
specific word processing/editors. I an talking about the
gnome-terminal.

Rgs,
D

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: A simple question about hebrew in terminal

2009-06-24 Thread Herouth Maoz

Quoting Dan Shimshoni danshi...@gmail.com:


Hello,
 I have support in hebrew on my Linux desktop (Fedora 10).
I can switch to hebrew with the keyboard indicator and it works.

Say I want to perform a simple operation in terminal: rename a file
named a.txt to קובץ.txt


I type:
mv a.txt and then, when I type: ק and then ו and then ב and then
ץ it shows:
 ץבוק

I can of course write the letters in reverse order, but this is not
comfortable to do it for each rename
operation.

Is there a way to solve this ? If I am not wrong I heard about some
BIDI support, but it seems to me that this BIDI support is for some
specific word processing/editors. I an talking about the
gnome-terminal.


First, I wouldn't worry about it. The name of the file is OK - the  
letters are entered into the directory in the correct order, and if  
you show it in a BiDi aware application (say, konqueror or whatever  
file explorer you use), it will show properly.


There are terminal applications that support BiDi. This is usually not  
a very good idea because it tends to confuse issues with the cursor  
and mess up curses-based applications.


Personally, I actually prefer to work in non BiDi aware apps to enter  
data (e.g. Write HTML or localization files or whatnot). It's easier  
to tell which character is the 10th from the quote etc. even in a  
mixed string.


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Linux-HA [Was: High availability virtual ip]

2009-06-24 Thread Oleg Goldshmidt
2009/6/24 Michael Tewner tew...@gmail.com:

 I you would like to also manage cluster resources, Linux-HA is your best
 solution. I would agree that it has a steep learning curve, and it's a pain,
 but it does exactly what you want, and more. It will handle all of your
 cluster resources - We've used it for MySQL, DRBD, OCFS2, Asterisk, and
 others.

Since I was the one who mentioned Linux-HA/heartbeat in the first
place, I feel compelled to say that

0) I have no affiliation or vested interest in Linux-HA, and I am not
going to take the job of its public defender on.

1) I cannot comment on the problems that Itay et al. had since I don't
know what they were and don't understand some of the (incomplete) use
case descriptions. See item 0 above, thorough investigations can go to
the appropriate Linux-HA forums.

2) My experiences with Linux-HA were separated in time by a few years
and have always been in the context of HA of quite a bit more than
just IP address, including DRBD, etc., for management (i.e., no
serious high performance server traffic requirements, no five nines
or anything like that, only we need HA of management systems; DRBD
integration was a big draw.). It is certainly possible that if one
needs only a virtual IP there are other solutions. I mentioned it
because I knew that virtual IP was one of the things it did.

3) Allow me to take the claims of too steep learning curve with a
grain of salt. The last time I recall (a year, maybe less, ago) it
took a *competent* person a few hours from never heard of Linux-HA
to reading the docs, installing and configuring it, integrating it
with a very non-trivial server application, verifying in the lab,
demoing live that it works, and being very satisfied the experience.
This included IP address HA, uninterrupted client sessions through
failover, live replication of configuration changes, contiguous
real-time management of a complicated network infrastructure through
failover, etc.

-- 
Oleg Goldshmidt | o...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: A simple question about hebrew in terminal

2009-06-24 Thread Dan Shimshoni
and if you show it in a BiDi aware application (say, konqueror or whatever 
file explorer you use), it will show properly.

It is true that if I try to browse the contents of this directory with
mozilla for example, it shows indeed :
File:קובץ.a

However, when I try to look at the contents of that directory using
midnight commander, it shows garbage.
something like: ץ???ק.a

And it is important for me to view the contents of directories with
hebrew file names properly with midnight commander as it is my daily
file management app.

Any ideas?

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: A simple question about hebrew in terminal

2009-06-24 Thread Herouth Maoz

Quoting Dan Shimshoni danshi...@gmail.com:

and if you show it in a BiDi aware application (say, konqueror or   
whatever file explorer you use), it will show properly.


It is true that if I try to browse the contents of this directory with
mozilla for example, it shows indeed :
File:קובץ.a

However, when I try to look at the contents of that directory using
midnight commander, it shows garbage.
something like: ץ???ק.a

And it is important for me to view the contents of directories with
hebrew file names properly with midnight commander as it is my daily
file management app.


seems that midnight commander has an encoding rather than BiDi issue.  
You should look for a way to set up its encoding, to be aware of UTF-8  
file names.


Herouth

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il