Re: Opscenter help?

2014-04-01 Thread Patricia Gorla
- Were you running a mixed EL5/EL6 environment?
- What exact version of Cassandra were you upgrading from?

As for SE, you have to amass a bit of their magic points before you can
start to take more actions (tagging, down-voting, etc). Surprisingly good
at keeping down spam.
--
Patricia Gorla
@patriciagorla

Consultant
Apache Cassandra Consulting
http://www.thelastpickle.com http://thelastpickle.com


Re: Opscenter help?

2014-03-31 Thread Drew from Zhrodague
	I have to reply to myself, since there were no helpful responses. 
Perhaps these notes can help other people from pulling their hair out.


	When installing the datastax-agent on EL6, it is required to do a bunch 
of things to correct a bunch of stuff.


	[] yum install mx4j log4j datastax-agent - do not install 
opscenter-agent, this is a stale/old package it seems. Ignore log4j 
errors on starting the agent. You may have to download the 
datastax-agent and force an install via rpm - it will conflict with 
sudo, because of the existance of the dir, /etc/sudo.d/
	[] You may have to fix the UID/GIDs. Older packages set the cassandra 
UID/GID both to 217. Installing the agent conveniently mutilated them 
for us. I had to change the datastax-agent UID and GID back to 215, 
cassnandra UID/GID back to 217, and re-chown these directories:

() /var/log/cassandra
() /var/lib/cassandra
() /var/run/cassandra
() /var/log/datastax-agent
() /var/lib/datastax-agent
() /var/run/datastax-agent
	[] If you can't get datastax-agent to install via opscenter 
automatically, you'll need to configure it manually:

() yum install datastax-agent
() mkdir -p /var/lib/datastax-agent/conf/
		() echo stomp_interface: 10.113.143.189  
/var/lib/datastax-agent/conf/address.yaml

[] restart the datastax-agent, and it should now work.


Cassandra Upgrading notes:

	[] We upgraded packages from apache-cassandra11 to cassandra12 - the 
new RPM is not configured as a replacement for the old one.

[] Check your directory permissions as above, and in your data-storage 
dir.
	[] If you use a symlink or mount point to store your actual data on, it 
will be overwritten with an empty directory. Make sure to fix this, or 
you'll be in for a surprise.
	[] Make sure to install Sun Java - we use alternatives --config java, 
but have to do this to set the default JAVA_HOME: echo export 
JAVA_HOME=/usr/java/jdk1.7.0_51  /etc/profile.d/other-java.sh



	I wasn't able to properly tag my questions on StackExchange, which 
required me to have a reputation value above 300. I dunno why it brought 
up that red box stating that I needed to have over 300 points to add a 
new tag, those tags seem to be in there today.



On 3/12/14, 2:51 PM, Drew from Zhrodague wrote:

 I am having a hard time installing the Datastax Opscenter agents on
EL6 and EL5 hosts. Where is an appropriate place to ask for help?
Datastax has move their forums to Stack Exchange, which seems to be a
waste of time, as I don't have enough reputation points to properly tag
my questions.

 The agent installation seems to be broken:
 [] agent rpm conflicts with sudo
 [] install from opscenter does not work, even if manually
installing the rpm (requres --force, conflicts with sudo)
 [] error message re: log4j #noconf
 [] Could not find the main class: opsagent.opsagent. Program will
exit.
 [] No other (helpful/more in-depth) documentation exists





--

Drew from Zhrodague
post-apocalyptic ad-hoc industrialist
d...@zhrodague.net


Re: Opscenter help?

2014-03-13 Thread Drew from Zhrodague

On 3/13/14, 12:14 AM, Jack Krupansky wrote:

Please do use Stack Overflow - that is the appropriate forum for
OpsCenter support (unless you are a DataStax customer). Use the
OpsCenter tag:

http://stackoverflow.com/tags/opscenter/info


	Unfortunately, as a new user, I cannot use the opscenter tag. I don't 
have a good enough reputation yet.


Thanks for the pointer anyway.


--

Drew from Zhrodague
post-apocalyptic ad-hoc industrialist
d...@zhrodague.net


Re: Opscenter help?

2014-03-13 Thread Jack Krupansky
You don't need any reputation points to ask a new question with an existing 
tag - just type opscenter in the Tags box under the question. Otherwise, 
how would any new user ever be able to ask a question and have it tagged?!


-- Jack Krupansky

-Original Message- 
From: Drew from Zhrodague

Sent: Thursday, March 13, 2014 9:29 AM
To: user@cassandra.apache.org
Subject: Re: Opscenter help?

On 3/13/14, 12:14 AM, Jack Krupansky wrote:

Please do use Stack Overflow - that is the appropriate forum for
OpsCenter support (unless you are a DataStax customer). Use the
OpsCenter tag:

