ILOM常用命令

合集下载

ILOM的初级使用

ILOM的初级使用

ILOM(Integrated Lights Out Manager)是集成无人职守管理器服务处理机软件,该软件通过其管理、监视和控制等功能大大降低了数据中心管理的复杂性。

ILOM软件将Sun N1 System Manager(系统管理器)软件和Sun N1 Service Provisioning System(服务供应系统)软件结合在一起,创建了一个独特的拥有高等级自动化能力的管理架构,它使IT员工无需特别对数据中心进行管理,而是将其精力和时间集中在他们的其他业务上。

SUN新出的X4200/4100 T2000/1000集成了ILOM新特性你肯定没有通过GUI,远程以图形方式安装过Win/Linux甚至soalris 吧?新的ILOM给你全新的远程控制台的体验,这些都是SUN x86/x64服务器内置的功能,价格也和其他D/H/I的服务器差不多,新采购的PC server真的应该优先考虑AMD+SUN的X4200/4100 ! 集成无人职守管理器 (ILOM.....你肯定没有通过GUI,远程以图形方式安装过Win/Linux甚至soalris 吧?新的ILOM给你全新的远程控制台的体验,这些都是SUN x86/x64服务器内置的功能,价格也和其他D/H/I的服务器差不多,新采购的PC server真的应该优先考虑AMD+SUN的X4200/4100 !集成无人职守管理器 (ILOM) 接口随服务器提供的集成无人职守管理器 (ILOM) 产品包括服务处理器硬件和集成系统管理软件。

您不必安装附加硬件或软件便可开始使用ILOM 来管理您的服务器。

ILOM 提供了四个工业标准的管理接口:智能平台管理接口 (IPMI) v2.0 -使用安全 Shell (SSH),您可与ILOM 服务处理器进行交互操作以执行下列任务:建立对您的服务器的安全远程控制、远程监视硬件组件状态、监视系统日志、从可更换组件接收报告以及重定向服务处理器控制台。

SUN ILOM使用指南

SUN ILOM使用指南

Sun T5220上ILOM的缺省用户密码是root/changeme,root使用的SHELL是spsh, spsh缺省配置是使用ILOM Shell,其提示符是->,使用ILOM格式的命令;也可以 将spsh的配置切换到ALOM Shell,此时提示符是sc>,命令用法与ALOM一样.
ILOM运行的载体是基于u-boot引导的嵌入式Linux系统,支持RS232串口、 SSH、WEB、IPMI、SNMP等方式登录ILOM从而对整个服务器进行操作管理.
什么是服务处理器?
服务处理器是一种独立、专用的内部处理器,安装在服务器主板、PCI 卡、
通信平台上,或刀片服务器机箱中.它独立运行于服务器CPU和操作系统,
即使服务器的CPU或操作系统被锁定或出现其他不能访问的情况,它也可
照常工作。
服务处理器用于监控服务器板载检测设备(温度传感器、CPU 状态、风扇
速度和电压),实现远程重置或重启功能,远程访问基本输入/输出系统(BIOS)
配置或操作系统控制台信息,并且在某些情况下还可用来控制键盘和鼠标。
Linux version 2.4.22 (kbellew@sanpen-rh5-1) (gcc version 3.3.4)
#2 Fri Jul 11 08:1LOM使用指南
/by pupil
2008.09.16
Sun Integrated Lights Out Manager简称ILOM,是一种服务处理器(SP,
service processor),可以通过它远程管理和控制Sun服务器.
ILOM的运行不依赖于SunOS,也不依赖于OBP固件.一旦接通电源,ILOM就 开始运行,而不管POST,SunOS是否运行.与ALOM不同,无法在SunOS Shell 下用scadm以及类似的命令来管理设置ILOM.

SUN主机收集Ilom的snapshot和系统下explorer信息

SUN主机收集Ilom的snapshot和系统下explorer信息

以下是收集 ilom snapshot的方法
配置ILOM网络管理口的IP地址
-> set /SP/network pendingipdiscovery=static
-> set /SP/network pendingipaddress=nnn.nn.nn.nn
-> set /SP/network pendingipnetmask=nnn.nn.nn.nn
-> set /SP/network pendingipgateway=nnn.nn.nn.nn
-> set /SP/network commitpending=true
-> show /SP/network
.如果您的version命令显示版本是3.0以上,您可以打开IE,
登录ILOM的网页管理页面http://<ilom-ip-address>,默认用户名root,密码 changeme -点击 maintenance
-点击 snapshot
-点击 Run 会有一个弹出的提示保存文档信息,请保存这个文档
explorer命令如下:
以root用户登陆执行如下命令:
# cd /opt/SUNWexplo/bin
# ./explorer
等待执行完成
# cd /opt/SUNWexplo/output
# ls -l
有一个日期为今天生成tar.gz的文件,通过ftp bin传输方式down下来。

ILOM配置文档

ILOM配置文档

solaris 10 命令合集uname -n 查看主机名ifconfig hme0 查看IP地址/etc/netmask 子网掩码文件sun ilom管理配置cd /SP/networkset pendingipaddress=在此命令后面键入要为服务器 SP 分配的静态 IP 地址。

例如,键入:set pendingipaddress=129.144.82.26指示 ILOM 为服务器 SP 分配 IP 地址 129.144.82.26。

set pendingipnetmask=在此命令后面键入要为服务器 SP 分配的静态网络掩码地址。

例如,键入:set pendingipnetmask=255.255.255.0 指示 ILOM 为服务器 SP 分配网络掩码地址 255.255.255.0。

set pendingipgateway=在此命令后面键入要为服务器 SP 分配的静态网关地址。

例如,键入:set pendingipgateway=129.144.82.254 指示 ILOM为服务器 SP 分配网关地址 129.144.82.254。

setpendingipdiscovery=键入以下命令即指示 ILOM 为服务器 SP 设置静态 IP 地址。

set pendingipdiscovery=staticset commitpending=true键入此命令 (true) 即分配指定的网络设置。

例如:set pendingipaddress=129.144.82.26set pendingipnetmask=255.255.255.0set pendingipnetmask=129.144.82.254set commitpending=true设置主机名及系统标示符-> set /SP hostname=<text_string>-> set /SP system_identifier=<text_string>设置HTTPcd /SP/services/http set port=80set /SP/services/http port=80以上两条命令相同。

Sun ILOM使用指南

Sun ILOM使用指南

Sun ILOM使用指南/by pupil2008.09.16Sun Integrated Lights Out Manager简称ILOM,是一种服务处理器(SP,service processor),可以通过它远程管理和控制Sun服务器.ILOM的运行不依赖于SunOS,也不依赖于OBP固件.一旦接通电源,ILOM就开始运行,而不管POST,SunOS是否运行.与ALOM不同,无法在SunOS Shell下用scadm以及类似的命令来管理设置ILOM.ILOM运行的载体是基于u-boot引导的嵌入式Linux系统,支持RS232串口、SSH、WEB、IPMI、SNMP等方式登录ILOM从而对整个服务器进行操作管理.什么是服务处理器?服务处理器是一种独立、专用的内部处理器,安装在服务器主板、PCI 卡、通信平台上,或刀片服务器机箱中.它独立运行于服务器CPU和操作系统,即使服务器的CPU或操作系统被锁定或出现其他不能访问的情况,它也可照常工作。

服务处理器用于监控服务器板载检测设备(温度传感器、CPU 状态、风扇速度和电压),实现远程重置或重启功能,远程访问基本输入/输出系统(BIOS)配置或操作系统控制台信息,并且在某些情况下还可用来控制键盘和鼠标。

根据制造商的设计而定,服务处理器还可提供控制台重定向功能以查看服务器进程或配置服务器参数,以及提供所安装组件的系统信息,包括使用的端口、连接的设备,以及事件日志、通知和警告.注意: 这里介绍的ILOM是指SUNW,SPARC-Enterprise-T5220上的ILOM,与其他的ILOM使用方法可能有所不同,使用时请注意.Sun T5220上ILOM的缺省用户密码是root/changeme,root使用的SHELL是spsh, spsh缺省配置是使用ILOM Shell,其提示符是->,使用ILOM格式的命令;也可以将spsh的配置切换到ALOM Shell,此时提示符是sc>,命令用法与ALOM一样.ILOM还有一个隐藏的用户sunservice,其密码与root密码一致,sunservice使用的SHELL是bash,就像一个正常的Linux系统用户一样.2008年8月最新的ILOM固件补丁包为136932-04,其版本是2.0.4.23.b.ILOM使用的操作系统系统是使用u-boot引导的嵌入式Linux,其核心为Linux version 2.4.22 (kbellew@sanpen-rh5-1) (gcc version 3.3.4)#2 Fri Jul 11 08:18:52 PDT 2008 r34167CPU型号为主频为133MHZ、总线频率为66MHZ的MPC885ZPnnILOM的机器名由前缀SUNSP和ILOM的MAC地址组成,每个ILOM的MAC地址都是唯一的.如果忘记Sun T5220上的ILOM密码,可以在ILOM启动时出现Booting linux in 5 seconds...的时候输入xyzzy进入u-boot>模式,然后输入一下两行:setenv bootargs=root /dev/mtdblock4 rootfstype=squashfs ro init=/bin/bash mtdparts=phys:384K(u1),128k(e1),1536K(k1),14M(r1),384K(u2),128K(e2),1536K(k2), 14M(r2)bootm 0xfe080000这样就可以直接进入Shell了,然后mount -o rw,remount /,接着使用insmod加载Ext3 for tffs的模块,接着mount -t ext3挂载/dev/tffsa1到/store然后mount -o loop挂载/store/ParamsEXT3.bin到/mnt,最后查看/mnt/clearpasswd就可以看到明文密码了在ILOM Shell下添加用户以及设置用户密码的方法如下:-> create /SP/users/admin role=Administrator cli_mode=alomCreating user...Enter new password: ********Enter new password again: ********Created /SP/users/admin-> set /SP/users/admin password=admin1234Changing password for user /SP/users/admin...Enter new password again: *********New password was successfully set for user /SP/users/admin-> show /SP/users/admin/SP/users/adminTargets:Properties:role = Administratorpassword = *****cli_mode = alomCommands:cdsetshow->在ILOM Shell下添加邮件告警的方法如下:-> set /SP/alertmgmt/rules/1 destination=pupil@ level=minor type=email Set 'destination' to 'pupil@'Set 'level' to 'minor'Set 'type' to 'email'-> show/SP/alertmgmt/rules/1Targets:Properties:community_or_username = publicdestination = pupil@destination_port = 0level = minorsnmp_version = 1type = emailCommands:cdsetshow->在ILOM Shell下配置NTP客户端的方法如下:-> pwdCurrent default target: /-> cd /SP/clock/SP/clock-> ls/SP/clockTargets:Properties:datetime = Tue Sep 16 12:42:29 2008usentpserver = disabledCommands:cdsetshow-> set usentpserver=enabledSet 'usentpserver' to 'enabled'-> ls/SP/clockTargets:Properties:datetime = Tue Sep 16 12:42:38 2008usentpserver = enabledCommands:cdsetshow-> cd /SP/clients/ntp/server/1/SP/clients/ntp/server/1-> ls/SP/clients/ntp/server/1Targets:Properties:address = 0.0.0.0Commands:cdsetshow-> set address=10.30.1.105Set 'address' to '10.30.1.105'-> ls/SP/clients/ntp/server/1Targets:Properties:address = 10.30.1.105Commands:cdsetshow->在ILOM Shell下配置syslog客户端的方法如下: -> pwdCurrent default target: /-> cd /SP/clients/syslog/SP/clients/syslog-> pwdCurrent default target: /SP/clients/syslog -> ls/SP/clients/syslogTargets:Properties:destination_ip1 = 0.0.0.0destination_ip2 = 0.0.0.0Commands:cdsetshow-> set destination_ip1=10.40.157.22Set 'destination_ip1' to '10.40.157.22'-> ls/SP/clients/syslogTargets:Properties:destination_ip1 = 10.40.157.22destination_ip2 = 0.0.0.0Commands:cdsetshow->在ILOM Shell下查看版本、系统的相关方法如下:SUNSP00144F97B6A1 login: rootPassword:Waiting for daemons to initialize...Daemons readySun(TM) Integrated Lights Out ManagerVersion 2.0.4.23.bCopyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.Warning: password is set to factory default.-> versionSP firmware 2.0.4.23.bSP firmware build number: 34167SP firmware date: Fri Jul 11 08:30:16 PDT 2008SP filesystem version: 0.1.14-> show /SP/SPTargets:alertmgmtcliclientsclockconsolefaultmgmtlogsnetworkpolicypowermgmtserialservicessessionsusersProperties:customer_frudata = (none)hostname = SUNSP00144F97B6A1reset_to_defaults = nonesystem_identifier = Sun T5220Commands:cdresetsetshowversion-> show /HOST/HOSTTargets:bootmodediagProperties:autorestart = resetautorunonerror = falsehypervisor_version = Hypervisor 1.6.4.b 2008/07/11 08:04 macaddress = 00:14:4f:97:b6:98obp_version = OBP 4.28.8 2008/06/25 12:21post_version = POST 4.28.9 2008/06/30 21:57send_break_action = (none)status = Powered offsysfw_version = Sun System Firmware 7.1.3.d 2008/07/11 08:46Commands:cdsetshow-> show /SYS/SYSTargets:SERVICELOCATEACTPS_FAULTTEMP_FAULTFAN_FAULTMBHDD0HDD1HDD2HDD3HDD4HDD5HDD6HDD7PDBSASBPDVDTTYAUSBBDFANBD0FANBD1PS0PS1VPSProperties:type = Host Systemkeyswitch_state = Normalproduct_name = SPARC-Enterprise-T5220product_part_number = 602-3822-08product_serial_number = BEL08046RFfault_state = Faultedpower_state = OffCommands:cdresetsetshowstartstop->在ILOM Shell下启动机器并切换到控制台的方法如下:-> start /SYSAre you sure you want to start /SYS (y/n)? yStarting /SYS-> start /SP/consoleAre you sure you want to start /SP/console (y/n)? ySerial console started. To stop, type #.在ILOM Shell下查看相关服务以及SP网络配置的方法如下: -> show /SP/services/SP/servicesTargets:httphttpsservicetagsnmpsshProperties:Commands:cdshow-> show /SP/services/http/SP/services/httpTargets:Properties:port = 80secureredirect = enabledservicestate = disabledCommands:cdsetshow-> show /SP/services/https/SP/services/httpsTargets:Properties:port = 443servicestate = enabledCommands:cdsetshow-> show /SP/services/servicetag/SP/services/servicetagTargets:Properties:product_urn = urn:uuid:6bfd9efc-e300-11db-8c3c-080020a9ed93 state = enabledCommands:cdsetshow-> show /SP/services/snmp/SP/services/snmpTargets:communitiesusersProperties:engineid = (none)port = 161sets = disabledv1 = disabledv2c = disabledv3 = enabledCommands:cdsetshow-> show /SP/services/ssh/SP/services/sshTargets:keysProperties:generate_new_key_action = (Cannot show property)generate_new_key_type = nonerestart_sshd_action = (Cannot show property)state = enabledCommands:cdsetshow-> show /SP/network/SP/networkTargets:Properties:commitpending = (Cannot show property)dhcp_server_ip = noneipaddress = 10.40.157.239ipdiscovery = staticipgateway = 10.40.157.254ipnetmask = 255.255.255.0macaddress = 00:14:4F:97:B6:A1pendingipaddress = 10.40.157.239pendingipdiscovery = staticpendingipgateway = 10.40.157.254pendingipnetmask = 255.255.255.0state = enabledCommands:cdsetshow->使用sunservice用户登录到SP察看相关信息如下:SUNSP00144F97B6A1 login: sunservicePassword:Copyright 2007 Sun Microsystem, Inc. All rights reserved.WARNING: The "sunservice" account is provided solely to allowSun Services to perform diagnosis and recovery tasks. Customer use ofthe "sunservice" account may interfere with the correct operation ofILOM and is not supported other than to perform recovery procedures as documented by Sun Microsystems. Normal ILOM operations should always be performed using the root account. Further usage of the "sunservice"account implies your agreement with these terms.[(flash)root@SUNSP00144F97B6A1:~]# cat /etc/versionsSP firmware: 2.0.4.23.bSP firmware date: Fri Jul 11 08:30:16 PDT 2008SP firmware build number: 34167SP firmware repository: http://ilomsvn.east/svnht/platform/hotamale/branches/2.0.4.23SP platform class: huron/sp-dev.885SP filesystem: 0.1.14SP builder: kbellew@sanpen-rh5-1[(flash)root@SUNSP00144F97B6A1:~]# cat /proc/versionLinux version 2.4.22 (kbellew@sanpen-rh5-1) (gcc version 3.3.4) #2 Fri Jul 11 08:18:52 PDT 2008 r34167[(flash)root@SUNSP00144F97B6A1:~]# cat /proc/cpuinfocpu : 8xxclock : 133MHzbus clock : 66MHzrevision : 0.0 (pvr 0050 0000)bogomips : 132.71[(flash)root@SUNSP00144F97B6A1:~]# cat /proc/meminfototal: used: free: shared: buffers: cached:Mem: 64405504 61280256 3125248 0 5251072 16510976Swap: 0 0 0MemTotal: 62896 kBMemFree: 3052 kBMemShared: 0 kBBuffers: 5128 kBCached: 16124 kBSwapCached: 0 kBActive: 25176 kBInactive: 25356 kBHighTotal: 0 kBHighFree: 0 kBLowTotal: 62896 kBLowFree: 3052 kBSwapTotal: 0 kBSwapFree: 0 kB[(flash)root@SUNSP00144F97B6A1:~]# cat /proc/modulestffs_h3 585784 2immap 2160 5fpga_flash 3140 0fpga 8520 4 [fpga_flash][(flash)root@SUNSP00144F97B6A1:~]# cat /proc/filesystemsnodev rootfsnodev bdevnodev procnodev sockfsnodev tmpfsnodev shmnodev pipefsext3ext2cramfsnodev ramfsmsdosvfatnodev nfsjffs2nodev devptssquashfs[(flash)root@SUNSP00144F97B6A1:~]# ip link1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueuelink/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:002: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:14:4f:97:b6:a1 brd ff:ff:ff:ff:ff:ff[(flash)root@SUNSP00144F97B6A1:~]# cat /etc/grouproot:*:0:root,operatorbin:*:1:bindaemon:*:2:daemonsys:*:3:sysadm:*:4:admtty:*:5:disk:*:6:lp:*:7:lpsync:*:8:syncshutdown:*:9:shutdownhalt:*:10:haltmail:*:11:mailnews:*:12:newsuucp:*:13:uucpftp:*:14:ftpkmem:*:15:utmp:*:16:shadow:*:17:users:*:100:nobody:*:65533:nogroup:*:65534:webR::101:root,ldapproxy,radproxy,pamproxy-admin,pamproxy-oper,admin,pupil,ilo mintwebRW::102:root,ldapproxy,radproxy,pamproxy-admin,pamproxy-oper,admin,pupil,i lomintvideoR::103:root,pamproxy-admin,admin,pupil,ilomintvideoRW::104:root,pamproxy-admin,admin,pupil,ilomintsshR::105:root,ldapproxy,radproxy,pamproxy-admin,pamproxy-oper,admin,pupil,ilo mintsshRW::106:root,ldapproxy,radproxy,pamproxy-admin,pamproxy-oper,admin,pupil,il omintcuriR::107:rootcuriRW::108:rootsnmpR::109:rootsnmpRW::110:root[(flash)root@SUNSP00144F97B6A1:~]# cat /etc/passwdroot:x:0:0:privileged:/home/0:/usr/local/bin/spsh sunservice:x:0:106:privileged:/home/0:/bin/bashbin:*:1:1:bin:/bin:daemon:*:2:2:daemon:/usr/sbin:sys:*:3:3:sys:/dev:adm:*:4:4:adm:/var/adm:lp:*:5:7:lp:/var/spool/lpd:sync:*:6:8:sync:/bin:/bin/syncshutdown:*:7:9:shutdown:/sbin:/sbin/shutdownhalt:*:8:10:halt:/sbin:/sbin/haltmail:*:9:11:mail:/var/spool/mail:news:*:10:12:news:/var/spool/news:uucp:*:11:13:uucp:/var/spool/uucp:operator:*:12:0:operator:/root:games:*:13:100:games:/usr/games:ftp:*:15:14:ftp:/var/ftp:man:*:16:100:man:/var/cache/man:sshd:*:17:100:sshdspecial:/home:/bin/shnobody:*:65534:65534:nobody:/home:/bin/shanonymous:x:500:500::/home:/bin/falseldapproxy:x:513:513::/home/513:/usr/local/bin/spsh radproxy:x:511:511::/home/511:/usr/local/bin/spsh pamproxy-admin:x:514:514::/home/514:/usr/local/bin/spsh pamproxy-oper:x:515:515::/home/515:/usr/local/bin/spsh admin:x:502:502::/home/502:/usr/local/bin/spshpupil:x:503:503::/home/503:/usr/local/bin/spshilomint:x:512:512::/home/512:/usr/local/bin/spsh [(flash)root@SUNSP00144F97B6A1:~]# cat /etc/inittab# /etc/inittab: init(8) configuration.# $Id: inittab,v 1.1 2005/02/02 03:38:12 subashk Exp $## target.flashonly# The default runlevel.id:3:initdefault:# Boot-time system configuration/initialization script.# This is run first except when booting in emergency (-b) mode.si::sysinit:/etc/init.d/rcS# What to do in single-user mode.~~:S:wait:/sbin/sulogin# /etc/init.d executes the S and K scripts upon change# of runlevel.## Runlevel 0 is halt.# Runlevel 1 is single-user.# Runlevels 2-5 are multi-user.# Runlevel 6 is reboot.l0:0:wait:/etc/init.d/rc 0l1:1:wait:/etc/init.d/rc 1l2:2:wait:/etc/init.d/rc 2l3:3:wait:/etc/init.d/rc 3l4:4:wait:/etc/init.d/rc 4l5:5:wait:/etc/init.d/rc 5l6:6:wait:/etc/init.d/rc 6# Normally not reached, but fallthrough in case of emergency.z6:6:respawn:/sbin/sulogin# What to do when CTRL-ALT-DEL is pressed.ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now# Action on special keypress (ALT-UpArrow).kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."# What to do when the power fails/returns.pf::powerwait:/etc/init.d/powerfail startpn::powerfailnow:/etc/init.d/powerfail nowpo::powerokwait:/etc/init.d/powerfail stopcon:2345:respawn:/usr/local/bin/getty.sh### Abusing init to keep the following daemons alive. There are two serious# problems with this scheme:# There is no control over which daemons get started when. That should be # done using the rc?.d scripts to control startup and shutdown.## If a daemon is crashing, init will either silently restart it, giving# the developer no hint that there's a problem, and also potentially# filling up /coredump with multiple corefiles; init can also choose to# suspend restarting a daemon that is crashing frequently, disabling# services necessary for proper opertation of the sp. In any case, using# init to paper over buggy daemons is only going to lead to unpredictable # behavior and reduce the reliability of the sp.## The only daemons that should be started in this manner are those that# have no dependency or provide no prerequisite to proper sp operation, and # only restart those daemons that are specifically designed to be restarted, # such as getty.#logm:3:respawn:/usr/local/bin/logmgrevtm:3:respawn:/usr/local/bin/eventmgrplhw:3:respawn:/usr/local/bin/plathwsvcdfrud:3:respawn:/usr/local/bin/frudcnsd:3:respawn:/usr/local/bin/consdlumn:3:respawn:/usr/local/bin/lumainlupx:3:respawn:/usr/local/bin/luproxysnmp:3:respawn:/etc/snmp/snmpd.sh startwebg:3:respawn:/usr/local/bin/webgo /usr/local/www -dsccd:3:once:/usr/local/bin/sccdntpd:3:respawn:/usr/sbin/ntpd -n -gfmad:3:respawn:/opt/sun/fm/sbin/fma.sh runeald:3:respawn:/usr/local/bin/ealertd[(flash)root@SUNSP00144F97B6A1:~]# ps -eafPID Uid VmSize Stat Command1 root 564 S ini2 root SW [keventd]3 root SWN [ksoftirqd_CPU0]4 root SW [kswapd]5 root SW [bdflush]6 root SW [kupdated]7 root SW [mtdblockd]127 root SW [tffs1]130 root SW [kjournald]132 root SW [loop0]133 root SW [kjournald]135 root SW [loop1]136 root SW [kjournald]141 root SW [kjournald]200 bin 480 S /sbin/portmap228 root 648 S /sbin/syslogd -s 100 -p /var/syslogsock230 root 716 S /sbin/klogd -c 1233 root 736 S /usr/sbin/cron236 root 2660 S /usr/local/bin/IPMIMain237 root 2472 S [dbgLevelUpdater]246 root 2552 S [Timer]247 root 3004 S [MsgHndlr]248 root 2568 S [PEF]249 root 2540 S [ChassisCtrl]250 root 2600 S [ChassisTimer]258 root 1340 S /usr/sbin/sshd277 root 3004 S [MsgHndlr]278 root 3004 S [MsgHndlr]279 root 2708 S [LAN]282 root 2460 S /usr/local/bin/stdiscoverer285 root 2600 S [ChassisTimer]286 root 2600 S [ChassisTimer]287 root 2708 S [LAN]288 root 2708 S [LAN]289 root 2708 S [LAN]290 root 2504 S /usr/local/bin/stlistener299 root 2784 S /usr/local/bin/logmgr300 root 568 S /usr/local/bin/eventmgr301 root 3488 S /usr/local/bin/plathwsvcd302 root 2676 S /usr/local/bin/frud303 root 576 S /usr/local/bin/consd304 root 4316 S /usr/local/bin/lumain308 root 1368 S /bin/bash /etc/snmp/snmpd.sh start309 root 3412 S /usr/local/bin/webgo /usr/local/www -d310 root 2592 S /usr/local/bin/sccd312 root 3636 S /usr/sbin/ntpd -n -g313 root 1424 S /bin/bash /opt/sun/fm/sbin/fma.sh run314 root 3228 S /usr/local/bin/ealertd338 root 4800 S /usr/local/bin/snmpd -A -f -Le -p /var/run/snmpd.pid 339 root 1380 S /bin/bash /etc/snmp/snmpd.sh start346 root 2676 S /usr/local/bin/frud348 root 2676 S /usr/local/bin/frud351 root 2676 S /usr/local/bin/frud352 root 1412 S /bin/bash /opt/sun/fm/sbin/fma.sh run354 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f355 root 516 S /usr/bin/logger -t KSERUN356 root 3488 S /usr/local/bin/plathwsvcd357 root 3488 S /usr/local/bin/plathwsvcd358 root 3488 S /usr/local/bin/plathwsvcd359 root 3488 S /usr/local/bin/plathwsvcd360 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f361 root 3228 S /usr/local/bin/ealertd363 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f364 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f365 root 3228 S /usr/local/bin/ealertd366 root 3228 S /usr/local/bin/ealertd368 root 2592 S /usr/local/bin/sccd369 root 2592 S /usr/local/bin/sccd370 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f371 root 2592 S /usr/local/bin/sccd378 root 4316 S /usr/local/bin/lumain379 root 1424 S /bin/bash /opt/sun/fm/sbin/fma.sh run380 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 381 root 1432 S /bin/bash /opt/sun/fm/sbin/fma.sh run383 root 4316 S /usr/local/bin/lumain386 root 736 S /usr/local/bin/luproxy390 root 2784 S /usr/local/bin/logmgr391 root 2784 S /usr/local/bin/logmgr392 root 2784 S /usr/local/bin/logmgr394 root 2784 S /usr/local/bin/logmgr395 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 396 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 397 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 400 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 401 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f403 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 405 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 408 root 740 S /opt/sun/sysevent/sbin/ksyseventd -v 5 -f409 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 412 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 426 root 4316 S /usr/local/bin/lumain428 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 429 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 440 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 441 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 447 root 3572 S /opt/sun/fm/sbin/fmd -o fg true -o debug all -o clien 454 root 3492 S /usr/local/bin/plathwsvcd455 root 5436 S /usr/local/bin/vbsc456 root 3492 S /usr/local/bin/plathwsvcd457 root 3488 S /usr/local/bin/plathwsvcd458 root 3492 S /usr/local/bin/plathwsvcd459 root 3492 S /usr/local/bin/plathwsvcd460 root 3492 S /usr/local/bin/plathwsvcd461 root 3492 S /usr/local/bin/plathwsvcd462 root 3492 S /usr/local/bin/plathwsvcd463 root 3492 S /usr/local/bin/plathwsvcd464 root 3492 S /usr/local/bin/plathwsvcd465 root 3492 S /usr/local/bin/plathwsvcd466 root 3488 S /usr/local/bin/plathwsvcd467 root 3492 S /usr/local/bin/plathwsvcd468 root 3492 S /usr/local/bin/plathwsvcd469 root 3488 S /usr/local/bin/plathwsvcd479 root 5436 S /usr/local/bin/vbsc480 root 5436 S /usr/local/bin/vbsc484 root 4800 S /usr/local/bin/snmpd -A -f -Le -p /var/run/snmpd.pid 486 root 4800 S /usr/local/bin/snmpd -A -f -Le -p /var/run/snmpd.pid 533 root 5436 S /usr/local/bin/vbsc550 root 5436 S /usr/local/bin/vbsc552 root 5436 S /usr/local/bin/vbsc553 root 5436 S /usr/local/bin/vbsc555 root 5436 S /usr/local/bin/vbsc557 root 5436 S /usr/local/bin/vbsc559 root 5436 S /usr/local/bin/vbsc561 root 5436 S /usr/local/bin/vbsc563 root 5436 S /usr/local/bin/vbsc564 root 5436 S /usr/local/bin/vbsc565 root 5436 S /usr/local/bin/vbsc566 root 5436 S /usr/local/bin/vbsc567 root 5436 S /usr/local/bin/vbsc569 root 5436 S /usr/local/bin/vbsc571 root 5436 S /usr/local/bin/vbsc572 root 5436 S /usr/local/bin/vbsc574 root 5436 S /usr/local/bin/vbsc576 root 5436 S /usr/local/bin/vbsc577 root 5436 S /usr/local/bin/vbsc578 root 5436 S /usr/local/bin/vbsc579 root 5436 S /usr/local/bin/vbsc580 root 5436 S /usr/local/bin/vbsc582 root 5436 S /usr/local/bin/vbsc584 root 5436 S /usr/local/bin/vbsc585 root 5436 S /usr/local/bin/vbsc586 root 5436 S /usr/local/bin/vbsc587 root 5436 S /usr/local/bin/vbsc588 root 5436 S /usr/local/bin/vbsc589 root 5436 S /usr/local/bin/vbsc590 root 5436 S /usr/local/bin/vbsc621 root 5436 S /usr/local/bin/vbsc622 root 5436 S /usr/local/bin/vbsc623 root 5436 S /usr/local/bin/vbsc626 root 5436 S /usr/local/bin/vbsc627 root 5436 S /usr/local/bin/vbsc628 root 5436 S /usr/local/bin/vbsc629 root 5436 S /usr/local/bin/vbsc630 root 5436 S /usr/local/bin/vbsc631 root 5436 S /usr/local/bin/vbsc632 root 5436 S /usr/local/bin/vbsc633 root 5436 S /usr/local/bin/vbsc634 root 5436 S /usr/local/bin/vbsc635 root 5436 S /usr/local/bin/vbsc636 root 5436 S /usr/local/bin/vbsc637 root 5436 S /usr/local/bin/vbsc638 root 5436 S /usr/local/bin/vbsc639 root 5436 S /usr/local/bin/vbsc3451 root 1552 S -bash3570 root 356 S sleep 603588 root 668 R ps -eaf[(flash)root@SUNSP00144F97B6A1:~]#ILOM的root密码寻找过程如下:U-Boot 1.1.1 (Jul 11 2008 - 08:15:02)CPU: MPC885ZPnn at 133 MHz: 8 kB I-Cache 8 kB D-Cache FEC presentBoard: SPARC885Watchdog enabledI2C: readyDRAM:trying 128 MBytestrying 64 MBytes(64 MB SDRAM) 64 MBFLASH: 32 MBIn: serialOut: serialErr: serialNet: FEC ETHERNETPOST i2c c d 18 20 23 2a 2d 2e 30 40 43 46 51 53 54 56 68 69 6a 6b 70 71 PASSED POST cpu PASSEDPOST ethernet PASSEDBooting linux in 5 seconds...u-boot> ?? - alias for 'help'autoscr - run script from memorybase - print or set address offsetbdinfo - print Board Info structureboot - boot default, i.e., run 'bootcmd'bootd - boot default, i.e., run 'bootcmd'bootm - boot application image from memorybootp - boot image via network using BootP/TFTP protocol brginfo - print Baud Rate Generator (BRG) registerscarinfo - print Clocks and Reset registerschpart - change active partitioncmp - memory compareconinfo - print console devices and informationscp - memory copycrc32 - checksum calculationdhcp - invoke DHCP client to obtain IP/boot paramsdiag - perform board diagnosticsdmainfo - print SDMA/IDMA registersecho - echo args to consoleerase - erase FLASH memoryfccinfo - print FCC registersflinfo - print FLASH memory informationfsinfo - print information about filesystemsfsload - load binary file from a filesystem imagego - start application at address 'addr'help - print online helpi2cinfo - print I2C registersicrc32 - checksum calculationiloop - infinite loop on address rangeimd - i2c memory displayiminfo - print header information for application image imls - list all images found in flashimm - i2c memory modify (auto-incrementing)imw - memory write (fill)inm - memory modify (constant address)iopget - get single I/O Port registersiopinfo - print I/O Port registersiopset - set I/O Port registersiprobe - probe to discover valid I2C chip addressesisdram - print SDRAM configuration informationitest - return true/false on integer compareloadb - load binary file over serial line (kermit mode) loads - load S-Record file over serial lineloop - infinite loop on address rangels - list files in a directory (default /)mccinfo - print MCC registersmd - memory displaymemcinfo- print Memory Controller registersmii - MII utility commandsmm - memory modify (auto-incrementing)mtest - simple RAM testmuxinfo - print CPM Multiplexing registersmw - memory write (fill)nfs - boot image via network using NFS protocolnm - memory modify (constant address)ping - send ICMP ECHO_REQUEST to network hostprintenv- print environment variablesprotect - enable or disable FLASH write protectionrarpboot- boot image via network using RARP/TFTP protocolreginfo - print register informationreset - Perform RESET of the CPUrun - run commands in an environment variablesaveenv - save environment variables to persistent storagesccinfo - print SCC registerssetenv - set environment variablessiinfo - print Serial Interface (SI) registerssitinfo - print System Integration Timers (SIT) registerssiuinfo - print System Interface Unit (SIU) registerssleep - delay execution for some timesmcinfo - print SMC registersspiinfo - print Serial Peripheral Interface (SPI) registerstftpboot- boot image via network using TFTP protocolversion - print monitor versionu-boot> versionU-Boot 1.1.1 (Jul 11 2008 - 08:15:02)u-boot> printenvbootcmd=setenv bootargs root=/dev/mtdblock4 rootfstype=squashfs ro mtdparts=phys:384K(u1),128k(e1),1536K(k1),14M(r1),384K(u2),128K(e2),1536K(k2), 14M(r2); bootm 0xfe080000bootdelay=5ethaddr=00:14:4f:97:b6:a1baudrate=9600stdin=serialstdout=serialstderr=serialethact=FEC ETHERNETEnvironment size: 284/16380 bytesu-boot> setenv bootargs=root /dev/mtdblock4 rootfstype=squashfs ro init=/bin/bash mtdparts=phys:384K(u1),128k(e1),1536K(k1),14M(r1),384K(u2),128K(e2),1536K(k2),14M(r2)u-boot> bootm 0xfe080000## Booting image at fe080000 ...Image Name: Linux-2.4.22Image Type: PowerPC Linux Kernel Image (gzip compressed)Data Size: 814990 Bytes = 795.9 kBLoad Address: 00000000Entry Point: 00000000Verifying Checksum ... OKUncompressing Kernel Image ... OKdo_bootm_linux():argv[0]=bootmargv[1]=0xfe080000## Current stack ends at 0x03D38B70 => set upper limit to 0x00800000 No initrd## cmdline at 0x007FFF00 ... 0x007FFF8Fmemstart = 0x00000000memsize = 0x04000000flashstart = 0xFE000000flashsize = 0x02000000flashoffset = 0x0004C000sramstart = 0x00000000sramsize = 0x00000000EnvAddr = 0x0003AAE8EnvSize = 0x00055878sectorsize = 0x00020000sectorcount = 0x00000100booted = 0xFE080000boottype = 0x00000000primary = 0xFFFFFFFFpritype = 0x00000000secondary = 0xFFFFFFFFsectype = 0x00000000image0 = 0xFE000000image1 = 0xFF000000maximage = 0x01000000immr_base = 0xF0000000bootflags = 0x00000001intfreq = 133 MHzbusfreq = 66.500 MHzethaddr = 00:14:4F:97:B6:A1IP addr = 0.0.0.0baudrate = 9600 bps。

lunix指令大全

lunix指令大全

lunix指令大全第一篇:lunix指令大全cat cdchmod chown cp cut名称:cat使用权限:所有使用者使用方式:cat [-AbeEnstTuv] [--help] [--version] fileName说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案)参数:-n 或--number 由 1 开始对所有输出的行数编号-b 或--number-nonblank 和-n 相似,只不过对于空白行不编号-s 或--squeeze-blank 当遇到有连续两行以上的空白行,就代换为一行的空白行-v 或--show-nonprinting范例:cat-n textfile1 > textfile2 把 textfile1 的档案内容加上行号后输入 textfile2 这个档案里cat-b textfile1 textfile2 >> textfile3 把 textfile1 和 textfile2 的档案内容加上行号(空白行不加)之后将内容附加到 textfile3 名称 : cd使用权限 : 所有使用者使用方式 : cd [dirName]说明: 变换工作目录至dirName。

