Everything is working fine when I do the commands manually, and with my script it is working to connect to the iDRAC through "putty.exe -ssh@'iDRAC-IP'". I can also write commands to iDRAC through my script (such as >racadm getssninfo). I can also run the command >connect in the iDRAC which is the command to connect to the server itself (this works manually). What I am not unable to do is run commands to the server after this. I want to run commands such as >ifconfig -a. (Note:everything works manually) I'm thinking it's not working because I'm not setting up a specific "channel" to the new window (corresponding to the server). The channel I have is to the iDRAC through the -ssh... command. Does that make things clearer? So what I want to do is to get it to work to write commands to the server itself.
What I am not unable to do is run commands to the server after this. I want to run commands such as >ifconfig -a. (Note:everything works manually) I'm thinking it's not working because I'm not setting up a specific "channel" to the new window (corresponding to the server). The channel I have is to the iDRAC through the -ssh... command. Does that make things clearer? So what I want to do is to get it to work to write commands to the server itself.
That has nothing to do with the iDRAC or any Dell product. I'll let the community try to assist with your scripting issue.
Daniel My
10 Elder
•
6.2K Posts
0
July 13th, 2017 10:00
Hello
The iDRAC and server should be on different IPs. When you connect to the iDRAC via SSH it should not have anything to do with the server's host OS.
What commands are you having issues running on the iDRAC?
Thanks
TypAna
2 Posts
0
July 14th, 2017 01:00
Hi!
Everything is working fine when I do the commands manually, and with my script it is working to connect to the iDRAC through "putty.exe -ssh@'iDRAC-IP'". I can also write commands to iDRAC through my script (such as >racadm getssninfo). I can also run the command >connect in the iDRAC which is the command to connect to the server itself (this works manually). What I am not unable to do is run commands to the server after this. I want to run commands such as >ifconfig -a. (Note:everything works manually) I'm thinking it's not working because I'm not setting up a specific "channel" to the new window (corresponding to the server). The channel I have is to the iDRAC through the -ssh... command. Does that make things clearer? So what I want to do is to get it to work to write commands to the server itself.
Thanks
Anna
Daniel My
10 Elder
•
6.2K Posts
0
July 14th, 2017 10:00
That has nothing to do with the iDRAC or any Dell product. I'll let the community try to assist with your scripting issue.
Thanks
averma23
1 Message
0
August 24th, 2017 10:00
Hi, is this issue is resolved. I have the similar use case. Please keep us posted.
Ajay thivahar
7 Posts
0
November 20th, 2018 00:00
output :
AttributeError: 'NoneType' object has no attribute 'text'
Ajay thivahar
7 Posts
0
November 20th, 2018 00:00
it is connecting but i coudnt get any status from server
Ajay thivahar
7 Posts
0
November 20th, 2018 00:00
ArduinoGuy
20 Posts
0
November 20th, 2018 12:00
You might consider checking this out, it looks helpful:
https://github.com/dell/iDRAC-Redfish-Scripting
What are the end goals of the script? What funcitonality are you looking for?
Ajay thivahar
7 Posts
0
November 20th, 2018 17:00
we are trying with dracclient module in python
not with redfish