Bug 912369
| Summary: | Replicated journal - Errors during live server clean shutdown | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Miroslav Novak <mnovak> | ||||||
| Component: | HornetQ | Assignee: | Chao Wang <chaowan> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 6.1.0 | CC: | chaowan, myarboro, rsvoboda | ||||||
| Target Milestone: | ER3 | ||||||||
| Target Release: | EAP 6.1.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-07-26 08:48:27 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Miroslav Novak
2013-02-18 14:37:25 UTC
Created attachment 698910 [details]
conf for live server
Created attachment 698911 [details]
conf for backup server
Hey @Miroslav I tried a couple of times to reproduce the failure, but I did not see any logged error from terminal/server.log. This is how I configure two servers: Download EAP6.1.0 DR4 Configure two servers standalone-live and standalone-backup with the attached conf files: cp -r standalone/ standalone-live cp -r standalone/ standalone-backup cp standalone-full-ha-live.xml standalone-live/configuration/ cp standalone-full-ha-backup.xml standalone-backup/configuration/ Start server live: ./bin/standalone.sh -c standalone-full-ha-live.xml -Djboss.server.base.dir=standalone-live -Djboss.server.config.dir=standalone-live/configuration/ -Djboss.server.name=node1 Start server backup: ./bin/standalone.sh -c standalone-full-ha-backup.xml -Djboss-server.base-dir=standalone-backup/ -Djboss.server.config.dir=standalone-backup/configuration/ -Djboss.server.name=node2 -Djboss.socket.binding.port-offset=100 Could you try not to use port offset and bind second server to another IP address, please? I swithed to use 127.0.1.2 for the backup server: ifconfig lo:2 127.0.1.2 netmask 255.0.0.0 up Modify the related interfaces info in the standalone-full-ha-backup.xml ./bin/standalone.sh -c standalone-full-ha-live.xml -Djboss.server.base.dir=standalone-live -Djboss.server.config.dir=standalone-live/configuration/ -Djboss.server.name=live ./bin/standalone.sh -c standalone-full-ha-backup.xml -Djboss-server.base-dir=standalone-backup/ -Djboss.server.config.dir=standalone-backup/configuration/ -Djboss.server.name=backup After shutting down the live server, There is no error message emerged. Is this failure shows up permanently? I tried your way to configure and start servers and could NOT hit those exceptions. The way how I configured and started servers is: 1. Download EAP6.1.0 ER3 (our last build of EAP 6.1 at this moment) 2. Unzip it into two directories - server1 and server2 3. Copy standalone-full-ha-live.xml to server1/jboss-eap-6.1/standalone/configuration 4. Copy standalone-full-ha-backup.xml to server2/jboss-eap-6.1/standalone/configuration 5. Start first server: - go to server1/jboss-eap-6.1/bin - sh standalone.sh -c standalone-full-ha-live.xml -b <first_ip> 6. Start second server: - go to server2/jboss-eap-6.1/bin - sh standalone.sh -c standalone-full-ha-backup.xml -b <second_ip> Now when server1(HQ configured as live) is cleanly shutdowned (ctrl-c) then you will see the exceptions. Hey Miroslav, sorry for the delay. I tried your latest configuration(start from server1 and server2), but still can't reproduce the exceptions. Hi Chao, I tried my steps on another machine and did not get exceptions. Looks like environment on my workstation is somehow unique. I've also noticed that this won't happen always. I really hate those kinds of issues. I can only suggest to try start/stop server many times in a row. OK, I'll try my luck and see if I can find something suspicious from the log in description. Will be checked with 6.1.1 ER3 Can't reproduce this issue again with EAP 6.1.1.ER3. Closing. |