Désactiver/activer un serveur en CLI
This commit is contained in:
parent
d5a0dd926a
commit
4af9eb5b2f
|
@ -381,6 +381,13 @@ net.ipv4.ip_local_port_range=1025 65534
|
|||
net.ipv4.tcp_max_orphans=65536
|
||||
~~~
|
||||
|
||||
## Désactiver/Activer un serveur en CLI
|
||||
|
||||
~~~
|
||||
# echo disable server taxesejour/nt-taxes-www01 | socat stdio /var/run/haproxy.sock
|
||||
# echo enable server taxesejour/nt-taxes-www01 | socat stdio /var/run/haproxy.sock
|
||||
~~~
|
||||
|
||||
## Debug
|
||||
|
||||
~~~
|
||||
|
@ -388,3 +395,4 @@ net.ipv4.tcp_max_orphans=65536
|
|||
# echo "show acl" | socat stdio unix-connect:/run/haproxy/admin.sock
|
||||
# echo "show acl #<ID>" | socat stdio unix-connect:/run/haproxy/admin.sock
|
||||
~~~
|
||||
|
||||
|
|
Loading…
Reference in a new issue