Move UFP-UV to BladeCenter

From UFP-UV Sakai Wiki

Jump to: navigation, search

Contents


Offline changes (pre-switch)

  • Stop services: tomcat-a, tomcat-c, tomcat-d, mysql
  • RSync (after synchronization completes):
    • Comment/disable in /etc/rsyncd.conf
    • Remove ssh key from mysql home
  • MySQL:
    • Replace DB & BinLog with production data (re-link /servicos/mysql and /servicos/mysql_bin_log)
    • Start mysql service
    • Run sql (~15 min):
CREATE INDEX SAKAI_PERSON_SURNAME_I ON SAKAI_PERSON_T (SURNAME);
CREATE INDEX SAKAI_PERSON_ferpaEnabled_I ON SAKAI_PERSON_T (ferpaEnabled);
CREATE INDEX SAKAI_PERSON_GIVEN_NAME_I ON SAKAI_PERSON_T (GIVEN_NAME);
  • httpd:
    • Review ServerName in /etc/httpd/conf/httpd.conf
    • Review ServerName and RedirectMatch in /etc/httpd/conf/extra/httpd-vhosts.conf
    • Review ServerName in /etc/httpd/conf/extra/httpd-ssl.conf
    • Review RedirectMatch(s) in /etc/httpd/conf/extra/httpd-locations.conf
  • /etc/hosts:
    • Review IP address (check that matches elearning /etc/hosts)
  • Munin: Switch to "update yes" on host tree: /etc/munin/munin.conf
  • Sakai:
    • Copy from sakai/, and review file owner:
      • tar -zcvf sakai_data-2.tgz searchsegments searchjournal melete jforum samigo
    • Copy from sakai-a/, and review file owner:
      • tar -zcvf sakai-a_data-2.tgz searchindex indexwork
    • Review sakai/sakai.properties:
      • Review: serverUrl, serverName, bodyPath, testMode@org.sakaiproject.email.api.EmailService
      • bodyPath@org.sakaiproject.content.api.ContentHostingService = ${sakai.home}/content-hosting




Offline changes (switch)

* Auto-start: Turn off service auto start for mysql, httpd, and tomcat-a

  • Change IP Address and hostname, reboot
  • Check everything is OK
  • Auto-start: Turn ON service auto start for mysql, httpd, and tomcat-a




Online changes (post-switch)

  • Munin
    • Review Munin Plugins settings: /etc/munin/plugin-conf.d/munin-node
    • Copy old munin stats to /servicos/munin/old/up-to-2010-08/
  • Cleanup
    • Remove old CHS files from elearning-b
  • Sakai

** Rebuild search index (???)

    • Review scripts configuration:
      • sakai-sync
      • CHS archive
      • Prepare elearning-b
    • Review /etc/crontab
Personal tools