Changes between Version 8 and Version 9 of MigrationTo30

Show
Ignore:
Timestamp:
05/04/13 10:37:29 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MigrationTo30

    v8 v9  
    2929= Update configuration file = 
    3030Upon update the old configuration files should be stored as `.rpmsave files`. Instead of configuring the service from scratch its easier to copy old configuration files and modify just paths in order to adjust to the new directory layout: 
     31* archive and copy 
    3132{{{ 
    3233#save dist file for reference 
     
    3940cp /opt/plgrid/qcg/etc/qcg-comp/sysconfig/qcg-compd.rpmsave /etc/sysconfig/qcg/qcg-compd  
    4041}}} 
     42* modify qcg-comp**d**.xml: 
     43 * replace: 
     44{{{ 
     45                <sm:ModuleManager> 
     46                        <sm:Directory>/opt/plgrid/qcg/lib/qcg-core/modules/</sm:Directory> 
     47                        <sm:Directory>/opt/plgrid/qcg/lib/qcg-comp/modules/</sm:Directory> 
     48                </sm:ModuleManager> 
     49... 
     50                        <sm:Logger> 
     51                                <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-compd.log</sm:Filename> 
     52                                <sm:Level>INFO</sm:Level> 
     53                        </sm:Logger> 
     54... 
     55                                                                <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
     56                                                                                <sm:X509CertFile>/opt/plgrid/qcg/etc/qcg-comp/certs/qcgcert.pem</sm:X509CertFile> 
     57                                                                                <sm:X509KeyFile>/opt/plgrid/qcg/etc/qcg-comp/certs/qcgkey.pem</sm:X509KeyFile> 
     58                                                                </sm:Module> 
     59}}} 
     60with: 
     61{{{ 
     62                <sm:ModuleManager> 
     63                        <sm:Directory>/usr/lib64/qcg-core/modules/</sm:Directory> 
     64                        <sm:Directory>/usr/lib64/qcg-comp/modules/</sm:Directory> 
     65                </sm:ModuleManager> 
     66... 
     67                        <sm:Logger> 
     68                                <sm:Filename>/var/log/qcg-comp/qcg-compd.log</sm:Filename> 
     69                                <sm:Level>INFO</sm:Level> 
     70                        </sm:Logger> 
     71... 
     72                                                                <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
     73                                                                                <sm:X509CertFile>/etc/grid-security/hostcert.pem</sm:X509CertFile> 
     74                                                                                <sm:X509KeyFile>/etc/grid-security/hostcert.pem</sm:X509KeyFile> 
     75                                                                </sm:Module> 
     76... 
     77}}} 
     78and replace all occurrences of  `/opt/qcg/lib/qcg-comp/modules/python/` with `/usr/lib64/qcg-comp/modules/python`. 
     79