Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

SLAC install has some differences

  • all files kept in AFS
  • centralised configuration
  • mount of disk partition for data
  • move of mysql database storage to separate partition
  • use of apache redirect for calls

AFS

  • symlinked /opt/perfsonar to /afs/slac.stanford.edu/package/perfSONAR-PS/dist/
  • config files kept in /afs/slac.stanford.edu/package/perfSONAR-PS/etc/
    • each file is named to appropriate service
  • customisations on init.d files to reflect above
    • install file located at /afs/slac.stanford.edu/package/perfSONAR-PS/etc/init.d/
    • will delete services from install and put in new ones with pointers to new config files
    • add's chkconfig stuff

Partitions

  • largest disk partition mounted at /var/lib/perfsonar for data
  • mysql
    • mv /var/lib/mysql /var/lib/perfsonar/
    • sudo ln -sf /var/lib/perfsonar/mysql/ mysql

Log Rotate

Code Block
/etc/logrotate.d/perfsonar 
/var/log/perfsonar/perfsonar_services.log {
    missingok
    notifempty
    sharedscripts
    postrotate
    endscript
}

...

Code Block
$ sudo cp -rpv /var/lib/mysql /var/lib/perfsonar/
$ sudo chown -R mysql:perfsonar /var/lib/perfsonar/mysql/
Code Block
title/etc/my.cnf

[mysqld]
datadir=/var/lib/perfsonar/mysql
socket=/var/lib/perfsonar/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
tmpdir=/tmp/

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

...