Advertisement
Guest User

Untitled

a guest
Jun 20th, 2012
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. www.dev.jj.com is an alias of balancer-1.dev.jj.com 10.0.0.15
  2.  
  3. ########################################################################
  4.  
  5. $ sudo ipvsadm
  6. IP Virtual Server version 1.2.1 (size=4096)
  7. Prot LocalAddress:Port Scheduler Flags
  8. -> RemoteAddress:Port Forward Weight ActiveConn InActConn
  9. TCP balancer-1.dev.jj.com:www rr
  10. -> test-4.dev.jj.com:www Route 1 0 0
  11. -> test-5.dev.jj.com:www Route 1 0 0
  12.  
  13. ########################################################################
  14.  
  15. Client:
  16.  
  17. $ wget -O - http://www.dev.jj.com
  18. --2012-06-20 13:13:02-- http://www.dev.jj.com/
  19. Resolving www.dev.jj.com... 10.0.0.15
  20. Connecting to www.dev.jj.com|10.0.0.15|:80...
  21.  
  22. Balancer:
  23.  
  24. $ sudo ipvsadm
  25. IP Virtual Server version 1.2.1 (size=4096)
  26. Prot LocalAddress:Port Scheduler Flags
  27. -> RemoteAddress:Port Forward Weight ActiveConn InActConn
  28. TCP balancer-1.dev.jj.com:www rr
  29. -> test-4.dev.jj.com:www Route 1 0 0
  30. -> test-5.dev.jj.com:www Route 1 0 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement