You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Matthew Clarke <ma...@gmail.com> on 2015/10/13 01:49:30 UTC

Re: site to site setup - Remore instance not configured

For Site to Site properties the input socket host is optional. When it is
configured it should be set the hostname or IP of the the system the NiFi
instance is running on.  you must however configure an input socket port on
every instance. This includes all nodes and the NCM.  If you cluster is
configured to run securely (HTTPS), you should also have input secure set
to true.  Make sure you have the ports you use open in the firewalls
between systems.
On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla" <
Chakrader.Dewaragatla@lifelock.com> wrote:

> Hi – I have a use case to collect http post requests on a nifi-clustered
> setup. My cluster has three nodes.
>
> Ncm —> Slave 1 (Primary)
>          —> Slave 2.
>
> I would like to setup a http listener on primary node and establish site
> to site connection to the same cluster for further processing data. So http
> payload receive as follows
>
>   http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file)
> and (S3 upload) (I assume this data process by two slaves nodes)
>
> I have following error at site-to-site setup : * Remote instance Is not
> configured for site-to-site communications at this time.*
>
> I followed the admin doc to set the properties, as follows (on slaves).
>
> # Site to Site properties
>
> nifi.remote.input.socket.host=10.83.14.59    (NCM ip)
>
> nifi.remote.input.socket.port=
>
> nifi.remote.input.secure=false
>
>
>
> Any thoughts?
>
>
> Thanks,
>
> -Chakri
> ------------------------------
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
> ------------------------------
>

Re: site to site setup - Remore instance not configured

Posted by Matthew Clarke <ma...@gmail.com>.
The httplistener should be connected directly to the RPG. they should be an
input port that had no connection in to it and only connection (s) out of
it to following processors such as the putfule and S3upload.
On Oct 13, 2015 5:06 PM, "Chakrader Dewaragatla" <
Chakrader.Dewaragatla@lifelock.com> wrote:

> Thanks Matthew it worked, no errors this time.
> As noted below, we would like to consume http data on primary node and
> send it back to cluster for processing.
>
> I have site to site setup with http listener(on primary node) —>  Input
> port  —> SitetoSite to NCM cluster instance  —> putfile —> S3upload .
> Does my setup achieve the purpose?
>
> Data movement from http listener to input port is not working and no
> errors reported.
>
> Site-to-site admin document has limited information to understand.
>
> Thanks,
> -Chakri
>
> From: Matthew Clarke <ma...@gmail.com>
> Reply-To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Date: Monday, October 12, 2015 at 4:49 PM
> To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Subject: Re: site to site setup - Remore instance not configured
>
> For Site to Site properties the input socket host is optional. When it is
> configured it should be set the hostname or IP of the the system the NiFi
> instance is running on.  you must however configure an input socket port on
> every instance. This includes all nodes and the NCM.  If you cluster is
> configured to run securely (HTTPS), you should also have input secure set
> to true.  Make sure you have the ports you use open in the firewalls
> between systems.
> On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla" <
> Chakrader.Dewaragatla@lifelock.com> wrote:
>
>> Hi – I have a use case to collect http post requests on a nifi-clustered
>> setup. My cluster has three nodes.
>>
>> Ncm —> Slave 1 (Primary)
>>          —> Slave 2.
>>
>> I would like to setup a http listener on primary node and establish site
>> to site connection to the same cluster for further processing data. So http
>> payload receive as follows
>>
>>   http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file)
>> and (S3 upload) (I assume this data process by two slaves nodes)
>>
>> I have following error at site-to-site setup : * Remote instance Is not
>> configured for site-to-site communications at this time.*
>>
>> I followed the admin doc to set the properties, as follows (on slaves).
>>
>> # Site to Site properties
>>
>> nifi.remote.input.socket.host=10.83.14.59    (NCM ip)
>>
>> nifi.remote.input.socket.port=
>>
>> nifi.remote.input.secure=false
>>
>>
>>
>> Any thoughts?
>>
>>
>> Thanks,
>>
>> -Chakri
>> ------------------------------
>> The information contained in this transmission may contain privileged and
>> confidential information. It is intended only for the use of the person(s)
>> named above. If you are not the intended recipient, you are hereby notified
>> that any review, dissemination, distribution or duplication of this
>> communication is strictly prohibited. If you are not the intended
>> recipient, please contact the sender by reply email and destroy all copies
>> of the original message.
>> ------------------------------
>>
> ------------------------------
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
> ------------------------------
>

Re: site to site setup - Remore instance not configured

Posted by Joe Witt <jo...@gmail.com>.
Do we have a JIRA out for making site to site docs better with setup
guides/etc..?  This has always been tricky...

On Tue, Oct 13, 2015 at 5:06 PM, Chakrader Dewaragatla
<Ch...@lifelock.com> wrote:
> Thanks Matthew it worked, no errors this time.
> As noted below, we would like to consume http data on primary node and send
> it back to cluster for processing.
>
> I have site to site setup with http listener(on primary node) —>  Input port
> —> SitetoSite to NCM cluster instance  —> putfile —> S3upload .
> Does my setup achieve the purpose?
>
> Data movement from http listener to input port is not working and no errors
> reported.
>
> Site-to-site admin document has limited information to understand.
>
> Thanks,
> -Chakri
>
> From: Matthew Clarke <ma...@gmail.com>
> Reply-To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Date: Monday, October 12, 2015 at 4:49 PM
> To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Subject: Re: site to site setup - Remore instance not configured
>
> For Site to Site properties the input socket host is optional. When it is
> configured it should be set the hostname or IP of the the system the NiFi
> instance is running on.  you must however configure an input socket port on
> every instance. This includes all nodes and the NCM.  If you cluster is
> configured to run securely (HTTPS), you should also have input secure set to
> true.  Make sure you have the ports you use open in the firewalls between
> systems.
>
> On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla"
> <Ch...@lifelock.com> wrote:
>>
>> Hi – I have a use case to collect http post requests on a nifi-clustered
>> setup. My cluster has three nodes.
>>
>> Ncm —> Slave 1 (Primary)
>>          —> Slave 2.
>>
>> I would like to setup a http listener on primary node and establish site
>> to site connection to the same cluster for further processing data. So http
>> payload receive as follows
>>
>>   http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file)
>> and (S3 upload) (I assume this data process by two slaves nodes)
>>
>> I have following error at site-to-site setup :  Remote instance Is not
>> configured for site-to-site communications at this time.
>>
>> I followed the admin doc to set the properties, as follows (on slaves).
>>
>> # Site to Site properties
>>
>> nifi.remote.input.socket.host=10.83.14.59    (NCM ip)
>>
>> nifi.remote.input.socket.port=
>>
>> nifi.remote.input.secure=false
>>
>>
>>
>> Any thoughts?
>>
>>
>> Thanks,
>>
>> -Chakri
>>
>> ________________________________
>> The information contained in this transmission may contain privileged and
>> confidential information. It is intended only for the use of the person(s)
>> named above. If you are not the intended recipient, you are hereby notified
>> that any review, dissemination, distribution or duplication of this
>> communication is strictly prohibited. If you are not the intended recipient,
>> please contact the sender by reply email and destroy all copies of the
>> original message.
>> ________________________________
>
> ________________________________
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.
> ________________________________

Re: site to site setup - Remore instance not configured

Posted by Chakrader Dewaragatla <Ch...@lifelock.com>.
Sweet, we need load balancer data on other end.
how do I make it work ? Here is the nifi canvas screenshot.

http://tinyurl.com/nq9fbqr


From: Matthew Clarke <ma...@gmail.com>>
Reply-To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Date: Tuesday, October 13, 2015 at 2:17 PM
To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Subject: Re: site to site setup - Remore instance not configured


Yes, the Remote Process Group (RPG, also known as the site-to-site) will talk to the NCM which will provide connected nodes status information. It will then load balancer data to the nodes in that cluster.

On Oct 13, 2015 5:06 PM, "Chakrader Dewaragatla" <Ch...@lifelock.com>> wrote:
Thanks Matthew it worked, no errors this time.
As noted below, we would like to consume http data on primary node and send it back to cluster for processing.

I have site to site setup with http listener(on primary node) —>  Input port  —> SitetoSite to NCM cluster instance  —> putfile —> S3upload .
Does my setup achieve the purpose?

Data movement from http listener to input port is not working and no errors reported.

Site-to-site admin document has limited information to understand.

Thanks,
-Chakri

From: Matthew Clarke <ma...@gmail.com>>
Reply-To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Date: Monday, October 12, 2015 at 4:49 PM
To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Subject: Re: site to site setup - Remore instance not configured


For Site to Site properties the input socket host is optional. When it is configured it should be set the hostname or IP of the the system the NiFi instance is running on.  you must however configure an input socket port on every instance. This includes all nodes and the NCM.  If you cluster is configured to run securely (HTTPS), you should also have input secure set to true.  Make sure you have the ports you use open in the firewalls between systems.

On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla" <Ch...@lifelock.com>> wrote:
Hi – I have a use case to collect http post requests on a nifi-clustered setup. My cluster has three nodes.

Ncm —> Slave 1 (Primary)
         —> Slave 2.

I would like to setup a http listener on primary node and establish site to site connection to the same cluster for further processing data. So http payload receive as follows

  http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file) and (S3 upload) (I assume this data process by two slaves nodes)

I have following error at site-to-site setup :  Remote instance Is not configured for site-to-site communications at this time.

I followed the admin doc to set the properties, as follows (on slaves).


# Site to Site properties

nifi.remote.input.socket.host=10.83.14.59    (NCM ip)

nifi.remote.input.socket.port=

nifi.remote.input.secure=false



Any thoughts?


Thanks,

-Chakri

________________________________
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________
________________________________
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________
________________________________
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________

Re: site to site setup - Remore instance not configured

Posted by Matthew Clarke <ma...@gmail.com>.
Yes, the Remote Process Group (RPG, also known as the site-to-site) will
talk to the NCM which will provide connected nodes status information. It
will then load balancer data to the nodes in that cluster.
On Oct 13, 2015 5:06 PM, "Chakrader Dewaragatla" <
Chakrader.Dewaragatla@lifelock.com> wrote:

