IpFinder with domain

2020-08-13 Thread kay
Hello I have 8nodes, and using java thin client.

I know set Ip:port List at config file 

ex)


  
ip:port
...


I'm curious is it possible to set only url? not using port.
for example) 
cache.ignite.com


I already set that url(L4) but is not response(timeout also)

Our Project using L4 for loadbalancing infront of Ignite Nodes.
If is not available to use L4(with url) do I have to list all nodes?? 

I'm waiting for reply! Thank you so much?







--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: IpFinder with domain

2020-08-13 Thread Ilya Kasnacheev
Hello!

It should work. If port is not specified, discoveryPort or default port
(47500) will be used.

Hostnames are supported all right.

Regards,
-- 
Ilya Kasnacheev


чт, 13 авг. 2020 г. в 13:53, kay :

> Hello I have 8nodes, and using java thin client.
>
> I know set Ip:port List at config file
>
> ex)
>
> 
>   
> ip:port
> ...
>
>
> I'm curious is it possible to set only url? not using port.
> for example)
> cache.ignite.com
>
>
> I already set that url(L4) but is not response(timeout also)
>
> Our Project using L4 for loadbalancing infront of Ignite Nodes.
> If is not available to use L4(with url) do I have to list all nodes??
>
> I'm waiting for reply! Thank you so much?
>
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: IpFinder with domain

2020-08-13 Thread kay
Hello, 

In my case, 'cache.ignite.com' is a L4 and the port is 80.

cache.ignite.com(ex. 41.1.166.123) will be connect Ignite Server.(ex.
42.1.129.123:47500, 42.1.129.123:47501 ...)

Is it possible? or should I define port for connect to Ignite Server.

I will waiting for reply!
Thank u so much!






--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: IpFinder with domain

2020-08-17 Thread Ilya Kasnacheev
Hello!

You cannot use load balancing with thick client nodes. They need to be able
to connect to server nodes' discovery and communication ports via
direct address.

You can try load balancing with a thin client.

Regards,
-- 
Ilya Kasnacheev


чт, 13 авг. 2020 г. в 17:26, kay :

> Hello,
>
> In my case, 'cache.ignite.com' is a L4 and the port is 80.
>
> cache.ignite.com(ex. 41.1.166.123) will be connect Ignite Server.(ex.
> 42.1.129.123:47500, 42.1.129.123:47501 ...)
>
> Is it possible? or should I define port for connect to Ignite Server.
>
> I will waiting for reply!
> Thank u so much!
>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: IpFinder with domain

2020-08-17 Thread kay
Hello!

I use java thin client and put 80 port at clientConfiguration.
ex) ClientConfiguration.setAddresses("cache.ignite.com:80");

but I got a Exception.

Caused by: java.lang.IllegalArgumentException: Ignite client port 80 is out
of valid ports range 1024...49151.

Do I have to change port for L4?? like 'cache.ignite.com:49100'?

I think 'cache.ignite.com' is not an Ignite server node(its L4), but thin
client recognizes it for Server Node.
I'll try to change the port but I wanna sure for use L4 possibility..

I'll wating for reply!
Thank you so much!





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: IpFinder with domain

2020-08-18 Thread Ilya Kasnacheev
Helo!

1) Yes, we do not support ports < 1024 since you need to be root to occupy
these, which we do not want to suggest.
2) The default port for thin client is 10800.
3) That's the one you should pass to your LB and clients.
4) Make sure you are using a TCP load balancer and not an HTTP load
balancer. In the latter case you can only access via REST.

Regards,
-- 
Ilya Kasnacheev


вт, 18 авг. 2020 г. в 09:26, kay :

> Hello!
>
> I use java thin client and put 80 port at clientConfiguration.
> ex) ClientConfiguration.setAddresses("cache.ignite.com:80");
>
> but I got a Exception.
>
> Caused by: java.lang.IllegalArgumentException: Ignite client port 80 is out
> of valid ports range 1024...49151.
>
> Do I have to change port for L4?? like 'cache.ignite.com:49100'?
>
> I think 'cache.ignite.com' is not an Ignite server node(its L4), but thin
> client recognizes it for Server Node.
> I'll try to change the port but I wanna sure for use L4 possibility..
>
> I'll wating for reply!
> Thank you so much!
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: IpFinder with domain

2020-08-18 Thread kay
Thank you so much!
I change the L4 port and It worked well.!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/