Hi, On Thu, Feb 24, 2011 at 09:08:45AM -0800, Avestan wrote: > > Hello Dejan, > > Thanks for your information. After looking to the bug filed and solution by > Dave Blaschke "The link you pointed to..." > > If I understand this correctly, This is really a work around the issue that > some telnet apps do not > issue "Escape character is '^]'" when logging in while others do.
Right. And apparently nobody tested it with the telnet program which prints the message. > Now the question is which are the telnet apps that do issue "Escape > character is '^]'" when logging in. > > I am running Fedora 7 and I use putty to ssh to the box running stonith > demean. Fedora 7 sounds really old, perhaps you should upgrade. > I have also seen other posting which points to the same problem while using > other APC products. Is this issue related only with STONITH not being fully > compatible with APC products? If this is so, will the problem be solved by > moving to STONITH Devices from other vendors? > > Do you know of any other STONITH products which doesn't have the issue? No. I don't know exactly why, but this issue happens only with APC master. BTW, does your device support SNMP? If so, you can try with apcmastersnmp. > As you said "Hmm, this looks ancient. " and the bug was filed on 2008-05-01 > "almost three years ago!". Since this bug was not fixed in the current > STONITH as I am under impression that I am running the current version, "The > package stonith which is installed is: stonith - 2.0.8-1.fc7.i386", That means you probably won't get any support any more here. And you'll be much better of with Pacemaker. > "assuming there has been new releases of STONITH Demean since the filed > bug", does this means that the STONITH wishes not to support APC products? Not at all, we want to support as many products as possible. The problem is that we don't have many to try out, so it's mainly relying on the community to test and provide reports. Thanks, Dejan > Thank you very much for your help. > > Avestan > > > > Dejan Muhamedagic wrote: > > > > Hi, > > > > On Wed, Feb 23, 2011 at 06:44:02PM -0800, Avestan wrote: > >> > >> Hello everyone, > >> > >> I have been trying to get STONITH work with the MasterSwitch Plus (AP9225 > >> + > >> AP9617) with very little success. > >> > >> I have to mention that I am able to access the MasterSwitch Plus via > >> either > >> serial port or Ethernet port with no issue. But when I try the stonith > >> command, it appears that there is some issue with the login. > >> > >> [root@server1 ~]# stonith -d 1 -t apcmaster -p "192.168.1.50 apc apc" -l > >> ** (process:4930): DEBUG: NewPILPluginUniv(0xa03b008) > >> ** (process:4930): DEBUG: PILS: Plugin path = > >> /usr/lib/stonith/plugins:/usr/lib/pils/plugins > >> ** (process:4930): DEBUG: NewPILInterfaceUniv(0xa03c910) > >> ** (process:4930): DEBUG: NewPILPlugintype(0xa03ca68) > >> ** (process:4930): DEBUG: NewPILPlugin(0xa03cdc8) > >> ** (process:4930): DEBUG: NewPILInterface(0xa03cb00) > >> ** (process:4930): DEBUG: > >> NewPILInterface(0xa03cb00:InterfaceMgr/InterfaceMgr)*** user_data: 0x0 > >> ******* > >> ** (process:4930): DEBUG: > >> InterfaceManager_plugin_init(0xa03cb00/InterfaceMgr) > >> ** (process:4930): DEBUG: Registering Implementation manager for > >> Interface > >> type 'InterfaceMgr' > >> ** (process:4930): DEBUG: PILS: Looking for InterfaceMgr/generic => > >> [/usr/lib/stonith/plugins/InterfaceMgr/generic.so] > >> ** (process:4930): DEBUG: Plugin file > >> /usr/lib/stonith/plugins/InterfaceMgr/generic.so does not exist > >> ** (process:4930): DEBUG: PILS: Looking for InterfaceMgr/generic => > >> [/usr/lib/pils/plugins/InterfaceMgr/generic.so] > >> ** (process:4930): DEBUG: Plugin path for InterfaceMgr/generic => > >> [/usr/lib/pils/plugins/InterfaceMgr/generic.so] > >> ** (process:4930): DEBUG: PluginType InterfaceMgr already present > >> ** (process:4930): DEBUG: Plugin InterfaceMgr/generic init function: > >> InterfaceMgr_LTX_generic_pil_plugin_init > >> ** (process:4930): DEBUG: NewPILPlugin(0xa03d690) > >> ** (process:4930): DEBUG: Plugin InterfaceMgr/generic loaded and > >> constructed. > >> ** (process:4930): DEBUG: Calling init function in plugin > >> InterfaceMgr/generic. > >> ** (process:4930): DEBUG: NewPILInterface(0xa03d630) > >> ** (process:4930): DEBUG: > >> NewPILInterface(0xa03d630:InterfaceMgr/stonith2)*** user_data: 0xa03ce80 > >> ******* > >> ** (process:4930): DEBUG: Registering Implementation manager for > >> Interface > >> type 'stonith2' > >> ** (process:4930): DEBUG: IfIncrRefCount(1 + 1 ) > >> ** (process:4930): DEBUG: PluginIncrRefCount(0 + 1 ) > >> ** (process:4930): DEBUG: IfIncrRefCount(1 + 100 ) > >> ** (process:4930): DEBUG: PILS: Looking for stonith2/apcmaster => > >> [/usr/lib/stonith/plugins/stonith2/apcmaster.so] > >> ** (process:4930): DEBUG: Plugin path for stonith2/apcmaster => > >> [/usr/lib/stonith/plugins/stonith2/apcmaster.so] > >> ** (process:4930): DEBUG: Creating PluginType for stonith2 > >> ** (process:4930): DEBUG: NewPILPlugintype(0xa03db70) > >> ** (process:4930): DEBUG: Plugin stonith2/apcmaster init function: > >> stonith2_LTX_apcmaster_pil_plugin_init > >> ** (process:4930): DEBUG: NewPILPlugin(0xa03dcf0) > >> ** (process:4930): DEBUG: Plugin stonith2/apcmaster loaded and > >> constructed. > >> ** (process:4930): DEBUG: Calling init function in plugin > >> stonith2/apcmaster. > >> ** (process:4930): DEBUG: NewPILInterface(0xa03dc38) > >> ** (process:4930): DEBUG: > >> NewPILInterface(0xa03dc38:stonith2/apcmaster)*** > >> user_data: 0x26da2c ******* > >> ** (process:4930): DEBUG: IfIncrRefCount(101 + 1 ) > >> ** (process:4930): DEBUG: PluginIncrRefCount(0 + 1 ) > >> ** (process:4930): DEBUG: Got '\xff' > >> ** (process:4930): DEBUG: Got '\xfb' > >> ** (process:4930): DEBUG: Got '\u0001' > >> ** (process:4930): DEBUG: Got ' > >> ' > >> ** (process:4930): DEBUG: Got '\u000d' > >> ** (process:4930): DEBUG: Got 'U' > >> ** (process:4930): DEBUG: Got 's' > >> ** (process:4930): DEBUG: Got 'e' > >> ** (process:4930): DEBUG: Got 'r' > >> ** (process:4930): DEBUG: Got ' ' > >> ** (process:4930): DEBUG: Got 'N' > >> ** (process:4930): DEBUG: Got 'a' > >> ** (process:4930): DEBUG: Got 'm' > >> ** (process:4930): DEBUG: Got 'e' > >> ** (process:4930): DEBUG: Got ' ' > >> ** (process:4930): DEBUG: Got ':' > >> ** (process:4930): DEBUG: Got ' ' > >> > >> ** (process:4930): CRITICAL **: Did not find string Escape character is > >> '^]'. from APC MasterSwitch. > >> > >> ** (process:4930): CRITICAL **: Received [\xff\xfb\u0001 > >> \u000dUser Name : ] > >> > >> ** (process:4930): CRITICAL **: Did not find string Escape character is > >> '^]'. from APC MasterSwitch. > >> > >> ** (process:4930): CRITICAL **: Received [] > >> > >> ** (process:4930): CRITICAL **: Did not find string Escape character is > >> '^]'. from APC MasterSwitch. > >> > >> ** (process:4930): CRITICAL **: Received [] > >> > >> [root@server1 ~]# > >> > >> The package stonith which is installed is: stonith - 2.0.8-1.fc7.i386 > > > > Hmm, this looks ancient. > > > >> I have been searching for a solution and it appears that there is some > >> complication with string Escape character is '^]' which is not issued. > >> > >> Can someone help me out or point me to the right direction in order to > >> get > >> this issue fixed? > > > > There's a patch which fixes this issue, but it has never been > > applied for Dave feared it could break some installations. Patch > > attached here: > > > > http://developerbugs.linux-foundation.org/show_bug.cgi?id=1891 > > > > Thanks, > > > > Dejan > > > >> Thanks, > >> > >> Avestan > >> > >> -- > >> View this message in context: > >> http://old.nabble.com/stonith-%2B-APC-Masterswitch-%28AP9225-%2B-AP9616%29-tp31000780p31000780.html > >> Sent from the Linux-HA mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> Linux-HA mailing list > >> [email protected] > >> http://lists.linux-ha.org/mailman/listinfo/linux-ha > >> See also: http://linux-ha.org/ReportingProblems > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > > > > -- > View this message in context: > http://old.nabble.com/stonith-%2B-APC-MasterSwitch-%28AP9225-%2B-AP9617%29-tp31000780p31006028.html > Sent from the Linux-HA mailing list archive at Nabble.com. > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
