- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Move data to new volume group in Cluster Env.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 04:55 PM
10-17-2005 04:55 PM
We have a 2 node cluster. We want to extend old volume group but Max_PE_per_PV parameters is so small, so We need to replace old volume group by a new volume group and move all data from old vg to a new volume group.
Am i correct in my procedure??
Node1:
pvcreate /dev/rdsk/c3t2d5
mkdir /dev/vg10
mknod /dev/vg10/group c 64 0x060001
pvcreate /dev/rdsk/c3t2d5
vgcreate –e 9472 /dev/vg10 /dev/dsk/c3t2d5
lvcreate -L 25600 /dev/vg10
umount /dev/vg10/lvol1
extendfs -F vxfs /dev/vg10/rlvol1
mkdir MYAPPDB/oraindex2
mount /dev/vg10/lvol1 /MYAPPDB/oraindex2
cp /MYAPPDB/oraindex1 /MYAPPDB/oraindex2
--Remove old volume group
umount /dev/vg06/lvol1 /MYAPPDB/oraindex1
lvremove -f /dev/vg06/lvol1
vgremove /dev/vg06
umount /dev/vg10/lvol1 /MYAPPDB/oraindex2
mount /dev/vg10/lvol1 /MYAPPDB/oraindex1
rv /MYAPPDB/oraindex2
vgexport –s –p –v –m /tmp/vg10.map /dev/vg10
rcp –p /tmp/vg10.map node2:/tmp/
Node2:
vgremove vg06
mkdir /dev/vg10
mknod group c 64 0x060001
vgimport –p –s –m /tmp/vg10.map –v /dev/vg10
vgchange –a r /dev/vg10
vgcfgbackup /dev/vg10
vgchange –a –n /dev/vg10
Many Thanks,
Vu.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 05:15 PM
10-17-2005 05:15 PM
Re: Move data to new volume group in Cluster Env.
cpio
vxdump
fbackup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2005 11:15 PM
10-17-2005 11:15 PM
SolutionFirst make a backup of the filesystem or a tar file.
tar cvf oraindex.tar /MYAPPDB/oraindex1
pvcreate /dev/rdsk/c3t2d5
mkdir /dev/vg10
mknod /dev/vg10/group c 64 0x070000
vgcreate -e 30000 -s 16 /dev/vg10 /dev/dsk/c3t2d5 This because you can put bigger disk in the futher in the volumegroup.
lvcreate -L 25600 /dev/vg10/lvol1
newfs -F vxfs /dev/vg10/rvol1
umount /MYAPPDB/oraindex1
mount /dev/vg10/lvol1 /MYAPPDB/oraindex1
tar xvf oraindex.tar
vgexport -s -p -v mm /tmp/vg10.map /dev/vg10
rcp -p /tmp/vg10.map node2:/tmp/
change the cluster.configuration and packageconfiguration.
vgchange -a n /dev/vg10
vgchange -c y /dev/vg10
and cmcheckconf -c cluster.ascii
cmapplyconf -c cluster.ascii
cmcheckconf -p package.conf
cmapplyconf -p package.conf
on node 2
mkdir /dev/vg10
mknod group c 64 0x060001
vgimport -p -s -m /tmp/vg10.map -v /dev/vg10
vgcfgbackup /dev/vg10
change the cluster.configuration and packageconfiguration.
and cmcheckconf -c cluster.ascii
cmapplyconf -c cluster.ascii
cmcheckconf -p package.conf
cmapplyconf -p package.conf
start the package.
After this remove the old volumegroup.
with vgexport.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 03:16 PM
10-20-2005 03:16 PM
Re: Move data to new volume group in Cluster Env.
How can i get minor number (64 0x070000 ??)
Thks,
Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 04:00 PM
10-20-2005 04:00 PM
Re: Move data to new volume group in Cluster Env.
Minor number should be unique for the system on which you create the VG. Confirm allready used minor numbers by
#ll /dev/vg*/group
And use the next available number in Hex.
HTH,
Devender