RE: httpd causing problems???

"John Mozurkewich" <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
Here is the info you requested.
Thanks,
John M
#################
Primary Server ##
#################

[root@web1 root]# ifconfig                                                 
eth0      Link encap:Ethernet  HWaddr 00:20:ED:33:C5:3C  
          inet addr:195.180.82.114  Bcast:195.180.82.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51467 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16582 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:10677617 (10.1 Mb)  TX bytes:1941084 (1.8 Mb)
          Interrupt:11 Base address:0x3000 

eth0:1    Link encap:Ethernet  HWaddr 00:20:ED:33:C5:3C  
          inet addr:195.180.82.183  Bcast:195.180.82.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x3000 

eth1      Link encap:Ethernet  HWaddr 00:20:ED:33:C5:3D  
          inet addr:10.10.10.1  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1513 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1520 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:90808 (88.6 Kb)  TX bytes:68678 (67.0 Kb)
          Interrupt:10 Base address:0x5000 

eth1:1    Link encap:Ethernet  HWaddr 00:20:ED:33:C5:3D  
          inet addr:10.10.10.254  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x5000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13098 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13098 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2904283 (2.7 Mb)  TX bytes:2904283 (2.7 Mb)

[root@web1 root]# ipvsadm -ln
IP Virtual Server version 0.8.1 (size=65536)                   
Prot LocalAddress:Port Scheduler Flags                         
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  195.180.82.183:80 wlc
  -> 195.180.82.167:80              Masq    1      0          0         
  -> 195.180.82.114:80              Local   1      0          0     

*****************
lvs.cf Primary **
*****************
serial_no = 108
primary = 195.180.82.114
primary_private = 10.10.10.1
service = lvs
backup_active = 1
backup = 195.180.82.167
backup_private = 10.10.10.2
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.10.10.254 eth1:1
nat_nmask = 255.255.255.0
reservation_conflict_action = preempt
debug_level = NONE
virtual web {
     active = 1
     address = 195.180.82.183 eth0:1
     port = 80
     pmask = 255.255.255.0
     send = "GET / HTTP/1.0\r\n\r\n"
     expect = "HTTP"
     load_monitor = none
     scheduler = wlc
     protocol = tcp
     timeout = 6
     reentry = 15
     quiesce_server = 0
     server web1 {
         address = 195.180.82.114
         active = 1
         weight = 1
     }
     server web2 {
         address = 195.180.82.167
         active = 1
         weight = 1
     }

#######################
Second Server Server ##
#######################
[root@web2 root]# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:20:ED:35:56:0E  
          inet addr:195.180.82.167  Bcast:195.180.82.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52649 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15370 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:8360561 (7.9 Mb)  TX bytes:3728049 (3.5 Mb)
          Interrupt:11 Base address:0x3000 

eth1      Link encap:Ethernet  HWaddr 00:20:ED:35:56:0F  
          inet addr:10.10.10.2  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1522 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1520 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:91320 (89.1 Kb)  TX bytes:68664 (67.0 Kb)
          Interrupt:10 Base address:0x5000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:72 errors:0 dropped:0 overruns:0 frame:0
          TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5056 (4.9 Kb)  TX bytes:5056 (4.9 Kb)

[root@web2 root]# ipvsadm -ln
IP Virtual Server version 0.8.1 (size=65536)                   
Prot LocalAddress:Port Scheduler Flags                         
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn

*****************
lvs.cf Primary **
*****************
serial_no = 107
primary = 195.180.82.114
primary_private = 10.10.10.1
service = lvs
backup_active = 1
backup = 195.180.82.167
backup_private = 10.10.10.2
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.10.10.254 eth1:1
nat_nmask = 255.255.255.0
reservation_conflict_action = preempt
debug_level = NONE
virtual web {
     active = 1
     address = 195.180.82.183 eth0:1
     port = 80
     pmask = 255.255.255.0
     send = "GET / HTTP/1.0\r\n\r\n"
     expect = "HTTP"
     load_monitor = none
     scheduler = wlc
     protocol = tcp
     timeout = 6
     reentry = 15
     quiesce_server = 0
     server web1 {
         address = 195.180.82.114
         active = 1
         weight = 1
     }
     server web2 {
         address = 195.180.82.167
         active = 1
         weight = 1
     }
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.