This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
服务的无监视器选项
如果您使用外部系统对服务执行运行状况检查,并且不希望 NetScaler 设备监视服务的运行状况,则可以为该服务设置无监视选项。如果您这样做,则设备不会发送探测器来检查服务的运行状况,而是将服务显示为 UP。即使服务关闭,设备也会继续按照负载平衡方法的规定将流量从客户端发送到服务。
当您设置无显示器选项时,显示器可能处于启用或禁用状态;当您删除无显示器选项时,显示器的先前状态将恢复。
创建服务时,可以为服务设置无监视选项。您还可以在现有服务上设置无监视器选项。
以下是设置无显示器选项的后果:
- 如果您启用了无监视选项的服务出现故障,则设备会继续将该服务显示为 UP 并继续将流量转发到该服务。与服务的持续连接可能会使情况恶化。在这种情况下,或者如果显示为 UP 的许多服务实际上是关闭,系统可能会失败。为避免这种情况,当监视服务的外部机制将服务报告为 DOWN 时,将该服务从 NetScaler 配置中删除。
- 如果在服务上配置无监视器选项,则无法在直接服务器返回 (DSR) 模式下配置负载平衡。对于现有服务,如果设置无监视器选项,则无法为该服务配置 DSR 模式。
使用 CLI 为新服务设置无监视选项
在命令提示符下,键入以下命令以创建带有运行状况监视器选项的服务,然后验证配置:
add service <serviceName> <IP | serverName> <serviceType> <port> -healthMonitor (YES|NO)
<!--NeedCopy-->
示例:
add service nomonsrvc 10.102.21.21 http 80 -healthMonitor no
Done
show service nomonsrvc
nomonsrvc (10.102.21.21:80) - HTTP
State: UP
Last state change was at Mon Nov 15 22:41:29 2010
Time since last state change: 0 days, 00:00:00.970
Server Name: 10.102.21.21
Server ID : 0 Monitor Threshold : 0
...
Access Down Service: NO
...
Down state flush: ENABLED
Health monitoring: OFF
1 bound monitor:
1) Monitor Name: tcp-default
State: UNKNOWN Weight: 1
Probes: 3 Failed [Total: 3 Current: 3]
Last response: Probe skipped - Health monitoring is turned off.
Response Time: N/A
Done
<!--NeedCopy-->
使用 CLI 为现有服务设置无监视选项
在命令提示符处,键入以下命令以设置运行状况监视器选项:
set service <name> -healthMonitor (YES|NO)
<!--NeedCopy-->
示例:
By default, the state of a service and the state of the corresponding monitor are UP.
>show service LB-SVC1
LB-SVC1 (10.102.29.5:80) - HTTP
State: UP
1) Monitor Name: http-ecv
State: UP Weight: 1
Probes: 99992 Failed [Total: 0 Current: 0]
Last response: Success - Pattern found in response.
Response Time: 3.76 millisec
Done
When the no-monitor option is set on a service, the state of the monitor changes to UNKNOWN.
set service LB-SVC1 -healthMonitor NO
Done
show service LB-SVC1
LB-SVC1 (10.102.29.5:80) - HTTP
State: UP
Last state change was at Fri Dec 10 10:17:37 2010.
Time since last state change: 5 days, 18:55:48.710
Health monitoring: OFF
1) Monitor Name: http-ecv
State: UNKNOWN Weight: 1
Probes: 100028 Failed [Total: 0 Current: 0]
Last response: Probe skipped - Health monitoring is turned off.
Response Time: 0.0 millisec
Done
When the no-monitor option is removed, the earlier state of the monitor is resumed.
> set service LB-SVC1 -healthMonitor YES
Done
>show service LB-SVC1
LB-SVC1 (10.102.29.5:80) - HTTP
State: UP
Last state change was at Fri Dec 10 10:17:37 2010
Time since last state change: 5 days, 18:57:47.880
1) Monitor Name: http-ecv
State: UP Weight: 1
Probes: 100029 Failed [Total: 0 Current: 0]
Last response: Success - Pattern found in response.
Response Time: 5.690 millisec
Done
<!--NeedCopy-->
使用 GUI 为服务设置无监视器选项
- 导航到 Traffic Management(流量管理)> Load Balancing(负载平衡)> Services(服务)。
- 打开服务,然后清除“运行状况监视”。
共享
共享
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.