thing.
IPMI is the abbreviation of intelligent platform management interface (Intelligent platform management interface). It is an industrial standard used to manage peripheral devices in Enterprise Systems Based on Intel structures, the standards are determined by companies such as Intel, HP, NEC, Dell, and supermicro. You can use IPMI to monitor the physical health characteristics of servers, such as temperature, voltage, fan operating status, and
1 IPMI OverviewIPMI provides a lot of rich functionality, and the features I use, say plain English, are:1, obtain the hardware information of this device: including CPU and motherboard temperature, voltage, fan speed.2, on device A, through the command, control remote device B, power on, shutdown, restart. (see if this is a little impulse to do bad things, haha)The introduction of IPMI, Basic principles, and prerequisites, can be described in [1], very detailed and smooth.[1]: Using
/INIT.D/IPMI start
Chkconfig IPMI on
2. Basic network configuration for IPMI: Many tutorials on the web have the-I open parameter, in fact this parameter is the default. Don't copy everything. The following directives are configured with IP address, mask, gateway, allow access switch. The IP address is preferably in the same network segment as the server IP.
Ipmitool LAN set 1 ipaddr 192.168.1.70
IPMI SummaryMemory is clear, 2000, then was Compaq, launched the first remote control card, it sounded very magical. Can be remotely powered on, shutdown, installation system. At that time, I did not really use, just look at the product introduction.2006, when the Dell server should be 29 series, when you purchase, you need to buy a separate remote control card, when I was using this remote control card to play VMware ESX.Since then has not been how to contact the server, has come to this compan
1. Load the IPMI-enabled system moduleModprobe Ipmi_msghandlerModprobe ipmi_devintfModprobe Ipmi_poweroffModprobe Ipmi_siModprobe Ipmi_watchdog??Write the above command to/etc/rc.local to load the module automatically?????2. View IPMI Device Information# More/proc/devices | grep Ipmidev253 Ipmidev #有这一行说明有IPMI设备?????3. Create a character device node so that Ipmitool can access the IPMI system interface through the driver, which typically saves# Mknod/
1. Create a Python virtual environmentA. Installing the AnacondaB.conda create-n python2 python=2. 7C.conda Activate Python2 (enter virtual environment)2. Enter the directory of your own code to execute PIP install-r requirements.txt3. Download the model (need to connect the extranet)I finished using the software netfits on my Mac, manually downloading and then moving it into the data directory.4. Execute python./src/demo.py the error is:Traceback (most recent):File "./src/demo.py", line, in Imp
The Ipmitool–i Open Sensor List command obtains various monitoring values in the sensor and monitoring thresholds for this value, including (CPU temperature, voltage, fan speed, power modulation module temperature, supply voltage, etc.)Ipmitool–i Open sensor get "cpu0temp" can get the ID cpu0temp monitoring value, Cpu0temp is the sensor ID, the server is different, the ID representation is also different.Ip
1. Download ipmitool:http://ipmitool.sourceforge.net/
2. Make sure the GCC tools are installed
3. Load IPMI-enabled drivers on Linux systems:
Insmod/lib/modules/2.6.32-220.el6.x86_64/kernel/drivers/char/ipmi/ipmi_msghandler.ko
Insmod/lib/modules/2.6.32-220.el6.x86_64/kernel/drivers/char/ipmi/ipmi_devintf.ko
Insmod/lib/modules/2.6.32-220.el6.x86_64/kernel/drivers/char/ipmi/ipmi_si.ko
4. Check your/dev directory for ipmi0 this device:
Ls-l/dev/ipmi*
5. Decompression
In practice, in Ubuntu, directly change the ipmi logon password root @ node201 :~ # Ipmitooluserlist1IDNameCallinLinkAuthIPMIMsg nb
In practice, you can directly change the ipmi logon password in Ubuntu.
Root @ node201 :~ # Ipmitool user list 1ID Name Callin Link Auth IPMI Msg Channel Priv Limit2 ADMIN false true ADMINISTRATORRoot @ node201 :~ # ClearRoot @ node201 :~ # Ipmitool user enable ADMIN 1User Com
= ttyS1, 115200 in this configuration fileConsole = tty0console = ttyS1, 115200 parameters are passed to the kernel for serial port redirectionConsole = tty0 stands for display outputConsole = ttyS0 indicates directed to serial 1, and ttyS1 indicates directed to Serial 2115200 indicates the baud rate used for serial communication. The baud rate is the same as that set in bios.3. Use the ipmitool command to configure ipmi.1. View ipmi Informationipmit
on the host server or reboot the host server, create or change user accounts, and possibly prevent legitimate users from accessing the IMM.
In addition, if the user fails to change the default username and password on each system that he or she has deployed, the user accesses each IMM on those systems with the same logon information.
CVSS Basic Score: 10
CVSS vector: (AV:N/AC:L/AU:N/C:C/I:C/A:C)
Solution:
What measures should be taken
I am not actually SA. Many Ubuntu commands cannot be remembered in many cases. So we can find a place to record it. Long-term update. You may have to deal with ubuntu in the next three months. This document may be updated for a long time. 1: How to view logs in color. To view logs better, you need to install two packages apt-getinstall-ytmuxccze. At this time, you can view logtail-f/var/log/syslog.
I am not actually SA. Many Ubuntu commands cannot be remembered in many cases. So we can find a pl
, you must have the latest installed server. Observium is developed on Ubuntu LTS and Debian systems. Therefore, we recommend that you install Observium on Ubuntu or Debian because it may cause minor issues on other platforms.
This article will guide you to install Observium on Ubuntu 12.04. For small-sized Observium installations, we recommend that you use 256 MB memory and dual-core processor configurations.
Installation requirements
Before installing Observuim, you must confirm to install all
1. Install the attachment Linux unzipped megalogr package, and then run the Script:./run-linux.sh (the batch file that requires the permission to be executed) to automatically collect the log, after the log collection file name: perc5linux. tgz2.ipmitool-1.8.10.tar.gz File./Configure; Make; make installDefault installation location/usr/local/bin/The following command may be required to restartService IPMI start
Ubuntu sets up a gateway service to share the network. Today, the long-awaited six blade machines have finally arrived. after being configured by a person from Supermicro, I found that no other node except the master node can access the Internet, the reason is also very simple, because we have an internet port connected to the master. So it's from... ubuntu sets up a gateway service to share the network. Today, the long-awaited six blade machines have
Prerequisite: Connect the server-specific Idrac network interface to the network1. Log on to the server (that is, the server being monitored).2. Installing Client ToolsYum install OpenIPMI openipmi-devel openipmi-libs ipmitool ipmiutil ipmiutil-devel ipmiutil-static-ySystemctl Start IPMISystemctl Enable IPMISystemctl Status IPMI3. Check if the relevant module is loadedLsmod|grep IPMIIf nothing is displayed, the description does not load the moduleYou
[Linux] differences between modprobe and insmod-Linux general technology-Linux programming and kernel information. The following is a detailed description. Modprobe and insmod are both used to load the kernel module. However, modprobe is intelligent and can be automatically loaded for you based on module dependencies. insmod cannot do this.
For example, if you use ipmitool, you must have an ipmi0 device in dev /.
If not, load
Modprobe ipmi_si
(child_process.exe cFile ())
Prepare a shell script first. For example, if I want to connect to a server to change its password, I want to provide IP, user, new pwd, old pwd, create a shell script file change_password.sh:
The Code is as follows:
#! /Bin/sh
IP = ""NAME = ""PASSWORD = ""NEWPASSWORD = ""
While getopts "H: U: P: N:" arg # The colon following the option indicates that parameters are required for this option.DoCase $ arg inH)IP = $ OPTARG;;U)NAME = $ OPTARG;;P)PASSWORD = $ OPTARG
, create a shell script file change_password.sh:
Copy codeThe Code is as follows:#! /Bin/sh
IP = ""NAME = ""PASSWORD = ""NEWPASSWORD = ""
While getopts "H: U: P: N:" arg # The colon following the option indicates that parameters are required for this option.DoCase $ arg inH)IP = $ OPTARG;;U)NAME = $ OPTARG;;P)PASSWORD = $ OPTARG;;N)NEWPASSWORD = $ OPTARG;;?) # When there are unrecognized options, What Is arg?Echo "contains unknown parameters"Exit 1;;EsacDone
# Obtain userid firstUSERID = '/usr/b
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.