Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
e0374359
Unverified
Commit
e0374359
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
more cymru console experiments
parent
0b0f0c5b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/new-machine-cymru.md
+79
-1
79 additions, 1 deletion
howto/new-machine-cymru.md
with
79 additions
and
1 deletion
howto/new-machine-cymru.md
+
79
−
1
View file @
e0374359
...
...
@@ -5,8 +5,75 @@ them.
# How-to
## SSH RACDM access
Note: this might already be enabled. Try to connect to the host over
SSH before trying this.
Note that this requires console access, see the
[
idrac consoles
section below
](
#idrac-consoles
)
for more information.
It is important to enable the SSH server in the iDRAC so we have a
more reasonable serial console interface than the outdated Java-based
virtual console. (The SSH server is probably also outdated, but at
least copy-paste works without running an old Ubuntu virtual machine.)
To enable the SSH server, head for the management web interface and
then:
1.
in
`iDRAC settings`
, choose
`Network`
2.
pick the
`Services`
tab in the top menu
3.
make sure the
`Enabled`
checkmark is ticked in the
`SSH`
section
Then you can access the RACDM interface over SSH.
## iDRAC password reset
WARNING: note that the password length is arbitrarily limited, and the
limit is not constant across different iDRAC interfaces. Some have 20
characters, some less (16 seems to work).
### Through the RACDM SSH interface
1.
locate the root user:
racadm get -u root
2.
modify its password, changing
`$INDEX`
with the index value found
above, in the
`cfgUserAdminIndex=$INDEX`
field
racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i $INDEX newpassword
An example session:
/admin1-> racadm getconfig -u root
# cfgUserAdminIndex=2
cfgUserAdminUserName=root
# cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=1
cfgUserAdminPrivilege=0x000001ff
cfgUserAdminIpmiLanPrivilege=4
cfgUserAdminIpmiSerialPrivilege=4
cfgUserAdminSolEnable=1
RAC1168: The RACADM "getconfig" command will be deprecated in a
future version of iDRAC firmware. Run the RACADM
"racadm get" command to retrieve the iDRAC configuration parameters.
For more information on the get command, run the RACADM command
"racadm help get".
/admin1-> racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 2 [REDACTED]
Object value modified successfully
RAC1169: The RACADM "config" command will be deprecated in a
future version of iDRAC firmware. Run the RACADM
"racadm set" command to configure the iDRAC configuration parameters.
For more information on the set command, run the RACADM command
"racadm help set".
### Through the web interface
Before doing anything, the password should be reset in the
iDRAC. Head for the management interface, then:
...
...
@@ -288,6 +355,15 @@ the menus:
7.
Choose the
`Reset system (warm boot)`
option in the
`Power`
menu
If those menus are not familiar, you might have a different iDRAC
version. Try those:
1.
Choose the
`Map CD/DVD`
from the
`Virtual media`
menu
2.
Choose the
`Virtual CD/DVD/ISO`
option in the
`Next Boot`
menu
3.
Choose the
`Reset system (warm boot)`
option in the
`Power`
menu
The BIOS should find the ISO image and
**
download it from your
computer
**
(or, rather, you'll upload it to the server) which will be
slow as hell, yes.
...
...
@@ -328,7 +404,9 @@ is still necessary to load some programs: only a minimal squashfs is
loaded. To load the entire image, use
`toram`
instead of
`grml2ram`
,
but note this will transfer the
*entire*
ISO image to the remote
server's core memory, which can take a long time depending on your
local bandwidth.
local bandwidth. On a 25/10mbps cable connexion, it took over 90
minutes to sync the image which, clearly, is not as practical as
loading the image on the fly.
### Boot timings
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment