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

相关推荐
南屿欣风1 天前
Sentinel 资源异常处理优先级笔记
spring boot·笔记·sentinel
lllsure4 天前
Alibaba Sentinel
微服务·sentinel
梵得儿SHI5 天前
SpringCloud 核心组件精讲:Sentinel 熔断限流全攻略-流量控制、熔断降级、热点参数限流(含 Dashboard 部署 + 项目集成实操)
java·spring cloud·sentinel·熔断降级·热点参数限流·微服务流量控制
oMcLin5 天前
如何在 RHEL 8 服务器上配置并调优 Redis Sentinel 高可用集群,确保数据一致性
服务器·redis·sentinel
机灵猫9 天前
守卫系统的最后一道防线:深入 Sentinel 限流降级与熔断机制(对比 Hystrix)
java·hystrix·sentinel
weixin_439706259 天前
spring boot+nacos+gateway+sentinel的简单例子
spring boot·gateway·sentinel
墨白曦煜11 天前
微服务容错设计:Sentinel 全局异常处理与 Feign 降级策略的边界权衡
微服务·架构·sentinel
没有bug.的程序员11 天前
Spring Cloud Gateway 架构与执行流程:从原理到性能优化的深度探索
微服务·云原生·eureka·性能优化·架构·sentinel·服务发现
杜子不疼.11 天前
Spring Cloud 微服务实战:Nacos+Sentinel+Gateway 核心组件详解
spring cloud·微服务·sentinel
enjoy编程13 天前
Spring Boot 4 如何使用Sentinel进行限流-II【基于Sentinel Spring MVC Adapter实现】
spring boot·spring·sentinel·服务限流·webmvc·servlet 6.x