其中dirName 表示法可为绝对路径或相对路径。

若目录名称省略,则变换至使用者的home directory(也就是刚 login 时所在的目录)。

另外,“~” 也表示为 home directory 的意思,“.” 则是表示目前所在的目录,“..” 则表示目前目录位置的上一层目录。

范例 : 跳到 /usr/bin/ : cd /usr/bin跳到自己的 home directory : cd ~跳到目前目录的上上两层 : cd../..名称 : chmod使用权限 : 所有使用者使用方式 : chmod [-cfvR] [--help] [--version] mode file...说明 : Linux/Unix 的档案存取权限分为三级: 档案拥有者、群组、其他。

AIX最常用命令

AIX最常用命令
time
统计程序的执行时间
time a.out
网络与通信操作
命令名
功能描述
使用举例
telnet
远程登录
telnet
rlogin
远程登录
rlogin hostname -l username
rsh
在远程主机执行指定命令
rsh f01n03 date
ftp
在本地主机与远程主机 之间传输文件
功能描述
使用举例
passwd
修改用户密码
passwd
chmod
改变文件或目录的权限
chmod ug+x filename
umask
定义创建文件的权限掩码
umask 027
chown
改变文件或目录的属主
chown newowner filename
chgrp
改变文件或目录的所属组
chgrp staff filename
AIX常用命令
目录操作
命令名
功能描述
使用举例
mkdir
创建一个目录
mkdir dirname
rmdir
删除一个目录
rmdir dirname
mvdir
移动或重命名一个目录
mvdir dir1 dir2
cd
改变当前目录
cd dirname
pwd
显示当前目录的路径名
pwd
ls
显示当前目录的内容
ls -la
mesg
允许或拒绝接收报文
mesg n
Korn Shell命令
命令名
功能描述
使用举例
history
列出最近执行过的 几条命令及编号

