본문 바로가기
반응형

config8

HAProxy nbproc 설정 적용 HAProxy 설정 튜닝 Number of processes HAProxy는 별도의 설정을 하지 않으면 1개의 Process로 실행됩니다. (Default 1 Process) 만약 HAProxy가 기동되고 있는 서버가 mutiple Core 서버라고 한다면, 높은 부하가 주어질때, 1개의 Core만 열심히 사용중일 것입니다. 따라서, HAProxy 서버의 여러 Core를 적절히 사용하도록 하려면, 실행되는 Process의 수를 늘려주어야 합니다. 만약 HAProxy 서버가 4Core 시스템에서 동작중이라면, 아래와 같이 설정하여 Process의 수를 늘려주는 것이 좋습니다. global nbproc 4 cpu-map 1 1 cpu-map 2 2 cpu-map 3 3 cpu-map 4 4 (...) 일반적.. 2023. 8. 23.
Testing Your HAProxy Config For the impatient, here’s a simple command to test a configuration file: $ haproxy -f /path/to/haproxy.cfg -c The flag '-c', enables “check mode” and is the flag that tells HAProxy to test, without actually starting or restarting HAProxy Testing a Running Proxy’s Config Testing a throwaway config is one thing, but when you make a change to a running service’s configuration file, how should you t.. 2023. 8. 10.
CentOS NFS Server 설치 및 설정 Kubernetes PV로 사용하기 위해서 , NFS구성을 합니다!! NFS 서버 패키지 설치 # yum install nfs-utils rpc-bind (nfs-utils 만 설치하려고 해도, rpc-bind가 종속성이 있어서 같이 설치됩니다.) [NFS 서버 실행] # systemctl start nfs-server [NFS 설정] 공유할 디렉토리 생성 # mkdir /shared 공유 디렉토리 권한 설정 # chmod 756 /shared NFS Server exports 옵션 설정 #vi /etc/exports 모두에게 읽기쓰기 권한 부여 /shared *(rw, no_root_squash) 특정 IP대역 읽기쓰기 권한 부여 /shared 10.1.1.* (rw, no_root_squash) NF.. 2022. 5. 17.
keepalived 설정 파일 옵션 정리 [keepalived.conf.sample] ! Configuration File for keepalived global_defs { notification_email { acassen } notification_email_from Alexandre.Cassen@firewall.loc smtp_server 192.168.200.1 smtp_connect_timeout 30 router_id LVS_DEVEL } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 50 nopreempt priority 100 advert_int 1 authentication { auth_type PASS auth_pass 1111 } virtual_ipa.. 2022. 1. 29.
HAProxy Config파일 옵션 정리!! HAProxy 구성파일의 필수 섹션은 4가지가 있습니다. (작성시 빈 줄과 들여쓰기는 무시됩니다. ) Global Defaults Frontend Backend [Global] 구성 파일의 맨위에는 global 섹션을 작성합니다. HAProxy에 영향을 미치는 프로세스 전반의 보안 및 성능 조정을 정의 합니다. Global 섹션 예 global maxconn 50000 log/dev/log local0 user haproxy group haproxy stats socket /run/haproxy/admin.sock user haproxy group haproxy mode660 level admin nbproc2 nbthread4 cpu-mapauto:1/1-40-3 ssl-default-bind-ciph.. 2022. 1. 24.
Git clone Peer's certificate issuer [오류 내용] git clone시, 아래와 같이 Peer의 인증서 발행자를 신뢰하지 못하는 경우. [root@vm-centos-ctl app]# git clone https://github.com/ansible/awx.git Cloning into 'awx'... fatal: unable to access 'https://github.com/ansible/awx.git/': Peer's certificate issuer has been marked as not trusted by the user. [해결방안] git clone시 SSL을 검증하지 않도록 설정하는 방법. 2가지 방법이 있다. 1) Set SSL Verify to false only for specific repo: git config ht.. 2022. 1. 7.
반응형