Linux / UNIX Tech Support Forum
This is a discussion on Automate drac/ilo reboot within the Shell scripting forums, part of the Development/Scripting category; Ok here's the case: a whole bunch of M$ terminal servers that hang after every patch tuesday update. We need ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Ok here's the case:
a whole bunch of M$ terminal servers that hang after every patch tuesday update. We need to manually reboot them using DRAC and ILO's wich is time consuming. Now these drac and ilo devices support SSH and it is possible to login in and give them a reboot command. Now I figured I could run a script from a linux server that automatically log in remotely and gives the server(s) the reboot command, thought about using this one: http://nixcraft.com/shell-scripting/...ng-unix-login-passwords-through-shell-scripts.html Has anyone ever done this before in such a case? Offcourse the command's for drac and ilo's are different then linux/unix. |
| Sponsored Links | ||
|
|
|
||||
|
Is it like IPMI over KVM? I'm not aware of drac/ilo reboot commands. But usually, you can do something as follows for IPMI devices:
Code:
sshpass -p 'password' ssh username@server.ip command sshpass -p 'password' ssh username@server.ip reboot Code:
ipmitool -U root -I lan -H 10.5.1.2 -E shell
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Hi Vivek, we have no ipmi support, ilo=integrated lights out from HP and Drac a similar tool from dell. Basically you can approach your server and power off/on if the server is not responding through RDP.
I believe the DRAC command is reset /servername I am gonna try the expect tool and see what goes |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Causes of reboot | harshal | CentOS / RHEL / Fedora | 8 | 11-08-2009 02:56 PM |
| Mount NFS Shares after client reboot | khalil_noura | File Servers | 3 | 05-05-2009 01:14 AM |
| Automate command execution - reboot-command execution | ganeshp@moris.org | Shell scripting | 2 | 03-12-2008 11:18 AM |
| command run after reboot | kasimani | Shell scripting | 1 | 22-03-2007 12:45 AM |
| Automatically reboot my Windows 2003 Server | jerry | Windows Xp/2000/2003 server administration | 7 | 10-10-2006 02:23 AM |