Multiple DRAC Password Changes

This script will allow you to change multiple DRAC passwords at one time.

1. config_drac.sh this script configures the username, password, active directory and all components of the drac
2. ipaddr.txt: This text file contains a list of ip address which need to be configured
3. drac.cfg: This file contains the configurations needed to be set/unset on the DRAC.

To use the script the user has to do the following.

1. Copy these files into one directory (say /home/scripts)
2. Make the necessary changes in the drac.cfg file. This includes the configuration the user needs to automate.
3. Add all the ip addresses of the DRACs which needs to be configured using the drac.cfg file in ipaddr.txt file.
4. Run the script config_drac.sh
5. This scripts uses the information from the above mentioned files and attempts to configure the DRAC.
6. All the logs are stored in config.log file under the same folder as these files.

Sample files for both drac.cfg and ipaddr.txt include descriptions for easy usage.


scott_hanson
scott_hanson
Latest page update: made by scott_hanson , Jul 18 2008, 2:41 PM EDT (about this update About This Update scott_hanson Edited by scott_hanson


view changes

- complete history)
Keyword tags: DRAC script
More Info: links to this page

Anonymous  (Get credit for your thread)



By saving these changes, I acceptthis site's content policies and agree to comply with applicable copyright laws.

Started By Thread Subject Replies Last Post
Stooartbaby Certificate issue 1 Jul 29 2008, 12:46 PM EDT by scott_hanson
Stooartbaby
Thread started: Jul 27 2008, 6:50 PM EDT  Watch
Hi Guys,

When trying to run the script (a vbs one I am working on) I get the following error...

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Starting batch configuration of DRAC from file ipaddr.txt
========================================
DRAC IP 10.1.2.3
racadm -u root -p password -r 10.1.2.4 config -f drac.cfg
Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party
Enter "Y" to continue,or any other key to quit:
done
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I just have the default certificate installed.... do i need to push out a new certificate to resolve this?

Thanks,
Stuart.
Do you find this valuable?    
Keyword tags: DRAC script
Show Last Reply
Unknown File config_drac.vbs (Unknown File - 3k)
posted by Stooartbaby   Sep 29 2008, 10:32 PM EDT
VBS script that configures password changes on multiple DRACs
Text File ipaddr.txt (Text File - 0k)
posted by scott_hanson   Jul 18 2008, 2:45 PM EDT
List of IP addresses for the DRACs to change
Unknown File drac.cfg (Unknown File - 2k)
posted by scott_hanson   Jul 18 2008, 2:44 PM EDT
DRAC Configuration file for the script
Unknown File config_drac.sh (Unknown File - 1k)
posted by scott_hanson   Jul 18 2008, 2:43 PM EDT
Script that configures password changes on multiple DRACs

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)