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)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
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.
这篇文章已经过机器翻译.放弃
Translation failed!
配置 NSWL 客户端
安装 NSWL 客户端后,可以使用 nswl 可执行文件配置 NSWL 客户端。这些配置存储在 NSWL 客户端配置文件 (log.conf) 中。
注意:
您可以通过对 NSWL 配置文件 (log.conf) 进一步自定义 NSWL 客户端上的日志记录。有关详细信息,请参阅在 NSWL 客户端系统上自定义日志记录。
下表描述了可用于配置 NSWL 客户端的命令。
NSWL 命令 | 说明 |
---|---|
nswl -help | 可用的 NSWL 帮助选项。 |
nswl -addns -f <path-to-configuration-file>
|
收集日志事务数据的系统。系统将提示您输入 Citrix ADC 设备的 IP 地址。输入有效的用户名和密码。 |
nswl -verify -f <path-to-configuration-file>
|
检查配置文件中的语法或语义错误。 |
nswl -start -f <path-to-configuration-file>
|
根据配置文件中的设置启动 NSWL 客户端。注意:对于 Solaris 和 Linux:要启动 Web 服务器日志记录作为后台进程,请在命令末尾键入符号 (&)。 |
nswl-停止 (只有 Solaris 和 Linux) | 如果 NSWL 客户端是作为后台进程启动的,则停止它;否则,请使用 CTRL+C 停止 Web 服务器日志记录。 |
nswl -install -f <path-to-configuration-file> (仅限 Windows) |
在 Windows 中将 NSWL 客户端作为服务安装。 |
nswl -startservice(仅限 Windows) | 使用在 nswl 安装选项中指定的配置文件中的设置启动 NSWL 客户端。您也可以从“开始”>“控制面板”>“服务”启动 NSWL 客户端。注意:NSWL 日志文件将在 C:\Windows\SysWOW64 中创建。 |
nswl -stopservice(仅限 Windows) | 停止 NSWL 客户端。 |
nswl -remove | 从注册表中删除 NSWL 客户端服务。 |
从 NSWL 可执行文件所在的目录运行以下命令:
Windows: \ns\bin
Solaris and Linux: \usr\local\netscaler\bin
Web 服务器日志记录配置文件位于以下目录路径中:
Windows: \ns\etc
Solaris and Linux: \usr\local\netscaler\etc
NSWL 可执行文件启动为。NSWL 在 Linux 和索拉里斯。
添加 Citrix ADC 设备的 IP 地址
在 NSWL 客户端配置文件 (log.conf) 中,添加 NSWL 客户端将从中开始收集日志的 Citrix ADC IP 地址 (NSIP)。
添加 Citrix ADC 设备的 NSIP 地址
-
在客户端系统命令提示符下,键入:
nswl -addns -f < directorypath > \log.conf
< directorypath >: Specifies the path to the configuration file (log.conf)
。 -
在下一个提示符下,输入以下信息:
- NSIP:指定 Citrix ADC 设备的 IP 地址。
- 用户名和密码:指定 Citrix ADC 设备的 nsroot 用户凭据。
注意:
如果添加多个 Citrix ADC IP 地址 (NSIP),并且稍后不想记录所有 Citrix ADC 系统日志详细信息,则可以通过删除 log.conf 文件末尾的 NSIP 语句手动删除 NSIP。在故障转移设置过程中,必须使用命令将主 Citrix ADC IP 地址和辅助 IP 地址添加到 log.conf。添加 IP 地址之前,请确保 Citrix ADC 设备上存在用户名和密码。
验证 NSWL 配置文件
要确保日志记录工作正常,请检查客户端系统上的 NSWL 配置文件 (log.conf) 是否存在语法错误。
验证 NSWL 配置文件中的配置
在客户端系统命令提示符下,键入:
nswl -verify -f <directorypath>\log.conf
< directorypath>
:指定配置文件 (log.conf) 的路径。
执行 NSWL 客户端
开始 Web 服务器日志
在客户端系统命令提示符下,键入:
nswl -start -f <directorypath>\log.conf
<directorypath>
:指定配置文件 (log.conf) 的路径。
停止作为后台进程在 Solaris 或 Linux 操作系统上启动的 Web 服务器日志记录
在命令提示窗口中,键入:
nswl -stop
停止在 Windows 操作系统上作为服务启动的 Web 服务器日志记录
在命令提示窗口中,键入:
nswl -stopservice
分享:
分享:
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix 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 Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.