Operating System - HP-UX
1832910 Members
2700 Online
110048 Solutions
New Discussion

moving data between servers

 
Roberto Arias
Valued Contributor

moving data between servers

hi all:

I need to make a backup of a vg in node A and activate the snapshoot lvol's in node B.
Could you help me?

thanks in advances
The man is your friend
8 REPLIES 8
G. Vrijhoeven
Honored Contributor

Re: moving data between servers

Hi,

Check fbackup / frecover
Or you could vgexport the volumegroup on node A pull out the disks and import it on node B ( vgimport or vgscan command)

Regards,

Gideon

Jan Sladky
Trusted Contributor

Re: moving data between servers

Hi Roberto,

it depends which vg you want to backup.

generally you could use make_tape_recovery:

make_tape_recovery -a /dev/rmt/0mn -A -v -x inc_entire=vg01 (will backup vg00 + vg01 on norewind dev, for excluding lvols can use
"-x exclude=PATH option, for test without data writing on tape you can use -p option)

on the target box interrupt boot process and search for boot dev:

sea ipl and boot

boot PATH

rgds Jan

boot
GSM, Intelligent Networks, UNIX
David Child_1
Honored Contributor

Re: moving data between servers

Does this vg live on a SAN that both nodes have access to?

Is this going to be a permanent copy, one-time temporary image, daily snapshot, etc?

The answers to these questions may help determine what options you have and what would work best.

David
D.Blond
Frequent Advisor

Re: moving data between servers

Hi,

you could vgexport the volumegroup on node A and import it on node B :

ON Node A :
umount /fsxx
vgchange -a n vg01
vgexport -m /tmp/vg01.map -s vg01
ftp /tmp/vg01.map
On Node B :
mknod /dev/vg01/group -c 64 0x010000
vgimport -m /tmp/vg01.map -s vg01
vgchange -a y vgxx
modify /etc/fstab
mount -a
Regards,

D.Blond
Stuart Abramson
Trusted Contributor

Re: moving data between servers

1. Copy across the LAN the "cpio" way:

cd $sourcedir
find . -xdev -depth | cpio -ocax | \
remsh $destcpu "cd $destdir ; cpio -icduxm"

where: sourcedir and destdir both exist.

2. Both servers are connected at 1000 BT Full Duplex. GigE switch, copper.

3. EMC disks. 1 GB/s switch.

4. Timing:
a. A single copy copies at the rate of 19 GB/hr.
Roberto Arias
Valued Contributor

Re: moving data between servers

hi all:

node A:
vg01 in disks of nike FC30 Galaxy
node B:
vg01 in disks of IBM 2105F20

The task is connect disk of IBM 2105F20 at node A, mirroring vg01, disconect disks of node A, conect disks at node B and active the vg01.

node A will be backup of node B, node B will be in production.


best regards
The man is your friend
Adisuria Wangsadinata_1
Honored Contributor

Re: moving data between servers

Hi Mr. Roberto,

Use 'vgcfgbackup' & 'vgcfgrestore'. See the man page for details option.

Hope this information can help you.

Merry Xmas & Happy New Year.

Best Regards,
AW
now working, next not working ... that's unix
Roberto Arias
Valued Contributor

Re: moving data between servers

ok, thanks at all
this thread is old
The man is your friend