码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • openeuler上安装polarismesh集群


    目录

    1、安装MySQL数据库

    2、安装Redis集群

    3、初始化SQL

    4、配置polaris-server.yaml 

    5、启动服务 

    6、安装polaris-console

     7、启动polaris-console

     8、安装监控组件

    9、安装分布式限流组件

     unzip polaris-limiter-release_v1.0.4.linux.amd64.zip mv polaris-limiter-release_v1.0.4.linux.amd64 polaris-limitercd polaris-limiter

    启动

    10、查看启动进程

    11、页面访问 

     12、使用例子


    1、安装MySQL数据库

    数据库连接地址10.10.10.168 用户root 密码123456

    MySQL安装参考搭建DSS环境(六)之安装基础环境MySQL_linux安装dss_青春不流名的博客-CSDN博客

    2、安装Redis集群

    IP Resid PORT Sentinel PORT PASSWORD Cluster NAME
    10.10.10.110 6379 26379 123456 mymaster
    10.10.10.168 6379 26379 123456 mymaster
    10.10.10.150 6379 26379 123456 mymaster

    3、初始化SQL

    unzip polaris-server-release_v1.17.4.linux.amd64.zip
    mv polaris-server-release_v1.17.4.linux.amd64 polaris-server

    cd polaris-server

    1. mysql -u root -p
    2. Enter password:
    3. Welcome to the MySQL monitor. Commands end with ; or \g.
    4. Your MySQL connection id is 12
    5. Server version: 8.0.31 MySQL Community Server - GPL
    6. Copyright (c) 2000, 2022, Oracle and/or its affiliates.
    7. Oracle is a registered trademark of Oracle Corporation and/or its
    8. affiliates. Other names may be trademarks of their respective
    9. owners.
    10. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    11. mysql> source ^C
    12. mysql> use polaris_server;
    13. Database changed
    14. mysql> source store/mysql/polaris_server.sql
    15. Query OK, 0 rows affected (0.00 sec)

    4、配置polaris-server.yaml 

    # server Start guidance configuration
    bootstrap:
      # Global log
      logger:
        # Log scope name
        # Configuration center related logs
        config:
          # Log file location
          rotateOutputPath: log/runtime/polaris-config.log
          # Special records of error log files at ERROR level
          errorRotateOutputPath: log/runtime/polaris-config-error.log
          # The maximum size of a single log file, 100 default, the unit is MB
          rotationMaxSize: 100
          # How many log files are saved, default 30
          rotationMaxBackups: 30
          # The maximum preservation days of a single log file, default 7
          rotationMaxAge: 7
          # Log output level,debug/info/warn/error
          outputLevel: info
          # Open the log file compression
          compress: true
          # onlyContent just print log content, not print log timestamp
          # onlyContent: false
        # Resource Auth, User Management Log
        auth:
          rotateOutputPath: log/runtime/polaris-auth.log
          errorRotateOutputPath: log/runtime/polaris-auth-error.log
          rotationMaxSize: 100
          rotationMaxBackups: 30
          rotationMaxAge: 7
          outputLevel: info
          compress: true
        # Storage layer log
        store:
          rotateOutputPath: log/runtime/polaris-store.log
          errorRotateOutputPath: log/runtime/polaris-store-error.lo

  • 相关阅读:
    UVM实战笔记(二)
    JAVA计算机毕业设计医院管理系统Mybatis+源码+数据库+lw文档+系统+调试部署
    CCF CSP认证 历年题目自练Day30
    React-hooks【四】父组件通过ref获取子组件实例
    跨境电商客服回复话术
    《学术小白学习之路11》DTM主题动态模型原理与基础构建
    IO多路复用
    算法刷题第六天:滑动窗口
    EasyRecovery14数据恢复软件官方功能简介
    【React源码】(七)React 调度原理(scheduler)
  • 原文地址:https://blog.csdn.net/TT1024167802/article/details/132768946
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号