1 = reset drac passwords/settings =
3 * Get a copy of the {{{drac-stuff}}} directory in root's homedir on grieg,
4 rautavaara etc. It contains {{{racadm}}}, {{{racsvc}}} with needed
7 * Communications with the drac from the host goes over a serial device, which
8 you need to serialsetup first: To do that run
10 sh -x drac-stuff/etc/init.d/racsvc start
12 it will fail in a few places but it will figure out which ttySXX it is, and it
13 will do a sersetup on it.
17 LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" drac-stuff/usr/sbin/racsvc -d /dev/ttyS2
19 or whatever ttyS it is in this case. It will need ia32-libs if you are on amd64.
20 ("File not found" tells you that.)
22 * get the current config:
24 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config
29 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racresetcfg
34 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -d
37 * or set static addresses:
39 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -s 192.0.2.011 255.255.255.0 192.0.2..1
42 * set a root password (root is user #1 by default):
44 # typeset HISTCONTROL=ignoreboth
45 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 "swordfish"
48 * inspect the new config:
50 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config-after
55 # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racreset