25.3.7. 配置实例来注册 JBoss Operations Network

使用下列过程来注册 JBoss EAP 6 实例到 JBoss Operations Network。
  • 对于 JBoss EAP 6,在 User Data 字段里添加下列内容。
    JON_SERVER_ADDR=jon2.it.example.com
    ## if instance not already configured to resolve its hostname
    JON_AGENT_ADDR=`ip addr show dev eth0 primary to 0/0 | sed -n 's#.*inet \([0-9.]\+\)/.*#\1#p'` 
    PORTS_ALLOWED=16163
    # insert other JON options when necessary.
    
    请参考 第 25.4.1 节 “永久性的配置参数” 里以 JON_ 开始的 JON 选项格式的参数。