We Are running our application in clustered environment and we are getting below exceptions in our application error log.Do we need to run a consistency check for our repository to fix this issue?Please any suggestion would help us to identify the action to be taken.
Solved! Go to Solution.
Views
Replies
Total Likes
There are two different frameworks that use the term, clustering, within CQ. There is the CQ clustering that makes all of the repositories of clustered nodes virtually equivalent. There is a Sling-based task sharing cooperation [1][2] between CQ nodes that is enabled between nodes of a CQ cluster by default. But the instances don't have to be clustered to use the task sharing cooperation.
Within the Sling task sharing group of CQ nodes, each CQ instance has a UUID. When more than one CQ instance has the same UUID as any other, this sort of error can occur. It is possible there is another cause, but this is the first thing to check.
Go to the Sling settings console within Felix [3] on each of your CQ instances. On that page you can see the value for "Sling ID." Confirm it is different on each of your CQ instances.
If it is identical, you will need to change it. Go to the [crx-default]/launchpad/felix directory for each CQ instance you need to change. Search for a file named, sling.id.file. This contains the UUID used for topology. Change it to be unique for each instance. Consider the UUID a hexadecimal number. On the master CQ node, that number needs to be less than the UUIDs for the other instances.
After you have changed the UUIDs, bounce all of the CQ instances.
It is the most likely cause for your problem.
[1] http://dev.day.com/docs/en/cq/current/deploying/offloading.html
[2] https://sling.apache.org/documentation/bundles/discovery-api-and-impl.html
[3] http://[host]:[port]/system/console/status-slingsettings
Views
Replies
Total Likes
There are two different frameworks that use the term, clustering, within CQ. There is the CQ clustering that makes all of the repositories of clustered nodes virtually equivalent. There is a Sling-based task sharing cooperation [1][2] between CQ nodes that is enabled between nodes of a CQ cluster by default. But the instances don't have to be clustered to use the task sharing cooperation.
Within the Sling task sharing group of CQ nodes, each CQ instance has a UUID. When more than one CQ instance has the same UUID as any other, this sort of error can occur. It is possible there is another cause, but this is the first thing to check.
Go to the Sling settings console within Felix [3] on each of your CQ instances. On that page you can see the value for "Sling ID." Confirm it is different on each of your CQ instances.
If it is identical, you will need to change it. Go to the [crx-default]/launchpad/felix directory for each CQ instance you need to change. Search for a file named, sling.id.file. This contains the UUID used for topology. Change it to be unique for each instance. Consider the UUID a hexadecimal number. On the master CQ node, that number needs to be less than the UUIDs for the other instances.
After you have changed the UUIDs, bounce all of the CQ instances.
It is the most likely cause for your problem.
[1] http://dev.day.com/docs/en/cq/current/deploying/offloading.html
[2] https://sling.apache.org/documentation/bundles/discovery-api-and-impl.html
[3] http://[host]:[port]/system/console/status-slingsettings
Views
Replies
Total Likes