Sentinel安装部署

1.简介

Sentinel-Dashboard是阿里巴巴开源的微服务流量控制组件,主要用于分布式系统的流量管理、熔断降级和系统保护。它提供实时监控、动态规则配置和集群支持等功能,确保微服务架构的稳定性和容错性。

2.下载

下载地址:https://download.csdn.net/download/TM_soul/92155054

3.环境准备

1)安装JDK环境

2)安装Maven环境

4.启动服务

1)将压缩包解压到 D:\sentinel

  1. CMD执行启动命令

    java -Dserver.port=8718 -Dcsp.sentinel.dashboard.server=localhost:8718 -Dproject.name=sentinel-dashboard -Dcsp.sentinel.api.port=8719 -jar D:\sentinel\sentinel-dashboard-1.8.6.jar

3)做成服务启动

  • sentinel-dashboard-1.8.6.xml配置文件内容

    <configuration> <id>sentinel</id> <name>sentinel</name> <description>Sentinel服务</description> <env name="JAVA_HOME" value="%JAVA_HOME%"/> <executable>java</executable> <arguments>-Dserver.port=8718 -Dcsp.sentinel.dashboard.server=localhost:8718 -Dproject.name=sentinel-dashboard -Dcsp.sentinel.api.port=8719 -jar sentinel-dashboard-1.8.6.jar</arguments> <startmode>Automatic</startmode> <logpath>%BASE%\log</logpath> <logmode>rotate</logmode> </configuration>
  • 管理员启动CMD,执行 sentinel-dashboard-1.8.6.exe install

5.管理页面

地址:http://localhost:8718/#/login

账号:sentinel 密码: sentinel

相关推荐
Jul1en_17 小时前
【Redis】Sentinel 哨兵支持,附带 Docker 部署教程
redis·docker·sentinel
phltxy3 天前
Redis Sentinel:主从架构的自动保镖详解
redis·架构·sentinel
接着奏乐接着舞5 天前
springcloud Sentinel
spring·spring cloud·sentinel
超梦dasgg6 天前
Sentinel生产环境实战全解
java·微服务·sentinel
Ting-yu6 天前
SpringCloud快速入门(11)---- Sentinel(异常处理)
java·spring boot·后端·spring·spring cloud·sentinel
Ting-yu6 天前
SpringCloud快速入门(10)---- Sentinel(应用场景&控制台安装)
spring·spring cloud·sentinel
heimeiyingwang8 天前
【架构实战】服务熔断与限流Sentinel:高可用服务的守护神
架构·sentinel
庞轩px9 天前
第八篇:Spring与微服务——从SpringBoot到SpringCloud的演进
spring boot·spring·微服务·nacos·gateway·sentinel
卷毛的技术笔记12 天前
双十一零点扛过10倍流量洪峰:Sentinel与Redis+Lua的分布式限流深度避坑指南
java·redis·分布式·后端·系统架构·sentinel·lua
chushiyunen12 天前
sentinel限流工具使用
sentinel