Discussion:
[xcat-user] connection refused on bmc port
Damir Krstic
2017-07-20 02:31:23 UTC
Permalink
Hi all,

We just got couple of new x3650 servers in and discovering them went
without a problem. Running bmcsetup worked ok too. For some reason after
the bmc setup was done, the interface was still in dedicated mode and per
Jarrod's instructions some time ago, I was able to change it to shared.
What Jarrod asked me, back in 2015 to do was to ssh to the node while
bmcsetup was running and execute following command:
ipmitool raw 0xc 1 1 0xc0 0

This sets the interface to the shared mode. I did that and it looks OK.
However, telnet <node>-bmc I get connection refused and I don't recall ever
getting this message before.

Any help is appreciated.

Thanks,
Damir
Nicolas Roosen
2017-07-20 06:50:35 UTC
Permalink
Hi,
Post by Damir Krstic
Hi all,
We just got couple of new x3650 servers in and discovering them went
without a problem. Running bmcsetup worked ok too. For some reason after
the bmc setup was done, the interface was still in dedicated mode and
per Jarrod's instructions some time ago, I was able to change it to
shared. What Jarrod asked me, back in 2015 to do was to ssh to the node
ipmitool raw 0xc 1 1 0xc0 0
you can try to "reset" the BMC:

ipmitool mc reset warm (or "cold" if a warm reset is not enough).


Or maybe the raw command changed since there are new servers (and new
BMCs firmware I guess)?

On a Supermicro I had to run this from the OS to set the BMC to shared:

ipmitool raw 0x30 0x70 0x0c 1 1

And to check the actual value:

ipmitool raw 0x30 0x70 0x0c 0


Nicolas
Post by Damir Krstic
This sets the interface to the shared mode. I did that and it looks OK.
However, telnet <node>-bmc I get connection refused and I don't recall
ever getting this message before.
Any help is appreciated.
Thanks,
Damir
Damir Krstic
2017-07-20 12:25:47 UTC
Permalink
Post by Nicolas Roosen
Hi,
Post by Damir Krstic
Hi all,
We just got couple of new x3650 servers in and discovering them went
without a problem. Running bmcsetup worked ok too. For some reason after
the bmc setup was done, the interface was still in dedicated mode and
per Jarrod's instructions some time ago, I was able to change it to
shared. What Jarrod asked me, back in 2015 to do was to ssh to the node
ipmitool raw 0xc 1 1 0xc0 0
ipmitool mc reset warm (or "cold" if a warm reset is not enough).
Or maybe the raw command changed since there are new servers (and new
BMCs firmware I guess)?
ipmitool raw 0x30 0x70 0x0c 1 1
ipmitool raw 0x30 0x70 0x0c 0
Nicolas
Post by Damir Krstic
This sets the interface to the shared mode. I did that and it looks OK.
However, telnet <node>-bmc I get connection refused and I don't recall
ever getting this message before.
Any help is appreciated.
Thanks,
Damir
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
https://lists.sourceforge.net/lists/listinfo/xcat-user
Damir Krstic
2017-07-20 12:26:17 UTC
Permalink
I don't think that went through:

[***@mgt asu]# asu set IMM.TelnetSessions 2 --host
qanalytics01-bmc
IBM Advanced Settings Utility version 4.00.74Z
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2007-2011 All Rights Reserved
Connected to IMM at IP address qanalytics01-bmc
IMM.TelnetSessions=2
Waiting for command completion status.
Command completed successfully.
[***@mgt asu]# telnet
qanalytics01-bmc
Trying 172.29.10.40...
Connected to qanalytics01-bmc.
Escape character is '^]'.
Post by Nicolas Roosen
Hi,
Post by Damir Krstic
Hi all,
We just got couple of new x3650 servers in and discovering them went
without a problem. Running bmcsetup worked ok too. For some reason after
the bmc setup was done, the interface was still in dedicated mode and
per Jarrod's instructions some time ago, I was able to change it to
shared. What Jarrod asked me, back in 2015 to do was to ssh to the node
ipmitool raw 0xc 1 1 0xc0 0
ipmitool mc reset warm (or "cold" if a warm reset is not enough).
Or maybe the raw command changed since there are new servers (and new
BMCs firmware I guess)?
ipmitool raw 0x30 0x70 0x0c 1 1
ipmitool raw 0x30 0x70 0x0c 0
Nicolas
Post by Damir Krstic
This sets the interface to the shared mode. I did that and it looks OK.
However, telnet <node>-bmc I get connection refused and I don't recall
ever getting this message before.
Any help is appreciated.
Thanks,
Damir
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
https://lists.sourceforge.net/lists/listinfo/xcat-user
Jarrod Johnson
2017-07-20 12:53:16 UTC
Permalink
On my system:
[***@odin ~]# pasu r2 show IMM|grep -i telnet
r2: IMM.TelnetPort=23
r2: IMM.TelnetLegacyPortControl=Open
r2: IMM.TelnetSessions=2


By the way, is there something specific you want out of telnet versus another protocol? The same CLI is over ssh, and we strongly recommend using that, since it is open by default.

From: Damir Krstic [mailto:***@gmail.com]
Sent: Thursday, July 20, 2017 8:26 AM
To: xCAT Users Mailing list
Subject: Re: [xcat-user] connection refused on bmc port

I don't think that went through:

[***@mgt asu]# asu set IMM.TelnetSessions 2 --host qanalytics01-bmc
IBM Advanced Settings Utility version 4.00.74Z
Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2007-2011 All Rights Reserved
Connected to IMM at IP address qanalytics01-bmc
IMM.TelnetSessions=2
Waiting for command completion status.
Command completed successfully.
[***@mgt asu]# telnet qanalytics01-bmc
Trying 172.29.10.40...
Connected to qanalytics01-bmc.
Escape character is '^]'.

On Thu, Jul 20, 2017 at 7:25 AM Damir Krstic <***@gmail.com<mailto:***@gmail.com>> wrote:
it turns out telnet session was disabled - here is how we fixed it:



On Thu, Jul 20, 2017 at 1:57 AM Nicolas Roosen <***@hpe.com<mailto:***@hpe.com>> wrote:
Hi,
Post by Damir Krstic
Hi all,
We just got couple of new x3650 servers in and discovering them went
without a problem. Running bmcsetup worked ok too. For some reason after
the bmc setup was done, the interface was still in dedicated mode and
per Jarrod's instructions some time ago, I was able to change it to
shared. What Jarrod asked me, back in 2015 to do was to ssh to the node
ipmitool raw 0xc 1 1 0xc0 0
you can try to "reset" the BMC:

ipmitool mc reset warm (or "cold" if a warm reset is not enough).


Or maybe the raw command changed since there are new servers (and new
BMCs firmware I guess)?

On a Supermicro I had to run this from the OS to set the BMC to shared:

ipmitool raw 0x30 0x70 0x0c 1 1

And to check the actual value:

ipmitool raw 0x30 0x70 0x0c 0


Nicolas
Post by Damir Krstic
This sets the interface to the shared mode. I did that and it looks OK.
However, telnet <node>-bmc I get connection refused and I don't recall
ever getting this message before.
Any help is appreciated.
Thanks,
Damir
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user

Loading...