ILOM 服务处理器 CLI 快速参考

ILOM 服务处理器 CLI 快速参考
set /SP/services/http port=portnumbersecureredirect=enabled|disabledservicestate=enabled|disabled
显示有关HTTPS访问的信息。
show /SP/services/https
更改HTTPS设置。
set /SP/services/https port=portnumberservicestate=enabled|disabled
显示有关LDAP设置的信息。
show /SP/clients/ldap
更改LDAP设置。
set /SP/clients/ldap binddn=proxyuserbindpw=proxyuserpassworddefaultrole=administrator|operator
ipaddress=ipaddress
help targets
注销服务处理器CLI。
exit
显示服务处理器上运行的ILOM固件的版本。
version
显示服务处理器的时钟信息。
show /SP/clock
显示所有CLI命令。
show /SP/cli/commands
显示活动的服务处理器会话。
show /SP/sessions
显示有关命令和目标的帮助信息。
注-此速率设置必须与主机操作系统上的串行端口0、COM1或/dev/ttyS0的速率设置匹配。
set /SP/serial/host pendingspeed=integer
报警命令
描述
命令
显示有关PET报警的信息。您最多可配置15个报警。
show /SP/alert/rules/1...15

aix常用命令

aix常用命令

aix常用命令AIX常用命令目录操作命令名功能描述使用举例mkdir 创建一个目录 mkdir dirnamermdir 删除一个目录 rmdir dirnamemvdir 移动或重命名一个目录 mvdir dir1 dir2cd 改变当前目录 cd dirnamepwd 显示当前目录的路径名 pwdls 显示当前目录的内容 ls -ladircmp 比较两个目录的内容 dircmp dir1 dir2文件操作命令名功能描述使用举例cat 显示或连接文件 cat filenamepg 分页格式化显示文件内容 pg filenamemore 分屏显示文件内容 more filenameod 显示非文本文件的内容 od -c filenamecp 复制文件或目录 cp file1 file2rm 删除文件或目录 rm filenamemv 改变文件名或所在目录 mv file1 file2ln 联接文件 ln -s file1 file2find 使用匹配表达式查找文件 find . -name "*.c" -print file 显示文件类型 file filename选择操作命令名功能描述使用举例head 显示文件的最初几行 head -20 filenametail 显示文件的最后几行 tail -15 filenamecut 显示文件每行中的某些域 cut -f1,7 -d: /etc/passwdcolrm 从标准输入中删除若干列 colrm 8 20 file2paste 横向连接文件 paste file1 file2diff 比较并显示两个文件的差异 diff file1 file2sed 非交互方式流编辑器 sed "s/red/green/g" filenamegrep 在文件中按模式查找 grep "^[a-zA-Z]" filenameawk 在文件中查找并处理模式 awk '{print $1 $1}' filename sort 排序或归并文件 sort -d -f -u file1uniq 去掉文件中的重复行 uniq file1 file2comm 显示两有序文件的公共和非公共行 comm file1 file2wc 统计文件的字符数、词数和行数 wc filenamenl 给文件加上行号 nl file1 >file2安全操作命令名功能描述使用举例passwd 修改用户密码 passwdchmod 改变文件或目录的权限 chmod ug+x filename umask 定义创建文件的权限掩码 umask 027chown 改变文件或目录的属主 chown newowner filename chgrp 改变文件或目录的所属组 chgrp staff filenamexlock 给终端上锁 xlock -remote编程操作命令名功能描述使用举例make 维护可执行程序的最新版本 maketouch 更新文件的访问和修改时间 touch -m 05202400 filename dbx 命令行界面调试工具 dbx a.outxde 图形用户界面调试工具 xde a.out进程操作命令名功能描述使用举例ps 显示进程当前状态 ps ukill 终止进程 kill -9 30142nice 改变待执行命令的优先级 nice cc -c *.crenice 改变已运行进程的优先级 renice +20 32768时间操作命令名功能描述使用举例date 显示系统的当前日期和时间 datecal 显示日历 cal 8 1996time 统计程序的执行时间 time a.out网络与通信操作命令名功能描述使用举例telnet 远程登录 telnet rlogin 远程登录 rlogin hostname -l usernamersh 在远程主机执行指定命令 rsh f01n03 dateftp 在本地主机与远程主机之间传输文件 ftp rcp 在本地主机与远程主机之间复制文件 rcp file1 host1:file2 ping 给一个网络主机发送回应请求 ping mail 阅读和发送电子邮件 mailwrite 给另一用户发送报文 write username pts/1mesg 允许或拒绝接收报文 mesg nKorn Shell 命令命令名功能描述使用举例history 列出最近执行过的几条命令及编号 historyr 重复执行最近执行过的某条命令 r -2alias 给某个命令定义别名 alias del=rm -iunalias 取消对某个别名的定义 unalias del其它命令命令名功能描述使用举例uname 显示操作系统的有关信息 uname -aclear 清除屏幕或窗口内容 clearenv 显示当前所有设置过的环境变量 envwho 列出当前登录的所有用户 whowhoami 显示当前正进行操作的用户名 whoamitty 显示终端或伪终端的名称 ttystty 显示或重置控制键定义 stty -adu 查询磁盘使用情况 du -k subdirdf 显示文件系统的总空间和可用空间 df /tmpFTP上传1.开始 - 运行 - 输入“cmd”,输入ftp 127.0.0.1*因为是本机*ername:password*输入用户名,密码,如果你的密码输入错误,将不会提示你重新输入,这时你要键入“user”命令,你可以重新输入用户名和密码*3.dir*dir命令查看FTP服务器中的文件及目录,ls只可以查看文件*4.bin*采用二进制传输。

