UnixPedia : HPUX / LINUX / SOLARIS: HPUX :BUSINESS COPY STEPS IN STEPS IN NUTSHELL

Sunday, August 18, 2013

HPUX :BUSINESS COPY STEPS IN STEPS IN NUTSHELL


ON P-vol server

1. Make a file as rdsk and keep rdisk names

### Create horcm instance
cat rdsk |/HORCM/usr/bin/mkconf.sh -g test_vgname -i 98

### Take the disk info from the newely created horm and add it in the existing horcm file

### If disk from a new array, also add chip disk information

### Now stop and start the Horcm instance
horcmshutdown.sh 0
horcmstart.sh 0

### export the Horcm instance
export HORCMINST=0   [Instance  number]
export HORCC_MRCF=1

### Make entries in /etc/horcmperm0.conf in case of ITSAPP servers

Now go to s-vol server

ON S-vol server

### Create horcm instance
cat rdsk |/HORCM/usr/bin/mkconf.sh -g test_vgname -i 99

### Take the disk info from the newely created horm and add it in the existing horcm file

### If disk from a new array, also add chip disk information

### Now stop and start the Horcm instance
horcmshutdown.sh 1
horcmstart.sh 1

### export the Horcm instance
export HORCMINST=1   [Instance  number]
export HORCC_MRCF=1

### Make entries in /etc/horcmperm1.conf in case of ITSAPP servers

Once this is done, come back to P-vol server

### do a pairdisplay on test vg
pairdisplay -g test_vgprm02 -fxcd

### Do a paircreate
paircreate -g test_vgprm02 -vl

### Check status till ist 100 %
pairdisplay -g test_vgprm02 -fxcd

### once paicreate is done, run a pairsplit
pairsplit -g test_vgprm02

*************************************************************************

Once the Test part is complete

### Rename the test_vgname disk to normal vgnames, take special attention on disk numbers on both P-vol and S-vol servers

### Once done, stop/start the horcm

### Export env variables

### On the p-vol server, run pairdisplay and see if the disk are correctly synced
pairdisplay -g vgprm02 -fxcd

No comments:

Post a Comment