lvs 목록 수정, 삭제

Linux 2015. 8. 30. 23:53


수정

ipvsadm -e -t 121.254.253.206:80 -r 121.254.253.211:80 -w 1

 

 

삭제

[root@lvs ~]# ipvsadm -L

IP Virtual Server version 1.2.1 (size=4096)

Prot LocalAddress:Port Scheduler Flags

  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn

TCP  121.254.253.206:http wlc

  -> apachemaster:http            Route   2      1          0

  -> apachestandby:http           Route   5      0          0

  -> mysqlstandby:http            Route   10     0          0

[root@lvs ~]# ipvsadm -d -t 121.254.253.206:http -r mysqlstandby:http

[root@lvs ~]# ipvsadm -L

IP Virtual Server version 1.2.1 (size=4096)

Prot LocalAddress:Port Scheduler Flags

  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn

TCP  121.254.253.206:http wlc

  -> apachemaster:http            Route   2      1          0

  -> apachestandby:http           Route   5      0          0

'Linux' 카테고리의 다른 글

tcpdump 22port 제외  (0) 2015.08.31
리눅스 비트수 확인  (0) 2015.08.30
lvs 세팅법  (0) 2015.08.30
root 도메인 CNAME적용 여부  (0) 2015.08.30
varnish 설치  (0) 2015.08.30
Posted by pysany
,