Operating System - HP-UX
1834455 Members
2622 Online
110067 Solutions
New Discussion

moving shared disks between servers

 
SOLVED
Go to solution
JOHN TURNER_2
Frequent Advisor

moving shared disks between servers

We have two RP5400 servers connected to a FC60 disk array as a test bed. We want to move some of the disks from one server to the other without preserving the data.

Is there a document on the HP document search or an easy way to do this.

Cheers
John
GUI's are for wimps!
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: moving shared disks between servers

Shalom John,

If possible:
vgexport the volume group that includes the disks.

or vgreduce the disks out of the volume group they are in.

Then


Then move them and add them to the new location.

ioscan -fnC disk should detect them

pvcreate them

vgextend a volume group to include them.

done.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: moving shared disks between servers

Devender Khatana
Honored Contributor

Re: moving shared disks between servers

Hi,

ON the existing server using the disks do

1. Umount all the LVOLs belonging to these disks.

2.vgexport the VG.

3. Remove zoning for giving access to this host and allow access to second host.

On the second host do

1. Find if the new disks are accessible in
#ioscan -fnC disk

If yes create device files for the same.

2. pvcreate them using -f option as these allready have VG information.

3. Create new vg on these disks using vgcreate.

4. Create lvols in the new VG using lvcreate command. Then create file system using newfs commands. Now mount these on desired mount points and make entries in /etc/fstab.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: moving shared disks between servers

Hi John,

Doing a quick search at ITRC will bring up many threads, here is one more

http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=/cm/QuestionAnswer/1,,0x0cbacc84e9bb7d4a8a9c7587a773dae3,00.html&admit=716493758+1066312761789+28353475

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Tvs
Regular Advisor

Re: moving shared disks between servers

Hi,

ON the existing server
a. unmount the volume
b.vgexport /dev/vg01
c. if it is hot swapable remove the disk.
On the second
a. plug the disk
b. check the disk detetced ioscan -fnC disk
c. pvcreate -f ( rawdisk )

and the normal procedure for creating the vg
regards

tvs
JOHN TURNER_2
Frequent Advisor

Re: moving shared disks between servers

All thanks for the replies, but we have decided to go down a different approach and i would like some more information.

We now want to split the luns on the array into two JBOD's and run without a mirror. A mirrored copy is not overly important as it is only a testbed server.

If anyone could provide some information into how to go about this it would be much appreciated

Thanks

john
GUI's are for wimps!
Alzhy
Honored Contributor

Re: moving shared disks between servers

You will have to inquire from the FC60 documentation if such is even possible - if you can collapse LUNS/RAID and run the FC60 as a JBOD.
Hakuna Matata.