Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] pS-PT 3.2.2 -> 3.3 NetInstall upgrade question

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] pS-PT 3.2.2 -> 3.3 NetInstall upgrade question


Chronological Thread 
  • From: Kathy Benninger <>
  • To:
  • Subject: [perfsonar-user] pS-PT 3.2.2 -> 3.3 NetInstall upgrade question
  • Date: Fri, 09 Aug 2013 17:05:39 -0400

I will be upgrading several pS-PT nodes from NetInstall 3.2.2 to NetInstall 3.3. My plan, at least for now, is to preserve and restore the configuration files.

The upgrade instructions posted at:

http://code.google.com/p/perfsonar-ps/wiki/pSPerformanceToolkit33UpgradeGuidev

are giving me problems at Step 4. The instructions say:

4. Run the script giving it the name of the gzipped tarball you would like generated as the only parameter. In the command below, all backups will be stored in the home directory in a file call ps-toolkit-3.2-backup.tgz:

./ ps-toolkit-migrate-backup.sh ~/ps-toolkit-3.2-backup.tgz

Comments/questions:

1) Typo <space> in the above sample command line

2) I needed to run with sudo to get user passwords.

3) The script fails with:
Backing-up administrative info...Unable to copy /opt/perfsonar_ps/toolkit/etc/administrative_info

Is the grep -v and conditional test in ps-toolkit-migrate-backup.sh correct?

#get administrative info
printf "Backing-up administrative info..."
grep -v "site_project=pS-NPToolkit-" /opt/perfsonar_ps/toolkit/etc/administrative_info > $TEMP_BAK_DIR/opt/perfsonar_ps/toolkit/etc/administrative_info
if [ "$?" != "0" ]; then
echo "Unable to copy /opt/perfsonar_ps/toolkit/etc/administrative_info"
exit 1
fi
printf "[SUCCESS]"
echo ""

Thanks!
Kathy

--------------------------
Kathy Benninger
Pittsburgh Supercomputing Center



Archive powered by MHonArc 2.6.16.

Top of Page