Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

VG Not Mounting While Cluster Start and Fail Over

 
Ajin_1
Valued Contributor

VG Not Mounting While Cluster Start and Fail Over

Hi Experts

 

We have 2 Node Cluster Running ,The below is Cluster config file and Package config file.

 

In this the mount point which refer in Package 2 ( /dev/vgs02)  was not mounting While Cluster Start.

Any suggestions welcome.

 

 

Its shared Storage.

 

 

 

# cat cmclconfig.ascii |grep -v "#"

CLUSTER_NAME            XXX_DB_cluster

HOSTNAME_ADDRESS_FAMILY         ANY

FIRST_CLUSTER_LOCK_VG           /dev/vgs01


NODE_NAME               xxx90101
  NETWORK_INTERFACE     lan0
    STATIONARY_IP       137.153.78.129
    STATIONARY_IP       2001:cf8:0:1f2::129
  NETWORK_INTERFACE     lan2
  NETWORK_INTERFACE     lan3
    HEARTBEAT_IP        192.168.2.1
  NETWORK_INTERFACE     lan1
    HEARTBEAT_IP        192.168.1.1
  FIRST_CLUSTER_LOCK_PV /dev/disk/disk13

NODE_NAME               xxx90201
  NETWORK_INTERFACE     lan0
    STATIONARY_IP       137.153.78.133
    STATIONARY_IP       2001:cf8:0:1f2::133
  NETWORK_INTERFACE     lan2
  NETWORK_INTERFACE     lan3
    HEARTBEAT_IP        192.168.2.2
  NETWORK_INTERFACE     lan1
    HEARTBEAT_IP        192.168.1.2
  FIRST_CLUSTER_LOCK_PV /dev/disk/disk13


MEMBER_TIMEOUT          14000000

AUTO_START_TIMEOUT      600000000
NETWORK_POLLING_INTERVAL        2000000

NETWORK_FAILURE_DETECTION               INOUT
NETWORK_AUTO_FAILBACK           YES

SUBNET 137.153.78.128
  IP_MONITOR OFF

SUBNET 192.168.2.0
  IP_MONITOR OFF

SUBNET 192.168.1.0
  IP_MONITOR OFF


SUBNET 2001:cf8:0:1f2::
  IP_MONITOR OFF


MAX_CONFIGURED_PACKAGES         300


VOLUME_GROUP            /dev/vgs01
VOLUME_GROUP            /dev/vgs02
#

# cat xxx01P_DB_PKG.conf |grep -v "#"

package_name                    xxx01P_DB_PKG


package_description                     "Serviceguard Package"


module_name                     sg/basic
module_version                  1
module_name                     sg/all
module_version                  1
module_name                     sg/failover
module_version                  1
module_name                     sg/priority
module_version                  1
module_name                     sg/dependency
module_version                  1
module_name                     sg/weight
module_version                  1
module_name                     sg/monitor_subnet
module_version                  1
module_name                     sg/package_ip
module_version                  1
module_name                     sg/service
module_version                  1
module_name                     sg/resource
module_version                  1
module_name                     sg/volume_group
module_version                  1
module_name                     sg/filesystem
module_version                  1
module_name                     sg/pev
module_version                  1
module_name                     sg/external_pre
module_version                  1
module_name                     sg/external
module_version                  1
module_name                     sg/acp
module_version                  1

package_type                    failover

node_name                       xxx90101
node_name                       xxx90201

auto_run                        yes

node_fail_fast_enabled                  no

run_script_timeout                      no_timeout

halt_script_timeout                     no_timeout

successor_halt_timeout                  no_timeout


script_log_file                 /etc/cmcluster/xxx01P_DB_PKG/xxx01P_DB_PKG.log

operation_sequence                      $SGCONF/scripts/sg/external_pre.sh
operation_sequence                      $SGCONF/scripts/sg/volume_group.sh
operation_sequence                      $SGCONF/scripts/sg/filesystem.sh
operation_sequence                      $SGCONF/scripts/sg/package_ip.sh
operation_sequence                      $SGCONF/scripts/sg/external.sh
operation_sequence                      $SGCONF/scripts/sg/service.sh
operation_sequence                      $SGCONF/scripts/sg/resource.sh


