- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- basic cluster build question
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
02-17-2005 05:21 AM
02-17-2005 05:21 AM
basic cluster build question
I am working on a lab system for a review before doing this for real.
I am setting up a new cluster:
sys1 -
create vgtest
create lvol1
newfs lvol1
mount lvol1
unmount lvol1
vgexport -p -v -s -m mapfile vgtest
sys2 -
create /dev/vgtest
mknod group ...
vgimport -v -s -m mapfile vgtest
(All is well up to here)
vgchange -a y vgtest
vgchange: Activation mode requested for the volume group "/dev/vgtest" conflicts with configured mode.
OK- It's not cluster aware...
vgchange -c y vgtest
vgchange: Cluster Services not available or unreachable on this system, for volume group "/dev/vgtest"
Hmmm.... make sure it's deactivated and check it out again on sys1
sys1:
vgchange: Activation mode requested for the volume group "/dev/vgtest" conflicts with configured mode.
OK - Now I'm confused...
I have done this before (Really!) and it worked. I am actually folling the online docs.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:31 AM
02-17-2005 05:31 AM
Re: basic cluster build question
If yes,
vgchange -s y vgtest
vhchange -c y vgtest
vgchange -a e vgtest
man vgchange for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:42 AM
02-17-2005 05:42 AM
Re: basic cluster build question
The cluster daemon needs to be running on the system when you turn off/on the VG cluster bit.
ps -ef | grep cmcld
The cluster doesn't have to be "up", but the daemon must be active.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 05:53 AM
02-17-2005 05:53 AM
Re: basic cluster build question
I don't know if you just missed it out, but you appear to have done a vgchange -a y on sys2 having not previously done a vgchange -a n on sys1... At this stage (i.e. before building a base cluster) you shouldn't be worrying about making the VG cluster aware... these will only come into play once you do your first cmapplyconf...
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 07:44 AM
02-17-2005 07:44 AM
Re: basic cluster build question
All of the responses we good. For some reason, I ran
vgchange -c n vgtest
on sys1. Then I was able to import/activate/mount on sys2. I could then sucessfully reverse the process as well.
That seems strange. I don't know about patches on this system. It may be missing something.
Thanks for the help
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 08:14 AM
02-17-2005 08:14 AM
Re: basic cluster build question
I used to think so as well. But have had occasion where I needed cmcld running to do this.
Note from your initial post
vgchange -c y vgtest
vgchange: Cluster Services not available or unreachable on this system, for volume group "/dev/vgtest"
Was cmcld active when you finally resolved this?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 08:28 AM
02-17-2005 08:28 AM
Re: basic cluster build question
This is a lab setup and another engineer was folling with it first. I deleted the packages and cluster that were on it so everything was shut down. It should have been a relatively clean setup.
I will try another vg later and see how it behaves.
But I should be able to do what I was trying to do right? Or do I need to set it up as shared when I create it. I can't seem to remember. That's why I was following the docs step by step. A lot of good that did huh?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 09:42 AM
02-17-2005 09:42 AM
Re: basic cluster build question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 09:45 AM
02-17-2005 09:45 AM
Re: basic cluster build question
do you really need to do that:
vgchange -s y
vgchange -c y
vgchange -a e
business for a "normal" cluster where the VG is only active on one server at a time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 10:05 AM
02-17-2005 10:05 AM
Re: basic cluster build question
I would usually -
create the vg / lvols
activate / mount / test
create map files
umount / deactivate
import the vg on sys2
activate / mount /test
umount /deactivate
ready for the next step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2005 02:04 PM
02-17-2005 02:04 PM
Re: basic cluster build question
vgchange: Activation mode requested for the volume group "/dev/vgtest" conflicts with configured mode.
OK- It's not cluster aware...
This actually means the VG IS cluster aware, as you can't activate a cluster aware VG with -a y. Must be -a e/-a s.
Somehow the cluster flag was set in the LVM headers.