HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problrm in sharing volume group
Operating System - HP-UX
1838554
Members
3067
Online
110127
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
Forums
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
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
04-25-2007 08:33 PM
04-25-2007 08:33 PM
problrm in sharing volume group
am going to setup a serviceguard using 2 nodes,one with 2 harddisks(primary) and another with 1 HD(secondary). I am going to share 1 HD in primary with secondary. am following the procedure below: while importing the mapfile info its giving problem, let me know does this scenario work? otherwise let me know other methods of setting up serviceguard:
all other steps work fine only problem with 15th step.
On the primary node (draw2), create the shared volume as follow:
1. mkdir /dev/vg01
2. mknod /dev/vg01/group c 64 0x010000
3. pvcreate –f /dev/rdsk/c4t0d0----pending
4. vgcreate /dev/vg01 /dev/dsk/c4t0d0
5. lvcreate –m 1 –l 586 –n hpsimsg /dev/vg01
note: using all elements from one LU in creating the logical volume hpsimsg with mirroring
6. newfs –F vxfs /dev/vg01/rhpsimsg
note: creating new file system on new logical volume
7. mkdir /hpsimsg
create new mount point
8. mount –F vxfs /dev/vg01/hpsimsg /hpsimsg
9. vgexport –v –p –s –m /etc/lvmconf/vg01.mapfile /dev/vg01
10. Copy the LVM map file for the volume group to the secondary or standby machine to the location /etc/lvmconf/vg01.mapfile.
rcp /etc/lvmconf/vg01.mapfile draw3:/etc/lvmconf/vg01.mapfile
11. Modify /etc/lvmrc and set AUTO_VG_ACTIVATE to 0
12. umount /hpsimsg
On the secondary or standby node (draw3), do the following:
13. mkdir /dev/vg01
14. mknod /dev/vg01/group c 64 0x010000
15. vgimport –v –s –m /etc/lvmconf/vg01.mapfile /dev/vg01
Beginning the import process on Volume Group "/dev/vg01".
Couldn't access the list of physical volumes for volume group "/dev/vg01".
all other steps work fine only problem with 15th step.
On the primary node (draw2), create the shared volume as follow:
1. mkdir /dev/vg01
2. mknod /dev/vg01/group c 64 0x010000
3. pvcreate –f /dev/rdsk/c4t0d0----pending
4. vgcreate /dev/vg01 /dev/dsk/c4t0d0
5. lvcreate –m 1 –l 586 –n hpsimsg /dev/vg01
note: using all elements from one LU in creating the logical volume hpsimsg with mirroring
6. newfs –F vxfs /dev/vg01/rhpsimsg
note: creating new file system on new logical volume
7. mkdir /hpsimsg
create new mount point
8. mount –F vxfs /dev/vg01/hpsimsg /hpsimsg
9. vgexport –v –p –s –m /etc/lvmconf/vg01.mapfile /dev/vg01
10. Copy the LVM map file for the volume group to the secondary or standby machine to the location /etc/lvmconf/vg01.mapfile.
rcp /etc/lvmconf/vg01.mapfile draw3:/etc/lvmconf/vg01.mapfile
11. Modify /etc/lvmrc and set AUTO_VG_ACTIVATE to 0
12. umount /hpsimsg
On the secondary or standby node (draw3), do the following:
13. mkdir /dev/vg01
14. mknod /dev/vg01/group c 64 0x010000
15. vgimport –v –s –m /etc/lvmconf/vg01.mapfile /dev/vg01
Beginning the import process on Volume Group "/dev/vg01".
Couldn't access the list of physical volumes for volume group "/dev/vg01".
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 09:14 PM
04-25-2007 09:14 PM
Re: problrm in sharing volume group
Hi,
Can you show us ioscan -fnC disk for both servers?
regards,
Sandy
Can you show us ioscan -fnC disk for both servers?
regards,
Sandy
I never think of the future. It comes soon enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 11:12 PM
04-25-2007 11:12 PM
Re: problrm in sharing volume group
The disk you are using for vg01 should be accessible by both the nodes and must be on a shared storage....
Time has a wonderful way of weeding out the trivial
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP