IPMI中sol的使用
IPMI中sol的使用
SOL需要IPMI2.0支持,使用lanplus进行远程连接。
- ipmitool sol set enabled true 1
- ipmitool sol set payload enable 1 3
- ipmitool sol info 1
如果安装了OMSAm,也可以使用命令行来修改:
/opt/dell/srvadmin/sbin/omconfig chassis biossetup -?
/opt/dell/srvadmin/sbin/omconfig chassis biossetup attribute=serialcom setting=com2
注意:ttyS0 对应COM1口,ttyS1对应COM2口,注意选择
- S0:2345:respawn:/sbin/agetty -h -L 57600 ttyS0 vt100
- S1:2345:respawn:/sbin/agetty -h -L 57600 ttyS1 vt100
- kernel ...options... console=tty0 console=ttyS1,57600
- ttyS0
- ttyS1
- echo "S0:2345:respawn:/sbin/agetty -h -L 57600 ttyS0 vt100" >>/etc/inittab
- echo "S1:2345:respawn:/sbin/agetty -h -L 57600 ttyS1 vt100" >>/etc/inittab
- echo "ttyS0" >>/etc/securetty
- echo "ttyS1" >>/etc/securetty
- sed -i '/kernel.*root=.*quiet.*/s/$/ console=tty0 console=ttyS1,57600/g' /boot/grub/grub.conf
7.4 UBUNTU12.04设置kernel的输出
1) Paste the following into /etc/init/ttyS1.conf
# ttyS1 - getty
#
# This service maintains a getty on ttyS1 from the point the system is
# started until it is shut down again.
start on stopped rc or RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L 57600 ttyS1 vt100
2) Ask upstart to start the getty
sudo start ttyS1
This will get you access to console. To get access to Linux init console, configure grub.
1) Edit /etc/default/grub to contain the following lines
注意,上面有一条GRUB_CMDLINE_LINUX=""不需要注释掉
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS1,57600"
GRUB_TERMINAL=serial
#GRUB_SERIAL_COMMAND="serial --speed=57600 --unit=1 --word=8 --parity=no --stop=1"
GRUB_SERIAL_COMMAND="serial --speed=57600 --unit=1 "
2) update grub
sudo update-grub
最新文章
- Collection和Collections的区别?
- Oracle 树操作(select…start with…connect by…prior)
- WCF服务配置编辑器使用
- Android HttpURLConnection And HttpClient
- Copy List with Random Pointer [LeetCode]
- java获取类路径
- Linux系统产生随机数的3种方法
- Sharepoint 2013 安装部署系列篇 第二篇 -- SQL集群安装
- Test语言编译器V0.8
- tlplayer,wzplayer支持wince,winphone,windows8 for arm
- docker rancher 体验 (未完待续.....)
- 关于Oracle、SqlServer 的sql递归查询
- RestTemplate发送请求并携带header信息 RestTemplate post json格式带header信息
- ubuntu 从零安装tf-serving环境和opencv
- RabbitMQ Exchange详解以及Spring中Topic实战
- Linux下进程/程序网络带宽占用情况查看工具 -- NetHogs
- unity3DGI
- 根据python上下文管理,写一个在读文件内容前后自动打开关闭文件的程序
- java类中serialversionuid 作用 是什么?举个例子说明(转)
- 关于beginPath()和closePath()的关系>;>;canvas的beginPath和closePath分析总结,包括多段弧的情况
热门文章
- A. 1.划分数列
- Python基础(十三):for循环
- 源码级深挖AQS队列同步器
- vscode(Visual Studio Code)中安装Debugger for Chrome插件调试页面
- 自动化kolla-ansible部署ubuntu20.04+openstack-victoria之vmware设置-02
- VirtualBox虚拟机读取U盘
- 进击中的Vue 3——“电动车电池范围计算器”开源项目
- Maven精简笔记
- MyBatisPlus入门学习
- 通过钉钉网页上的js学习xss打cookie