> Lately we saw the metadata refresh doesn't happen in the application even when database has been changed.
A running vdb uses a snapshot of the source metadata - it does not change at runtime. A vdb restart, redeploy, or a new vdb version is needed to fetch or define new source metadata.
> So, we believe that Teiid might be caching something and we want to clear the cache.
In embedded there is no cache that spans a vdb or server restart.
> I couldn't find any document that states how to use admin api of ambedded server remotely.
There currently is no remote admin option for Teiid embedded.
> Also, is it possible to see all the VDBs deployed on remote embedded server by any chance? Instead of knowing before hand to connect to one of them for querying it.
Not with embedded. The eap based distribution does provide a remote admin interface though.
> PS: We are also thinking to switch off teiid cache completely but not sure what values will suffice?
No, those settings are for the disk/memory utilization of the engine.