Migration of the Servers ZG-1 and ZG-3 to ZG-2
V2VirtualServers | EmailConfiguration
Contents
ZG-3 Systems
Migration Checklist
For systems that will be migrated to zg-2:
- Pre-migration
- VM ready
- Puppet config for virtual host
- Puppet config for App, including data and backup areas
- Puppet config for domain name migration
- V2 deployment update
- Migrate domain name
- Setup cronjobs
- Test application
- Verify backup cronjobs OK
- Move
- Verify backups working
Retirement Checklist
For systems that will be retired:
- Make a final backup and copy to backup server
- Application
- Data (files)
- Database
- Remove config from puppet
- Remove config from v2deploy
ZG-3 Systems to Migrate
The systems must be moved domain-by-domain or VM-by-VM to allow to the DNS to be updated without it affecting other active systems.
zg-3 VM |
Domain |
Application |
Migrate |
Status |
zg-2 VM |
Last Used / Notes |
blog |
blog.softxs.ch |
|
Yes |
Done |
blog |
Existing VM migrated |
dns |
|
|
No |
n/a |
n/a |
Never used |
intern |
intern.softxs.ch |
tracking |
Yes |
Done |
intern |
Migrated to new VM |
scm |
cvs.softxs.ch |
|
Yes |
Done |
scm |
Existing VM migrated |
|
git.softxs.ch |
|
Yes |
Done |
scm |
Existing VM migrated |
smtp1 |
smtp1.softxs.ch |
|
No |
n/a |
smtp1 |
To be replaced by smtp2 on zg-2 |
v0402 |
poyry.softxs.ch |
umaoya |
Yes |
open |
? |
Production system |
|
poyry.works-organiser.com |
stadelhofen |
Yes |
open |
? |
Currently inactive |
|
tiwag.works-organiser.com |
th |
No |
n/a |
n/a |
2015-09-02 |
|
v3.softxs.ch |
sso |
Yes |
open |
? |
Production MAPS |
v0403 |
alarp.works-organiser.com |
demo |
No |
n/a |
n/a |
2016-01-04 old, 1 tag |
|
|
kahramaa |
Yes |
Done |
alarp |
2016-07-19 Migrate to alarp.ch |
|
|
khalifa |
Yes |
Done |
alarp |
2016-05-20 Migrate to alarp.ch |
|
|
library |
No |
n/a |
n/a |
2015-12-04 old V2 |
|
|
test |
No |
n/a |
n/a |
2016-05-11 old |
|
|
tn |
No |
n/a |
n/a |
|
|
|
training |
Yes |
Done |
? |
2016-09-05 |
|
apps.alarp.ch |
aspire |
Yes |
Done |
alarp |
Postgres! |
|
|
qrail |
Yes |
Done |
alarp |
Postgres! |
|
|
urt |
Yes |
Done |
alarp |
Postgres! |
|
apps.works-organiser.com |
files-app |
No |
n/a |
n/a |
2015-11-03 |
|
blanco-ad.works-organiser.com |
admin |
Yes |
open |
? |
empty |
|
cau.works-organiser.com |
ipmen |
Yes |
open |
? |
2016-12-07 |
|
gcz.works-organiser.com |
carhuac |
Yes |
open |
? |
Production system |
|
|
test |
Yes |
open |
? |
|
|
gibb.works-organiser.com |
j29061 |
No |
n/a |
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 |
n/a |
2015-09-02 |
|
trial.works-organiser.com |
indehk |
No |
n/a |
n/a |
not used |
v2 |
v2.softxs.ch |
jk |
Yes |
Done |
v2 |
Existing VM migrated |
|
|
jk1 |
Yes |
Done |
v2 |
|
|
|
jk2 |
Yes |
Done |
v2 |
|
|
|
jk3 |
Yes |
Done |
v2 |
|
|
|
jk4 |
Yes |
Done |
v2 |
|
|
|
jk5 |
Yes |
Done |
v2 |
|
|
|
tn |
Yes |
Done |
v2 |
|
|
|
tn1 |
Yes |
Done |
v2 |
|
|
|
maps |
Yes |
Done |
v2 |
|
vmt2 |
vmt2vh03.softxs.ch |
test |
No |
n/a |
n/a |
Test VM |
vmt3 |
vmt3vh03.softxs.ch |
tn1 |
No |
n/a |
n/a |
Test VM |
vmt4 |
|
|
No |
n/a |
n/a |
Test VM |
vmt5 |
vmt5vh03.softxs.ch |
test |
No |
n/a |
n/a |
Test VM |
web |
demo.softxs.ch |
hydro |
Yes |
Done |
web |
Existing VM migrated |
|
|
pms |
Yes |
Done |
web |
|
|
|
rfid |
Yes |
Done |
web |
|
|
|
tasks |
Yes |
Done |
web |
|
|
|
v2p0 |
Yes |
Done |
web |
|
ZG-3 Migration Questions
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
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 |
zg-2 VM |
Status |
Last Used / Notes |
cardenillo |
cardenillo.softxs.ch |
prod |
V11.6 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.6 |
Yes |
dmold |
Done |
Migrated |
coya |
coya.softxs.ch |
prod |
V11.3 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.3 |
Yes |
dmold |
Done |
Migrated |
drawmgt |
|
|
|
No |
n/a |
n/a |
Old demo systems |
drytech |
drytch.softxs.ch |
prod |
V11.6 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.6 |
Yes |
dmold |
Done |
Migrated |
hcmc2 |
hcmc2.softxs.ch |
prod |
V14.0 |
Yes |
drawmgt |
Done |
Production system |
|
|
test |
V14.0 |
Yes |
drawmgt |
Done |
Production system |
idp |
idp.softxs.ch |
prod |
V11.6 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.6 |
Yes |
dmold |
Done |
Migrated |
ilulissat |
ilulissat.softxs.ch |
prod |
V11.3 |
Yes |
verkis |
Done |
Archive system |
|
|
test |
V11.3 |
Yes |
verkis |
Done |
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 |
Done |
Archive system |
|
|
test |
V11.3 |
Yes |
verkis |
Done |
Archive system |
linthal |
|
|
|
No |
n/a |
n/a |
Replaced by Axpo hosted system |
mre |
mre.softxs.ch |
test |
V11.3 |
Yes |
dmold |
Done |
Migrated |
ndd |
ndd.softxs.ch |
prod |
V11.3 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.3 |
Yes |
dmold |
Done |
Migrated |
ppms |
ppms.softxs.ch |
prod |
V11.6 |
Yes |
dmold |
Done |
Migrated |
|
|
test |
V11.6 |
Yes |
dmold |
Done |
Migrated |
sisimiut |
sisimiut.softxs.ch |
prod |
V11.3 |
Yes |
verkis |
Done |
Archive system |
|
|
test |
V11.3 |
Yes |
verkis |
Done |
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 on zg-2 at: /v01/zg-1.softxs.ch/home
- The following command were used (run as root@zg-2):
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