1) If your configuration is not contains IgniteConfiguration (not abstract)
then ignite start will fail.

2) You must to put the key into JKS. I recommend use JAVA_HMOE/bin/keytool
for creation JKS and generate key.
The links keyStoreFilePath, trustStoreFilePath must point to jks.

On Fri, Aug 5, 2016 at 1:35 PM, chevy <[email protected]> wrote:

> Let me add more clarity on current issue -
>
>
>    1. I have a question - How does (abstract=true) affect this config?
>    2. I want to connect node running in my local with the one running in
>    my remote machine but the connection is secure. When I tried to create
>    keystore file (to be used with SslContextFactory) using .pem file it was
>    failing as there was no certificate available for it. pem file just
>    contains auth details and no certs. So, can I use just .pem file to get
>    connected to remote (like I do in terminal using command "ssh -i
>    ~/.ssh/goku.pem ubuntu@ipAddress”) through my Java code?
>
> --
> Regards,
> Chetan.
>
> From: "vdpyatkov [via Apache Ignite Users]" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6789&i=0>>
> Date: Friday, August 5, 2016 at 3:03 PM
> To: "Chetan.V.Yadav" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6789&i=1>>
> Subject: Re: Start node in remote server which needs authentication
>
> 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 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=6787&i=0>> wrote:
>
>> I have started node in my remote machine using below config -
>>
>> <?xmlversion="1.0"encoding="UTF-8"?>
>>
>>
>> <beansxmlns="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";>
>>
>>
>> <beanid="rest.cfg"class="org.apache.ignite.configuration.Co
>> nnectorConfiguration">
>>
>> <propertyname="jettyPath"value="config/rest-jetty-config.xml"/>
>>
>> </bean>
>>
>>
>>     <beanabstract="true"id="ignite.cfg"class="org.apache.
>> ignite.configuration.IgniteConfiguration">
>>
>>
>>
>> <propertyname="connectorConfiguration"ref="rest.cfg"/>
>>
>>         <!-- Explicitly configure TCP discovery SPI to provide list of
>> initial nodes. -->
>>
>>         <propertyname="discoverySpi">
>>
>>             <beanclass="org.apache.ignite.spi.discovery.tcp.
>> TcpDiscoverySpi">
>>
>>                 <property name="ipFinder">
>>
>>                     <beanclass="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 -
>>
>> <beanclass="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-aut
>>> hentication-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
>
>
> ------------------------------
> 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-tp6668p6787.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-tp6668p6789.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