目錄
- lcd
Dell OpenManage 介紹及下載:
Ubuntu-12.04 上的安裝
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
/ 前的空格是正確的
gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
gpg -a --export 1285491434D8786F | sudo apt-key add -
OK
apt-get update
可用的包:
- srvadmin-base: Install only base OMSA, no web server
- srvadmin-idrac: Install components to manage iDRAC
- srvadmin-webserver: Install Web Interface
- srvadmin-rac5: Install components to manage the Dell Remote Access Card 5
- srvadmin-idrac: Install components to manage iDRAC
- srvadmin-idrac7: Install components to manage iDRAC7
安裝:
# 一般而言, 安 srvadmin-idrac 都好夠了
apt-get install srvadmin-idrac srvadmin-base
啟動 Service
dataeng service:
service dataeng status
dsm_sa_datamgrd is stopped dsm_sa_eventmgrd is stopped dsm_sa_snmpd is stopped
service dataeng start
# 啟動 dataeng 之後才用到拍令 omreport, omconfig, and omhelp
# 它們都是 soft link 到 stdcliproxy 的
Starting Systems Management Device Drivers: Starting dell_rbu: * Starting ipmi driver: * Already started Starting Systems Management Data Engine: Starting dsm_sa_datamgrd: * Starting dsm_sa_eventmgrd: * Starting dsm_sa_snmpd: *
Command
執行檔:
/opt/dell/srvadmin/bin
- omconfig
- omreport
- omhelp
Example
./omreport system summary
System Summary ------------------ Software Profile ------------------ Systems Management Name : Server Administrator Version : 7.1.0 Description : Systems Management Software Operating System Name : Linux Version : Kernel 3.2.0-35-generic (x86_64) System Time : Wed Jan 2 23:34:36 2013 System Bootup Time : Wed Jan 2 22:36:02 2013 -------- System -------- System Host Name : lxc System Location : Please set the value Lifecycle Controller : Enabled --------------------- Main System Chassis --------------------- Chassis Information Chassis Model : PowerEdge R410 System Revision : II Chassis Service Tag : ???????????? Express Service Code : ???????????? Chassis Lock : Present Chassis Asset Tag : Remote Access Information Remote Access Device : iDRAC6 Enterprise vFlash Media : Absent Processor 1 ....................... Memory ....................... Memory Array 1 ....................... Slot PCI1 ....................... BIOS Information Manufacturer : Dell Inc. Version : 1.9.0 Release Date : 10/21/2011 Firmware Information Name : iDRAC6 Version : 1.80.00 (Build 17) Firmware Information Name : Lifecycle Controller Version : 1.5.1.57 -------------------------- Remote Access Controller -------------------------- ....................... -------------- Network Data -------------- Network Interface 0 ....................... Network Interface 1 ....................... Team Interface 0 .......................
omconfig about
Product name : Server Administrator Version : 7.1.0 Copyright : Copyright (C) Dell Inc. 1995-2012 All rights reserved. Company : Dell Inc.
求助:
./omhelp omconfig system recovery
recovery Configure system recovery actions. Valid parameters are: action=none No recovery action. action=reboot On recovery, reboot the server. action=poweroff On recovery, poweroff the server. action=powercycle On recovery, power cycle the server. timer=<number> Set system reset timer (from 60 to 720 seconds).
./omconfig -?
about Product and version properties. preferences Set system preferences. system Set system properties. chassis Set chassis component properties.
./omconfig system -?
omconfig
Web interface
# 設定權限:
- /opt/dell/srvadmin/etc/omarolemap
john_doe * Administrator
# Start the web server:
sudo service dsm_om_connsvc start
Link:
https://<ip_address>:1311/
Set the LCD to a custom text
Usage:
omconfig chassis frontpanel lcdindex=1 config=custom text='enter here your custom text'
output:
Front Panel button controls configured successfully.
Remark
- lcdindex=<index> # 0 時會有 "Error! Index invalid. The index must be greater than zero."
- config=none | default | custom