Scenario:
You've created a cluster of two servers which are connecting to the same repository DB. When going to one node directly you can login as superuser/superuser account but not on the other. What is the reason for this?
Solution:
this most likely means you've set up two nodes with two different keystores. When buildomatic or bundled installer runs the installation scripts, it generates a keystore in the user's home folder - .jrsks and .jrsksp. These two files contain the keys to encrypt and decrypt passwords. During each installation a unique key is created if none is found already in the expected location. To amend the situation what you can do, assuming the two users on two nodes are identically named and have same home folder location, is to copy and replace the keystore files from one node to another node. If you have encrypted passwords in config files (context.xml, externalAuth files, quartz scheduler, etc.), then you'll need to re-encrypt them.
See here for more explanation on this feature:
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now