projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2d843b8
)
get rid of tabs
author
Peter Palfrader
<peter@palfrader.org>
Sat, 27 Mar 2010 13:48:32 +0000
(14:48 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 27 Mar 2010 13:48:32 +0000
(14:48 +0100)
input/howto/drac-reset.creole
patch
|
blob
|
history
diff --git
a/input/howto/drac-reset.creole
b/input/howto/drac-reset.creole
index
78f1a4a
..
9a15bcb
100644
(file)
--- a/
input/howto/drac-reset.creole
+++ b/
input/howto/drac-reset.creole
@@
-7,50
+7,50
@@
dependencies.
* Communications with the drac from the host goes over a serial device, which
you need to serialsetup first: To do that run
{{{
* Communications with the drac from the host goes over a serial device, which
you need to serialsetup first: To do that run
{{{
- sh -x drac-stuff/etc/init.d/racsvc start
+
sh -x drac-stuff/etc/init.d/racsvc start
}}}
it will fail in a few places but it will figure out which ttySXX it is, and it
will do a sersetup on it.
* Start ravscv using
{{{
}}}
it will fail in a few places but it will figure out which ttySXX it is, and it
will do a sersetup on it.
* Start ravscv using
{{{
- LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" drac-stuff/usr/sbin/racsvc -d /dev/ttyS2
+
LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" drac-stuff/usr/sbin/racsvc -d /dev/ttyS2
}}}
or whatever ttyS it is in this case. It will need ia32-libs if you are on amd64.
("File not found" tells you that.)
* get the current config:
{{{
}}}
or whatever ttyS it is in this case. It will need ia32-libs if you are on amd64.
("File not found" tells you that.)
* get the current config:
{{{
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config
}}}
* reset all config:
{{{
}}}
* reset all config:
{{{
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racresetcfg
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racresetcfg
}}}
* enable dhcp:
{{{
}}}
* enable dhcp:
{{{
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -d
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm setniccfg -d
}}}
* or set static addresses:
{{{
}}}
* or set static addresses:
{{{
- # 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
+
# 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
}}}
* set a root password (root is user #1 by default):
{{{
}}}
* set a root password (root is user #1 by default):
{{{
- # typeset HISTCONTROL=ignoreboth
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 "swordfish"
+
# typeset HISTCONTROL=ignoreboth
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 1 "swordfish"
}}}
* inspect the new config:
{{{
}}}
* inspect the new config:
{{{
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config-after
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm getconfig -p -f drac-config-after
}}}
* reboot the drac:
{{{
}}}
* reboot the drac:
{{{
- # LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racreset
+
# LD_LIBRARY_PATH="/root/drac-stuff/usr/lib" /root/drac-stuff/usr/sbin/racadm racreset
}}}
}}}