Are you sure, which start Ignite with the configuration. The configuration
contains only abstract Spring bean (abstract="true").

Please provide full configuration and log file (How are you start node in
terminal? What are you seen in command line?).

About this:
Is this the right way to get nodes attached to cluster? If, yes I am not
able to get that remote machine identified due to firewall issue. I use
.pem file to ssh into that remote machine so it expects to be
authenticated. How can I implement this process and get the remote node
attached to the one I am running in my local?

Yea it is correct configuration IpFinder.
How do you relate discoverySPI with .pem file? You can use ssh for start
remoute node only (or you can do it any other way on other machine). After
nodes have been started, they will joining to cluster using discoverySPI[1]
(over ports 7500..47509), further they will useing communicationSPI[2] for
data processing.

If you want all data stream between nodes will by secure, you can use
SslContextFactory [3]

[1]
http://apacheignite.readme.io/v1.6/docs/cluster-config#static-ip-based-discovery
[2] http:/apacheignite.readme.io/docs/network-config#tcpcommunicationspi
[3] http://apacheignite.readme.io/docs/ssltls

On Fri, Aug 5, 2016 at 9:30 AM, chevy <chetan.v.ya...@target.com> wrote:

> I have started node in my remote machine using below config -
>
> <?xml version="1.0" encoding="UTF-8"?>
>
>
> <beans xmlns="http://www.springframework.org/schema/beans";
>
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>
>        xmlns:util="http://www.springframework.org/schema/util";
>
>        xsi:schemaLocation="
>
>         http://www.springframework.org/schema/beans
>
>         http://www.springframework.org/schema/beans/spring-beans.xsd
>
>         http://www.springframework.org/schema/util
>
>         http://www.springframework.org/schema/util/spring-util.xsd";>
>
>
> <bean id="rest.cfg" class="org.apache.ignite.configuration.
> ConnectorConfiguration">
>
> <property name="jettyPath" value="config/rest-jetty-config.xml"/>
>
> </bean>
>
>
>     <bean abstract="true" id="ignite.cfg" class="org.apache.ignite.
> configuration.IgniteConfiguration">
>
>
>
> <property name="connectorConfiguration" ref="rest.cfg" />
>
>         <!-- Explicitly configure TCP discovery SPI to provide list of
> initial nodes. -->
>
>         <property name="discoverySpi">
>
>             <bean class="org.apache.ignite.spi.
> discovery.tcp.TcpDiscoverySpi">
>
>                 <property name="ipFinder">
>
>                     <bean class="org.apache.ignite.spi.
> discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
>
>                         <property name="addresses">
>
>                             <list>
>
>                                 <value>127.0.0.1:47500..47509</value>
>
>                             </list>
>
>                         </property>
>
>                     </bean>
>
>                 </property>
>
>             </bean>
>
>         </property>
>
>     </bean>
>
> </beans>
>
>
> ------------------------------
>
> And I am using same config to run my code which loads data to cache except
> I am adding IP address of my remote node where I have started it externally
> as shown below -
>
> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.
> TcpDiscoveryVmIpFinder">
>
>         <property name="addresses">
>
>                    <list>
>
>                        <value>127.0.0.1:47500..47509</value>
>
> <value>10.63.78.112:47500..47509</value>
>
>                    </list>
>
>           </property>
>
> </bean>
>
>
> Is this the right way to get nodes attached to cluster? If, yes I am not
> able to get that remote machine identified due to firewall issue. I use
> .pem file to ssh into that remote machine so it expects to be
> authenticated. How can I implement this process and get the remote node
> attached to the one I am running in my local?
> --
> Regards,
> Chetan.
>
> From: "vdpyatkov [via Apache Ignite Users]" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6777&i=0>>
> Date: Friday, August 5, 2016 at 11:33 AM
> To: "Chetan.V.Yadav" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6777&i=1>>
> Subject: Re: Start node in remote server which needs authentication
>
> Hello,
>
> I don't think, which it is OS issue.
> Difficult understand to me where are you problem, without any
> demonstration.
>
> Can you please provide code example or full configuration file and logs
> from cluster nodes?
>
> On Thu, Aug 4, 2016 at 8:14 PM, chevy <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6775&i=0>> wrote:
>
>> So, what do you think that is going wrong. Should I change from Ubuntu to
>> something else or config?
>>
>> Also, can I use just .pem file and implement SSLContextFactory to connect
>> to
>> remote server?
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.705
>> 18.x6.nabble.com/Start-node-in-remote-server-which-needs-
>> authentication-tp6668p6770.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Vladislav Pyatkov
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Start-
> node-in-remote-server-which-needs-authentication-tp6668p6775.html
> To unsubscribe from Start node in remote server which needs
> authentication, click here.
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> ------------------------------
> View this message in context: Re: Start node in remote server which needs
> authentication
> <http://apache-ignite-users.70518.x6.nabble.com/Start-node-in-remote-server-which-needs-authentication-tp6668p6777.html>
>
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>



-- 
Vladislav Pyatkov

Reply via email to