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

相关推荐
u0104058362 天前
Java中的服务熔断机制:Hystrix与Sentinel的比较
java·hystrix·sentinel
what丶k2 天前
微服务稳定性守护者:Sentinel 全面使用指南(从入门到企业级落地)
微服务·架构·sentinel
鸽鸽程序猿2 天前
【JavaEE】【SpringCloud】 熔断和限流 Alibaba Sentinel
spring cloud·java-ee·sentinel
小楼v3 天前
如何使用Sentinel进行流量控制和熔断
java·后端·sentinel
MediaTea6 天前
Python:_sentinel 命名约定
开发语言·python·sentinel
短剑重铸之日6 天前
《SpringCloud实用版》Feign + LoadBalancer + Sentinel 微服务调用链路
spring cloud·微服务·sentinel·feign·loadbalancer
短剑重铸之日6 天前
《SpringCloud实用版》告别 Hystrix!Sentinel vs Resilience4j 深度对比 & 选型
spring cloud·hystrix·sentinel·熔断限流降级
wfsm9 天前
sentinel
sentinel
sunnyday042611 天前
Spring Cloud Alibaba Sentinel 流量控制与熔断降级实战指南
spring boot·sentinel·springcloud
递归尽头是星辰15 天前
Spring Cloud Alibaba 核心理论体系:Nacos、Sentinel、Seata深度解析
spring cloud·nacos·sentinel·seata·微服务治理