zoukankan      html  css  js  c++  java
  • Ignite Web 控制台(使用官方免费部署的控制台)

    前提: 假设已安装ignite,并且安装路径为:/usr/apache-ignite-fabric-2.1.0-bin

    1.下载Web Agent 

     打开链接:https://console.gridgain.com/configuration/advanced/clusters

    2.部署Web Agent

     解压1中下载的Web Agent,部署到安装Ignite的一个节点,比如:/usr/ignite-web-agent-2.1.3/

    3.编辑default.properties

      编辑/usr/ignite-web-agent-2.1.3/default.properties

    tokens=从官网获得
    server-uri=https://console.gridgain.com
    #Uncomment following options if needed:
    node-uri=http://安装ignote的节点IP:8080
    driver-folder=./jdbc-drivers

    其中tokens获得方式如下:

    4.拷贝ignite-rest-http文件夹

     将ignite 一个节点下的libs/optional/ignite-rest-http文件夹,拷贝到上一层,即libs目录下:

    cp /usr/apache-ignite-fabric-2.1.0-bin/libs/optional/ignite-rest-http /usr/apache-ignite-fabric-2.1.0-bin/libs/ignite-rest-http

    5.拷贝jdbc驱动程序(不是必须

      将mysql的jdbc驱动程序,拷贝到web agent的jdbc-drivers目录下

    6.启动ignite节点

    7.启动Web Agent

     切换到Web Agent安装目录,执行如下Shell脚本

    [root@DEV-SH-MAP-01 ignite-web-agent-2.1.3]# ./ignite-web-agent.sh
    [2017-08-24 15:14:19,546][INFO ][main][AgentLauncher] Starting Apache Ignite Web Console Agent...

    Agent configuration:
    User's security tokens : ****************ZcoI
    URI to Ignite node REST server: http://10.20.0.6:8080
    URI to Ignite Console server : https://console.gridgain.com
    Path to agent property file : default.properties
    Path to JDBC drivers folder : ./jdbc-drivers
    Demo mode : enabled

    [2017-08-24 15:14:20,601][INFO ][main][AgentLauncher] Connecting to: https://console.gridgain.com
    GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
    [2017-08-24 15:14:22,609][INFO ][EventThread][AgentLauncher] Connection established.
    [2017-08-24 15:14:23,873][INFO ][EventThread][AgentLauncher] Authentication success.
    [2017-08-24 15:14:24,395][INFO ][pool-1-thread-1][ClusterListener] Connection successfully established to cluster with nodes: [3C2012D9]

    8.访问Web控制台

     刷新https://console.gridgain.com/configuration/advanced/clusters

    【注意】 Web Agent启动时,默认访问的ignite 节点端口是8080,这很容易和已有的端口重复,暂时未找到使用其他端口的解决方案。

  • 相关阅读:
    spring cloud/spring boot同时支持http和https访问
    解决to the cache because there was insufficient free space available after evict
    国外天气api 国际天气预报今天、未来3天、未来7天的天气预报信息接口
    java 访问get接口请求外部的json数据
    IDEA创建基于Maven的SpringBoot项目-多模块
    PostgreSQL提取每个ID的最后一行(Postgresql extract last row for each id)
    Vue项目引入百度地图
    Vue 引入天地图 & 地图类型切换
    js在新窗口打开链接
    mysql使用小数注意
  • 原文地址:https://www.cnblogs.com/liugh/p/7425818.html
Copyright © 2011-2022 走看看