Red Hat Bugzilla – Bug 1014961
on HA setup storage node database is not sharing
Last modified: 2014-01-02 15:39:55 EST
Created attachment 806919 [details]
metrics data not available
Description of problem:
On JON HA setup, storage node database is not sharing.
Two JON nodes on HA setup, Node-A and Node-B, If we see Node-A resources metric from Node-B server GUI it's not available and vice versa
Version-Release number of selected component (if applicable):
Build Number: 9bf6f76:371eac0
GWT Version: 2.5.0
SmartGWT Version: 3.0
Steps to Reproduce:
1. Create HA setup at least with two JON servers.
2. Launch Node-A resource metric from Node-B server GUI
storage data also should be on HA setup
Additional info: screen is attached
Hope this can be resolved If we have give single point storage database on HA setup, we might provide clear document to configure storage node database as like postgres/oracle database on HA setup.
Can you provide log files for the second server installer as well as the storage node logs? You can find them at,
Can you also provide more details about how you installed the second server/storage node? Thanks.
As storage node is new to HA setup, I followed doc from RHQ (https://docs.jboss.org/author/display/RHQ/High+Availability). I didn't find any document to share storage node on HA setup. I'm thinking that storage node will be shared based on the data that we have in RDBMS database (postgres/oracle). As we are giving single point RDBMS database for all JON server(s).
Steps I followed,
- Installed node-A on a machine (RHQ server + storage node + RDBMS database)
- Installed node-B on another machine (RHQ server + storage node), pointed RDBMS database to node-A.
I didn't do any special setup for storage node. I hope problem will be solved if we share storage node across. But I couldn't find any document to share storage node on HA setup.
Created attachment 809149 [details]
log files are attached from node-A and node-B
Created attachment 809150 [details]
The storage node on each machine is bound to 127.0.0.1, so they will not be able to communicate with each other. If the hostname is not set for the storage installer, then it defaults to InetAddress.getLocalHost() which may or may not return localhost depending on how your hostname is configured. Review the documentation at https://docs.jboss.org/author/display/RHQ/RHQ+Server+Installation for details about installing with the storage node.
I should point out that bug 1015835 impacts the installation in HA deployments. If you retest before bug 1015835 is fixed, I can help you work around it.
Update the installer code to always storage cluster information from the database if it was previously persisted.
release/jon3.2.x branch commits:
Moving to ON_QA for testing in the next build.
I'm able to create JON server on HA setup. Storage node data are in sync. Creating second JON server with storage node on HA setup doesn't give any issue. However I'm unable to create second JON server without storage node. To track this I have created another bug # https://bugzilla.redhat.com/show_bug.cgi?id=1024326
Hence I'm moving this bug to verified state.