Ignite Web 控制台(使用官方免費部署的控制台)

來源:互聯網
上載者:User

標籤:web   root   連結   comm   tla   setting   path   切換   event   

前提: 假設已安裝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:8080driver-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指令碼

[[email protected] 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,這很容易和已有的連接埠重複,暫時未找到使用其他連接埠的解決方案。

Ignite Web 控制台(使用官方免費部署的控制台)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.