Changes between Version 1 and Version 2 of ServiceMigration

Show
Ignore:
Timestamp:
11/06/13 14:02:19 (11 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ServiceMigration

    v1 v2  
    33 
    44* Use "mount" command to see what network partitions are mounted on the old machine, mount the same partitions on the new machine. 
    5 * Install QCG-Computing  [[InstallationGuide| QCG-Computing]] and [http://apps.man.poznan.pl/trac/qcg-notification/wiki/InstallingUsingRPMS |QCG-Notification] on the new machine. You do not need to fully configure QCG-Computing at the moment. 
    6 *  
     5* Make sure that you are able to submit batch jobs from the new machine. 
     6* Install QCG-Computing  [[InstallationGuide| QCG-Computing]] , [http://apps.man.poznan.pl/trac/qcg-notification/wiki/InstallingUsingRPMS QCG-Notification], and [[QCG-Accounting]] on the new machine. You do not need to fully configure QCG-Computing at the moment. 
     7* Copy/merge the following configuration files: 
     8** /etc/qcg/* 
     9** /opt/qcg/dependencies/etc/pbs_drmaa.conf 
     10** /etc/grid-security/grid-mapfile.local 
     11** /etc/xinetd.d/gsiftp 
     12** /etc/sysconfig/qcg-compd 
     13** /etc/lcmaps/lcmaps-qcg.db (only if configured with LCMAPS) 
     14* Migrate qcg-comp database (you do not have to migrate qcg-ntf database as it stores more ephemeral information) 
     15{{{ 
     16old-host# pg_dump -h localhost -U qcg-comp qcg-comp > qcg-comp.dump 
     17old-host#scp qcg-comp.dump newhost:~/ 
     18 
     19new-host# cat qcg-comp.dump | psql -h 127.0.0.1 -U qcg-comp qcg-comp 
     20 
     21}}} 
     22* Start and test services on the new machine 
     23* Announce downtime in GOCDB 
     24* Stop services on the old machine  
     25* Change IP Address/Hostname  of the new machine