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: Jim Nauer CWRU <>
  • To: Antoine Delvaux <>
  • Cc: Jim Nauer <>,
  • Subject: Re: [perfsonar-user] CentOS 7 upgrade issue - backup is failing
  • Date: Wed, 19 Dec 2018 12:16:18 -0500
  • Ironport-phdr: 9a23:TiWEAx+FCMUpy/9uRHKM819IXTAuvvDOBiVQ1KB21e0cTK2v8tzYMVDF4r011RmVBdWds6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+557ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMNboRr4oRzut86ZrSAfpiCgZMT457HrXgdF0gK5CvR6tuwBzz4vSbYqINvRxY7ndcMsVSmpPXMlRTSxPDI2/YYUSEeQOIf1VoJPhq1YUtxayGRWgCeHpxzRVhnH2x6o60+E5HA/C3QwgGs8FvmzOo9XoKqgSS/2+wbfIwjvfYfxdxDDw6IrSfRAnr/yBRq5/ftDKyUYxDQ/KkEifqZH8Mj6Ty+8DvW+b7+96WuKujW4qswBxoj6zxsgykInJgJwaykza+Slj3ok6OMC4RFZjYdG6CptQuTqaN4xwQsw4WWFkoiA6xaMauZKjYSQG1pYqywTDZ/Cdb4SE+A/vWeCMKjl7nHJoYK+ziwi2/ES61OHwSNO43EtWoidLiNXAqG4B2h7L5sSZVvdw+l2t1DWP2gzJ9+1IP0M5mbDZJpI8xLM7i4Advl7ZHiDsnUX7lK+WeVsg+uiv8+nnZ63mpoGBO4NtlA3yLrkil8ylDeskKAcORHaU9f6i27L+4E31WLRKjvsonanFqJ3WONoXq6qjDwNLzIov8QuzAyuo3dgCg3ULMlBIdAqCj4fzOlHOJP74De24g1SpiDprxerJPrvvD5jWMnfMiqzhcqhn50FC1QUz0MhT54hIBbEZPPLzRkjxucTADhAnKQy0zf3nCNJ71owEQ2KDG7KZMLjMvl+S/e8vJ+iMZJQJuDbmNfQp/f/ujXklmVADZ6mp24UYaGymEvh8PUqWfGfs0Z88F3wXtF8+UPDykw/FFjpSfGqpGaM6+jwhDo+6V8HOSp3qm62ExC78BZxZYGdIBBeUHG3mbIKCUu1JdTmfOJxdlWktU6SmSoksnT2jsBHz1qoveuPS5ioZs5+l2NVx+eTOhTk3/DoyF8OP1WiLCXlwyDAySicyzZx49E50z1qYl65xnvFCPdda/P4PXwsnZrDGyOkvKdH3EiTIY9qTAH2ZeOjuVTM4SIkZyNYVbgBwF8j03UOL5DajH7JAz+/DP5cz6K+JmiGpf8s=

Antoine--

The previous response from Soh Suzuki was actually correct - cassandra was up & running (I could see it listening in 3 different TCP ports, just not port 7199 which 'nodetool' wants).  The real issue seems to be that the cassandra environment is not (was not?) configured to enable 'nodetool' by default, so I had to follow the "preparing your environment" steps on the page: http://docs.perfsonar.net/multi_ma_backups.html. After that, the instructions on the "Migration from CentOS 6 to CentOS 7" page (http://docs.perfsonar.net/install_migrate_centos7.html) work.

Could you please ask the documentation team to update the "Migrate" page either adding the prerequisite steps, or add a link to the "backing-up and restoring data" section of the "Managing Measurement Archive Data" page?

(and no, we never have done backups of our perfsonar node(s) - the config & historical data has just not been deemed sufficiently valuable to bother).

Thanks,
  --Jim



On Wed, Dec 19, 2018 at 6:34 AM Antoine Delvaux <> wrote:
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



--
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




Archive powered by MHonArc 2.6.19.

Top of Page