2.14.2. HAProxy 노드 준비
다음 설정에서는 haproxy 및 haproxy 2 라는 두 개의 HAProxy 노드와 rgw1 및 라는 Ceph Object Gateway 서버가 있다고 가정합니다. 원하는 모든 이름 지정 규칙을 사용할 수 있습니다. 두 개 이상의 HAProxy 노드에서 다음 절차를 수행합니다.
rgw 2
- Red Hat Enterprise Linux 7 설치.
노드를 등록합니다.
[root@haproxy]# subscription-manager registerRHEL 서버 리포지토리를 활성화합니다.
[root@haproxy]# subscription-manager repos --enable=rhel-7-server-rpms서버를 업데이트합니다.
[root@haproxy]# yum update -y-
필요에 따라 관리 도구(예:
wget,vim등)를 설치합니다. 포트
80을 엽니다.[root@haproxy]# firewall-cmd --zone=public --add-port 80/tcp --permanent [root@haproxy]# firewall-cmd --reloadHTTPS의 경우 포트
443을 엽니다.[root@haproxy]# firewall-cmd --zone=public --add-port 443/tcp --permanent [root@haproxy]# firewall-cmd --reload필수 포트에 연결합니다.
[root@haproxy]# semanage port -m -t http_cache_port_t -p tcp 8081