Re: Is it possible to delete system_auth keyspace.

2017-08-01 Thread kurt greaves
You should be able to create it yourself prior to enabling auth without
issues. alternatively you could just add an extra node with auth on, or
switch one node to have auth on then change th RF.


Re: Is it possible to delete system_auth keyspace.

2017-08-01 Thread Pranay akula
Thanks Jeff for your reply, yes i agree with what you said but the problem
is --- i am trying this in lower environment which had this system_auth
already created so when i alter keyspace to network topology and enabling
authentication its working great and easy  but in prod we don't have
system_auth to alter yet which i am expecting may cause trouble, so to
level the field and start form scratch i am trying to get rid of
system_auth which i couldn't.

I am trying to enable authentication with zero downtime  i am doing it on
apache 2.1

http://cassandra.apache.org/doc/latest/operating/security.html#authentication

Thanks
Pranay.

On Tue, Aug 1, 2017 at 12:50 PM, Jeff Jirsa  wrote:

> It'll be created on startup if it doesn't exist (that doesn't mean it'll
> be used, but it'll be created)
>
> --
> Jeff Jirsa
>
>
> > On Aug 1, 2017, at 9:43 AM, Pranay akula 
> wrote:
> >
> > I am trying to enable authentication in different scenarios, trying to
> delete system_auth keyspace and disabled authentication  removed keyspace
> from data directory and restart the cassandra service.
> >
> > Still when cassandra comes up i am seeing system_auth keyspace created
> again. Is there any way to delete it.
> >
> > I have tried dropping keyspace as well, which it's not allowing me to do.
> >
> >
> >
> >
> >
> >
> > Thanks
> > Pranay.
>
> -
> To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: user-h...@cassandra.apache.org
>
>


Re: Is it possible to delete system_auth keyspace.

2017-08-01 Thread Jeff Jirsa
It'll be created on startup if it doesn't exist (that doesn't mean it'll be 
used, but it'll be created)

-- 
Jeff Jirsa


> On Aug 1, 2017, at 9:43 AM, Pranay akula  wrote:
> 
> I am trying to enable authentication in different scenarios, trying to  
> delete system_auth keyspace and disabled authentication  removed keyspace 
> from data directory and restart the cassandra service.
> 
> Still when cassandra comes up i am seeing system_auth keyspace created again. 
> Is there any way to delete it.
> 
> I have tried dropping keyspace as well, which it's not allowing me to do.
> 
> 
> 
> 
> 
> 
> Thanks
> Pranay.

-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Is it possible to delete system_auth keyspace.

2017-08-01 Thread Pranay akula
I am trying to enable authentication in different scenarios, trying to
 delete system_auth keyspace and disabled authentication  removed keyspace
from data directory and restart the cassandra service.

Still when cassandra comes up i am seeing system_auth keyspace created
again. Is there any way to delete it.

I have tried dropping keyspace as well, which it's not allowing me to do.






Thanks
Pranay.