Summary
This document explains one of the possible reasons the NNM iSPI Performance for Traffic Configuration workspace is not opened from NNMi, getting redirected to localhost instead of Traffic master FQDN.
Error
When launching the NNM iSPI Performance for Traffic Configuration workspace from the NNMi console, the window fails to launch and displays the following error:
Cause
In this particular scenario, the URL launched http://localhost:12080/nms-spi-traffic/traffic.jsp is pointing to localhost instead of the Master Collector Fully Qualified Domain Name (FQDN), which is not what is expected.
The URL displayed when launching the Traffic Configuration workspace should be http://<traffic_master fqdn>:12080/nms-spi-traffic/traffic.jsp
The steps mentioned below can help fixing the issue from the NNMi system.
Fix
1. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication printConfiguration
Sample output:
Application = traffic
host: name =localhost <--- here is the issue
service: name = http, port = 12080
2. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication removeApplication traffic
3. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication setApplicationService traffic <new_Traffic_Master_FQDN> http 12080
4. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication printConfiguration
Should look similar to:
Application = traffic
host: name =<new_Traffic_Master_FQDN>
service: name = http, port = 12080
5. <NnmInstallDir>/bin/ovstop
6. <NnmInstallDir>/bin/ovstart
Sample output:
Application = traffic
host: name =localhost <--- here is the issue
service: name = http, port = 12080
2. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication removeApplication traffic
3. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication setApplicationService traffic <new_Traffic_Master_FQDN> http 12080
4. <NnmInstallDir>/support/nnmtwiddle.ovpl -u system -p <NNMi_system_user_password> invoke com.hp.ov.nms.topo:service=NetworkApplication printConfiguration
Should look similar to:
Application = traffic
host: name =<new_Traffic_Master_FQDN>
service: name = http, port = 12080
5. <NnmInstallDir>/bin/ovstop
6. <NnmInstallDir>/bin/ovstart