<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Opscenter cannot listen to public IP</title>
		<link>http://www.datastax.com/support-forums/topic/opscenter-cannot-listen-to-public-ip</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 17:57:05 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/opscenter-cannot-listen-to-public-ip" rel="self" type="application/rss+xml" />

		<item>
			<title>thobbs on "Opscenter cannot listen to public IP"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-cannot-listen-to-public-ip#post-7541</link>
			<pubDate>Fri, 16 Nov 2012 23:10:26 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">7541@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;You will need to use the bindable (private) IP in &#60;code&#62;opscenterd.conf&#60;/code&#62; and configure each agent to try to contact the public IP address.  To do that, on each node, edit &#60;code&#62;address.yaml&#60;/code&#62; (located at &#60;code&#62;/var/lib/opscenter-agent/conf/address.yaml&#60;/code&#62; if installed through the OpsCenter UI or from a package) and set the following:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;stomp_interface: &#38;lt;opscenterd_public_ip&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;where &#60;code&#62;&#38;lt;opscenter_public_ip&#38;gt;&#60;/code&#62; is the public IP address.&#60;/p&#62;
&#60;p&#62;I'm assuming your agents will also need to bind to a private IP address and have opscenterd contact them at a public IP address.  To do that, add the following to &#60;code&#62;address.yaml&#60;/code&#62;:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;agent_rpc_interface: &#38;lt;private_ip_address&#38;gt;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;agent_rpc_broadcast_address: &#38;lt;public_ip_address&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Hopefully that helps! Let me know if you hit any problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>txie on "Opscenter cannot listen to public IP"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-cannot-listen-to-public-ip#post-7389</link>
			<pubDate>Sun, 04 Nov 2012 05:42:13 +0000</pubDate>
			<dc:creator>txie</dc:creator>
			<guid isPermaLink="false">7389@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I set up a multi-DC cassandra nodes in HP Cloud. I have 4 nodes in AZ2, 4 nodes in AZ3, and set up a opscenter in AZ2. As one thread says, the interface in /etc/opscenter/opscenterd.conf should be reachable by other nodes, since I have nodes in another DC (AZ3), I set the public IP. I saw the error in opscenter.log. Apparently, it's not a successful bind.&#60;/p&#62;
&#60;p&#62;        twisted.internet.error.CannotListenError: Couldn't listen on 15.185.178.188:8888: [Errno 99] Cannot assign requested address.&#60;/p&#62;
&#60;p&#62;I also tried private IP. No agents on cassandra nodes are able to talk to it, even in the same DC. opscenter shows 0 of 8 agents found. I tried to install agents from opscenter, no luck either.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
