ceph QoS
Leave a reply
CEPH CLIENT ARCHITECTURE exclusive-lock, object-map
1. pound
https://help.ubuntu.com/community/Pound
/etc/pound/pound.cfg
ListenHTTP Address 159.203.220.84 Port 80 Service HeadRequire "Host:.*blog.minggr.net.*" BackEnd Address 10.8.0.6 Port 80 End End End
2. squid
# /etc/squid/squid.conf
# same public IP for ceph.minggr.net, www.example.com, example.com
http_port 80 vhost
cache_peer 192.168.1.1 parent 80 0 no-query originserver name=server_1
acl sites_server_1 dstdomain ceph.minggr.net
cache_peer_access server_1 allow sites_server_1
cache_peer 192.168.1.2 parent 80 0 no-query originserver name=server_2
acl sites_server_2 dstdomain www.example.com example.com
cache_peer_access server_2 allow sites_server_2