启动和停止系统

-> start /SYS                            (start system)  
-> stop [-force] /SYS                    (stop system)
-> show /SYS                             (shows the power status)
-> reset /SYS                            (reset host)
-> reset /SP                             (reset ILOM SP)
-> set /HOST send_break_action=break     (send break signal to the OS)
-> reset /CMM                            (to reset CMM on a blade Chassis)

用户管理

-> show /SP/users                  (Display all the ILOM users)
-> show /SP/user/admin             (Display configuration settings of a specific user)
-> create /SP/users/user_name password=PWD role=[administrator|operator]    (create new user)
-> delete /SP/users/username       (Delete a user)
-> set /SP/users/admin01 role=administrator           (set the role of a user)
-> set /SP/users/admin01           (set or change password of user)
欢迎来到之路教程(on itroad-com)

网络命令

查看 ILOM 的当前网络配置

-> show /SP/network

为 ILOM 设置 IP 地址

-> set pendingipdiscovery=static 
-> set pendingipaddress=10.10.10.10
-> set pendingipnetmask=255.255.255.0
-> set pendingipgateway=10.10.10.1
-> set commitpending=true

显示 SP MAC 地址

show /SP/network macaddress

如果在刀片机箱上,要检查 CMM IP:

-> show /CMM/network

登录相关命令

-> start /SP/console        -- start the SP-console
-> show /SP/sessions        -- see the currently active sessions
-> stop /SP/console         -- to stop any user session

定位器命令

打开或者关闭定位器

-> set /SYS LOCATE=on
-> set /SYS LOCATE=off

监控和日志

-> show /SP/logs/event/list     (ILOM event log)
-> show -level all -output table /SP/faultmgmt     (List all hardware faults)
-> show -level all -output table /SYS type==Temperature value       (List all temperature sensor readings)

硬件信息

-> show -level all -output table /SYS type==DIMM                (show DIMMS)
-> show -level all -output table /SYS type=='Host Processor'    (show CPUs)
-> show -l all /SYS type=='Hard Disk'                           (show disks)
ILOM 命令说明

Integrated Lights-out Manager (ILOM) 有助于管理服务器的完整硬件并对其进行故障排除。
在 ILOM 的帮助下,我们可以远程管理服务器。
我们可以远程打开和关闭它。
让我们看看 ILOM shell 中一些最常用的命令。

日期:2020-09-17 00:15:00 来源:oir作者:oir