ilom常用命令 -回复

ilom常用命令 -回复

ilom常用命令-回复ILoM(Integrated Lights Out Management)是一种硬件管理技术,用于远程监控和管理服务器和网络设备。

它提供了一套命令行工具,可以通过网络连接远程管理服务器,提供更高级的控制和监控功能。

以下是ILoM 的常用命令以及它们的功能。

1. help:该命令用于获取ILoM命令列表和帮助文档。

通过输入"help"命令,可以列出所有可用的ILoM命令,以及它们的功能和用法。

2. show:show命令用于显示特定的服务器或设备信息。

通过输入"show"命令,可以查看设备的一些基本信息,如设备型号、序列号、固件版本等。

3. start:start命令用于启动或重启设备。

通过输入"start"命令,可以远程启动或重新启动服务器或网络设备。

4. stop:stop命令用于关闭设备。

通过输入"stop"命令,可以远程关闭服务器或网络设备。

5. power:power命令用于控制设备的电源状态。

它有几个子命令,如"power on"用于打开设备电源,"power off"用于关闭设备电源,以及"power reset"用于重启设备。

6. set:set命令用于设置设备的各种参数。

通过输入"set"命令,可以更改设备的网络设置、用户权限、日期和时间等。

7. reset:reset命令用于重置设备。

