-
1. Re: Teiid Domain mode VDB deployment
rareddy Mar 14, 2019 10:58 AM (in response to mtawk)Hi Mark,
I guess you are using "getVDB" call on the Admin API to get the status, with this method we do query whole cluster but reply the very first result, whereas if you want all the nodes then issue "getVDBs()" call, here the information about single VDB is duplicated but one instance per node will be returned. Once you have all the entries, you can filter them on name and figure out the status.
Ramesh..
-
2. Re: Teiid Domain mode VDB deployment
mtawk Mar 15, 2019 5:26 AM (in response to rareddy)Hello Ramesh
I tried "getVDBs()" on Admin API and it is returning only the VDB of the master node.
While in Admin Console, it shows that I have 2 clusters with the VDB on each one of them.
-
3. Re: Teiid Domain mode VDB deployment
rareddy Mar 15, 2019 9:45 AM (in response to mtawk)I do not have access to a cluster currently, but you can debug in AdminImpl.getDomainAwareList(..) to see why this is not functioning as expected?
-
4. Re: Teiid Domain mode VDB deployment
mtawk Mar 18, 2019 5:29 AM (in response to rareddy)I checked the method "getDomainAwareList" used into "getVDBs()" and the issue is that the parameter "singleInstance" is always set to true.
That's why "getVDBs()" is returning only the VDBs of one cluster.
so "singleInstance" should be set to false when having multiple clusters
-
5. Re: Teiid Domain mode VDB deployment
rareddy Mar 18, 2019 9:39 AM (in response to mtawk)Please log an issue with above details.
-