它的工作方式是Terracotta Server通过在0.0.0.0:9540上运行的内置管理服务器公开REST端点(因此,为什么你看到2019-01-05 11:58:16,739 INFO - 管理服务器在0.0上启动。 0.0:9540)。
然后,您有TMC(Terracotta管理控制台)组件,它提供UI部分,并返回到Terracotta管理服务器以获取统计数据/数据等...
现在,开源版本不提供管理控制台...所以这就是为什么你没有看到套件中的“start-tmc.sh”。
但是你应该能够从内置的Terracotta Management Server访问REST端点......
它应该在以下位置访问: HTTP://主机:端口/ TC-管理的API
从那里,您应该能够使用各种REST调用来获取所有类型的数据项(例如,/ agents /拓扑/用于服务器拓扑等...)
如果您想进一步探索,这是Terracotta REST的最新文档:
https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fto-title_terracotta_rest_developer_guide.html%23
最后,正如文档(at https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fco-use_rest_api_versions.html%23 ),有2个API版本可用...“v2”版本可用并推荐用于Terracotta 4.2及更高版本(因此你应该使用v2和4.3.6)
丢失的示例REST调用 https://documentation.softwareag.com/onlinehelp/Rohan/terracotta_436/bigmemory-max/webhelp/index.html#page/bigmemory-max-webhelp%2Fco-oper_examples_of_uris.html%23 ......但也在这里结合:
卷曲 HTTP://本地主机:9540 / TC-管理的API / V2 /代理商/信息
卷曲 HTTP://本地主机:9540 / TC-管理的API / V2 /代理商/拓扑/
卷曲 HTTP://本地主机:9540 / TC-管理的API / V2 /代理商/ cacheManagers /
希望有所帮助。