Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- www.dev.jj.com is an alias of balancer-1.dev.jj.com 10.0.0.15
- ########################################################################
- $ sudo ipvsadm
- IP Virtual Server version 1.2.1 (size=4096)
- Prot LocalAddress:Port Scheduler Flags
- -> RemoteAddress:Port Forward Weight ActiveConn InActConn
- TCP balancer-1.dev.jj.com:www rr
- -> test-4.dev.jj.com:www Route 1 0 0
- -> test-5.dev.jj.com:www Route 1 0 0
- ########################################################################
- Client:
- $ wget -O - http://www.dev.jj.com
- --2012-06-20 13:13:02-- http://www.dev.jj.com/
- Resolving www.dev.jj.com... 10.0.0.15
- Connecting to www.dev.jj.com|10.0.0.15|:80...
- Balancer:
- $ sudo ipvsadm
- IP Virtual Server version 1.2.1 (size=4096)
- Prot LocalAddress:Port Scheduler Flags
- -> RemoteAddress:Port Forward Weight ActiveConn InActConn
- TCP balancer-1.dev.jj.com:www rr
- -> test-4.dev.jj.com:www Route 1 0 0
- -> test-5.dev.jj.com:www Route 1 0 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement