Operating System - HP-UX
1836195 Members
3075 Online
110096 Solutions
New Discussion

error when using vgchange - c n

 
skv in Spb
New Member

error when using vgchange - c n

All of good day!

There is such a configuration:
two servers SD, each 11.31 HP-UX.
ServiceGuard v.19
multiple disk groups are connected to XP24000
on the array is BC.

the third server to HP-UX v. 11.31, but not SG.
this server presented S-vol of the cluster.
I want to execute the command vgchange-cn after split BC
But an error on the impossibility of implementation.
11 REPLIES 11
Mel Burslan
Honored Contributor

Re: error when using vgchange - c n

Your English is very hard to understand. Please perform a screen-capture and post it, so that we can see the commands you are running and the error messages you are getting.
________________________________
UNIX because I majored in cryptology...
Vinod Kumar Yadav
Trusted Contributor

Re: error when using vgchange - c n

Hi,

Please paste the error of whil execute the command vgchange -c n on which vg.


Then we can know the correct answer.



Thanks
Vinod
Jai Shiv Shankar

Re: error when using vgchange - c n

You should be able to run "vgchange -c n" on the third node *after* you have imported the VG, but before you have activated it... you don't need to run it on either of the cluster nodes... so after you split your BC, on your 3rd (non SG) node:

vgimport ....
vgchange -c n ...
vgchange -a y ...


of course you need to have made your SVOL writeable - you haven't defined it as read-only have you?

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Prashanth Waugh
Esteemed Contributor

Re: error when using vgchange - c n

Hi,
let me guess ur setup.

1) node 1 is in production part of cluster
2)node 2 is in production and part of cluster
3) i think ur using the third node for backup or test server.ur presenting the bc copy to the the node 3 server which is not part of SG.

==========================================
the producton volume groups will be sysnc with BC volume group and production vgs will be the part of cluster package. i think after spliiting the BC that VG vill not be the part of cluster. so it will give the error.

Regards
Prashant
For success, attitude is equally as important as ability
skv in Spb
New Member

Re: error when using vgchange - c n

this is true
>1) node 1 is in production part of cluster
>2)node 2 is in production and part of cluster
>3) i think ur using the third node for backup >or test server.ur presenting the bc copy to >the the node 3 server which is not part of SG.

the first (SG) server I use vgexport -v -p -s -m /...
copy the map file the third (not SG) server
and do:
- vgimport -m -s -v ....
- vgchange -c n ...
error -

Re: error when using vgchange - c n

> - vgimport -m -s -v ....
> - vgchange -c n ...
> error -

I'd imagine that's *not* the message you get on the screen - what error message *do* you get?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
skv in Spb
New Member

Re: error when using vgchange - c n

Now send the log to the terminal can not.
I'll try later
bright image
Frequent Advisor

Re: error when using vgchange - c n

You will need to split your business copy before running vgchange -c n as it will write to the disks. It will fail if the disks are not writable.

Please ensure your business copy is split and read/write before running the vgchange -c n command.
skv in Spb
New Member

Re: error when using vgchange - c n


Yes, of course, BC is split.
Prashanth Waugh
Esteemed Contributor

Re: error when using vgchange - c n

Hi,

The sequence should be like that

1)create the map file using vgexport -v -s -p -m
2)split the bc
3)vgchange -a n
4)vgimport the map file on node 3
5)vgchange -a y
------------------------------------
I would like clear one thing here see the BC copy will be on stoarge level nad will not be part of cluster.only production volume vill be the part of cluster. then no need to do the vgchange -c n .
For success, attitude is equally as important as ability
Prashanth Waugh
Esteemed Contributor

Re: error when using vgchange - c n

Hi SKV,

Your prolem solved or not. If your problem solved Pls share ur experience.

Thanks,
Prashant
For success, attitude is equally as important as ability