Differences between revisions 13 and 14
Deletions are marked like this. Additions are marked like this.
Line 133: Line 133:


== ZG-1 Data Migration ==

 * System Data has been migration from zg-1 to zg-2.
 * The data is located at: '''/v01/zg-1.softxs.ch/home'''
 * The following command were used:

  {{{
cd /v01/zg-1.softxs.ch/home
mkdir coya cardenillo drytech lagarfoss ndd ppms sisimiut ilulissat mre kejv idp hcmc2

# -- Non production systems

rsync -a zg-1.softxs.ch:/home/coya/ /v01/zg-1.softxs.ch/home/coya/ # 2.5 GB
rsync -a zg-1.softxs.ch:/home/cardenillo/ /v01/zg-1.softxs.ch/home/cardenillo/ # 58 GB
rsync -a zg-1.softxs.ch:/home/drytech/ /v01/zg-1.softxs.ch/home/drytech/ # 447 MB
rsync -a zg-1.softxs.ch:/home/ndd/ /v01/zg-1.softxs.ch/home/ndd # 2.2 GB
rsync -a zg-1.softxs.ch:/home/ppms/ /v01/zg-1.softxs.ch/home/ppms/ # 3.2 GB
rsync -a zg-1.softxs.ch:/home/mre/ /v01/zg-1.softxs.ch/home/mre/ # 5.3 GB
rsync -a zg-1.softxs.ch:/home/idp/ /v01/zg-1.softxs.ch/home/idp/ # 330 GB

# -- Archive systems

rsync -a zg-1.softxs.ch:/home/lagarfoss/ /v01/zg-1.softxs.ch/home/lagarfoss/ # 1.8 GB
rsync -a zg-1.softxs.ch:/home/sisimiut/ /v01/zg-1.softxs.ch/home/sisimiut/ # 3.5 GB
rsync -a zg-1.softxs.ch:/home/ilulissat/ /v01/zg-1.softxs.ch/home/ilulissat/ # 4.6 GB
rsync -a zg-1.softxs.ch:/home/kejv/ /v01/zg-1.softxs.ch/home/kejv/ # 35 GB

# -- Production systems

rsync -a zg-1.softxs.ch:/home/hcmc2/ /v01/zg-1.softxs.ch/home/hcmc2/ # 145 GB
  }}}

Migration of the Servers ZG-1 and ZG-3 to ZG-2

V2VirtualServers | EmailConfiguration

ZG-3 Systems

Migration Checklist

For systems that will be migrated to zg-2:

  1. Pre-migration
    1. VM ready
    2. Puppet config for virtual host
    3. Puppet config for App, including data and backup areas
    4. Puppet config for domain name migration
    5. V2 deployment update
  2. Migrate domain name
  3. Setup cronjobs
  4. Test application
  5. Verify backup cronjobs OK
  6. Move
  7. Verify backups working

Retirement Checklist

For systems that will be retired:

  1. Make a final backup and copy to backup server
    1. Application
    2. Data (files)
    3. Database
  2. Remove config from puppet
  3. Remove config from v2deploy

ZG-3 Systems to Migrate

The systems must be moved domain by domain or VM by VM to allow to change the DNS correctly.

VM

Domain

Application

Migrate

Status

Last Used / Notes

blog

blog.softxs.ch

Yes

Done

Existing VM migrated

dns

No

n/a

Never used

intern

intern.softxs.ch

tracking

Yes

open

scm

cvs.softxs.ch

Yes

open

Migrate entire VM?

git.softxs.ch

Yes

open

Migrate entire VM?

smtp1

smtp1.softxs.ch

No

n/a

To be replace by smtp2 on zg-2

v0402

poyry.softxs.ch

umaoya

Yes

open

poyry.works-organiser.com

stadelhofen

Yes

open

Currently inactive

tiwag.works-organiser.com

th

No

n/a

2015-09-02

v3.softxs.ch

sso

Yes

open

Production MAPS

v0403

alarp.works-organiser.com

demo

No

n/a

2016-01-04 old, 1 tag

kahramaa

Yes

open

2016-07-19 Migrate to alarp.ch?

khalifa

Yes

open

2016-05-20 Migrate to alarp.ch?

library

No

n/a

2015-12-04 old V2

test

No

n/a

2016-05-11 old

tn

No

n/a

training

Yes

open

2016-09-05

apps.alarp.ch

aspire

Yes

open

Postgres!

qrail

Yes

open

Postgres!

urt

Yes

open

Postgres!

apps.works-organiser.com

files-app

No

n/a

2015-11-03

blanco-ad.works-organiser.com

admin

Yes

open

empty

cau.works-organiser.com

cau

Yes

open

2016-12-07

gcz.works-organiser.com

carhuac

Yes

open

test

Yes

open

gibb.works-organiser.com

j29061

No

n/a

2015-12-04

sicc

Yes

open

2017-02-20

ita-wg.org

library

Yes

open

2016-07-06

tiwag.works-organiser.com

th

No

n/a

2015-09-02

trial.works-organiser.com

indehk

No

n/a

not used

v2

v2.softxs.ch

jk

Yes

Done

Migrate entire VM

jk1

Yes

Done

jk2

Yes

Done

jk3

Yes

Done

jk4

Yes

Done

jk5

Yes

Done

tn

Yes

Done

tn1

Yes

Done

maps

Yes

Done

vmt2

