zoukankan      html  css  js  c++  java
  • oceanbase的目录及启动关闭

    [admin@213992b864c8 ~]$ cd oceanbase-ce/
    [admin@213992b864c8 oceanbase-ce]$ ls
    admin bin etc etc2 etc3 lib log run store
    [admin@213992b864c8 oceanbase-ce]$ tree
    .
    |-- admin
    |-- bin
    | -- observer -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/bin/observer |-- etc | |-- observer.config.bin | -- observer.config.bin.history
    |-- etc2
    | |-- observer.conf.bin
    | -- observer.conf.bin.history |-- etc3 | |-- observer.conf.bin | -- observer.conf.bin.history
    |-- lib
    | |-- libaio.so -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/lib/libaio.so
    | |-- libaio.so.1 -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/lib/libaio.so.1
    | |-- libaio.so.1.0.1 -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/lib/libaio.so.1.0.1
    | |-- libmariadb.so -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/lib/libmariadb.so
    | -- libmariadb.so.3 -> /home/admin/.obd/repository/oceanbase-ce/3.1.1/c8d49673b8b01056ab1d6abc9d26dd6987d95a48/lib/libmariadb.so.3 |-- log | |-- election.log | |-- election.log.wf | |-- observer.log | |-- observer.log.wf | |-- rootservice.log | -- rootservice.log.wf
    |-- run
    | |-- mysql.sock
    | -- observer.pid -- store
    |-- clog -> /data/log1/clog
    |-- ilog -> /data/log1/ilog
    |-- slog -> /data/log1/slog
    -- sstable -- block_file

    13 directories, 21 files

    [admin@213992b864c8 ~]$ obd cluster stop obdemo 关闭集群
    Get local repositories and plugins ok
    Open ssh connection ok
    Stop observer ok
    Stop obproxy ok
    obdemo stopped
    [admin@213992b864c8 ~]$ obd cluster display obdemo 查看
    Deploy "obdemo" is stopped

    [admin@213992b864c8 ~]$ obd cluster start obdemo -0--启动
    Get local repositories and plugins ok
    Open ssh connection ok
    Cluster param config check ok
    Check before start observer ok
    Check before start obproxy ok
    Start observer ok
    observer program health check ok
    Connect to observer ok
    Wait for observer init ok
    +---------------------------------------------+
    | observer |
    +-----------+---------+------+-------+--------+
    | ip | version | port | zone | status |
    +-----------+---------+------+-------+--------+
    | 127.0.0.1 | 3.1.1 | 2881 | zone1 | active |
    +-----------+---------+------+-------+--------+

    Start obproxy ok
    obproxy program health check x
    [WARN] failed to start 127.0.0.1 obproxy
    [ERROR] obproxy start failed

    [admin@213992b864c8 ~]$ obd cluster start obdemo 启动失败,重新 启动
    Get local repositories and plugins ok
    Open ssh connection ok
    Cluster param config check ok
    Check before start observer ok
    Check before start obproxy ok
    Start observer ok
    observer program health check ok
    Connect to observer ok
    Wait for observer init ok
    +---------------------------------------------+
    | observer |
    +-----------+---------+------+-------+--------+
    | ip | version | port | zone | status |
    +-----------+---------+------+-------+--------+
    | 127.0.0.1 | 3.1.1 | 2881 | zone1 | active |
    +-----------+---------+------+-------+--------+

    Start obproxy ok
    obproxy program health check ok
    Connect to obproxy ok
    Initialize cluster
    +---------------------------------------------+
    | obproxy |
    +-----------+------+-----------------+--------+
    | ip | port | prometheus_port | status |
    +-----------+------+-----------------+--------+
    | 127.0.0.1 | 2883 | 2884 | active |
    +-----------+------+-----------------+--------+
    obdemo running

    [admin@213992b864c8 ~]$ obd cluster display obdemo --查看ob集群运行状态
    Get local repositories and plugins ok
    Open ssh connection ok
    Cluster status check ok
    Connect to observer ok
    Wait for observer init ok
    +---------------------------------------------+
    | observer |
    +-----------+---------+------+-------+--------+
    | ip | version | port | zone | status |
    +-----------+---------+------+-------+--------+
    | 127.0.0.1 | 3.1.1 | 2881 | zone1 | active |
    +-----------+---------+------+-------+--------+

    Connect to obproxy ok
    +---------------------------------------------+
    | obproxy |
    +-----------+------+-----------------+--------+
    | ip | port | prometheus_port | status |
    +-----------+------+-----------------+--------+
    | 127.0.0.1 | 2883 | 2884 | active |
    +-----------+------+-----------------+--------+

    ------道不行,乘桴浮于海!------ ------欲讷于言,而敏于行!-------
  • 相关阅读:
    html5+css3实现上拉和下拉刷新
    js求时间差
    screenX clientX pageX的区别
    HTML5实战与剖析之触摸事件(touchstart、touchmove和touchend)
    国内代码托管git-osc基础使用教程
    c# 实现获取汉字十六进制Unicode编码字符串
    C# 判断字符编码的六种方法
    UNICODE 区域对照表
    viewport
    Wingdings 2 符号编码对照表
  • 原文地址:https://www.cnblogs.com/dh17/p/15645422.html
Copyright © 2011-2022 走看看