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,這很容易和已有的端口重復,暫時未找到使用其他端口的解決方案。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM