Add howto for restarting server in datacenter

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-03-05 14:34:14 +01:00
parent d54e61517c
commit 83e552966d
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,36 @@
= How to restart the server in datacenter
This guide is for restarting machines in IAD2 datacenter using `ipmitool`.
This only applies to bare hardware instances
(see link:https://pagure.io/fedora-infra/ansible/blob/main/f/inventory/hardware[ansible inventory]).
[NOTE]
====
You need to have access to Bitwarden with Fedora Infrastructure
passwords to be able to follow this guide.
====
. Login to noc01
+
----
$ ssh noc01.iad2.fedoraproject.org
----
+
. Restart machine
+
----
$ ipmitool -U admin -H <host>.mgmt.iad2.fedoraproject.org -I lanplus chassis power reset
----
[NOTE]
====
For access to console use
`ipmitool -U admin -H <host>.mgmt.iad2.fedoraproject.org -I lanplus sol activate`.
To exit the console you need to use `~.` This is a SSH disconnect sequence, so you need to add as
many `~` as ssh jump hosts used.
For instance, if you ssh to batcave01 -> noc01 -> ipmitool
`~.` will disconnect you from batcave01, `~~.` will disconnect you from noc01 and `~~~.`
will disconnect you from the ipmi console.
====