Hi Due to limitations of the MPC device (it doesn't allows to assign same plug name to the different plugs) this plugin uses GROUPS instead of PLUGS. I mean - you have to connect your nodes to the MPC, using one or more plugs, create a group and name it, using a node's uname. Then just add node's plugs to that group. This should be done even for nodes, that use single outlet.
On Wed, 02 Sep 2009 17:06:45 +0300 Denis Chapligin <chol...@satgate.net> wrote: > # HG changeset patch > # User Denis Chapligin <chol...@satgate.net> > # Date 1251900378 -10800 > # Node ID 4f237a3f3798a955f3c05aa7ff948aa4a2cede93 > # Parent 10b6d4ec44a1088499c5d092314254458d3dfd68 > Added a stonith plugin for a WTS MPC series switched rack PDU. Tested > with MPC-8H and MPC-18H. Should be working with other MPC devices. > Plugin is based on the apcmastersnmp plugin. > > diff -r 10b6d4ec44a1 -r 4f237a3f3798 lib/plugins/stonith/Makefile.am > --- a/lib/plugins/stonith/Makefile.am Fri Aug 14 12:02:34 2009 > +0200 +++ b/lib/plugins/stonith/Makefile.am Wed Sep 02 > 17:06:18 2009 +0300 @@ -112,7 +112,8 @@ > ssh.la \ > suicide.la \ > $(vacm_LIB) \ > - wti_nps.la > + wti_nps.la \ > + wti_mpc.la > > apcmaster_la_SOURCES = apcmaster.c $(INCFILES) > apcmaster_la_LDFLAGS = -export-dynamic -module -avoid-version > @@ -186,6 +187,11 @@ > wti_nps_la_LDFLAGS = -export-dynamic -module -avoid-version > wti_nps_la_LIBADD = $(top_builddir)/replace/libreplace.la > $(GLIBLIB) > +wti_mpc_la_SOURCES= wti_mpc.c $(INCFILES) > +wti_mpc_la_LDFLAGS= -export-dynamic -module -avoid-version @SNMPLIB@ > \ > + @CRYPTOLIB@ > +wti_mpc_la_LIBADD = $(GLIBLIB) > + > suicide_la_SOURCES = suicide.c $(INCFILES) > suicide_la_LDFLAGS = -export-dynamic -module -avoid-version > -- Denis Chapligin _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/