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]" 
<[email protected]<mailto:[email protected]>>
Date: Friday, August 5, 2016 at 11:33 AM
To: "Chetan.V.Yadav" 
<[email protected]<mailto:[email protected]>>
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]</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.70518.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<http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6668&code=Y2hldGFuLnYueWFkYXZAdGFyZ2V0LmNvbXw2NjY4fC02OTIwMTYzODA=>.
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: 
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 at Nabble.com.

Reply via email to