Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
WebNS có một khái niệm hơi khác nhau của nhân vật quan trọng và các nhóm. Nhân vật quan trọng được tổ chức dưới WebNS là "chủ sở hữu." Mỗi chủ sở hữu có thể có VIP của riêng mình cấu hình, có thể có ích khi cấu hình các nhân vật quan trọng nhiều khách hàng khác nhau trong một môi trường chia sẻ các môi trường khác, | Flat-Based SLB 107 Rule 192.168.0.100 ANY ANY 3 5 Redirect Domain Keepalive HTTP HEAD 5 MtU 1500 Connections 0 Total Connections 0 Weight 1 State Transitions 3 Max Connections 0 Total Reused Conns 0 Load 255 lb-1 config-service ws-1 The configuration will look like this I service service ws-1 ip address 192.168.0.100 keepalive type http active service ws-2 ip address 192.168.0.101 keepalive type http active VIPs WebNS has a slightly different concept of VIPs and groups. VIPs are organized under WebNS as owners. Each owner can have its own VIP configured which can come in handy when configuring many VIPs for different customers in a shared environment or other environments where it might be advantageous to group various VIPs. Each owner has individual instances known as content rules which is the ArrowPoint term for VIPs. To create content rules VIPs there must be an owner. Create the owner tony using the owner command lb-l config owner tony Create owner tony y n y lb-1 config-owner tony Once there is an owner you can create the content rule named vip-1 lb-1 config-owner tony content vip-1 Create content vip-l y n y Set the VIP address to 192.168.0.200 with the vip address command lb-1 config-owner-content tony-vip-l vip address 192.168.0.200 Add the real servers with the add command lb-1 config-owner-content tony-vip-l add service ws-1 108 Chapter 9 Cisco s CSS FormerlyArrowPoint Configuration Guide lb-l config-owner-content tony-vip-l add service ws-2 lb-l config-owner-content tony-vip-1 add service ws-3 lb-l config-owner-content tony-vip-1 add servicews-4 Only HTTP traffic should be load-balanced so specify port 80 and the TCP protocol. This is crucial otherwise all ports and protocols. will be load-balanced which is not usually a good idea as far as security is concerned. lb-1 config-owner-content tony-vip-1 port 80 lb-1 config-owner-content tony-vip-1 protocol tcp Now mark this content rule as active lb-1 config-owner-content tony-vip-1 active Most changes to a