通过输入"reset"命令,可以将设备恢复到出厂设置。

8. console:console命令用于通过串口连接到设备的控制台。

通过输入"console"命令,可以与设备进行实时的交互式命令行操作。

9. show eventlog:show eventlog命令用于显示设备的事件日志。

IL指令详细

IL指令详细

IL指令详细名称说明Add将两个值相加并将结果推送到计算堆栈上。

Add.Ovf将两个整数相加,执⾏溢出检查,并且将结果推送到计算堆栈上。

Add.Ovf.Un将两个⽆符号整数值相加,执⾏溢出检查,并且将结果推送到计算堆栈上。

And计算两个值的按位“与”并将结果推送到计算堆栈上。

Arglist返回指向当前⽅法的参数列表的⾮托管指针。

Beq如果两个值相等,则将控制转移到⽬标指令。

Beq.S如果两个值相等,则将控制转移到⽬标指令(短格式)。

Bge如果第⼀个值⼤于或等于第⼆个值,则将控制转移到⽬标指令。

Bge.S如果第⼀个值⼤于或等于第⼆个值,则将控制转移到⽬标指令(短格式)。

Bge.Un当⽐较⽆符号整数值或不可排序的浮点型值时,如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令。

Bge.Un.S当⽐较⽆符号整数值或不可排序的浮点型值时,如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令(短格式)。

Bgt如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令。

Bgt.S如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令(短格式)。

Bgt.Un当⽐较⽆符号整数值或不可排序的浮点型值时,如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令。

Bgt.Un.S当⽐较⽆符号整数值或不可排序的浮点型值时,如果第⼀个值⼤于第⼆个值,则将控制转移到⽬标指令(短格式)。

Ble如果第⼀个值⼩于或等于第⼆个值,则将控制转移到⽬标指令。

Ble.S如果第⼀个值⼩于或等于第⼆个值,则将控制转移到⽬标指令(短格式)。

Ble.Un当⽐较⽆符号整数值或不可排序的浮点型值时,如果第⼀个值⼩于或等于第⼆个值,则将控制转移到⽬标指令。

Ble.Un.S当⽐较⽆符号整数值或不可排序的浮点值时,如果第⼀个值⼩于或等于第⼆个值,则将控制权转移到⽬标指令(短格式)。

Blt如果第⼀个值⼩于第⼆个值,则将控制转移到⽬标指令。

Blt.S如果第⼀个值⼩于第⼆个值,则将控制转移到⽬标指令(短格式)。

ipmitool工具常用命令汇总

ipmitool工具常用命令汇总

