• 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,这很容易和已有的端口重复,暂时未找到使用其他端口的解决方案。

  • 相关阅读:
    首用虚拟机
    20145339《信息安全系统设计基础》第5周学习总结
    试编hello world
    第二章半复习
    第一章半复习
    20145339《信息安全系统设计基础》第3周学习总结
    20145339《信息安全系统设计基础》第2周学习总结
    20145339《信息安全系统设计基础》第一周学习总结
    20145339顿珠达杰 《信息安全系统设计基础》第0周学习总结
    第16周课程总结
  • 原文地址:https://www.cnblogs.com/liugh/p/7425818.html
Copyright © 2020-2023  润新知