如果您有多个企业 管理器,并且希望使用单个 Introscope 实例运行它们,可以为每个企业 管理器创建一个单独的配置目录。 对于每个企业 管理器,创建 config、logs、data 和 traces 目录的副本。 针对 config 目录的每个副本,在 IntroscopeEnterpriseManager.properties 文件中设置相应的属性以指向您的 config、logs、data 和 traces 的副本。
通过创建单独的配置目录,您可以将所有目录保留在一个 Introscope 实例中,同时为每个企业管理器维护单独的 config、logs、data 和 traces 目录 。
为企业 管理器指定一个不同的配置目录:
introscope.enterprisemanager.directory.config=config
默认目录为 config,这是第一次安装 Introscope 时所创建的配置目录。 更改此目录的位置,可以使用绝对路径(例如,C:\\Introscope\em1\\config),也可以使用相对于 Introscope 安装目录的相对路径(例如,config2)。 例如:introscope.enterprisemanager.directory.config=
C:\\Introscope\\em1\\config
注意:在 Windows 环境中,必须对反斜线进行转义(使用两个反斜线),这样路径才会有效。
lax.nl.java.option.additional
此属性修改 Java 命令行并且可以包含多个属性。 使用您在步骤 1 中选择的 config 文件的位置。 例如:
lax.nl.java.option.additional=-Xms512m -Xmx1024m -Djava.awt.headless=false -Dcom.wily.introscope.em.properties=C:\Introscope\em1\config
注意:此属性可以指向包含企业管理器属性文件的目录,也可以直接指向 IntroscopeEnterpriseManager.properties 文件。 例如:
-Dcom.wily.introscope.em.properties=C:\Introscope\em1\config
或
-Dcom.wily.introscope.em.properties= C:\Introscope\em1\config\IntroscopeEnterpriseManager.properties
|
版权所有 © 2013 CA。
保留所有权利。
|
|