LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: piranha

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: piranha
From: "'Bryce'" <bryce@xxxxxxxxxx>
Date: Thu, 10 Jan 2002 15:59:01 -0500
Chris wrote:

> Okay,
>
> I have met with some small success.  I have compiled the kenel with the
> ipvs patch and the hidden patch.  I have gotten the iptunnel up with
> tunl0:0 as 1.2.3.4, and can hit that address from the local machine to view
> the website.
>
> Now I have, as directed, installed the piranha rpm on director.  I followed
> the documentation, and I am definitely missing something.  It says to make
> a password (now the docs say that this app lives in /etc/sysconfig, but it
> is under /sbin on my machine!  Fine.  I did it anyway.)  Then it says to
> piont your browser to http://localhost/piranha. Well, as you can imagine I
> did just that, got nothing more than a 404 error.  I did a service
> piranha-gui start then tried: no good.  I did a service httpd start and
> retried:  no good.  I tried it with one up and the other down in all
> possible permutations: No good.
>
> I think this documentation is old.  I couldn't find anything on
> google.  The howoto dan was kind enough to refer me to skips from testing
> the VIP tunnel right to: "Install Piranha, lvsadm" with no indication on
> how to do this!  Once again, I am lost.
>
> Could some one help?

Depends on the version of piranha
the more recent versions (0.5.X and above) allow for the web interface to run
independantly of the normal one thus making the interface non invasive of any
normally running web service, however, to do that it has to run on a
completely
different port number and again arbitrarily it was assigned to 3636 so to
connect to it with a web browser you have to use the URL http://<host>:3636/

Because it would be a web interface there had to be some means to prevent
other people from tinkering with the config file so the standard .htpasswd
mechanism is employed. Because it's a hard coded file
    /etc/sysconfig/ha/conf/piranha.passwd
there is a little shell scrip 'piranha-passwd' that takes care of adding in
the
password to the file eg  "piranha-passwd wibble" would make the login
password on the web interface to be "wibble" the actual login itself is fixed
as 'piranha'

As for installation, theres a little caveat with the kernel (2.2 uses
ipvsadm-1.15-1 and 2.4 uses ipvsadm version 1.18-8 and above)

If you're wishing to use the latest piranha packages they're to be found on
ftp://ftp.linux.org.uk/pub/linux/piranha. You'll need scsi_reserve, ipvsadm
and
piranah installed in that order.

If you have further problems drop me a line on the piranha-list@xxxxxxxxxx
mailing list which specifically deals with piranha issues

Cheers

Phil
=--=



<Prev in Thread] Current Thread [Next in Thread>