cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get the list of cluster id by code?

Former Member
0 Kudos
1,177

I can see the list of cluster id in hac. can I get the Ids by code?

Accepted Solutions (1)

Accepted Solutions (1)

former_member704915
Participant
0 Kudos

If you are using cluster.nodes.autodiscovery=true option, then Hybris calculates the cluster id automatically and persists it in the item CLNodeInfos. You can get the list using

select * from {CLNodeInfos}

But, if you are manually setting the cluster.id in each node's local.properties, then I belive its difficult to fetch the list

Answers (1)

Answers (1)

Former Member
0 Kudos

than you. currently we are not using cluster.nodes.autodiscovery=true