Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] CentOS 7 upgrade issue - backup is failing

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] CentOS 7 upgrade issue - backup is failing


Chronological Thread 
  • From: Antoine Delvaux <>
  • To:
  • Cc:
  • Subject: Re: [perfsonar-user] CentOS 7 upgrade issue - backup is failing
  • Date: Wed, 19 Dec 2018 11:33:05 +0000
  • Ironport-phdr: 9a23:NxWQhhBF+veIqUTkG2azUyQJP3N1i/DPJgcQr6AfoPdwSPX4rsbcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNz03/33YhcJtgqxUogyvpxJ4zYPPeo6ZKP9+c7ndfd8GR2dMWNtaWSxbAoO7aosCF/YMPeBEr4n6plsOqwWxDhSiCuzxzj9ImGX53bA10u88FgzJxgogH84JsHTVqtX6Kr0eXv2rw6nM0zXMde5W2Djm5YjNaB8hp+uAXap3ccvQz0kgDQXFgk+IqYzhJj6Y0PkGvWac7+plT+2vimgnphlwojip2scjlJPJhoQLxVDY6yl12pg6KsClSEJjfNKoDplduzuGO4dsXs8uWXxktSAnwbMFoZ62ZDYGxIg7yxLCbvGKcJSE7xHmWeuUPDt1hnxodbeiixqv6USs1+3xW8au3FtIoCdJiMTAu3IC2hDJ9MSKRf9w80G80jiVzQ/T8PtLIUUsmKrbNZEhxrkwm4IIvkvdBC/2hUH2g7WMekUh4Oeo7f7rYq3hpp6dMY97kAf+Pr42msy7Geg4Mw4OUHaH+emkyrHv4VH1TKhPg/A1jqXUs5XXKMEGqqO7DQJY15sv5wunAzejytsYnH0HLFxfeBKAiojkI0vBIPbkDfe4glSslilky+rbMbL/BpXNMGLMkKrufLtm7k5T0gwzwcpH55JTC7ABJuj8WknruNzACh81Kxa0zPr/CNVhyoMeXnqCAreHP6PIv1+I/eUvI++Wa48PoTr9NuMl6OD0jXIinV8dfLKp3YcMaHymBPhmIkOZYWbyjdcbF2cFoBY+QPLwhFKcTDFTeiX6YqQn+ztuCJ66FZyRAcepgaedx2G6GIFbfGZLFgrKHHv1MJ6VXu8FLzmTLclmnDJDTbW7RZQm0xi08RLhxqA0Eu2B+CQduIml0tFo6vf7nhgp+Hp5A9nO/XuKSjRdmH8PRjk7lIxypVJ010fLhaF+n/tZE9EV6/5NTA4nJbbZxuo8E9fgXAvHOM+NHgX1Cu66CC08G4pii+QFZFxwTo2v

Hello James,

Can you check cassandra is actually running before launching the migrate script?  This can be done with a simple `service cassandra status` or by checking the list of running processes.

If not, try to restart it (`service cassandra restart`) and run the script again.

If cassandra is not able to start, it would be good to have a look at the log files in /var/log/cassandra to see what are the errors.

Let us know how it goes,

Antoine.


Le 17 déc. 2018 à 22:12, Jim Nauer CWRU <> a écrit :

I'm trying to get rid of an old CentOS 6 / PS 4.0.2 setup & get it up to the supported CentOS 7 / PS 4.1.x configuration...but the very first step is failing, the backup of the old system.

I've googled around & found one reference to this problem back in the PS 4.0-RC1 timeframe -- but no answer.

When I run "/usr/lib/perfsonar/scripts/ps-migrate-backup.sh --data ~/ps-backup.tgz", I get an error on snapshotting the cassandra database:

# /usr/lib/perfsonar/scripts/ps-migrate-backup.sh --data ~/ps-backup.tgz
Backing-up users...[SUCCESS]
Backing-up groups...[SUCCESS]
Backing-up passwords...[SUCCESS]
Backing-up perfsonar configuration...[SUCCESS]
Backing-up bwctl-server configuration...[SUCCESS]
Backing-up owamp-server configuration...[SUCCESS]
Backing-up NTP configuration...[SUCCESS]
Backing-up cassandra data for esmond...Unable to snapshot cassandra database

If I run the first "nodetool" comand from the backup script, I get:
# nodetool clearsnapshot esmond -t esmond_snapshot
Failed to connect to '127.0.0.1:7199': Connection refused (Connection refused)
#

This is not entirely surprising, since there is no process listening on port 7199 (on any interface - 127.0.0.1, 0.0.0.0, or the node's actual IP address).

The backup script _does_ work with the '--data' flag omitted.

So...why is cassandra (apparently) not configured the way the toolkit expects it to be, and how can I fix it?

Thanks,
  --Jim

P.S. node is running CentOS 6 + PS 4.0.2 - but was originally installed as a NetInstall back in the PS 3.0.x days, I think (updated continually via yum-cron since then).  

--
James A. Nauer                   | "I shall not yield one whit of  maturity,
Engineer III, Enterprise Systems | not grace, not respectability, to  the
University Technology, [U]Tech   | passing of time. I declare that I  shall
Case Western Reserve University  | forever be, if not a child,  certainly
(216) 368-MACS  (368-6227)       | childish"  --Kennet Shardik
USPA D-25604

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user




Archive powered by MHonArc 2.6.19.

Top of Page