ipmitool工具常用命令汇总ipmitool工具常用命令汇总目录1、工具得安装 (2)2、命令得help (2)3、查瞧管理口得IP地址 (5)4、管理底盘chassis配置 (6)4、1查瞧底盘配置汇总 (6)4、2管理电源 (7)4、3管理时间间隔 (7)4、4管理电源恢复策略 (8)4、5查瞧上次重启原因 (8)4、6查询上电时间 (8)4、7管理启动项 (8)4、8设置启动项得参数 (9)5、使用delloem进行管理 (10)5、1配置lcd (10)5、2查瞧MAC地址 (11)5、3设置lan得模式 (12)5、4设置背板led得状态 (13)5、5管理电源监控 (13)6、查瞧传感器数据sensor (14)6、1查瞧当前系统所有得传感器数据 (14) 6、2设置传感器得告警阈值 (14)6、3查瞧某一传感器得状态信息 (15)6、4查瞧某一个传感器得当前值 (16)7、管理传感器仓库sdr (16)7、1查瞧传感器仓库中得信息列表 (17)7、2查瞧传感器得类型与指定类型得数据 (18)7、3查瞧指定传感器得配置信息 (20)7、4查瞧传感器仓库sdr得配置信息 (21)8、查瞧系统事件sel日志 (22)8、1查瞧sel得状态信息 (22)8、2查瞧sel得中得日志信息 (22)1、工具得安装yum install -y OpenIPMI ipmitool开启服务/etc/init、d/ipmi status/etc/init、d/ipmi start[root@cell83 ~]# ipmitool -Vipmitool version 1、8、182、命令得help明细得命令参考man ipmitool或者附件ipmitool、help[root@cell83 ~]# ipmitool -hipmitool version 1、8、18usage: ipmitool [options、、、]-h This help-V Show version information-v Verbose (can use multiple times)-c Display output in ma separated format-d N Specify a /dev/ipmiN device to use (default=0) -I intf Interface to use-H hostname Remote host name for LAN interface-p port Remote RMCP port [default=623]-U username Remote session username-f file Read remote session password from file-z size Change Size of munication Channel (OEM)-S sdr Use local remote SDR cache-D tty:b[:s] Specify the serial device, baud rate to useand, optionally, specify that interface is the system one -4 Use only IPv4-6 Use only IPv6-a Prompt for remote password-Y Prompt for the Kg key for IPMIv2 authentication-e char Set SOL escape character-C ciphersuite Cipher suite to be used by lanplus interface -k key Use Kg key for IPMIv2 authentication-y hex_key Use hexadecimal-encoded Kg key for IPMIv2 authentication -L level Remote session privilege level [default=ADMINISTRATOR] Append a '+' to use name/privilege lookup in RAKP1-A authtype Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM -P password Remote session password -E Read password from IPMI_PASSWORD environment variable -K Read kgkey from IPMI_KGKEY environment variable -m address Set local IPMB address-b channel Set destination channel for bridged request-t address Bridge request to remote target address-B channel Set transit channel for bridged request (dual bridge) -T address Set transit address for bridge request (dual bridge) -l lun Set destination lun for raw mands-o oemtype Setup for OEM (use 'list' to see available OEM types) -O seloem Use OEM SEL event descriptions-N seconds Specify timeout for lan [default=2] / lanplus [default=1] interface-R retry Set the number of retries for lan/lanplus interface [default=4]Interfaces:open Linux OpenIPMI Interface [default]imb Intel IMB Interfacelan IPMI v1、5 LAN Interfacelanplus IPMI v2、0 RMCP+ LAN Interfaceserial-terminal Serial Interface, Terminal Modeserial-basic Serial Interface, Basic Modeusb IPMI USB Interface(OEM Interface for AMI Devices)mands:raw Send a RAW IPMI request and print responsei2c Send an I2C Master Write-Read mand and print response spd Print SPD info from remote I2C devicelan Configure LAN Channelschassis Get chassis status and set power statepower Shortcut to chassis power mandsevent Send pre-defined events to MCmc Management Controller status and global enablessdr Print Sensor Data Repository entries and readingssensor Print detailed sensor informationfru Print built-in FRU and scan SDR for FRU locatorsgendev Read/Write Device associated with Generic Device locators sdrsel Print System Event Log (SEL)pef Configure Platform Event Filtering (PEF)sol Configure and connect IPMIv2、0 Serial-over-LANtsol Configure and connect with Tyan IPMIv1、5 Serial-over-LANisol Configure IPMIv1、5 Serial-over-LANuser Configure Management Controller userschannel Configure Management Controller channelssession Print session informationdcmi Data Center Management Interfacenm Node Manager Interfacesunoem OEM mands for Sun serverskontronoem OEM mands for Kontron devicespicmg Run a PICMG/ATCA extended cmdfwum Update IPMC using Kontron OEM Firmware Update Manager firewall Configure Firmware Firewalldelloem OEM mands for Dell systemsshell Launch interactive IPMI shellexec Run list of mands from fileset Set runtime variable for shell and exechpm Update HPM ponents using PICMG HPM、1 fileekanalyzer run FRU-Ekeying analyzer using FRU filesime Update Intel Manageability Engine Firmwarevita Run a VITA 46、11 extended cmdlan6 Configure IPv6 LAN Channels3、查瞧管理口得IP地址[root@cell83 ~]# ipmitool -I open lan print[root@cell83 ~]# ipmitool -I open lan print | grep IPIP Address Source : Static AddressIP Address : 192、168、0、133IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10 Default Gateway IP : 192、168、0、1Backup Gateway IP : 0、0、0、04、管理底盘chassis配置[root@cell83 ~]# ipmitool -I open chassis helpChassis mands: status, power, identify, policy, restart_cause, poh, bootdev, bootparam, selftest4、1查瞧底盘配置汇总[root@cell83 ~]# ipmitool -I open chassis statusSystem Power : onPower Overload : falsePower Interlock : inactiveMain Power Fault : falsePower Control Fault : falsePower Restore Policy : previousLast Power Event :Chassis Intrusion : inactiveFront-Panel Lockout : inactiveDrive Fault : falseCooling/Fan Fault : falseSleep Button Disable : not allowedDiag Button Disable : allowedReset Button Disable : not allowedPower Button Disable : allowedSleep Button Disabled: falseDiag Button Disabled : trueReset Button Disabled: falsePower Button Disabled: false4、2管理电源查瞧当前电源状态[root@cell83 ~]# ipmitool -I open chassis power status Chassis Power is on打开电源ipmitool -I open chassis power on关闭电源ipmitool -I open chassis power off重启电源ipmitool -I open chassis power cycle重置电源ipmitool -I open chassis power reset其她配置ipmitool -I open chassis power diagipmitool -I open chassis power soft4、3管理时间间隔查询时间间隔:[root@cell83 ~]# ipmitool -I open chassis identify Chassis identify interval: default (15 seconds)设置时间间隔:[root@cell83 ~]# ipmitool -I open chassis identify help chassis identifydefault is 15 seconds0 to turn offforce to turn on indefinitely4、4管理电源恢复策略[root@cell83 ~]# ipmitool -I open chassis policy helpchassis policylist : return supported policiesalways-on : turn on when power is restoredprevious : return to previous state when power is restored always-off : stay off after power is restored4、5查瞧上次重启原因[root@cell83 ~]# ipmitool -I open chassis restart_causeSystem restart cause: unknown4、6查询上电时间[root@cell83 ~]# ipmitool -I open chassis pohGet Chassis Power-On-Hours failed: Invalid mand4、7管理启动项[root@cell83 ~]# ipmitool -I open chassis bootdev helpbootdev [clear-cmos=yes|no]bootdev [options=help,、、、]none : Do not change boot device orderpxe : Force PXE bootdisk : Force boot from default Hard-drivesafe : Force boot from default Hard-drive, request Safe Mode diag : Force boot from Diagnostic Partitioncdrom : Force boot from CD/DVDbios : Force boot into BIOS Setupfloppy: Force boot from Floppy/primary removable media4、8设置启动项得参数[root@cell83 ~]# ipmitool -I open chassis bootparam help bootparam getbootparam set bootflag [options=、、、]Legal devices are:none : No overrideforce_pxe : Force PXE bootforce_disk : Force boot from default Hard-driveforce_safe : Force boot from default Hard-drive, request Safe Modeforce_diag : Force boot from Diagnostic Partitionforce_cdrom : Force boot from CD/DVDforce_bios : Force boot into BIOS SetupLegal options are:help : print this messagePEF : Clear valid bit on reset/power cycle cause by PEFtimeout : Automatically clear boot flag valid bit on timeout watchdog: Clear valid bit on reset/power cycle cause by watchdogreset : Clear valid bit on push button reset/soft resetpower : Clear valid bit on power up via power push button orwake event Any Option may be prepended with no- to invert sense of operation5、使用delloem进行管理查瞧帮助[root@cell83 ~]# ipmitool -I open delloem helpusage: delloem [option、、、]mands:lcdmaclansetledpowermonitorvFlashFor help on individual mands type:delloem help5、1配置lcd[root@cell83 ~]# ipmitool -I open delloem lcd helpGeneric DELL HW:lcd set {none}|{default}|{custom }Set LCD text displayed during non-fault conditionsiDRAC 11g or iDRAC 12g or iDRAC 13g :lcd set {mode}|{lcdqualifier}|{errordisplay}Allows you to set the LCD mode and user-defined string、lcd set mode {none}|{modelname}|{ipv4address}|{macaddress}|{systemname}|{servicetag}|{ipv6address}|{ambienttemp}{systemwatt }|{assettag}|{userdefined}Allows you to set the LCD display mode to any of the precedingparameterslcd set lcdqualifier {watt}|{btuphr}|{celsius}|{fahrenheit}Allows you to set the unit for the system ambient temperature mode、lcd set errordisplay {sel}|{simple}Allows you to set the error display、lcd infoShow LCD text that is displayed during non-fault conditions lcd set vkvm{active}|{inactive}Set vKVM active and inactive, message will be displayed on lcdwhen vKVM is active and vKVM session is in progresslcd set frontpanelaccess {viewandmodify}|{viewonly}|{disabled}Set LCD mode to view and modify, view only or disabledlcd statusShow LCD Status for vKVM displayand Front Panel access mode {viewandmodify}|{viewonly}|{disabled}5、2查瞧MAC地址[root@cell83 ~]# ipmitool -I open delloem mac helpmac listLists the MAC address of LOMsmac getShows the MAC address of specified LOM、 0-7 System LOM, 8- DRAC/iDRAC、[root@cell83 ~]# ipmitool -I open delloem mac listSystem LOMsNIC Number MAC Address Status0 b8:2a:72:db:56:2a Enabled1 b8:2a:72:db:56:2b Enabled2 b8:2a:72:db:56:28 Enabled3 b8:2a:72:db:56:29 EnablediDRAC7 MAC Address b0:83:fe:c9:6d:315、3设置lan得模式[root@cell83 ~]# ipmitool -I open delloem lan helplan setsets the NIC Selection Mode :on iDRAC12g OR iDRAC13g :dedicated, shared with lom1, shared with lom2,shared with lom3,sharedwith lom4,shared with failover lom1,shared with failover lom2,sharedwith failover lom3,shared with failover lom4,shared with Failover allloms, shared with Failover None)、on other systems :dedicated, shared, shared with failover lom2,shared with Failover all loms、lan geton iDRAC12g or iDRAC13g :returns the current NIC Selection Mode (dedicated, shared with lom1, sharedwith lom2, shared with lom3, shared with lom4,shared with failover lom1,shared with failover lom2,shared with failover lom3,shared with failoverlom4,shared with Failover all loms,shared with Failover None)、on other systems :dedicated, shared, shared with failover,lom2, shared with Failover all loms、lan get activereturns the current active NIC (dedicated, LOM1, LOM2, LOM3, LOM4)、5、4设置背板led得状态[root@cell83 ~]# ipmitool -I open delloem setled helpsetledSet backplane LED stateb:d、f = PCI Bus:Device、Function of drive (lspci format)state = present|online|hotspare|identify|rebuilding|fault|predict|critical|failed5、5管理电源监控[root@cell83 ~]# ipmitool -I open delloem powermonitor helppowermonitorShows power tracking statisticspowermonitor clear cumulativepowerReset cumulative power readingpowermonitor clear peakpowerReset peak power readingpowermonitor powerconsumptionDisplays power consumption inpowermonitor powerconsumptionhistoryDisplays power consumption historypowermonitor getpowerbudgetDisplays power cap inpowermonitor setpowerbudgetAllows user to set the power cap in powermonitor enablepowercapTo enable set power cappowermonitor disablepowercapTo disable set power cap6、查瞧传感器数据sensor[root@cell83 ~]# ipmitool -I open sensor helpSensor mands: list thresh get reading6、1查瞧当前系统所有得传感器数据[root@cell83 ~]# ipmitool -I open sensor list6、2设置传感器得告警阈值[root@cell83 ~]# ipmitool -I open sensor thresh helpsensor threshid : name of the sensor for which threshold is to be set threshold : which threshold to setunr = upper non-recoverableucr = upper criticalunc = upper non-criticallnc = lower non-criticallcr = lower criticallnr = lower non-recoverablesetting : the value to set the threshold tosensor thresh lowerSet all lower thresholds at the same time sensor thresh upper Set all upper thresholds at the same time6、3查瞧某一传感器得状态信息[root@cell83 ~]# ipmitool -I open sensor get help sensor get 、、、 [id]id : name of desired sensor查瞧温度传感器[root@cell83 ~]# ipmitool -I open sensor get Temp Locating sensor record、、、Sensor ID : Temp (0xe)Entity ID : 3、1Sensor Type (Threshold) : TemperatureSensor Reading : 48 (+/- 1) degrees CStatus : okLower Non-Recoverable : naLower Critical : 3、000Lower Non-Critical : 8、000Upper Non-Critical : 79、000Upper Critical : 84、000Upper Non-Recoverable : naPositive Hysteresis : 1、000Negative Hysteresis : 1、000Assertion Events :Assertions Enabled :6、4查瞧某一个传感器得当前值[root@cell83 ~]# ipmitool -I open sensor reading help sensor reading 、、、 [id]id : name of desired sensor查瞧温度传感器[root@cell83 ~]# ipmitool -I open sensor reading Temp Temp | 477、管理传感器仓库sdr[root@cell83 ~]# ipmitool -I open sdr helpusage: sdr [options]list | elist [option]all All SDR Recordsfull Full Sensor Recordpact pact Sensor Recordevent Event-Only Sensor Recordmcloc Management Controller Locator Recordfru FRU Locator Recordgeneric Generic Device Locator Recordtype [option]Retrieve the state of specified sensor、 Sensor_Type can be specified either asa string or a hex value、list Get a list of available sensor typesgetRetrieve state of the first sensor matched by Sensor_IDinfoDisplay information about the repository itselfentity [、]Display all sensors associated with an entitydumpDump raw SDR data to a filefillsensors Creates the SDR repository for the current configurationnosat Creates the SDR repository for the current configuration, without satellite scanfile Load SDR repository from a filerange Load SDR repository from a provided list or range、Use ',' for list or '-' forrange, eg、 0x28,0x32,0x40-0x447、1查瞧传感器仓库中得信息列表[root@cell83 ~]# ipmitool -I open sdr elist helpusage: sdr elist [all|full|pact|event|mcloc|fru|generic]=>查瞧仓库中所有得信息:elist与list得格式内容上略有不同[root@cell83 ~]# ipmitool -I open sdr elist all[root@cell83 ~]# ipmitool -I open sdr list all=>查瞧传感器得数据[root@cell83 ~]# ipmitool -I open sdr elist fullFan1 RPM | 30h | ok | 7、1 | 6240 RPMFan2 RPM | 31h | ok | 7、1 | 6240 RPMFan3 RPM | 32h | ok | 7、1 | 6240 RPMFan4 RPM | 33h | ok | 7、1 | 6120 RPMFan5 RPM | 34h | ok | 7、1 | 6240 RPMFan6 RPM | 35h | ok | 7、1 | 6240 RPMInlet Temp | 04h | ok | 7、1 | 35 degrees CExhaust Temp | 01h | ok | 7、1 | 40 degrees CTemp | 0Eh | ok | 3、1 | 47 degrees CTemp | 0Fh | ok | 3、2 | 46 degrees CCurrent 1 | 6Ah | ok | 10、1 | 0、80 AmpsCurrent 2 | 6Bh | ns | 10、2 | No ReadingVoltage 1 | 6Ch | ok | 10、1 | 236 VoltsVoltage 2 | 6Dh | ns | 10、2 | No ReadingPwr Consumption | 77h | ok | 7、1 | 168 Watts说明:Fan ----表示风扇Inlet Temp ----进口温度Exhaust Temp ----出口温度Temp ----CPU得温度Current --电流Voltage ---电压Pwr Consumption ----功率7、2查瞧传感器得类型与指定类型得数据查瞧传感器有哪些类型[root@cell83 ~]# ipmitool -I open sdr type listSensor Types:Temperature (0x01) Voltage (0x02) Current (0x03) Fan (0x04) Physical Security (0x05) Platform Security (0x06) Processor (0x07) Power Supply (0x08) Power Unit (0x09) Cooling Device(0x0a) Other (0x0b) Memory (0x0c) Drive Slot / Bay (0x0d) POST Memory Resize (0x0e) System Firmwares (0x0f) Event Logging Disabled (0x10) Watchdog1 (0x11) System Event (0x12) Critical Interrupt (0x13) Button (0x14) Module / Board (0x15) Microcontroller (0x16) Add-in Card (0x17) Chassis (0x18) Chip Set (0x19) Other FRU (0x1a) Cable / Interconnect (0x1b) Terminator (0x1c) System Boot Initiated (0x1d) Boot Error (0x1e) OS Boot (0x1f) OS Critical Stop (0x20) Slot / Connector (0x21) System ACPI Power State (0x22) Watchdog2 (0x23) Platform Alert (0x24) Entity Presence (0x25) Monitor ASIC (0x26) LAN (0x27) Management Subsys Health (0x28) Battery (0x29) Session Audit (0x2a) Version Change (0x2b) FRU State (0x2c) 查瞧指定传感器得数据如查瞧温度:[root@cell83 ~]# ipmitool -I open sdr type TemperatureInlet Temp | 04h | ok | 7、1 | 35 degrees CExhaust Temp | 01h | ok | 7、1 | 40 degrees CTemp | 0Eh | ok | 3、1 | 46 degrees C。

