Hi
I am using AEM 6.3 and i would like to setup TarMK cold standby according to :
How to Run AEM with TarMK Cold Standby
I have :
1. Copied the whole instance to another server
2. Setup the runmodes on both instances "standby" and "primary"
3. Created specific loggers for both instances.
I have configured the service on the standby instance via Web Console, immedietly after saving the configuration i am getting logged out.
In the logs i can see that the synchronization is being done and after logging back i can see that the configuration for StandbyStoreService is removed .So the synchronization only happened once.
In the logs i can see something as follows :
[CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService)] org.apache.jackrabbit.oak-segment-tar Service [7400, [java.lang.Runnable]] ServiceEvent REGISTERED
...
[sling-default-937-Registered Service.7400] org.apache.jackrabbit.oak.plugins.blob.datastore.DataStoreBlobStore Error occurred while loading bytes from steam while fetching for id b446b5c6382e23f3afcb3b330ac9cd865fffbcc2aa28c5ce80cca705adf9e4be#1799
java.io.IOException: org.apache.jackrabbit.core.data.DataStoreException: Record b446b5c6382e23f3afcb3b330ac9cd865fffbcc2aa28c5ce80cca705adf9e4be does not exist
...
08.05.2018 07:05:42.997 *INFO* [JcrInstaller.1] org.apache.sling.installer.provider.jcr.impl.JcrInstaller Removing resource from OSGi installer: [/apps/system/config/org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService.config]
08.05.2018 07:05:43.223 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Deleted configuration org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService from resource TaskResource(url=jcrinstall:/apps/system/config/org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService.config, entity=config:org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService, state=UNINSTALL, attributes=[org.apache.sling.installer.api.persist=false, service.pid=org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService, resource.uri.hint=org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService], digest=2c81db66f30cbd460330cc9bda4c6797)
08.05.2018 07:05:43.225 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.jackrabbit.oak.segment.standby.store.StandbyStoreService)] org.apache.jackrabbit.oak-segment-tar Service [7400, [java.lang.Runnable]] ServiceEvent UNREGISTERING
Do You know why configuration keeps unregistering ?
I have tried to create config files under the "install" folder , but this prevents user from using AEM by logging him out immediatly.
EDIT: After configure the service second time , the missing records do not appear, as they have been copied by previous synchronization. The service still unregistered itself.
Solved! Go to Solution.
Views
Replies
Total Likes
Use the below steps to setup cold standby instance and let me know incase of any issues.
Setting up Primary instance
Setting up the Standby instance
Testing if the cold standby setup works
Config files : Shared Files - Acrobat.com
Views
Replies
Total Likes
Use the below steps to setup cold standby instance and let me know incase of any issues.
Setting up Primary instance
Setting up the Standby instance
Testing if the cold standby setup works
Config files : Shared Files - Acrobat.com
Views
Replies
Total Likes
Excellent answer!
Views
Replies
Total Likes
Great explanation
Views
Replies
Total Likes
Hi Kunwar,
In standby instance:
Here i am not able to login in standby console ?
Any suggestion?
Please note that we are using same shared NFS file DataStore for both primary and standby node.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Like
Replies