unable to start mysql rhel6.5 - vcs (6.2)
= = = = = = = = = = = = = = = = = = = = = = = = = = =
Following are the settings in main.cf
group app_servicegroup (
SystemList = { node71 = 0, node72 = 1 }
AutoStartList = { node71, node72 }
)
DiskGroup mysql_DG_resource (
DiskGroup = mysql_dg
)
Mount mysql_mount_resource (
MountPoint = "/var/lib/mysql"
BlockDevice = "/dev/vx/dsk/mysql_dg/mysqlvol"
FSType = vxfs
FsckOpt = "-y"
)
MySQL mysql_service_resource (
ResLogLevel = TRACE
MySQLAdminPasswd = "password"
BaseDir = "/var/lib/mysql"
DataDir = "/var/lib/mysql/mysql"
MyCnf = "/etc/my.cnf"
)
Volume mysql_volume_resource (
DiskGroup = mysql_dg
Volume = mysqlvol
)
mysql_mount_resource requires mysql_volume_resource
mysql_service_resource requires mysql_mount_resource
mysql_volume_resource requires mysql_DG_resource
= = = = = = = = = = = = = = = = = = = = = = = = = = =
- mysql is installed in /var/lib/mysql which is on share storage.
= = = = = = = = = = = = = = = = = = = = = = = = = = =
Tried to clear the resource and bring the resource on primary node node71.
[root@node71 MySQL]# hares -clear mysql_service_resource -sys node71
[root@node71 MySQL]# hares -online mysql_service_resource -sys node71
= = = = = = = = = = = = = = = = = = = = = = = = = = =
- Following are the engine_A.log generated during the above steps.
2016/03/17 12:11:29 VCS INFO V-16-1-50135 User root fired command: hares -clear mysql_service_resource node71 from localhost
2016/03/17 12:11:29 VCS INFO V-16-1-10307 Resource mysql_service_resource (Owner: Unspecified, Group: app_servicegroup) is offline on node71 (Not initiated by VCS)
2016/03/17 12:11:50 VCS INFO V-16-1-50135 User root fired command: hares -online mysql_service_resource node71 from localhost
2016/03/17 12:11:50 VCS NOTICE V-16-1-10233 Clearing Restart attribute for group app_servicegroup on all nodes
2016/03/17 12:11:50 VCS NOTICE V-16-1-10301 Initiating Online of Resource mysql_DG_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:11:51 VCS INFO V-16-1-10298 Resource mysql_DG_resource (Owner: Unspecified, Group: app_servicegroup) is online on node71 (VCS initiated)
2016/03/17 12:11:51 VCS NOTICE V-16-1-10301 Initiating Online of Resource mysql_volume_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:11:51 VCS INFO V-16-1-10298 Resource mysql_volume_resource (Owner: Unspecified, Group: app_servicegroup) is online on node71 (VCS initiated)
2016/03/17 12:11:51 VCS NOTICE V-16-1-10301 Initiating Online of Resource mysql_mount_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:11:55 VCS INFO V-16-1-10298 Resource mysql_mount_resource (Owner: Unspecified, Group: app_servicegroup) is online on node71 (VCS initiated)
2016/03/17 12:11:55 VCS NOTICE V-16-1-10301 Initiating Online of Resource mysql_service_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:13:58 VCS ERROR V-16-2-13066 (node71) Agent is calling clean for resource(mysql_service_resource) because the resource is not up even after online completed.
2016/03/17 12:14:00 VCS INFO V-16-2-13068 (node71) Resource(mysql_service_resource) - clean completed successfully.
2016/03/17 12:14:00 VCS INFO V-16-2-13071 (node71) Resource(mysql_service_resource): reached OnlineRetryLimit(0).
2016/03/17 12:14:01 VCS ERROR V-16-1-54031 Resource mysql_service_resource (Owner: Unspecified, Group: app_servicegroup) is FAULTED on sys node71
2016/03/17 12:14:01 VCS NOTICE V-16-1-10300 Initiating Offline of Resource mysql_mount_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:14:01 VCS INFO V-16-6-15015 (node71) hatrigger:/opt/VRTSvcs/bin/triggers/resfault is not a trigger scripts directory or can not be executed
2016/03/17 12:14:03 VCS INFO V-16-1-10305 Resource mysql_mount_resource (Owner: Unspecified, Group: app_servicegroup) is offline on node71 (VCS initiated)
2016/03/17 12:14:03 VCS NOTICE V-16-1-10300 Initiating Offline of Resource mysql_volume_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:14:03 VCS INFO V-16-1-10305 Resource mysql_volume_resource (Owner: Unspecified, Group: app_servicegroup) is offline on node71 (VCS initiated)
2016/03/17 12:14:03 VCS NOTICE V-16-1-10300 Initiating Offline of Resource mysql_DG_resource (Owner: Unspecified, Group: app_servicegroup) on System node71
2016/03/17 12:14:04 VCS INFO V-16-1-10305 Resource mysql_DG_resource (Owner: Unspecified, Group: app_servicegroup) is offline on node71 (VCS initiated)
2016/03/17 12:14:04 VCS ERROR V-16-1-10205 Group app_servicegroup is faulted on system node71
2016/03/17 12:14:04 VCS NOTICE V-16-1-10446 Group app_servicegroup is offline on system node71
2016/03/17 12:14:04 VCS INFO V-16-1-10493 Evaluating node71 as potential target node for group app_servicegroup
2016/03/17 12:14:04 VCS INFO V-16-1-50010 Group app_servicegroup is online or faulted on system node71
2016/03/17 12:14:04 VCS INFO V-16-1-10493 Evaluating node72 as potential target node for group app_servicegroup
2016/03/17 12:14:04 VCS ERROR V-16-1-10200 System node72 is not available
= = = = = = = = = = = = = = = = = = = = = = = = = = =
I have brought the node72 down to avoid failover to node72 since mysql resource is not configured yet.
= = = = = = = = = = = = = = = = = = = = = = = = = = =
mysql agent and acc_agent are installed on the nodes.
= = = = = = = = = = = = = = = = = = = = = = = = = = =
I am able to mount share store and then start mysql service manually. Also, shared storage is able to failover to node72 and vice versa.
= = = = = = = = = = = = = = = = = = = = = = = = = = =
[root@node71 config]# rpm -qa | grep -i mysql-server
mysql-server-5.1.73-5.el6_6.x86_64
= = = = = = = = = = = = = = = = = = = = = = = = = = =
Please advice.