http://stackoverflow.com/tags/opscenter/info


Unfortunately, as a new user, I cannot use the opscenter tag. I don't
have a good enough reputation yet.

Thanks for the pointer anyway.


--

Drew from Zhrodague
post-apocalyptic ad-hoc industrialist
d...@zhrodague.net 



Re: Opscenter help?

2014-03-13 Thread Drew from Zhrodague

On 3/13/14, 9:49 AM, Jack Krupansky wrote:

You don't need any reputation points to ask a new question with an
existing tag - just type opscenter in the Tags box under the question.
Otherwise, how would any new user ever be able to ask a question and
have it tagged?!


	I dunno, I don't use SE often - it draws a red box and says I need 300 
points to be able to type 'opscenter' in the tags box.



--

Drew from Zhrodague
post-apocalyptic ad-hoc industrialist
d...@zhrodague.net


Re: Opscenter help?

2014-03-13 Thread Nick Bailey
I'm happy to help here as well :)

Can you give some more information? Specifically:

What exact versions of EL5 and EL6 have you tried?
What version of OpsCenter are you using?
What file/dependency is rpm/yum saying conflicts with sudo?

Also, you can find the OpsCenter documentation here
http://www.datastax.com/documentation/opscenter/4.1/index.html, although
this isn't an issue I've seen before.

-Nick


On Wed, Mar 12, 2014 at 1:51 PM, Drew from Zhrodague 
drewzhroda...@zhrodague.net wrote:

 I am having a hard time installing the Datastax Opscenter agents
 on EL6 and EL5 hosts. Where is an appropriate place to ask for help?
 Datastax has move their forums to Stack Exchange, which seems to be a waste
 of time, as I don't have enough reputation points to properly tag my
 questions.

 The agent installation seems to be broken:
 [] agent rpm conflicts with sudo
 [] install from opscenter does not work, even if manually
 installing the rpm (requres --force, conflicts with sudo)
 [] error message re: log4j #noconf
 [] Could not find the main class: opsagent.opsagent. Program will
 exit.
 [] No other (helpful/more in-depth) documentation exists


 --

 Drew from Zhrodague
 post-apocalyptic ad-hoc industrialist
 d...@zhrodague.net



Re: Opscenter help?

2014-03-13 Thread Rahul Menon
I have seen the conflicts with sudo error but that was with 3.X rpm on the
amazon ami, i was how ever able to install it from the tar ball. As Nick
has pointed out, the versions of OS and Opscenter will help in looking at
this.

Thanks
Rahul


On Thu, Mar 13, 2014 at 7:56 PM, Nick Bailey n...@datastax.com wrote:

 I'm happy to help here as well :)

 Can you give some more information? Specifically:

 What exact versions of EL5 and EL6 have you tried?
 What version of OpsCenter are you using?
 What file/dependency is rpm/yum saying conflicts with sudo?

 Also, you can find the OpsCenter documentation here
 http://www.datastax.com/documentation/opscenter/4.1/index.html, although
 this isn't an issue I've seen before.

 -Nick


 On Wed, Mar 12, 2014 at 1:51 PM, Drew from Zhrodague 
 drewzhroda...@zhrodague.net wrote:

 I am having a hard time installing the Datastax Opscenter agents
 on EL6 and EL5 hosts. Where is an appropriate place to ask for help?
 Datastax has move their forums to Stack Exchange, which seems to be a waste
 of time, as I don't have enough reputation points to properly tag my
 questions.

 The agent installation seems to be broken:
 [] agent rpm conflicts with sudo
 [] install from opscenter does not work, even if manually
 installing the rpm (requres --force, conflicts with sudo)
 [] error message re: log4j #noconf
 [] Could not find the main class: opsagent.opsagent. Program will
 exit.
 [] No other (helpful/more in-depth) documentation exists


 --

 Drew from Zhrodague
 post-apocalyptic ad-hoc industrialist
 d...@zhrodague.net





Opscenter help?

2014-03-12 Thread Drew from Zhrodague
	I am having a hard time installing the Datastax Opscenter agents on EL6 
and EL5 hosts. Where is an appropriate place to ask for help? Datastax 
has move their forums to Stack Exchange, which seems to be a waste of 
time, as I don't have enough reputation points to properly tag my questions.


The agent installation seems to be broken:
[] agent rpm conflicts with sudo
	[] install from opscenter does not work, even if manually installing 
the rpm (requres --force, conflicts with sudo)

[] error message re: log4j #noconf
[] Could not find the main class: opsagent.opsagent. Program will exit.
[] No other (helpful/more in-depth) documentation exists


--

Drew from Zhrodague
post-apocalyptic ad-hoc industrialist
d...@zhrodague.net