diff --git a/docs/infrastructure/management/idrac.md b/docs/infrastructure/management/idrac.md new file mode 100644 index 0000000..ea29834 --- /dev/null +++ b/docs/infrastructure/management/idrac.md @@ -0,0 +1,80 @@ +# iDRAC Access + +## SSH Access + +You can log into our iDRACs over SSH, via either of the GW servers. + +For example: + +``` +me@login:~$ sudo ssh -J gw-b32 sown@vms-b32-1-ipmi +``` + +You can get a serial console with: +``` +console com2 +``` +To exit the serial console, use control + `\`. + +Useful shortcuts over serial: +``` +KEY MAPPING FOR CONSOLE REDIRECTION: + +Use the <1> key sequence for +Use the <2> key sequence for +Use the <3> key sequence for +Use the <0> key sequence for +Use the key sequence for +Use the <@> key sequence for + +Use the key sequence for +Use the key sequence for +Use the key sequence for +Use the key sequence for + +Use the key sequence for , where x is any letter +key, and X is the upper case of that key + +Use the key sequence for +``` + +And powercycle the machine with: +``` +racadm serveraction powercycle +``` + +See full options with eg: +``` +> racadm help serveraction +serveraction -- perform system power management operations + +Usage: + +racadm serveraction + +action server power management operation to peform + +Valid actions: + +powerdown - power server off +powerup - power server on +powercycle - perform server power cycle +hardreset - force hard server power reset +powerstatus - display current power status of server +``` + +## Legacy - serial over LAN + +We still have one old iDRAC which doesn't support SSH, in `backup-b32-1`. It can be accessed from the GW servers with `ipmitool`, and you can get a serial-over-lan console like: + +``` +ipmitool -I lan -H backup-b32-1-ipmi -U sown isol activate +``` + +To powercycle it: + +``` +ipmitool -I lan -H backup-b32-1-ipmi -U sown power off|on|cycle|reset|diag|soft +``` + +To get into the BIOS, is the serial equivalent of and will get you a boot menu, then select system setup. \ No newline at end of file