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

转载于:https://www.cnblogs.com/liugh/p/7425818.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Mac上使用Ignite,你可以按照以下步骤进行操作: 1. 首先,下载并安装Apache Ignite。你可以从官方网站(https://ignite.apache.org/)下载最新版本的Ignite。 2. 解压下载的文件,并将Ignite的安装路径添加到你的系统环境变量中,以便在任何地方都可以访问到Ignite的命令。 3. 接下来,你需要创建一个Ignite配置文件。你可以使用你的喜好编辑器打开一个新文件,并将以下内容复制到文件中: ``` <bean class="org.apache.ignite.configuration.IgniteConfiguration"> <!-- ...其他配置设置... --> </bean> ``` 你可以根据需要修改配置设置。 4. 保存配置文件,并使用以下命令启动Ignite: ``` $ bin/ignite.sh examples/config/example-cache.xml ``` 这将启动Ignite节点并加载你的配置文件。你可以通过修改命令中的路径来加载你自己创建的配置文件。 5. 一旦Ignite成功启动,你就可以在你的应用程序中使用Ignite了。你可以按照你的需求使用Ignite的功能和API。 请注意,上述步骤是一种常用的在Mac上使用Ignite的方法。根据你的具体需求和环境,可能会有一些额外的步骤或配置设置。希望这些信息对你有帮助!<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [Ignite 架构全面解析](https://blog.csdn.net/weixin_37778801/article/details/84869613)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值