- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SUMMARY: Successful LVM to VxVM migration with agi...
Operating System - HP-UX
1752687
Members
5390
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-18-2009 07:27 PM
09-18-2009 07:27 PM
SUMMARY: Successful LVM to VxVM migration with agile DSFs on HP-UX 11.31 0909
Hello,
Several days ago I upgraded several of
my servers to HP-UX 11.31 DCOE 0909.
Since VxVM is seldom taught or used, I usually
dedicate at least one server to run it.
So, here was the test I did and the results.
Overall, it was a smooth and pleasant
migration.
a) Original server running HP-UX 11.31 DCOE
0909 with LVM.
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
Root: lvol3 on: /dev/disk/disk4_p2
Swap: lvol2 on: /dev/disk/disk4_p2
Dump: lvol2 on: /dev/disk/disk4_p2, 0
b) Migration to VxVM by using agile DSF (now supported with VxVM 5.x):
# /etc/vx/bin/vxcp_lvmroot -b -v disk6
In around 15-20 minutes, the whole migration
was completed.
c) Reboot the server and test:
# /etc/vx/bin/vxgetrootdisk
disk6_p2
# cat /stand/bootconf
l /dev/disk/disk6_p2
# setboot -v
Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk6)
HA Alternate bootpath :
Alternate bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4)
Autoboot is ON (enabled)
TEST CURRENT DEFAULT
---- ------- -------
all on on
SELFTESTS on on
early_cpu on on
late_cpu on on
FASTBOOT on on
Platform on on
Full_memory on on
Memory_init on on
IO_HW on on
Chipset on on
Important thing to note:
Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk6) (VxVM)
Alternate bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4) (LVM)
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
Root: lvol3 on: /dev/disk/disk4_p2
Swap: lvol2 on: /dev/disk/disk4_p2
Dump: lvol2 on: /dev/disk/disk4_p2,
# /etc/vx/bin/vxlvmvglist | awk NF
LVM VOLUME GROUP INFORMATION
Name Type Physical Volumes
vg00 Non-Root c2t1d0
# /etc/vx/bin/vxdevlist
DEVICE DISK GROUP STATUS
disk5 - - LVM
disk4_p2 - - LVM
disk6_p2 rootdisk01 rootdg online
In other words, this server has two boot disks
(agile DSFs disk4 and disk6) running two
different volume managers!
With a simple reboot one can toggle between
LVM and VxVM.
Maybe this helps someone one day.
Cheers,
VK2COT
Several days ago I upgraded several of
my servers to HP-UX 11.31 DCOE 0909.
Since VxVM is seldom taught or used, I usually
dedicate at least one server to run it.
So, here was the test I did and the results.
Overall, it was a smooth and pleasant
migration.
a) Original server running HP-UX 11.31 DCOE
0909 with LVM.
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
Root: lvol3 on: /dev/disk/disk4_p2
Swap: lvol2 on: /dev/disk/disk4_p2
Dump: lvol2 on: /dev/disk/disk4_p2, 0
b) Migration to VxVM by using agile DSF (now supported with VxVM 5.x):
# /etc/vx/bin/vxcp_lvmroot -b -v disk6
In around 15-20 minutes, the whole migration
was completed.
c) Reboot the server and test:
# /etc/vx/bin/vxgetrootdisk
disk6_p2
# cat /stand/bootconf
l /dev/disk/disk6_p2
# setboot -v
Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk6)
HA Alternate bootpath :
Alternate bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4)
Autoboot is ON (enabled)
TEST CURRENT DEFAULT
---- ------- -------
all on on
SELFTESTS on on
early_cpu on on
late_cpu on on
FASTBOOT on on
Platform on on
Full_memory on on
Memory_init on on
IO_HW on on
Chipset on on
Important thing to note:
Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk6) (VxVM)
Alternate bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4) (LVM)
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
Root: lvol3 on: /dev/disk/disk4_p2
Swap: lvol2 on: /dev/disk/disk4_p2
Dump: lvol2 on: /dev/disk/disk4_p2,
# /etc/vx/bin/vxlvmvglist | awk NF
LVM VOLUME GROUP INFORMATION
Name Type Physical Volumes
vg00 Non-Root c2t1d0
# /etc/vx/bin/vxdevlist
DEVICE DISK GROUP STATUS
disk5 - - LVM
disk4_p2 - - LVM
disk6_p2 rootdisk01 rootdg online
In other words, this server has two boot disks
(agile DSFs disk4 and disk6) running two
different volume managers!
With a simple reboot one can toggle between
LVM and VxVM.
Maybe this helps someone one day.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP