반응형
☆ 서비스 추가 (포트) 방법
>> Configuration# /cfg/slb/gr 15 <-- 그룹 추가
>> Real server group 15# cur <-- 현재 group 정보
Current real server group 15:
name , metric leastconns, backup none, realthr 0
health tcp, content
real servers:
real ports:
Current real server group 15:
name , metric leastconns, backup none, realthr 0
health tcp, content
real servers:
real ports:
>> Real server group 15# add 1 <-- 적용할 서버 추가
Real server 1 added to real server group 15.
Real server 1 added to real server group 15.
>> Real server group 15# add 2
Real server 2 added to real server group 15.
Real server 2 added to real server group 15.
>> Real server group 15# /cfg/slb/virt 11 <-- virtual 서버
>> Virtual Server 1# cur <-- virtual 서버의 현재 상태 확인
Current virtual Server 1:
192.168.143.11, enabled, cont 256
virtual ports:
http: rport http, group 11, frags, cont 256
real servers:
1: ServerIP-1, weight 1, enabled, backup none
2: ServerIP-2, weight 1, disabled, backup none
8080: rport 8080, group 12, frags, cont 256
real servers:
1: ServerIP-1, weight 1, enabled, backup none
2: ServerIP-2, weight 1, disabled, backup none
Current virtual Server 1:
192.168.143.11, enabled, cont 256
virtual ports:
http: rport http, group 11, frags, cont 256
real servers:
1: ServerIP-1, weight 1, enabled, backup none
2: ServerIP-2, weight 1, disabled, backup none
8080: rport 8080, group 12, frags, cont 256
real servers:
1: ServerIP-1, weight 1, enabled, backup none
2: ServerIP-2, weight 1, disabled, backup none
>> Virtual Server 1# service 50001 <-- 추가할려는 서비스 포트
>> Virtual Server 1 50001 Service# group 15 <-- 위에서 만든 그룹에 지정
Current real server group: 1
New pending real server group: 15
Current real server group: 1
New pending real server group: 15
>> Virtual Server 1 50001 Service# apply <-- 적용
------------------------------------------------------------------
Apply complete; don't forget to "save" updated configuration.
------------------------------------------------------------------
Apply complete; don't forget to "save" updated configuration.
추가로 혹시라도
/cfg/slb/real 1/inter 값이 0으로 잡혀있을 경우 포트 상태 체크가 안됨
확인은 /cfg/du 했을 때 아래에서 inter 값으로 확인 (Health 체크 시간 변경)
/c/slb/real 1
ena
rip ServerIP-1
inter 0
변경은 /cfg/slb/real 1/inter에서 0 이외의 값으로 지정 (2정도)
>> Virtual Server 1 50001 Service# save <-- 저장
Request will first copy the FLASH "active" config to "backup",
then overlay FLASH "active" with new config.
Confirm saving to FLASH [y/n]: y
>> Virtual Server 1 50001 Service# /i/slb/du <-- 적용 여부 확인
☆ 특정 서비스 삭제하는 방법
>> Server Load Balancing Information# /cfg/slb/virt 1 <-- virtual server 1
>> Virtual Server 1# service 50001 <-- 삭제 원하는 서비스
>> Virtual Server 1 50001 Service# cur <-- 현재상태 확인
Current virtual Server 1 50001 service:
rport 50001, group 15, frags, cont 256
>> Virtual Server 1 50001 Service# del <-- 서비스 삭제
Virtual service deleted.
>> Virtual Server 1# apply <-- 저장
>> Server Load Balancing Information# /cfg/slb/virt 1 <-- virtual server 1
>> Virtual Server 1# service 50001 <-- 삭제 원하는 서비스
>> Virtual Server 1 50001 Service# cur <-- 현재상태 확인
Current virtual Server 1 50001 service:
rport 50001, group 15, frags, cont 256
>> Virtual Server 1 50001 Service# del <-- 서비스 삭제
Virtual service deleted.
>> Virtual Server 1# apply <-- 저장
반응형
'서버,보안' 카테고리의 다른 글
MRTG(Multi Router Traffic Grapher)를 이용한 네트웍 트래픽 모니터링 (0) | 2008.10.21 |
---|---|
Getting Started Guide for the Catalyst Express 500 Switches, 12.2(25)FY (0) | 2008.10.21 |
Cisco Catalyst express 500 써보신분 (0) | 2008.10.21 |
Telnet을 이용한 SMTP 테스트 방법 (0) | 2008.10.21 |
기본적인 Alteon 180e 사용법 (0) | 2008.10.21 |
L4 셋팅 문의 답변 (0) | 2008.10.21 |
L4 Switch Server Load Balancing방법 (0) | 2008.10.21 |
시스코 라우터 초기설정 (0) | 2008.10.21 |