wso2is - Syncing seconday user store in WSO2 Identity Server cluster -
i have setup cluster wso2-is (2 instances on different machines) based on information provided here - https://docs.wso2.com/display/cluster44x/wso2+clustering+and+deployment+guide
- setup db user store, shared registry, 2 local registries
- copied db driver jar component lib
- updated master-datasource.xml
- updated registry.xml (made sure master read-only false , worker read-only true)
- updated axis2.xml , used wka membership scheme
- performed other changes suggested in link
- started master -dsetup option , worker without -dsetup option.
- verified governance folder shown symlink
i can see interaction between both nodes, there hazelcast messages related node joining when worker started.
user created in 1 able login other instance, service provider automatically available when viewed through ui.
the problem when create secondary user store (jdbc) in first node , goto list in second node - secondary user store not present , cannot view users in user list too.
am missing or way cluster supposed perform i.e. secondary user stores have shared in other way?
thanks, vikas
secondary user store configurations not synced between 2 nodes default. once create secondary user store ui, create file in following location. [wso2_is]/repository/deployment/server/userstores/ these configuration file need copy manually or have use synchronization mechanism copy file other node. since not frequent task better copy file.
fore more information https://docs.wso2.com/display/is500/configuring+secondary+user+stores
Comments
Post a Comment