LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs_dr script for setting up nessus

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs_dr script for setting up nessus
From: jess patel <indian214soni@xxxxxxxxx>
Date: Wed, 2 Nov 2005 07:33:00 -0800 (PST)
http://bishop.itsp.purdue.edu/cgi-bin/trac.cgi/file/branches/vsc-2.0/NESSUS-LVS
This is the how-to I am trying to follow. 

In i, there is an exampe of lvs_dr init script that configures teh director to 
handle requests for nessus....
http://bishop.itsp.purdue.edu/cgi-bin/trac.cgi/file/branches/vsc-2.0/Examples/lvs_dr


and for the nodes configuration : 
http://bishop.itsp.purdue.edu/cgi-bin/trac.cgi/file/branches/vsc-2.0/Examples/lvs_dr-node

 

Can anyone please explain how many ips it is using? I want to understand it but 
it is using too many ips for what I don't know.  I was hoping this used only 
two ips and that is all that i have to work with.  With this setup can some1 
show an example of how to setup using only two ips: 1. compA 2. compB.  I don't 
know if this is possible with this setup even....

 

I was thinking that compA was the director and compB was the node but I don't 
know where to get all these ips that they are using i.e. in nodes they have vsc 
and director.  i thought i was setting up director when i was following lvs_dr 
;((


now If i follow this, do I have to follow the how-to on ultramonkey or lvs.org? 
Or using this guides helps to set up lvs just fine?

--p

Horms wrote:
On Tue, Nov 01, 2005 at 10:36:26AM -0800, jess patel wrote:
> I was also wondering if someone could help me
> understand these lines:
> 
> cluster, vscan1, vscan2 are defined in /etc/hosts
> 
> 
> /bin/ping -c 1 ${CLUSTER}
> /bin/netstat -rn
> 
> ${IPVSADM}/ipvsadm -C
> ${IPVSADM}/ipvsadm -A -t cluster:1241
> -s rr
> 
> #${IPVSADM}/ipvsadm -a -t cluster:1241
> -r vscan1 -g -w 1
> #ping -c 1 vscan1
> #${IPVSADM}/ipvsadm -a -t cluster:1241
> -r vscan2 -g -w 1
> #ping -c 1 vscan2
> 
> there are three ip addresses being used I am
> guessing...one for CLUSTER, cluster, vscan1, vscan2. 
> Are these all necessary? Lets say I want nessus on
> two nodes only. Comp1, comp2. how do i change these
> lines? what does cluster:1241 represent? God, I am so
> lost ...help me please

cluser, is the Virtial IP address, that is, the address
that end-users will connect to.

vscan1 and vscan2 are the addresses of the real-servers,
that is, the addresses that the linux-director forwards packets to.

The role of the linux-director, real-servers, and end-users
is covered in the HOWTO. Its also breifly covered here:

http://www.ultramonkey.org/3/lvs.html


The basic principles of LVS are quite simple. It only seems
complex because there are a number of machines and addresses involved.
But if you take the time to understand the basics, then everything
builds on top of that. In other words, there is no magic in there.

-- 
Horms


---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 



                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

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