- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: creating a volume group when using clusters
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
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
02-08-2006 04:21 AM
02-08-2006 04:21 AM
Soon we will be installing a cluster (Oracle RAC), I am new to the clustering. The RAC will be installed next week, but I was told to create the volume groups on both servers. But hosts 2 knows that the volume group already belongs to the volume group on host1. Does the RAC have to be built first?
Any input to this new clustering world I am now in, will be greatly appreciated.
host2:[/]
# pvcreate /dev/rdsk/c9t0d1
pvcreate: The physical volume already belongs to a volume group
# mknod /dev/vg02/group c 64 0x020000
host2:[/]
# vgcreate -e 10000 -s 4 /dev/vg02 /dev/dsk/c9t0d1
vgcreate: Volume group "/dev/vg02" could not be created:
Device busy
host2:[/]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:29 AM
02-08-2006 04:29 AM
Re: creating a volume group when using clusters
On node 1:
vgexport -p -s -m vg02.map vg02
On node 2:
mkdir /dev/vg02
mknod /dev/vg02/group c 64 0x020000 (check the original node "ls -l" for this hex number and make it match)
ftp, scp or whatever the vg02.map from node 1
vgimport -s -m vg02.map
The Serviceguard documentation, like all HP documentation, is at docs.hp.com. Would be better to get some training before delving into a production environment, but I know how some companies are about offering training.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:30 AM
02-08-2006 04:30 AM
Re: creating a volume group when using clusters
vgimport -s -m vg02.map vg02
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:36 AM
02-08-2006 04:36 AM
Re: creating a volume group when using clusters
Issue a vgchange to make it cluster-aware:
$ vgchange -c y
Regards,
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:40 AM
02-08-2006 04:40 AM
Re: creating a volume group when using clusters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:19 AM
02-08-2006 08:19 AM
Re: creating a volume group when using clusters
Lets say I created the minor number 0x020000 for vg02 on host1. When I create the minor number in hosts2. Do I need to use a differnet minor number? or can I use 0x020000 again?
I have some Oracle documentation. When creating the volume group on host1, it mentions not to use the same minor number on the same cluster. But when it talks about the mknod on host2 it does not mention this point again.
I would think that the directions would mention this point when creating vg02 on host2, and that maybe it is a misprint and should have said not to create the same minor number on the host, instead of on the cluster.
Does it matter one way or the other?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:20 AM
02-08-2006 08:20 AM
Re: creating a volume group when using clusters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:25 AM
02-08-2006 08:25 AM
SolutionJeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:46 AM
02-08-2006 08:46 AM
Re: creating a volume group when using clusters
Nope, the vgimport will NOT fail if the minor number is different.
I know in one case where the minor number MUST be kept the same between the cluster nodes. That is when the volume group is hosting the NFS filesystems. My understanding is the NFS file lock also includes the minor number of the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:48 AM
02-08-2006 08:48 AM
Re: creating a volume group when using clusters
for ex:
vg03 on servera
0x040000
vg03 on serverb
0x040000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:53 AM
02-08-2006 08:53 AM
Re: creating a volume group when using clusters
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:58 AM
02-08-2006 08:58 AM
Re: creating a volume group when using clusters
I've found life a lot easier if I make sure that the group numbers are unique across all servers in the cluster. And, I do it for ALL vg's in all of the clustered servers. True enough, you don't HAVE TO. But, you'll certainly avoid any chance of problems later on. I do not apply that rule for root (vg00) on both servers, but you can extend that to any vg's comprised of local disks that won't be moving with the package.
At a minimum, the vg's group number needs to be unique for all clustered vg's in the cluster.
So, if you've got disks that are moving between machines, then those numbers should be unique between all the machines, and not collide with ANY vg's group numbers (local or not) on all of the machines in the cluster.
Which I just simplify to the sysadmin's in our group by saying "all vg's group numbers are unique across the WHOLE SAN" - which is an over-the-top way to avoid any problems down the line, but I do it anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 08:59 AM
02-08-2006 08:59 AM