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

相关推荐
YDS8291 天前
SpringCloud —— Sentinel详解
java·spring cloud·sentinel
后端小张1 天前
【JAVA 进阶】深入理解Sentinel:分布式系统的流量守卫者
java·开发语言·spring boot·后端·spring·spring cloud·sentinel
小马爱打代码2 天前
面试题:Hystrix与Sentinel区别
hystrix·sentinel
破烂pan3 天前
Python 整合 Redis 哨兵(Sentinel)与集群(Cluster)实战指南
redis·python·sentinel
库库林_沙琪马4 天前
3、Sentinel
服务器·网络·sentinel
大大大大物~5 天前
Spring Cloud熔断与降级:核心区别与实践指南【怎么理解?解决了什么问题?各自的适用场景?Sentinel实现代码示例】
spring cloud·sentinel·熔断·降级
serendipity_hky5 天前
【SpringCloud | 第3篇】Sentinel 服务保护(限流、熔断降级)
java·后端·spring·spring cloud·微服务·sentinel
小毅&Nora5 天前
【后端】【诡秘架构】 ② 序列8:小丑 - 熔断降级的艺术:用 Sentinel 实现优雅降级,笑对流量洪峰
架构·sentinel·熔断降级
Haooog6 天前
微服务保护学习
java·学习·微服务·sentinel
布茹 ei ai7 天前
5、基于 GEE 的 Sentinel-1 SAR 地震滑坡变化检测系统:2022 泸定地震案例
javascript·sentinel·遥感·gee·云平台