hp-support-head-portlet

Actions
Loading...

HP Support

hp-contact-secondary-navigation-portlet

Actions
Loading...

hp-share-print-widget-portlet

Actions
Loading...

hp-concentra-wrapper-portlet

Actions
Loading...

HP Serviceguard Extension for RAC Software - vgchange: "Activation mode requested for the volume group conflicts with configured mode"

Issue
Two node Serviceguard eRAC cluster with several shared volume groups activated in a shared server and shared client environment.
After rebooting node_1 some volume groups cannot be activated any longer.
node_1 # vgchange -a s  /dev/vg14 vgchange: Activation mode requested for the volume group "/dev/vg14" conflicts           with configured mode.
All the volume groups are ok on node_2 and the VG Status is available, shared, server.
User was able to activate the shared VG’s with vgchange -a y on node_1, which should not happen.
The volume groups then were deactivated with vgchange -a n.
Solution
This issue matches QXCR1001161003 with cluster-ID corruption.
A workaround is available to have the node which has the VG’s activated in shared mode to post a new lvmrec with the activation mode for shared. Then, vgchange -a s activation on the other node will work.
Workaround below is performed on volume group vg14:
  1. Change IO timeout temporarily, with pvchange -t, which forces node_2 to write the LVMREC on each PV in vg14.
    1. For each PV of vg14, check its original "IO timeout" value with pvdisplay.
      If the value is shown as "default", it means that the IO timeout value is set to 0.
      Example:
      node_2> # pvdisplay /dev/dsk/cXtYdZ  --- Physical volumes --- PV Name                     /dev/dsk/c4t13d0 VG Name                     /dev/ p1048vg14 PV Status                   available ... IO Timeout (Seconds)        default Autoswitch                  On Proactive Polling           On
    2. Change the IO timeout value to a different value, say 30 seconds, on each PV.
      This requires exclusive activation on the volume group so the volume group needs to be cross-activated in exclusive mode on node_2 first.
      Example:
      node_2># pvchange -t 30 /dev/dsk/cXtYdZ pvchange: The volume group "/dev/ vg14" is active in Shared Mode. Cannot perform configuration change. node_2># vgchange -a e -x /dev/vg14 Volume group "/dev/vg14" has been successfully changed. node_2># pvchange -t 30 /dev/dsk/cXtYdZ Physical volume "/dev/dsk/cXtYdZ" has been successfully changed. Volume Group configuration for /dev/vg14 has been saved in /etc/lvmconf/vg14.conf
    3. The cluster ID should have been re-instated on each PV at this point.
    4. Now, restore the IO timeout value and switch back to shared-mode activation
      node_2># pvchange -t 0 /dev/dsk/cXtYdZ Physical volume "/dev/dsk/cXtYdZ" has been successfully changed. Volume Group configuration for /dev/vg14 has been saved in /etc/lvmconf/vg14.conf sjhsok2># vgchange -a s -x vg14 Volume group "/dev/vg14" has been successfully changed.
  2. On node_1, now the user should be able to activate the volume group in shared mode.
    Example:
    node_1># vgchange -a s /dev/vg14 Activated volume group in Shared Mode. This node is a Client. Volume group "/dev/vg14" has been successfully changed.

hp-feedback-input-portlet

Actions
Loading...

hp-online-communities-portlet

Actions
Loading...

Prefer to troubleshoot on your own?

Consumer Community

Consumer Community

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now >

Enterprise Business Community

Enterprise Business Community

Join HP's community of business and IT professionals to help solve problems, exchange ideas, and learn best practices from your peers. Worldwide discussions in English. Visit now >


hp-feedback-banner-portlet

Actions
Loading...

hp-country-locator-portlet

Actions
Loading...
Country: United States

hp-detect-load-my-device-portlet

Actions
Loading...