failover_policy                 configured_node


failback_policy                 manual

priority                        no_priority

local_lan_failover_allowed                      yes


monitored_subnet 2001:cf8:0:1f2::

ip_subnet  2001:cf8:0:1f2::
ip_address 2001:cf8:0:1f2::137

concurrent_vgchange_operations                  1


enable_threaded_vgchange                        0


vgchange_cmd                    "vgchange -a e"

vg      vgs01

deactivation_retry_count                        2


kill_processes_accessing_raw_devices                    no


concurrent_fsck_operations                      1


concurrent_mount_and_umount_operations                  1


fs_mount_retry_count                    3


fs_umount_retry_count                   3


fs_name                 /dev/vgs01/lvol1
fs_server        ""
fs_directory            /pp1
fs_type                 "vxfs"
fs_mount_opt            "-o rw"
fs_umount_opt           ""
fs_fsck_opt             ""
#

 

 

1# cat xxx02P_AP_PKG.conf |grep -v "#"

package_name                    xxx02P_AP_PKG


package_description                     "Serviceguard Package"


module_name                     sg/basic
module_version                  1
module_name                     sg/all
module_version                  1
module_name                     sg/failover
module_version                  1
module_name                     sg/priority
module_version                  1
module_name                     sg/dependency
module_version                  1
module_name                     sg/weight
module_version                  1
module_name                     sg/monitor_subnet
module_version                  1
module_name                     sg/package_ip
module_version                  1
module_name                     sg/service
module_version                  1
module_name                     sg/resource
module_version                  1
module_name                     sg/volume_group
module_version                  1
module_name                     sg/filesystem
module_version                  1
module_name                     sg/pev
module_version                  1
module_name                     sg/external_pre
module_version                  1
module_name                     sg/external
module_version                  1
module_name                     sg/acp
module_version                  1


package_type                    failover


node_name                       xxx90101
node_name                       xxx90201


auto_run                        yes


node_fail_fast_enabled                  no


run_script_timeout                      no_timeout


halt_script_timeout                     no_timeout


succssor_halt_timeout                  no_timeout


script_log_file                 /etc/cmcluster/xxx02P_AP_PKG/xxx02P_AP_PKG.log

operation_sequence                      $SGCONF/scripts/sg/external_pre.sh
operation_sequence                      $SGCONF/scripts/sg/volume_group.sh
operation_sequence                      $SGCONF/scripts/sg/filesystem.sh
operation_sequence                      $SGCONF/scripts/sg/package_ip.sh
operation_sequence                      $SGCONF/scripts/sg/external.sh
operation_sequence                      $SGCONF/scripts/sg/service.sh
operation_sequence                      $SGCONF/scripts/sg/resource.sh

failover_policy                 configured_node


failback_policy                 manual


priority                        no_priority

local_lan_failover_allowed                      yes

monitored_subnet 2001:cf8:0:1f2::

ip_subnet  2001:cf8:0:1f2::
ip_address 2001:cf8:0:1f2::137

concurrent_vgchange_operations                  1


enable_threaded_vgchange                        0


vgchange_cmd                    "vgchange -a e"


vg      vgs02


deactivation_retry_count                        2

kill_processes_accessing_raw_devices                    no


concurrent_fsck_operations                      1


concurrent_mount_and_umount_operations                  1


fs_mount_retry_count                    3


fs_umount_retry_count                   3


fs_name                 /dev/vgs02/lvol1
fs_server        ""
fs_directory            /oradata/xxx01P/data1n01
fs_type                 "vxfs"
fs_mount_opt            "-o rw"
fs_umount_opt           ""
fs_fsck_opt             ""

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
1 REPLY 1
Highlighted
Patrick Wallek
Honored Contributor

Re: VG Not Mounting While Cluster Start and Fail Over

What errors are you getting?

 

Check the log file for the package.  It is located in /etc/cmcluster/<package name>.