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 CPX
在单主机网络中,NetScaler CPX 实例充当同一主机上应用程序容器之间的代理。在此作用下,NetScaler CPX 实例为基于容器的应用程序提供了可伸缩性和安全性。此外,它还优化了性能,并提供了对遥测数据的深入了解。
在单主机网络中,客户端、服务器和 NetScaler CPX 实例作为容器部署在同一 Docker 主机上。所有容器都通过 docker0 网桥连接。
在此环境中,NetScaler CPX 实例充当在同一 Docker 主机上作为容器预置的应用程序的代理。
下图说明了单主机拓扑。
本地化图像(/en-us/cpx/12-1/media/cpx-single-host-topology.png)
在此示例中,Web 应用程序容器 (172.17.0.2) 是客户端,两个数据库容器 DB1 (172.17.0.10) 和 DB2 (172.17.0.11) 是服务器。NetScaler CPX 容器 (172.17.0.4) 位于客户端和服务器之间,充当代理。
要使 Web 应用程序通过 NetScaler CPX 与数据库容器通信,您必须首先在 NetScaler CPX 容器上配置两个服务以表示这两个服务器。然后,使用 NetScaler CPX IP 地址和非标准 HTTP 端口(例如 81)配置一个虚拟服务器,因为 NetScaler CPX 为 NITRO 通信保留了标准 HTTP 端口 80。
在此拓扑中,您无需配置任何 NAT 规则,因为客户端和服务器位于同一网络上。
要配置此方案,请通过使用 NetScaler® MAS 中的“作业”功能或通过使用 NITRO API 运行以下命令:
add service db1 HTTP 172.17.0.10 80
add service db2 HTTP 172.17.0.11 80
add lb vserver cpx-vip HTTP 172.17.0.4 81
bind lb vserver cpx-vip db1
bind lb vserver cpx-vip db2
<!--NeedCopy-->
共享
共享
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.