05saiful
Fun Poster
- Messages
- 104
- Joined
- Jan 6, 2011
- Messages
- 104
- Reaction score
- 1
- Points
- 15
salam sejahtera..
sy try wat loadbalancer guna piranha for the first time..
nk setup 2 loadbalancer(lb) dan 2 web server..
lb1 - ip 192.168.1.5
subnetmask 255.255.255.0
gateway 192.168.1.1
lb2 - ip 192.168.1.6
subnetmask 255.255.255.0
gateway 192.168.1.1
real - ip 192.168.1.10
server 1 subnetmask 255.255.255.0
gateway 192.168.1.1
real - ip 192.168.1.11
server 2 subnetmask 255.255.255.0
gateway 192.168.1.1
virtual ip(VIP) - ip 192.168.1.20
subnetmask 255.255.255.255
gateway 192.168.1.1
installation
yum install ipvsadm
yum install piranha
Configuring Services on the LVS Routers
chkconfig pulse on
chkconfig piranha-gui on
chkconfig httpd on
Setting a Password for the Piranha Configuration Tool
piranha-passwd
Turning on Packet Forwarding on the LVS Routers
echo 1 > /proc/sys/net/ipv4/ip_forward
Starting the Piranha Configuration Tool Service
selinux dah awal2 set kepada permissive mode mase installation
setenforce 0
service httpd start
service piranha-gui start
Configuring the LVS Routers with Piranha Configuration Tool
open piranha guna web browser http://192.168.1.5:3636
Copy file lvs.cf file to another LVS router.
scp /etc/sysconfig/ha/lvs.cf root @ 192.168.1.6:/etc/sysconfig/ha/lvs.cf (sbb dua2 lb kene same configuration..)
Start the pulse services on the LVS Routers
service pulse restart
step sy follow di http://kezhong.wordpress.com/2010/03/28/setup-linux-loadbalancer-with-piranha-and-lvs-on-centos-5-4/
real server guna windows server 2003
guna wampserver.
tp ble try access 192.168.1.20(virtual ip ) xder pape paparan pun cuma dpt "page canot be displayed"..
ada mana2 silap atau tertinggal step ker..??
mohon tjuk ajar rakan2 carigold
sy try wat loadbalancer guna piranha for the first time..
nk setup 2 loadbalancer(lb) dan 2 web server..
lb1 - ip 192.168.1.5
subnetmask 255.255.255.0
gateway 192.168.1.1
lb2 - ip 192.168.1.6
subnetmask 255.255.255.0
gateway 192.168.1.1
real - ip 192.168.1.10
server 1 subnetmask 255.255.255.0
gateway 192.168.1.1
real - ip 192.168.1.11
server 2 subnetmask 255.255.255.0
gateway 192.168.1.1
virtual ip(VIP) - ip 192.168.1.20
subnetmask 255.255.255.255
gateway 192.168.1.1
installation
yum install ipvsadm
yum install piranha
Configuring Services on the LVS Routers
chkconfig pulse on
chkconfig piranha-gui on
chkconfig httpd on
Setting a Password for the Piranha Configuration Tool
piranha-passwd
Turning on Packet Forwarding on the LVS Routers
echo 1 > /proc/sys/net/ipv4/ip_forward
Starting the Piranha Configuration Tool Service
selinux dah awal2 set kepada permissive mode mase installation
setenforce 0
service httpd start
service piranha-gui start
Configuring the LVS Routers with Piranha Configuration Tool
open piranha guna web browser http://192.168.1.5:3636
Copy file lvs.cf file to another LVS router.
scp /etc/sysconfig/ha/lvs.cf root @ 192.168.1.6:/etc/sysconfig/ha/lvs.cf (sbb dua2 lb kene same configuration..)
Start the pulse services on the LVS Routers
service pulse restart
step sy follow di http://kezhong.wordpress.com/2010/03/28/setup-linux-loadbalancer-with-piranha-and-lvs-on-centos-5-4/
real server guna windows server 2003
guna wampserver.
tp ble try access 192.168.1.20(virtual ip ) xder pape paparan pun cuma dpt "page canot be displayed"..
ada mana2 silap atau tertinggal step ker..??
mohon tjuk ajar rakan2 carigold
Last edited: