Shannon Gray writes:
> I am using (or trying to use) local racadm commands and it looks like ipmi is 
> running fine. 
>
> I'm still reviewing the docs though, so it's possible that I missed some 
> crucial config or something.
>   

You seem to be getting these results with the OMSA RPM version of 
racadm, what results do you get with the DTK 3.1.1 dell.tar.gz version?  
I think that this will make all the difference.

I suppose it is possible that the difference between your RHEL 4.x and 
my RHEL 5.4 is significant:

> # rpm -q --whatprovides /etc/init.d/ipmi
> OpenIPMI-1.4.14-99.dell.123.1.el4
>
> # service ipmi status
> ipmi_msghandler module loaded.
> ipmi_si module loaded.
> ipmi_devintf module loaded.
> /dev/ipmi0 exists.
>   

# rpm -qf /etc/init.d/ipmi
OpenIPMI-2.0.16-5.el5_4.1

# service ipmi status
ipmi_msghandler module loaded.
ipmi_si module loaded.
ipmi_devintf module loaded.
/dev/ipmi0 exists.

I do have some other RPMs and their associated kernel modules loaded, 
not sure if they are relevant:

# rpm -qa | grep srv
srvadmin-omilcore-6.0.0-134
srvadmin-hapi-6.0.0-134
srvadmin-ipmi-6.0.0-207.rhel5

# md5sum /opt/dell/srvadmin/hapi/bin/instsvcdrv /etc/init.d/instsvcdrv
4aad0af27b3895b9e2344b1311ba4d30  /opt/dell/srvadmin/hapi/bin/instsvcdrv
4aad0af27b3895b9e2344b1311ba4d30  /etc/init.d/instsvcdrv

# rpm -qf /opt/dell/srvadmin/hapi/bin/instsvcdrv
srvadmin-hapi-6.0.0-134

# /opt/dell/srvadmin/hapi/bin/instsvcdrv status
dell_rbu (module) is running
ipmi driver is running


> I did also try a _remote_ racadm connection and got a cert error as well as 
> the support message.
>
> # racadm -r XXX -u XXX -p XXX getsysinfo
> Security Alert: Certificate is invalid - self signed certificate
> Enter "Y" to continue,or any other key to quit:
> Y
>
> NOTE:
> This Integrated Dell Remote Access Controller does not support RACADM 
> commands.
> Please contact Dell Customer Service to upgrade your version of iDRAC.
>   

That's interesting - I also get a cert error, but it is different, and 
doesn't require entering "Y" - the DTK 3.1.1 dell.tar.gz racadm ignores 
cert errors unless you run it with a -S argument.

# racadm -r $REMOTE -u $USERNAME -p $PASSWORD getsvctag
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on 
certificate-related errors.

NOTE:
This Integrated Dell Remote Access Controller does not support RACADM 
commands.
Please contact Dell Customer Service to upgrade your version of iDRAC.


# racadm -S -r $REMOTE -u $USERNAME -p $PASSWORD getsvctag
Security Alert: Certificate is invalid - self signed certificate
Racadm not continuing execution of the command.
ERROR: Unable to connect to RAC at specified IP address.


I'm curious what you see from a system call trace of racadm for local 
and remote operation.  I get the following:

# strace -e open,connect racadm getsvctag 2>&1 >/dev/null | egrep -v 
'O_RDONLY|AF_FILE'
open("/opt/dell/srvadmin/hapi/.ipc/.dcsupmtxE3DDF176BAD6822549B87D448D185845", 
O_WRONLY|O_CREAT, 0664) = 3
open("/dev/ipmi0", O_RDWR)              = 4
open("/opt/dell/srvadmin/hapi/.ipc/.dcsupmtxF47ED04A3DE6856EDBF8DD8E1589C653", 
O_WRONLY|O_CREAT, 0664) = 5

# strace -e open,connect racadm -r $REMOTE -u $USERNAME -p $PASSWORD 
getsvctag 2>&1 | egrep -v 'O_RDONLY|AF_FILE'
connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("192.168.1.1")}, 28) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(5869), 
sin_addr=inet_addr("192.168.1.189")}, 16) = -1 EINPROGRESS (Operation 
now in progress)
connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("192.168.1.1")}, 28) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(443), 
sin_addr=inet_addr("192.168.1.189")}, 16) = -1 EINPROGRESS (Operation 
now in progress)
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on 
certificate-related errors.
connect(4, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("192.168.1.1")}, 28) = 0
connect(4, {sa_family=AF_INET, sin_port=htons(443), 
sin_addr=inet_addr("192.168.1.189")}, 16) = -1 EINPROGRESS (Operation 
now in progress)

NOTE:
This Integrated Dell Remote Access Controller does not support RACADM 
commands.
Please contact Dell Customer Service to upgrade your version of iDRAC.


[ Process PID=6975 runs in 32 bit mode. ]

@alex

-- 
mailto:alex.du...@mac.com

_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge@dell.com
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to