Re: [Linux-HA] ocf::LVM monitor needs excessive time to complete
05.08.2011 14:55, Ulrich Windl wrote: > Hi, > > we run a cluster that has about 30 LVM VGs that are monitored every > minute with a timeout interval of 90s. Surprisingly even if the system > is in nominal state, the LVM monitor times out. > > I suspect this has to do with multiple LVM commands being run in parallel > like this: > # ps ax |grep vg > 2014 pts/0D+ 0:00 vgs > 2580 ?D 0:00 vgdisplay -v NFS_C11_IO > 2638 ?D 0:00 vgck CBW_DB_BTD > 2992 ?D 0:00 vgdisplay -v C11_DB_Exe > 3002 ?D 0:00 vgdisplay -v C11_DB_15k > 4564 pts/2S+ 0:00 grep vg > # ps ax |grep vg > 8095 ?D 0:00 vgck CBW_DB_Exe > 8119 ?D 0:00 vgdisplay -v C11_DB_FATA > 8194 ?D 0:00 vgdisplay -v NFS_SAP_Exe > > When I tried a "vgs" manually, it could not be suspended or killed, and it > took more than 30 seconds to complete. You just need to filter unneeded block devices (or leave only needed) from LVM "suspects to be PV". Otherwise LVM tries to open every LV to look if it is PV. Look at /etc/lvm/lvm.conf for "filter" line. BTW under very high CPU/IO load I found that "chrt -r 99" helps LVM utils to work much faster. Combining this with "timeout" utility (to prevent that LVM utils from "never-finish") does some more magic. Best, Vladislav ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] mysql-cluster: nodes forced shutdown problem
Hi guys I have been trying to migrate my data from an old mysql server to a new mysql-cluster environ., to no avail. Exportation, editing and then importation of mysql engine from MyISAM to NDB has been done successfully, but after all the data are imported to the on to the cluster nodes, it is possible to restart the nodes from the management server. The following error occurs: ndb_mgm> Node 2: *Forced* node *shutdown* completed. Occured during startphase 8. Initiated by signal 0. Caused by error 2341: 'Internal program error (failed ndbrequire)(Internal error, programming error or missing error message, please report a bug). Temporary error ndb_mgm> Node 3: *Forced* node *shutdown* completed. Occured during startphase 8. Initiated by signal 0. Caused by error 2341: 'Internal program error (failed ndbrequire)(Internal error, programming error or missing error message, please report a bug). Temporary error and the nodes are shutdown. How can one resolve the error 2341? Could any one help me with this mess? Appreciate your time! KC ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems