参考资料
https://www.bookstack.cn/read/SOFARegistry/Server-QuickStart.md
安装步骤
导出源码
git clone https://gitee.com/sofastack/sofa-registry.git
编译打包
cd sofa-registry
mvn clean package -DskipTests
解压到指定目录
cp server/distribution/integration/target/registry-integration.tgz <somewhere>
cd <somewhere> && mkdir registry-integration
tar -zxvf registry-integration.tgz -C registry-integration
启动运行
bin\startup.bat
检测机制
# 查看meta角色的健康检测接口
curl http://localhost:9615/health/check
# 查看data角色的健康检测接口
$ curl http://localhost:9622/health/check
# 查看session角色的健康检测接口:
$ curl http://localhost:9603/health/check
# 查看 pub 数量
curl http://localhost:9622/digest/datum/count
# 查看 pub 列表
curl http://10.3.108.62:9603/digest/getDataInfoIdList