unix命令大全

unix命令大全

Unix命令大全技术文档2006-11-22 18:14 阅读931 评论2 字号:大大中中小小1.登录工作站1.1 透过PC 登录工作站执行格式:telnet hostname (在dos 下执行)telnet ip-addressExample:telnet doc telnet 140.122.77.120注: 可利用指令arp hostname 或arp domain_name 查询ip_address1.2 登录步骤login : _______ > 输入usernamepassword : _______ > 输入密码1.3 登出步骤% logout或% exit或%1.4 更改帐号密码% yppasswd > 执行后将会出现下列信息Changing NIS password for user on ice.Old password: ______ > 输入旧密码New password: ______ > 输入新密码(最好6-8字,英文字母与数字混合) Retype new password: ______ > 再输入一次密码1.5 在线帮助指令说明执行格式:man command-nameExample: % man ls1.6 进入远端电脑系统执行格式:rlogin hostname [-1 username]Example:%rlogin docremote login 进入工作站doc 中。

%rlogin doc -l user使用user 帐号进入工作站doc 中。

执行格式:telnet hostname 或telnet IP addressExample:%telnet doc or %telnet 140.109.20.2512. 文件或目录处理2.1 列出文件或目录下之文件名称执行格式:ls [-atFlgR] [name] ( name 可为文件名或目录名称。

Oracle ILOM 协议管理参考(适用于 SNMP 和 IPMI)(固件发行版 3.2.x)说明

Oracle ILOM 协议管理参考(适用于 SNMP 和 IPMI)(固件发行版 3.2.x)说明

目录
使用本文档 .............................................................................. 9
SNMP 概述 ........................................................................................................ 11 关于简单网络管理协议 ................................................................................. 11 SNMP 组件 ................................................................................................ 12 Oracle ILOM SNMP MIB ............................................................................. 12 SNMP 命令行语法示例 ................................................................................ 15 ▼ 配置 SNMP 网络环境 .................................................................... 15
5
目录
▼ 管理 Active Directory 管理员组 ....................................................... 44 ▼ 管理 Active Directory 操作员组 ....................................................... 45 ▼ 管理 Active Directory 定制组 .......................................................... 46 ▼ 管理 Active Directory 用户域 .......................................................... 48 ▼ 管理 Active Directory 备用服务器 ................................................... 49 ▼ 管理服务器冗余 ............................................................................. 52 ▼ 管理 Active Directory DNS 定位器 .................................................. 52 ▼ 管理 DNS 名称服务器设置 (SNMP) ........................................................ 54 针对 LDAP 配置 Oracle ILOM (SNMP) ........................................................ 55 ▼ 配置 LDAP 设置 ............................................................................ 55 针对 LDAP/SSL 配置 Oracle ILOM (SNMP) ................................................. 58 ▼ 管理 LDAP/SSL 证书 ..................................................................... 58 ▼ 管理 LDAP/SSL 管理员组 .............................................................. 59 ▼ 管理 LDAP/SSL 操作员组 .............................................................. 60 ▼ 管理 LDAP/SSL 定制组 .................................................................. 61 ▼ 管理 LDAP/SSL 用户域 .................................................................. 63 ▼ 管理 LDAP/SSL 备用服务器 ........................................................... 64 针对 RADIUS 配置 Oracle ILOM (SNMP) ..................................................... 66 ▼ 配置 RADIUS 设置 ........................................................................ 66

ILOM常用命令

ILOM常用命令

ILOM常用命令rootchangeme初始化登入设置root账户set/sp/users/rootpassword=root添加账户create/sp/users/adminrole=cuar(administrator|operator)set/host/bootmodescript= \start/sysstart/host/consolestop[-f]/syscreate/sp/users/adminrole=cuar(administrator|operator)cli_mode=alom(设置为alom模式(可选项))修改账户密码set/sp/users/adminpassword删掉账户delete/sp/users/admin查看账户列表show-displaytargets/sp/usersshow-display/sp/users/adminilom下做硬raidokprintenvoksetenvfcode-debug?trueokshow-disksc)/pci@400/pci@2/pci@0/pci@4/scsi@0/diskselect/pci@400/pci@2/pci@0/pci@4/scsi@ 0okshow-childrentarget9unit0diskseagatest930005ssun300g0606585937500blocks,300gbsasdev icename5000c5003bef0303sasaddress5000c5003bef0301phynum0targetaunit0diskseagat est930005ssun300g0606585937500blocks,300gbsasdevicename5000c5003bef1ad7sasaddr ess5000c5003bef1ad5phynum1ok9acreate-raid1-volumeokunselect-devoksetenvfcode-debug?falseokreset-all故障检测及去除->show/sp/faultmgmt->start/sp/faultmgmt/shell->fmadmfaulty->fmadmrepair[uuid]->fmadmfaulty->exit->showfaulty表明故障路径#fmdump-v#fmdump-v-u[uuid]#cfgadm-al*查阅硬件路径使用post诊断发现故障->set/syskeyswitch_state=diag->reset/sys->start/host/console->set/sys/keyswitch_stat=normal系统下修复#fmadmfaulty#fmadmrepair3aa7c854-9667-e176-efe5-e487e520单点登录设置让系统验证一次就行了set/sp/services/ssostat=disabled|enabled 定位系统->set/sys/locatevalue=fast_blink*打开定位器led指示灯->set/sys/locatevalue=off*关闭定位器led指示灯->show/sys/locate投入使用asr->set/host/diagmode=normal->set/host/diaglevel=max->set/host/diagtrigger=power-on-resetoksetenvauto-boottrueoksetenvauto-boot-on-error?trueokreset-all禁用asroksetenvauto-boot-on-error?falseokreset-all网络控制卡设置cd/sp/networkshow/sp/networksetpendingipaddress=192.168.106.14setpendingipnetmask=255.255.255.0setpendingi pgateway=192.168.106.1setpindingipdiscovery=staticsetstate=enabled查看串口信息:show/sp/serial/external更改波特率设置主机名set/sphostname=t5120set/spsystem_identifier=5120启用/禁用/重启sshset/sp/services/sshstat=enabled|disabledset/sp/services/sshrestart_sshd_action =trueload将文件从指定源传输到指定目标resetsetshowstartstopversion命令选项-default-destination制定数据的目的地-display-d-help-h-level-l选定命令级别-output-o指定输出内容及格式且仅支持-otable表格形式-script跳过警告提示-source指示源映像位置cli查阅组件信息show/sys/mbtypetype=motherboard移除组件和恢复组件使用#cfgadm-al*显示所以组件#cfgadm-xremove_devicec1::dsk/c1t3d0*移除组件#cfgadm-cunconfigurec1::dsk/c1t3d0*卸载硬盘#cfgadm-al#cfgadm-cconfigurec1::dsk/c1t3d0*布局崭新硬盘>set/ch/rfm0prepare_to_remove_action=true>show/ch/rfm0prepare_to_remove_st atus>set/ch/rfm0return_to_service_action=true启用和禁用组件采用cli查阅故障show/sp/faultmgmtshow/ch/faultmgmt查阅日志cd/sp/logs/eventshowlist。

lunix命令大全

lunix命令大全

UNIX命令大全UNIX常用命令:下述命令参考包含94个UNIX最常用的快速总结。

apropos用途:apropos查找使用说明的名称。

举例:apropos print(等价于man -k prink)。

arch用途:arch获得机器体系结构的描述信息。

举例:arch。

下面是arch输出的结果:sun4将这个命令与uname进行比较。

ash用途:ash是外壳,只用于某些系统。

举例:ash。

这个命令启动ash外壳的一个实例。

at用途:at用于确定命令执行的时刻。

举例:at 9:00am December 31。

awk用途:awk是一种模式扫描和执行语言。

举例:awk\'{print $1}\'file.txt。

这个命令执行后将打印出file.txt的第一个区域。

bash用途:bash是GNU Bourne-Again外壳。

举例:bash[options]。

这个命令启动bash外壳,它是一个增强的和sh兼容的外壳。

bash的提示符为$。

biff用途:biff通知你是否收到了邮件。

举例:biffy。

这个命令叫biff通知你新邮件什么时候到达(注意,要想让biff工作,你必须同时运行sendmail)。

cancel用途:cancel取消挂起的打印作业。

举例:cancel23。

这个命令取消23号打印作业。

cal用途:cal显示无格式文本日历。

举例:cal。

以下是命令执行后输出的列表:August 1998cat用途:cat将文件连接在一起并显示这些文件中的内容。

举例:cat myfile.txt。

这个命令执行后显示myfile.txt中的内容。

cc用途:cc是用于许多系统的C编译器。

举例:cc myfile.c -o myfile。

这个命令执行后对myfile.c源文件进行编译并输出一个名为myfile的可执行文件。

cd用途:cd用来改变当前目录。

举例:cd/usr/bin。

这个命令执行后将当前目录更改为/usr/bin。

Oracle ILOM 快速参考手册(CLI命令)说明书

Oracle ILOM 快速参考手册(CLI命令)说明书