> Thanks Matthew it worked, no errors this time.
> As noted below, we would like to consume http data on primary node and
> send it back to cluster for processing.
>
> I have site to site setup with http listener(on primary node) —>  Input
> port  —> SitetoSite to NCM cluster instance  —> putfile —> S3upload .
> Does my setup achieve the purpose?
>
> Data movement from http listener to input port is not working and no
> errors reported.
>
> Site-to-site admin document has limited information to understand.
>
> Thanks,
> -Chakri
>
> From: Matthew Clarke <ma...@gmail.com>
> Reply-To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Date: Monday, October 12, 2015 at 4:49 PM
> To: "users@nifi.apache.org" <us...@nifi.apache.org>
> Subject: Re: site to site setup - Remore instance not configured
>
> For Site to Site properties the input socket host is optional. When it is
> configured it should be set the hostname or IP of the the system the NiFi
> instance is running on.  you must however configure an input socket port on
> every instance. This includes all nodes and the NCM.  If you cluster is
> configured to run securely (HTTPS), you should also have input secure set
> to true.  Make sure you have the ports you use open in the firewalls
> between systems.
> On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla" <
> Chakrader.Dewaragatla@lifelock.com> wrote:
>
>> Hi – I have a use case to collect http post requests on a nifi-clustered
>> setup. My cluster has three nodes.
>>
>> Ncm —> Slave 1 (Primary)
>>          —> Slave 2.
>>
>> I would like to setup a http listener on primary node and establish site
>> to site connection to the same cluster for further processing data. So http
>> payload receive as follows
>>
>>   http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file)
>> and (S3 upload) (I assume this data process by two slaves nodes)
>>
>> I have following error at site-to-site setup : * Remote instance Is not
>> configured for site-to-site communications at this time.*
>>
>> I followed the admin doc to set the properties, as follows (on slaves).
>>
>> # Site to Site properties
>>
>> nifi.remote.input.socket.host=10.83.14.59    (NCM ip)
>>
>> nifi.remote.input.socket.port=
>>
>> nifi.remote.input.secure=false
>>
>>
>>
>> Any thoughts?
>>
>>
>> Thanks,
>>
>> -Chakri
>> ------------------------------
>> The information contained in this transmission may contain privileged and
>> confidential information. It is intended only for the use of the person(s)
>> named above. If you are not the intended recipient, you are hereby notified
>> that any review, dissemination, distribution or duplication of this
>> communication is strictly prohibited. If you are not the intended
>> recipient, please contact the sender by reply email and destroy all copies
>> of the original message.
>> ------------------------------
>>
> ------------------------------
> The information contained in this transmission may contain privileged and
> confidential information. It is intended only for the use of the person(s)
> named above. If you are not the intended recipient, you are hereby notified
> that any review, dissemination, distribution or duplication of this
> communication is strictly prohibited. If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.
> ------------------------------
>

Re: site to site setup - Remore instance not configured

Posted by Chakrader Dewaragatla <Ch...@lifelock.com>.
Thanks Matthew it worked, no errors this time.
As noted below, we would like to consume http data on primary node and send it back to cluster for processing.

I have site to site setup with http listener(on primary node) —>  Input port  —> SitetoSite to NCM cluster instance  —> putfile —> S3upload .
Does my setup achieve the purpose?

Data movement from http listener to input port is not working and no errors reported.

Site-to-site admin document has limited information to understand.

Thanks,
-Chakri

From: Matthew Clarke <ma...@gmail.com>>
Reply-To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Date: Monday, October 12, 2015 at 4:49 PM
To: "users@nifi.apache.org<ma...@nifi.apache.org>" <us...@nifi.apache.org>>
Subject: Re: site to site setup - Remore instance not configured


For Site to Site properties the input socket host is optional. When it is configured it should be set the hostname or IP of the the system the NiFi instance is running on.  you must however configure an input socket port on every instance. This includes all nodes and the NCM.  If you cluster is configured to run securely (HTTPS), you should also have input secure set to true.  Make sure you have the ports you use open in the firewalls between systems.

On Oct 12, 2015 7:41 PM, "Chakrader Dewaragatla" <Ch...@lifelock.com>> wrote:
Hi – I have a use case to collect http post requests on a nifi-clustered setup. My cluster has three nodes.

Ncm —> Slave 1 (Primary)
         —> Slave 2.

I would like to setup a http listener on primary node and establish site to site connection to the same cluster for further processing data. So http payload receive as follows

  http post —> Slave 1 (ListenHttp )— > (Site-to-site) — > NCM (put file) and (S3 upload) (I assume this data process by two slaves nodes)

I have following error at site-to-site setup :  Remote instance Is not configured for site-to-site communications at this time.

I followed the admin doc to set the properties, as follows (on slaves).


# Site to Site properties

nifi.remote.input.socket.host=10.83.14.59    (NCM ip)

nifi.remote.input.socket.port=

nifi.remote.input.secure=false



Any thoughts?


Thanks,

-Chakri

________________________________
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________
________________________________
The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
________________________________