Changes between Version 15 and Version 16 of UpdateInstructions

Show
Ignore:
Timestamp:
04/25/12 10:08:09 (12 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UpdateInstructions

    v15 v16  
    55== Update to 2.6.x == 
    66In version 2.6.x of QCG-Notification the database schema has changed so the database used by the installed service must be updated as well. Note that all data stored in the database will be removed. 
    7 1. Turn off the QCG-Notification service (e.g. /sbin/servide qcg-ntfd stop). 
    8 2. Update the service in a typical fashion (e.g. rpm -U qcg-ntf-2.6.2-2.x86_64.rpm or yum update qcg-ntf). 
    9 3. Update the QCG-Notifcation database. For installation from RPMs you can use the script installed in /opt/plgrid/qcg/share/qcg-ntf/qcg-ntf-update.sh. Alternatively you can change the database manually with the SQL script: /opt/plgrid/qcg/share/qcg-ntf/qcg-ntf-psql.sql. 
     71. Login as root. 
     82. Turn off the QCG-Notification service (e.g. /sbin/servide qcg-ntfd stop). 
     93. Update the service in a typical fashion (e.g. rpm -U qcg-ntf-2.6.2-2.x86_64.rpm or yum update qcg-ntf). 
     104. Update the QCG-Notifcation database. For installation from RPMs you can use the script installed in /opt/plgrid/qcg/share/qcg-ntf/qcg-ntf-update.sh. Alternatively you can change the database manually with the SQL script: /opt/plgrid/qcg/share/qcg-ntf/qcg-ntf-psql.sql. 
     115. Re-run the QCG-Notification service (e.g. /sbin/service qcg-ntfd start). 
     12 
     13=== Example === 
     14{{{ 
     15#!div style="font-size: 90%" 
     16{{{#!sh 
     17# sudo bash 
     18$ /sbin/service qcg-ntfd stop 
     19$ yum update qcg-ntf 
     20$ /opt/plgrid/qcg/share/qcg-ntf/tools/qcg-ntf-update.sh  
     21Welcome to qcg-ntf update script! 
     22 
     23This script will guide you through process of updating QCG Notification service.  
     24You have to answer few questions regarding parameters of your database.  
     25If you are not sure check the values in QCG-Notification configuration file.  
     26 
     27Use local PostgreSQL server? (y/n) [y]:  
     28Database [qcg-ntf]:  
     29User [qcg-ntf]:  
     30Password [qcg-ntf]:  
     31 
     32Checking for system user qcg-ntf...OK  
     33 
     34Performing installation 
     35   
     36Schema update 
     37 * Creating database schema...OK 
     38 
     39$ /sbin/service qcg-ntfd start 
     40}}} 
     41}}} 
    10424. Re-run the QCG-Notification service (e.g. /sbin/service qcg-ntfd start).