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

相关推荐
空中海4 小时前
第六篇:可靠性篇 — Sentinel 熔断限流与 Seata 分布式事务
分布式·sentinel
JAVA面经实录9176 小时前
如何选择适合项目的「限流 / 熔断 / 降级」方案
java·spring·kafka·sentinel·guava
蓝眸少年CY2 天前
(第十五篇)spring cloud之Sentinel实现熔断与限流
数据库·spring cloud·sentinel
无风听海4 天前
Python 哨兵值模式(Sentinel Value Pattern)深度解析
开发语言·python·sentinel
空中海5 天前
Redis 原理深度解析:持久化 × 主从复制 × Sentinel × Cluster × 性能排查全攻略
数据库·redis·sentinel
接着奏乐接着舞7 天前
Sentinel
sentinel
随风,奔跑7 天前
Spring Boot Alibaba(三)----Sentinel
spring boot·后端·sentinel
武超杰7 天前
Sentinel 安装启动 + 全规则详解 + Feign 整合 + 持久化
sentinel
青槿吖7 天前
Sentinel 进阶实战:Feign 整合 + 全局异常 + Nacos 持久化,生产环境直接用
java·开发语言·spring cloud·微服务·云原生·ribbon·sentinel
StackNoOverflow7 天前
Sentinel服务保护框架完全指南:从原理到实践
java·数据库·sentinel