You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2015/12/24 22:28:59 UTC

Re: Connection to grid

Hi Yury,

Please properly subscribe to the mailing list so that community receives
email notifications. Follow the instruction here:
http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1


yury_alpatov wrote
> Hi all! I am newby in Apache Ignite. I want to connect to grid on my
> localhost using Visor management console. Please provide me config file so
> I could use it as a parameter for command "open".

Visor starts an embedded daemon node to connect to topology, so you should
provide the file with proper discovery SPI configuration. Note that daemon
node will ignore everything that is not needed for it (like caches,
services, etc.), so you can just you the same configuration file that you
use when starting cluster nodes.

Let us know if it helps.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Connection-to-grid-tp2301p2307.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Connection to grid

Posted by Denis Magda <dm...@gridgain.com>.
Hi Yury,

There is no difference. As Valentin mentioned above you just need to provide
Visor with a configuration file where TcpDiscoverySpi contains an IP finder
with a list of address of the nodes from your grid.

If you take a look at example-ignite.xml you'll see that Visor will try to
find a node to connect to using multicast (cause the multicast IP finder is
used) and/or will try to get to a node that listens on any address from this
range - 127.0.0.1:47500..47509.

In Valentin's example a grid node is started with the same configuration
file and listens for connections on an address from the list
127.0.0.1:47500..47509, thus Visor managed to reach it out.

Regards,
Denis



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Connection-to-grid-tp2301p2325.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Connection to grid

Posted by vkulichenko <va...@gmail.com>.
Hi Yury,

Port 11211 is used for REST by default, not for discovery. Can you try
starting both node and the Visor with the 'example-ignite.xml' configuration
file provided in examples?

To start a node:
    ./ignite.sh examples/config/example-ignite.xml

To open Visor:
    open -cpath=examples/config/example-ignite.xml

Does it work for you this way?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Connection-to-grid-tp2301p2319.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.