上一主题: 使用启动脚本启动 EMSMonitor下一主题: 启用企业管理器扩展


以 Windows 服务形式运行 EMSMonitor 代理

如果在 Windows 上安装 EMSMonitor 代理,可以选择将代理作为 Windows 服务运行。 将代理作为 Windows 服务运行具有以下优点:

以 Windows 服务形式运行 EMSMonitor 代理:

  1. 安装并配置 EMS 服务器、IntroscopeAgent.profileTibcoEMSMonitor.properties 文件,如前几节中所述。
  2. 确认 JAVA_HOME 环境变量已设置为适当的 JVM,且已配置为系统变量,而不是用户变量。
  3. 在文本编辑器中打开 TibcoEMSMonitor\Windows Service\jsw‑3.2.3\conf\ wrapper.conf 文件。
  4. Set the TIBCO_EMS_HOME environment variable to the TIBCO Enterprise Message Service installation directory. 例如:
    set TIBCO_EMS_HOME=C:\tibco\ems\5.1
    
  5. 保存 wrapper.conf 文件。
  6. 打开命令窗口,运行 TibcoEMSMonitor\Windows Service\ RegisterEMSMonitorAgentService.bat 文件以将 EMSMonitor 代理注册为 Windows 服务。

    如果之后要删除作为已注册服务的 EMSMonitor 代理,可以运行 RegisterEMSMonitorAgentService.bat 文件。