Tag Archives: migration

Migrating data

Here’s another one-liner which helps to migrate data from one filesystem to another in one turn: # ( cd /mnt/src/ && tar c . ) | ( cd /mnt/dst/ && tar xv . )

Offline migration – minimizing downtime with rsync

As we all know, downtime is an unavoidable must in some cases. There may be cases when the application need to be migrated to a new system, and it can only be done offline. Even if the downtime can’t be eliminated, you can do some things to minimize it. First, create the new filesystem layout [...]

TAR tricks & tips

This is how to tar a bunch of files and send it over network to another machine over SSH, in one turn: # cd /etc; tar cf – passwd | ssh hp01a01.w1 “cd /root;tar xf – passwd”

LVM tricks – determine the age of the system

After some researching and reading some ITRC, I found a way to get the age of the system. This is done with reading and decrypting the LVM header from the system disks. At first, we need to find out which disks are in vg00: # vgdisplay -v vg00 | grep “PV Name” PV Name                     /dev/dsk/c2t0d0 [...]

Migrating a ServiceGuard cluster to another storage

Here are the steps for offline migrating a Serviceguard cluster to another SAN: create a LUN list:no. of source box no. of source LUN size of source LUN no. of target box no. of target LUN size of target LUN

Samba locations

I’m always in trouble if I need some files for samba. CIFS is rarely used, and if I need to configure something regarding Windows-compatible  shares then I don’t know where to find these files. This time we had a 1:1 migration, everything was fine, the SAP runs smoothly on the target cluster, switchtest was made [...]