Oracle ILOM Quick Reference for CLI Commands Firmware Release 5.1.xF48380-02October 2022Oracle ILOM Quick Reference for CLI Commands Firmware Release 5.1.x, F48380-02Copyright © 2022, 2022, Oracle and/or its affiliates.Primary Author: Cheryl SmithContents1 Using This DocumentationProduct Documentation Library1-1 Feedback1-12 Oracle ILOM Quick Reference for CLI CommandsSystem Information and Management2-1 Host and System Control2-2 Oracle ILOM Initial Setup2-2 System Monitoring and Status2-3 System Inventory2-4 Oracle ILOM Maintenance2-5 Oracle ILOM Configuration Management2-5 Oracle ILOM Help2-5Using This Documentation•Overview – This reference provides a list of basic commands that you can use toremotely manage your Oracle servers.•Audience – This guide is intended for technicians, system administrators, and authorized Oracle service providers.•Required knowledge – Users should have experience managing system hardware.Copyright © 1994, 2022, Oracle et/ou ses affiliés.Product Documentation LibraryLate-breaking information and known issues for this product are included in thedocumentation library at /goto/ilom/docsFeedbackProvide feedback about this documentation at Oracle Feedback.Oracle ILOM Quick Reference for CLI CommandsThis section contains information about common Oracle ILOM 5.0.x CLI commands.The following categories of commands are included in this section:•System Information and Management•Host and System Control•Oracle ILOM Initial Setup•System Monitoring and Status•System Inventory•Oracle ILOM Maintenance•Oracle ILOM Configuration Management•Oracle ILOM HelpSystem Information and ManagementTable 2-1 System Information and Management CommandsTask CLI CommandShow Oracle ILOM version versionShow system information show /System model part_numberserial_numberShow x86 BIOS version (legacy BIOSplatforms)show /System/BIOS versionShow x86 BIOS version (UEFI BIOS platforms)show /System/Firmware/Other_Firmware/ Firmware_1 versionShow SP ARC system firmware version show /System sys_fw_versionShow SP IP address show /System ilom_addressShow SP MAC address show /System ilom_mac_addressShow host MAC address show /System host_primary_mac_address T urn on the Locator LED set /System locator_indicator=onT urn off the Locator LED set /System locator_indicator=offHost and System ControlTable 2-2 Host and System Control CommandsTask CLI CommandPower on the server start /SystemPower off the server stop [-force] /SystemPower cycle the server reset /SystemRedirect host console stream to Oracle ILOM start /HOST/consoleForce PXE boot on next boot (x86 only)set /HOST boot_device=pxeForce boot to CD-ROM or DVD on the next boot (x86 only)set /HOSTboot_device=cdromSetting diagnostic tests to run.For further configuration details, seeSetting Diagnostic Tests to Run in Oracle ILOM 5.1 Administrator’s Guide Use the /HOST/diag target to set diagnostic tests.Use the help command to determine the host diagnostic properties supported on the server.help /HOST/diagOracle ILOM Initial SetupTable 2-3 Oracle ILOM Initial Setup CommandsTask CLI CommandShow network configuration show /SP/networkConfigure static IPv4 address set /SP/networkpendingipdiscovery=staticpendingipaddress=commitpending=true address pendingipnetmask=netmaskpendingipgateway=addressConfigure static IPv6 address set /SP/network/ipv6 state=enabledpending_static_ipaddress= ipv6addressset /SP/network commitpending=true Enable DHCP set /SP/networkpendingipdiscovery=dynamiccommitpending=trueSet the Oracle ILOM host name set /SP hostname=hostnameSet the system identifier set /SP system_identifier=identifierCreate user account with all privileges create /SP/users/ role=aucro [password=]newusernamepasswordCreate user account with host operator privileges create /SP/users/ role=cro [password=]newusernamepasswordCreate read-only user account create /SP/users/ role=o[password=]newusernamepassword Chapter 2Host and System ControlTable 2-3 (Cont.) Oracle ILOM Initial Setup CommandsTask CLI CommandDelete user account delete /SP/users/usernameOverride DNS servers retrieved from DHCP set /SP/clients/dns auto_dns=disabled nameserver=searchpath=nameserver1,nameserver2searchpath1, searchpath2Set the Oracle ILOM date and time set /SP/clock datetime=MMDDhhmmYYYY.ss Configure an NTP server set /SP/clients/ntp/server/1address=addressset /SP/clock usentpserver=enabledChange the external serial port speed set /SP/serial/external pendingspeed=9600|19200|38400|57600| 115200 commitpending=trueSystem Monitoring and StatusTable 2-4 System Monitoring and Status CommandsTask CLI CommandCheck the overall system health show /System healthList all open hardware problems show /System/Open_ProblemsShow the Oracle ILOM System Log show /System/Logs/listShow cooling summary information show /System/CoolingShow actual system powerconsumptionshow /System actual_power_consumption Show the Oracle ILOM Event Log show /SP/logs/event/listT rack session IDs at the onset of a KVMS or a Serial Redirection user session.show /SP/logs/session/listChapter 2System Monitoring and StatusTable 2-4 (Cont.) System Monitoring and Status CommandsSystem InventoryTable 2-5 System Inventory CommandsTask CLI CommandList information about all DIMMs show -level all -output table /System/Memory/ DIMMsList information about all CPUs show -level all -output table /System/ Processors/CPUsList information about all power supplies show -level all -output table /System/Power/ Power_SuppliesList information about all hard disks show -level all -output table /System/Storage/DisksChapter 2System InventoryChapter 2Oracle ILOM MaintenanceOracle ILOM MaintenanceTable 2-6 Oracle ILOM Maintenance CommandsTask CLI CommandUpdate Oracle ILOM firmware load -source /SP/firmware URIReset Oracle ILOM SP reset /SPOracle ILOM Configuration ManagementTable 2-7 Oracle ILOM Configuration ManagementTask CLI CommandReset Oracle ILOM configuration to factory defaults set /SPreset_to_defaults=allBack up Oracle ILOM configuration to a file dump -destination /SP/config URIRestore Oracle ILOM configuration from a file load -source /SP/config URI Oracle ILOM HelpTable 2-8 Oracle ILOM Help CommandsTask CLI CommandView all CLI targets for the system in any part of the CLI help targetsView help for targets or properties help targetproperty。

ilom常用命令

ilom常用命令

ilom常用命令
iLOM(Integrated Lights Out Manager)是Oracle公司开发的一款管理服务器硬件的工具。

以下是一些常用的iLOM命令:
1. poweron:打开服务器电源。

2. poweroff:关闭服务器电源。

3. powercycle:重启服务器。

4. reset /SYS:重置服务器。

5. show /HOST:显示服务器的主机状态。

6. show /SP/network:显示服务器iLOM网络配置信息。

7. set /SP/hostname=value:设置服务器的主机名。

8. set /SP/network pendingipstate=static:将iLOM网络配置更改为静态IP。

9. start /SP/console:启动iLOM控制台。

10. stop /SP/console:停止iLOM控制台。

11. show /SP/console/history:显示iLOM控制台历史记录。

12. show /SYS/BIOS:显示服务器BIOS设置。

13. show /SYS/FAN:显示服务器风扇状态。

14. show /SYS/TEMP:显示服务器温度状态。

15. show /SYS/VOLTAGE:显示服务器电压状态。

这些命令只是一小部分iLOM命令,可以帮助您进行基本的服务器管理和监控。

对于更详细的命令和功能,请参考适用于您的Oracle服务器的iLOM文档和手册。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

网络控制卡设置
cd /SP/network
show /SP/network
set pendingipaddress=192.168.106.14
set pendingipnetmask=255.255.255.0
set pendingipgateway=192.168.106.1
set pindingipdiscovery=static
故障检测及清除
-> show /SP/faultmgmt
->start /SP/faultmgmt/shell
->fmadm faulty
->fmadm repair [uuid]
->fmadm faulty
->exit
->show components
->show faulty 显示故障路径
删除账户
delete /SP/users/admin
查看账户列表
show -display targets /SP/users
show -display /Fra bibliotekP/users/admin
ILOM下做硬raid
ok printenv
ok setenv fcode-debug? true
SASDeviceName 5000c5003bef0303 SASAddress 5000c5003bef0301 PhyNum 0
Target a
Unit 0 Disk SEAGATE ST930005SSUN300G 0606 585937500 Blocks, 300 GB
ok show-disks
c) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
select /pci@400/pci@2/pci@0/pci@4/scsi@0
ok show-children
Target 9
Unit 0 Disk SEAGATE ST930005SSUN300G 0606 585937500 Blocks, 300 GB
SASDeviceName 5000c5003bef1ad7 SASAddress 5000c5003bef1ad5 PhyNum 1
ok 9 a create-raid1-volume
ok unselect-dev
ok setenv fcode-debug? false
ok reset-all
设置主机名
set /SP hostname=T5120
set /SP system_identifier=5120
启用/禁用/重启ssh
set /SP/services/ssh stat=enabled|disabled
set /SP/services/ssh restart_sshd_action=true
启用 ASR
-> set /HOST/diag mode=normal
-> set /HOST/diag level=max
-> set /HOST/diag trigger=power-on-reset
ok setenv auto-boot true
ok setenv auto-boot-on-error? true
初始化登录
root
changeme
设置root账户
set /SP/users/root password =root
添加账户
create /SP/users/admin role=cuar (administrator|operator)
set /HOST/bootmode script="setenv auto-boot? false"
ok reset-all
禁用 ASR
ok setenv auto-boot-on-error? false
ok reset-all
-> show /SYS/component component_state *查看受 ASR 影响组件的信息
-> set /SYS/component clear_fault_action=true *清除故障
set /SP/services/sso stat=disabled|enabled
定位系统
-> set /SYS/LOCATE value=Fast_Blink *打开定位器 LED 指示灯
-> set /SYS/LOCATE value=off *关闭定位器 LED 指示灯
-> show /SYS/LOCATE
>show /CH/RFM0 prepare_to_remove_status
>set /CH/RFM0 return_to_service_action=true
启用和禁用组件
>set /SYS/MB/CMP0/P0/C0 component_stat=enabled|disabled
使用CLI查看故障
-> set Device-Identifier component_state=disabled *手动取消设备的配置
-> set Device-Identifier component_state=enabled
>set /CH/RFM0 prepare_to_remove_action=true
cd
create
delete
exit
help
load 将文件从指定源传输到指定目标
reset
set
show
start
stop
version
命令选项
-default
-destination 制定数据的目的地
-display -d
-help -h
-level -l 指定命令级别
->set [故障路径] component_stat=enabled 或
->set [故障路径] clear_fault_action=true
# fmdump -v
# fmdump -v -u [uuid]
# cfgadm -al *查看硬件路径
使用POST诊断发现故障
-> set /SYS keyswitch_state=diag
show /SP/faultmgmt
show /CH/faultmgmt
查看日志
cd /SP/logs/event
show list
start /SYS
start /HOST/console
stop [-f] /SYS
create /SP/users/admin role=cuar (administrator|operator) cli_mode=alom(设置为alom模式(可选项))
修改账户密码
set /SP/users/admin password
# cfgadm -x remove_device c1::dsk/c1t3d0 *移除组件
# cfgadm -c unconfigure c1::dsk/c1t3d0 *卸载硬盘
# cfgadm -al
# cfgadm -c configure c1::dsk/c1t3d0 *配置新硬盘
-output -o 指定输出内容及格式且仅支持 -o table表格形式
-script 跳过警告提示
-source 指示源映像位置
CLI查看组件信息
show /SYS/MB type
type = Motherboard
移除组件和恢复组件使用
# cfgadm -al *显示所以组件
set state=enabled
set commitpending=true 提交设置
set /SP/network pendingipdiscovery=static pendingipaddress=
nnn.nn.nn.nn pendingipgateway=nnn.nn.nn.nn pendingipnetmask=
导航到名称空间
cd /SP/services/http
设定值
set port=80
set prop1=x
set prop2=y
组合命令
set /SP/services/http port=80
set /SP/services/http set prop1=x prop2=y
CLI命令
nnn.nn.nn.nn commitpending=true
查看串口信息:show /SP/serial/external
更改波特率
set /SP/serial/host pendingspeed=57600 commitpending=true
启用http访问
set /SP/services/http
->reset /SYS
->start /HOST/console
->set /SYS/keyswitch_stat=normal
系统下修复
# fmadm faulty
# fmadm repair 3aa7c854-9667-e176-efe5-e487e520
单点登录设置 让系统验证一次就行了
相关文档
最新文档