vmt2vh03.softxs.ch

test

No

n/a

VM not running

vmt3

vmt3vh03.softxs.ch

tn1

No

n/a

VM not running

vmt4

No

n/a

VM not created

vmt5

vmt5vh03.softxs.ch

test

No

n/a

web

demo.softxs.ch

hydro

Yes

open

Migrate entire VM?

pms

Yes

open

rfid

Yes

open

tasks

Yes

open

v2p0

Yes

open

ZG-3 Migration Questions

  1. What to do with systems that cannot be deployed with Capistrano? E.g. web, blog and scm

    • Suggestion: migrate the existing VM and upgrade later, if necessary
  2. What to do with old V2, MAPS and RFID systems?

    • Suggestion: migrate the existing (running) release. E.g. do not use Capistrano to re-deploy

ZG-1 Systems

  • TODO

System

Domain

Application

Version

Migrate

VM

Status

Last Used / Notes

cardenillo

cardenillo.softxs.ch

prod

V11.6

Yes

dmold

open

home dir migrated

test

V11.6

Yes

dmold

open

coya

coya.softxs.ch

prod

V11.3

Yes

dmold

open

home dir migrated

test

V11.3

Yes

dmold

open

drawmgt

No

n/a

n/a

Old demo systems

drytech

drytch.softxs.ch

prod

V11.6

Yes

dmold

open

home dir migrated

test

V11.6

Yes

dmold

open

hcmc2

hcmc2.softxs.ch

prod

V14.0

Yes

poyry

open

Production system

test

V14.0

Yes

poyry

open

Production system

idp

idp.softxs.ch

prod

V11.6

?

idp

home dir migrated

test

V11.6

?

idp

ilulissat

ilulissat.softxs.ch

prod

V11.3

Yes

verkis

open

Archive system

test

V11.3

Yes

verkis

open

Archive system

inca

incawatt.com

n/a

n/a

open

Setup placeholder index page

incawatt.ch

n/a

n/a

open

Setup placeholder index page

incaplan.com

n/a

n/a

open

Setup placeholder index page

incaplan.ch

n/a

n/a

open

Setup placeholder index page

kejv

kejv.softxs.ch

arch

V11.3-arch

Yes

verkis

open

Archive system

lagarfoss

lagarfoss.softxs.ch

prod

v11.3

Yes

verkis

open

Archive system

test

V11.3

Yes

verkis

open

Archive system

linthal

No

n/a

n/a

Replaced by Axpo hosted system

mre

mre.softxs.ch

test

V11.3

Yes

dmold

open

home dir migrated

ndd

ndd.softxs.ch

prod

V11.3

Yes

dmold

open

home dir migrated

test

V11.3

Yes

dmold

open

ppms

ppms.softxs.ch

prod

V11.6

Yes

dmold

open

home dir migrated

test

V11.6

Yes

dmold

open

sisimiut

sisimiut.softxs.ch

prod

V11.3

Yes

verkis

open

Archive system

test

V11.3

Yes

verkis

open

Archive system

www

No

n/a

ZG-1 Data Migration

  • System Data has been migration from zg-1 to zg-2.
  • The data is located at: /v01/zg-1.softxs.ch/home

  • The following command were used:
    • cd /v01/zg-1.softxs.ch/home
      mkdir coya cardenillo drytech lagarfoss ndd ppms sisimiut ilulissat mre kejv idp hcmc2
      
      # -- Non production systems
      
      rsync -a zg-1.softxs.ch:/home/coya/        /v01/zg-1.softxs.ch/home/coya/        # 2.5 GB
      rsync -a zg-1.softxs.ch:/home/cardenillo/  /v01/zg-1.softxs.ch/home/cardenillo/  # 58 GB
      rsync -a zg-1.softxs.ch:/home/drytech/     /v01/zg-1.softxs.ch/home/drytech/     # 447 MB
      rsync -a zg-1.softxs.ch:/home/ndd/         /v01/zg-1.softxs.ch/home/ndd          # 2.2 GB
      rsync -a zg-1.softxs.ch:/home/ppms/        /v01/zg-1.softxs.ch/home/ppms/        # 3.2 GB
      rsync -a zg-1.softxs.ch:/home/mre/         /v01/zg-1.softxs.ch/home/mre/         # 5.3 GB
      rsync -a zg-1.softxs.ch:/home/idp/         /v01/zg-1.softxs.ch/home/idp/         # 330 GB
      
      # -- Archive systems
      
      rsync -a zg-1.softxs.ch:/home/lagarfoss/   /v01/zg-1.softxs.ch/home/lagarfoss/   # 1.8 GB
      rsync -a zg-1.softxs.ch:/home/sisimiut/    /v01/zg-1.softxs.ch/home/sisimiut/    # 3.5 GB
      rsync -a zg-1.softxs.ch:/home/ilulissat/   /v01/zg-1.softxs.ch/home/ilulissat/   # 4.6 GB
      rsync -a zg-1.softxs.ch:/home/kejv/        /v01/zg-1.softxs.ch/home/kejv/        # 35 GB
      
      # -- Production systems
      
      rsync -a zg-1.softxs.ch:/home/hcmc2/       /v01/zg-1.softxs.ch/home/hcmc2/       # 145 GB

MigrationToZg2 (last edited 2017-06-13 09:57:09 by TiborNagy)

Copyright 2008-2014, SoftXS GmbH, Switzerland