- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disk dual zoned to two different VM hosts
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
04-24-2013 12:04 PM
04-24-2013 12:04 PM
disk dual zoned to two different VM hosts
vmhost 1 has vmguest 1
vmhost 2 has vmguest 2
vmguest1 has two disks coming from vm host1
vmguest2 has two disks coming from vm host2
there is a third disk in vmhost1..presented to vm guest1
this disk can be seen from vm host 2 too
this disk#3 is dual zoned... is visible from both the vm hosts
this disk#3 presented to vm guest1 has been used to create a VG, lv and then a mount point.
Storage team say,
they failed over the disk#3 from vmhost1 to vmhost2 and they explain that now the disk#3 is read-write on vmhost2 and just read only on vmhost1
and now I am asked to make the disk usable on vmhost2... (i.e., all those mount points to be pesent when it was on vmhost1)
so... what should I do... I cannot pvcreate, vgcreate again on disk#3 when it is in vmguest2 (vmhost2) as there is some data before the "failover"
do I need to exportvg on vmuest1 and import that ,mappin table on vmguest2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2013 12:19 PM
04-24-2013 12:19 PM
Re: disk dual zoned to two different VM hosts
>>do I need to exportvg on vmuest1 and import that ,mappin table on vmguest2?
Yes, that is exactly what you need to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2013 10:17 AM
04-25-2013 10:17 AM
Re: disk dual zoned to two different VM hosts
thank you. it worked...
by the way this is what I see when I import....
vgimport -v -m /tmp/map_VG-ABC_ VG-ABC /dev/disk/disk7
Beginning the import process on Volume Group "VG-ABC".
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
Logical volume "/dev/VG-ABC/lv-3" has been successfully created with lv number 1.
Logical volume "/dev/VG-ABC/lv-4" has been successfully created with lv number 2.
Logical volume "/dev/VG-ABC/lv-5" has been successfully created with lv number 3.
vgimport: Volume group "/dev/VG-ABC" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
VMGuest/ #
VMGuest/ # vgchange -a y VG-ABC
Activated volume group. Volume group "VG-ABC" has been successfully changed.
VMGuest/ # vgcfgbackup VG-ABC Volume Group configuration for /dev/VG-ABC has been saved in /etc/lvmconf/VG-ABC.conf
VMGuest/ # mkdir /mount-pt-1;mkdir /mount-pt-2;mkdir mount-pt-3
VMGuest/ #
VMGuest/ # vi /etc/fstab
added entries (didnt do mkfs)
mountall
mountpoints got mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2013 09:41 AM
04-26-2013 09:41 AM
Re: disk dual zoned to two different VM hosts
The commands and the output executed are ok.
However, there is to much aix-talk coming through. ;)
Its not exportvg, its vgexport on HP-UX.
Its not mkfs, its newfs on HP-UX. (though newfs is just a layer on top of mkfs)