Created
December 22, 2015 17:49
-
-
Save kamidzi/142b575260f6a8ed92b6 to your computer and use it in GitHub Desktop.
radosgw backend switching
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### civetweb ### | |
root@bcpc-vm1:~# lsof [email protected] -stcp:listen -n -P | sort -k9 -r -u | |
root@bcpc-vm1:~# curl -k -i https://192.168.100.{5,11}:443 http://192.168.100.{5,11} | |
HTTP/1.1 200 OK | |
x-amz-request-id: tx000000000000000003fbc-005671ba51-3f9a-default | |
Content-type: application/xml | |
Content-Length: 214 | |
Date: Wed, 16 Dec 2015 19:24:01 GMT | |
<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>anonymous</ID><DisplayName></DisplayName></Owner><Buckets></Buckets></ListAllMyBucketsResult>curl: (7) Failed to connect to 192.168.100.11 port 443: Connection refused | |
HTTP/1.1 200 OK | |
x-amz-request-id: tx000000000000000004aab-005671ba51-3711-default | |
Content-type: application/xml | |
Content-Length: 214 | |
Date: Wed, 16 Dec 2015 19:24:01 GMT | |
<?xml version="1.0" encoding="UTF-8"?><ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>anonymous</ID><DisplayName></DisplayName></Owner><Buckets></Buckets></ListAllMyBucketsResult>curl: (7) Failed to connect to 192.168.100.11 port 80: Connection refused | |
### apache2 ### | |
root@bcpc-vm1:~# lsof [email protected].{5,11} -stcp:listen -n -P | sort -k9 -r -u | |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
haproxy 1797942 haproxy 20u IPv4 8616557 0t0 TCP 192.168.100.5:80 (LISTEN) | |
haproxy 1797942 haproxy 21u IPv4 8616558 0t0 TCP 192.168.100.5:443 (LISTEN) | |
apache2 1748744 root 6u IPv4 8335744 0t0 TCP 192.168.100.11:80 (LISTEN) | |
apache2 1748744 root 7u IPv4 8335746 0t0 TCP 192.168.100.11:443 (LISTEN) | |
root@bcpc-vm1:~# curl -k -I https://192.168.100.{5,11}:443 http://192.168.100.{5,11} | |
HTTP/1.1 200 OK | |
Date: Tue, 22 Dec 2015 17:47:55 GMT | |
Server: Apache/2.4.7 (Ubuntu) | |
x-amz-request-id: tx0000000000000000000f2-0056798ccb-ac52-default | |
Vary: Accept-Encoding | |
Content-Type: application/xml | |
HTTP/1.1 200 OK | |
Date: Tue, 22 Dec 2015 17:47:55 GMT | |
Server: Apache/2.4.7 (Ubuntu) | |
x-amz-request-id: tx0000000000000000001d4-0056798ccb-d85a-default | |
Vary: Accept-Encoding | |
Content-Type: application/xml | |
HTTP/1.1 200 OK | |
Date: Tue, 22 Dec 2015 17:47:55 GMT | |
Server: Apache/2.4.7 (Ubuntu) | |
x-amz-request-id: tx0000000000000000001d5-0056798ccb-d85a-default | |
Vary: Accept-Encoding | |
Content-Type: application/xml | |
HTTP/1.1 200 OK | |
Date: Tue, 22 Dec 2015 17:47:55 GMT | |
Server: Apache/2.4.7 (Ubuntu) | |
x-amz-request-id: tx0000000000000000001d6-0056798ccb-d85a-default | |
Vary: Accept-Encoding | |
Content-Type: application/xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment