# Setting up IPMI for np04-srv-0[27-30] ###### tags: `DAQ` `protoDUNE` `sysadmin` ## np04-srv-0[28-30] * These are Dell servers with iDRAC; * VNC server is configured for each (port 5901), same password as the user; * Commands to set up IPMI network: ```shell= ipmitool lan set 1 ipsrc static ipmitool lan set 1 ipaddr 192.168.100.128 ipmitool lan set 1 netmask 255.255.255.0 ipmitool user set name 3 admin ipmitool channel setaccess 1 3 link=on ipmi=on callin=on privilege=4 ipmitool user set password 3 # prompt for password ipmitool user enable 3 # set password for user root ipmitool user list 1 # find the user id for the default root user then set its password. ipmitool user set password 2 ``` * login via the web interface, using default user `root`, then set the following: * enable IPMI connection; * enable admin account IPMI access; * set up VNC, using port 5901, and set VNC password; * test launching KVM console, and VNC connection. * test connecting to serial consle via ssh, found that we have not set kernel command line in grub for console redirection. * Set grub kernel command line for console redirection; see notes in [configure bootloader with IPMI for np04 DAQ servers](/lYLteXWjQeyWrlPLNFbvjQ) * Connect to IPMI vnc session as well as SSH console (`console com2`), and reboot the node. ## np04-srv-027 * This node is using Intel BMC; * Follow the same command sequence as used for np04-srv-028 to set up the network, but for channel 3 (not shared between host and BMC, this channel is dedicated to BMC); * Add user `admin`, set access level and password, and enable it; * Note: the new Intel BMC requries password with at least 6 characters; * Login to the web interface, then set the following: * Enable SOL; * In Settings -> Security, enable "RMCP+Cipher Suite3" for channel 3. * The `ipmitool` command need to have `-C 3` appended to it, e.g. ```shell= ipmitool -I lanplus -U admin -H 192.168.100.127 chasis power stats -C 3 # prompt for password ``` * test with `ipmitool` to get power status; * test launching KVM console from WebUI; * test connection to serial console via ssh, the ssh port is open, but the connection never responded with a prompt; * In webUI, go to "Configuration" -> "SOL"; then enable "SOL for baseboard Mgmt" for channel 3; now SSH SOL is working (**may need to do similar things for other supermico and Intel nodes.**) * Set grub kernel command line for console redirection; see notes in [configure bootloader with IPMI for np04 DAQ servers](/lYLteXWjQeyWrlPLNFbvjQ) * Launch KVM console via WebUI, and connect to SSH SOL (ssh to the IPMI address automatically get you in the serial console, just press enter after ssh, no need to use `console com2` as Dell nodes), and reboot the node.