Bug 572996 - Fence-Agents: fence_wti, support non-default TCP ports for the different services (SSH, Telnet)
Summary: Fence-Agents: fence_wti, support non-default TCP ports for the different serv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
: 583051 (view as bug list)
Depends On: 496446 506928
Blocks: 579059 593726
TreeView+ depends on / blocked
 
Reported: 2010-03-12 15:13 UTC by Perry Myers
Modified: 2016-04-26 16:08 UTC (History)
10 users (show)

Fixed In Version: cman-2.0.115-39.el5
Doc Type: Bug Fix
Doc Text:
Clone Of: 506928
: 579059 593726 (view as bug list)
Environment:
Last Closed: 2011-01-13 22:32:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing the default telnet port 23 (was disabled in this instance). (62.34 KB, image/png)
2010-05-02 04:58 UTC, Justin Clift
no flags Details
Screenshot showing the default telnet port being enabled and changed to port 50. (62.36 KB, image/png)
2010-05-02 04:59 UTC, Justin Clift
no flags Details
Screenshot showing successfully working with telnet through port 50 on the wti device. (53.48 KB, image/png)
2010-05-02 05:00 UTC, Justin Clift
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0036 0 normal SHIPPED_LIVE cman bug-fix and enhancement update 2011-01-12 17:39:38 UTC

Comment 1 Perry Myers 2010-03-12 15:15:19 UTC
Note, the WTI devices may not even support overriding default ports.  In this case the fix for fence-agents may be to remove the -u option from the fence_wti agent so that it is clear that ports may not be modified.

Comment 2 Lon Hohberger 2010-03-12 16:56:21 UTC
IPS doesnt doesn't allow redefining ports.

RSM doesn't allow redefining ports either.

I'll check the VMR when I get it hooked up, but I'm pretty sure it doesn't.

Comment 3 Marek Grac 2010-03-16 10:57:48 UTC
Checked: VMR does not have option to redefine port. It is only possible to turn service (ssh/telnet/web/radius/..) on/off

Comment 4 Marek Grac 2010-04-02 11:59:39 UTC
Option will be removed from the fence_wti agent.

Comment 6 Marek Grac 2010-04-23 13:06:18 UTC
*** Bug 583051 has been marked as a duplicate of this bug. ***

Comment 7 Justin Clift 2010-05-02 04:58:14 UTC
The WTI IPS-800 CE models definitely allow ports to be changed.

Attaching three screenshots, showing the default telnet port being changed to port 50, then connecting to that manually using telnet as verification it works.

Comment 8 Justin Clift 2010-05-02 04:58:53 UTC
Created attachment 410758 [details]
Screenshot showing the default telnet port 23 (was disabled in this instance).

Comment 9 Justin Clift 2010-05-02 04:59:39 UTC
Created attachment 410759 [details]
Screenshot showing the default telnet port being enabled and changed to port 50.

Comment 10 Justin Clift 2010-05-02 05:00:34 UTC
Created attachment 410760 [details]
Screenshot showing successfully working with telnet through port 50 on the wti device.

Comment 11 Marek Grac 2010-06-18 16:05:57 UTC
Support for non-default ports added

http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=5fae628d12c1c38b1d29a05bf58a2e0c4e19aec7

Comment 13 Lon Hohberger 2010-12-08 21:22:25 UTC
Marek's patch works on my VMR:

[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o reboot -a 10.16.18.73
Success: Rebooted
[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o off -a 10.16.18.73
Success: Powered OFF
[root@rhel5-1 ~]# /sbin/fence_wti -u 3223 -p super -l super -n A8 -o on -a 10.16.18.73
Success: Powered ON

cman-2.0.115-66.el5

Comment 15 errata-xmlrpc 2011-01-13 22:32:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0036.html


Note You need to log in before you can comment on or make changes to this bug.