Hello,
Looking at the xCAT blade.pm code it is using SNMP to connect with the
Management Module.
So your "Cannot communicate" error looks like it is due to a SNMP connection
failing.
This is how the connection is started:
[...edit...]
$session = new SNMP::Session(
DestHost => $mpa,
Version => '3',
SecName => $mpauser,
AuthProto => 'SHA',
AuthPass => $mpapass,
PrivProto => 'DES',
SecLevel => 'authPriv',
UseNumeric => 1,
[...edit...]
PrivPass => $mpapass);
if ($session->{ErrorStr}) {return 1,$session->{ErrorStr}; }
unless ($session and keys %$session) {
my %err=(node=>[]);
foreach (keys %{$mpahash{$mpa}->{nodes}}) {
push (@{$err{node}},{name=>[$_],error=>["Cannot communicate with
$mpa"],errorcode=>[1]});
}
[...edit...]
I am not sure how much rspconfig snmpcfg=enable does to get this ready on the
management module.
You should not need to make changes but If there are issues around SNMP v1 /
SNMP v3 support with xCAT on IBM Bladecenter (as it is older hardware) which
might be what you are hitting.
Some of the developers should be able to shed some light on this.
You could check on your Bladecenter management module under the under the Login
Profiles link for the user you have configured to talk to xCAT.
There should be an option to configure an SNMP V3 profile. Some of the
settings should be similar to the above connection requirements in the blade.pm
code.
My assumption is if there is not a correct SNMP v3 profile then the connection
will fail.
(some background:
https://publib.boulder.ibm.com/infocenter/bladectr/documentation/index.jsp?topic=/com.ibm.bladecenter.mgtmod.doc/kp1ag_bc_mmug_configsnmp.html).
See if that helps, if not, can anyone else on the list provide Russell with
some advice?
Regards,
David
From: Russell Jones [mailto:[email protected]]
Sent: Monday, May 11, 2015 9:31 PM
To: [email protected]
Subject: Re: [xcat-user] Issues with BladeCenter H and management module
commands
Hi Steven, David,
Thanks for the help! I saw where I was going wrong with the username/password
issues and got that cleared up. I am able to run the previous psh command now
without any errors, and have also ran the sshcfg and snmpcfg=enable without any
errors:
mm1: system> info -T mm[1]
mm1: Name: mm1
mm1: UUID: DD4E 2BFC
mm1: Manufacturer: IBM (FOXC)
mm1: Manufacturer ID: 20301
mm1: Product ID: 65
mm1: Mach type/model: Advanced Management Module
mm1: Mach serial number: Not Available
mm1: Manuf date: 5309
mm1: Hardware rev: 18
mm1: Part no.: 80Y9080
mm1: FRU no.: 80Y9081
mm1: FRU serial no.: XXX
mm1: CLEI: Not Available
mm1: AMM firmware
mm1: Build ID: BPET66K
mm1: File name: CNETCMUS.PKT
mm1: Rel date: 09/19/2014
mm1: Rev: 66
mm1: Product Name: IBM Advance Management Module
I am now facing an issue though where commands like rscan and rpower are
returning "Cannot communicate with ....". Here's the exact error it's giving:
[root@xcat ~]# rpower node3-4-0 stat -V
20150511.13:15:21 (3092) rpower:start deal with SNMP session.
node3-4-0: Error: Cannot communicate with mm1
Again the snmpcfg=enable line finished without any errors. I have the
net-snmp-libs, net-snmp-perl, and net-snmp-utils packages installed on the xcat
management node.
The MM event log doesn't show any errors (actually doesn't show any lines at
all when I try to run rpower).
Any ideas on what I can check on the MM? Is there an additional configuration
command that needs to be ran that might have been missed?
Thanks again!
On 5/8/2015 6:42 PM, Stephen Fralich wrote:
I meant, mp.id not mpa.id.
On Fri, May 8, 2015 at 4:39 PM, Stephen Fralich
<[email protected]><mailto:[email protected]> wrote:
Your node definitions don't indicate which slot the blade is in. That
value goes into mpa.id. You can use the rscan command to get this
information. It can also update it in the xCAT database if you want.
It might overwrite data you care about though, so I'd just parse the
rscan output and update it yourself.
On Mon, May 4, 2015 at 2:37 PM, Russell Jones
<[email protected]><mailto:[email protected]> wrote:
Hi all,
I am attempting to setup some blades in a BladeCenter in order to be
able to use commands such as rbootseq and rpower. However when I issue
these commands I am getting the following errors. SSH and SNMP are
enabled on the chassis, and I am able to login via SSH successfully
using the credentials I have configured in the mpa table. The user is
configured as a Supervisor. Any assistance in figuring out how to get
the management module talking correctly is appreciated!
[root@xcat ~]# rpower node3-4-0 stat
node3-4-0: Error: stat unsupported on the management module
[root@xcat ~]# rbootseq node3-4-0 net
node3-4-0: Error: Unsupported security level
[root@xcat ~]# lsxcatd -v
Version 2.8.2 (svn r17010, built Mon Jul 22 23:28:24 EDT 2013)
[root@xcat ~]# lsdef node3-4-0
Object name: node3-4-0
arch=x86_64
currstate=netboot centos6.3-x86_64-v6.3.1-dl-compute
groups=bcn,v6.3.1-dl-compute,all,compute
initrd=xcat/osimage/v6.3.1-dl-compute/initrd-stateless.gz
installnic=mac
ip=X
kcmdline=imgurl=http://!myipfn!:80//install/netboot/centos6.3/x86_64/v6.3.1-dl-compute/rootimg.gz<http://!myipfn!:80/install/netboot/centos6.3/x86_64/v6.3.1-dl-compute/rootimg.gz>
XCAT=!myipfn!:3001 NODE=node3-4-0
kernel=xcat/osimage/v6.3.1-dl-compute/kernel
mac=e4:1f:13:79:7e:9c
mgt=blade
mpa=mm1
netboot=xnba
nfsserver=X
nicips.eth1=X
nicnetworks.eth1=storage
nictypes.eth1=Ethernet
os=centos6.3
postscripts=setupntp,hardeths,syslog,remoteshell,syncfiles
primarynic=mac
profile=v6.3.1-dl-compute
provmethod=v6.3.1-dl-compute
status=netbooting
statustime=05-04-2015 14:24:12
[root@xcat ~]# lsdef mm1
Object name: mm1
groups=mm,bcn,all
ip=X
mgt=blade
mpa=mm1
postscripts=setupntp,hardeths,syslog,remoteshell,syncfiles
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user