HPE EVA Storage
1826460 Members
3118 Online
109692 Solutions
New Discussion

Re: Using Business Copy for BackUp - HPUX

 
Robert Sullivan
Occasional Contributor

Using Business Copy for BackUp - HPUX

I've checked all the forums and have not found any sample scripts for creating/deleting a BC LUN for backup purposes. I know nothing about BC/CommandView but know LVM fairly well.

Our current setup: We have 27 physical drives (JBOD) - 9 for original extends, 9 for M1 (mirror1), and 9 for M2 (mirror2) - extent based mirrored stripe. We lvsplit each night and back up from the split LV's. We want to get rid of all the LVM lvsplit, lvmerge, fsck etc. - basically we don't want to use LVM for mirroring/striping anymore so we bought a VA7100 as a replacement hardware/RAID solution.

My question: Does anybody have a condensed example or script example of the steps/commands I need to take in order to do away with all that I have now? Here is what I was planning - any comments would be most helpful.

Leave JBOD's VG's/LV's as is for now
Install VA7100/FC cards/patches etc

Do I have to create a new VG and then move all the data from the JBOD VG's over to the VA? Do I treat the LUN as any other disk drive (just create new VG etc.) and copy the data?

What I am struggling with is what commands to use when creating and deleting the BC with respect to LVM (is it similar to lvsplit, lvmerge etc)?

I know this is a lot of information. Sorry for the long post. Will gladly take any and all info. I need to do this tomorrow night and have a limited time slot.

Rob Sullivan
Attached is bdf output of current system


2 REPLIES 2
James A. Donovan
Honored Contributor

Re: Using Business Copy for BackUp - HPUX

I would create a new volume group with the LUN(s) on your VA7100, and simply use cpio, or similar utility, to copy your data to the new volume group. You could then remount the new volume group's logical volume(s) on top of the old mount points.

I've also attached a couple of scripts and a sample conf file that we use on our systems to dynamically create/destroy Business Copy devices and mount/unmount them from a Veritas media server. My scripts are designed to work with our VA7400 (A6189A), sou you'll need to modify them to your own purposes.

Pay particular attention to the va_bc_snap script as most of this was derived from a script provided to me from HP. The main commands are:

Create the BC device:
/opt/sanmgr/commandview/client/sbin/armcopy -p ${PARENT} -s ${BC} -a true $SERIALNBR

Apply security to the BC device:
/opt/sanmgr/commandview/client/sbin/armsecure -cp -ls 0 -ld ${BC} -p AUTORAID $SERIALNBR

Destroy the BC device:
/opt/sanmgr/commandview/client/sbin/armcfg -L ${BC} -d $SERIALNBR
Remember, wherever you go, there you are...
Claudiu Schmidt
Valued Contributor

Re: Using Business Copy for BackUp - HPUX

Hi,

if you use Omniback for backup, there is an intergration kit for VA, where you automaticaly create BC , mount, backup ,and delete BC. But you need Data Protector 5.0

Rgds,

Claudiu