首页 > 代码库 > exadata(ilom) 练习
exadata(ilom) 练习
Version 3.0.16.10 r65138
Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
-> show
/
Targets:
HOST
STORAGE
SYS
SP
Properties:
Commands:
cd
show
-> show
/
Targets:
HOST
STORAGE
SYS
SP
Properties:
Commands:
cd
show
-> version
SP firmware 3.0.16.10
SP firmware build number: 65138
SP firmware date: Wed Jun 15 08:02:17 EDT 2011
SP filesystem version: 0.1.23
-> help
The help command is used to view information about commands and targets
Usage: help [-o|-output terse|verbose] [<command>|legal|targets|<target>|<target> <property>]
Special characters used in the help command are
[] encloses optional keywords or options
<> encloses a description of the keyword
(If <> is not present, an actual keyword is indicated)
| indicates a choice of keywords or options
help <target> displays description if this target and its properties
help <target> <property> displays description of this property of this target
help targets displays a list of targets
help legal displays the product legal notice
Commands are:
cd
create
delete
dump
exit
help
load
reset
set
show
start
stop
version
->
-> help SYS
/SYS : Sensors, Indicators, and FRU Information
Targets:
MB : Motherboard
SP : Service Processor
PS0 : Power Supply FRU
PS1 : Power Supply FRU
DBP : Disk Backplane
PDB : Power Distribution Board
SAS_EXP : I/O Board
FB : Front Fan Board
CONNBD : Paddle Card
PWRBS : Fault Sensor
INTSW : Fault Sensor
VPS : Power Unit
T_AMB : Temperature Sensor
OK : Indicator
SERVICE : Indicator
LOCATE : Indicator
PS_FAULT : Indicator
FAN_FAULT : Indicator
TEMP_FAULT : Indicator
Properties:
type : Type of component
ipmi_name : IPMI Name of component
product_name : Product name
product_part_number : Product part number
product_serial_number : Product serial number
product_manufacturer : Product manufacturer
fault_state : Fault state
clear_fault_action : Clear the fault.
clear_fault_action : Possible values = true
clear_fault_action : User role required for set = a
power_state : Power state.
->
##LS & SHOW 的差别
-> cd SYS
/SYS
-> ls
/SYS
Targets:
MB
SP
PS0
PS1
DBP
PDB
SAS_EXP
FB
CONNBD
PWRBS
INTSW
VPS
T_AMB
OK
SERVICE
LOCATE
PS_FAULT
FAN_FAULT
TEMP_FAULT
Properties:
type = Host System
ipmi_name = /SYS
product_name = SUN FIRE X4270 M2 SERVER
product_part_number = 7042372
product_serial_number = 1221FMM100
product_manufacturer = ORACLE CORPORATION
fault_state = OK
clear_fault_action = (none)
power_state = On
Commands:
cd
reset
set
show
start
stop
-> show
/SYS
Targets:
MB
SP
PS0
PS1
DBP
PDB
SAS_EXP
FB
CONNBD
PWRBS
INTSW
VPS
T_AMB
OK
SERVICE
LOCATE
PS_FAULT
FAN_FAULT
TEMP_FAULT
Properties:
type = Host System
ipmi_name = /SYS
product_name = SUN FIRE X4270 M2 SERVER
product_part_number = 7042372
product_serial_number = 1221FMM100
product_manufacturer = ORACLE CORPORATION
fault_state = OK
clear_fault_action = (none)
power_state = On
Commands:
cd
reset
set
show
start
stop
->
## 因为是生产环境,其它不做练习!
!!
(哥没胆量)
-> cd list
/SP/logs/event/list
# 使用ilom 查看日志
-> ls
/SP/logs/event/list
Targets:
Properties:
Commands:
cd
show
ID Date/Time Class Type Severity
----- ------------------------ -------- -------- --------
1267 Mon Mar 16 10:28:55 2015 Audit Log minor
mylgc : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/shell" : su
ccess
1266 Mon Mar 16 10:26:47 2015 Audit Log minor
mylgc : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/www" : succ
ess
1265 Fri Mar 13 10:40:15 2015 Audit Log minor
mylgc : Close Session : object = "/SP/session/type" : value = "http://www.mamicode.com/www" : suc
cess
1264 Fri Mar 13 10:24:09 2015 Audit Log minor
mylgc : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/www" : succ
ess
1263 Fri Mar 13 10:23:53 2015 Audit Log minor
mylgc : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/www" : erro
r
1262 Fri Mar 13 10:18:17 2015 Audit Log minor
host_root : Close Session : object = "/SP/session/type" : value = "http://www.mamicode.com/shell"
: success
1261 Fri Mar 13 10:18:17 2015 Audit Log minor
root : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/shell" : suc
cess
1260 Fri Mar 13 10:18:16 2015 Audit Log minor
host_root : Close Session : object = "/SP/session/type" : value = "http://www.mamicode.com/shell"
: success
1259 Fri Mar 13 10:18:15 2015 Captive Shell Command Entered minor
Fault Management Shell Command Executed: fmadm
1258 Fri Mar 13 10:18:15 2015 Audit Log minor
root : Open Session : object = "/SP/session/type" : value = "http://www.mamicode.com/shell" : suc
cess
Paused: press any key to continue, or ‘q‘ to quit
# 查看ilom ntp
-> show
/SP/clients/ntp/server/1
Targets:
Properties:
address = 10.12.10.109
Commands:
cd
set
show
->
# 查看ilom 网络信息
-> show
/SP/network
Targets:
interconnect
ipv6
test
Properties:
dhcp_server_ip = none
ipaddress = 000.000.000.109
ipdiscovery = static
ipgateway = 000.000.000.1
ipnetmask = 255.255.255.0
macaddress = 00:21:28:FF:B9:E6
managementport = /SYS/SP/NET0
outofbandmacaddress = 00:21:28:FF:B9:E6
sidebandmacaddress = 00:21:28:FF:B9:E7
state = enabled
Commands:
cd
set
show
# 查看ilom 网络訪问配置
-> show http
/SP/services/http
Targets:
Properties:
port = 80
secureredirect = enabled
servicestate = disabled
Commands:
cd
set
show
-> show https
/SP/services/https
Targets:
ssl
Properties:
port = 443
servicestate = enabled
sslv2 = disabled
sslv3 = enabled
tlsv1 = enabled
weak_ciphers = disabled
Commands:
cd
set
show
->
#查看当前用户(哥仅仅查看。创建的话还是不能够的)
-> show root
/SP/users/root
Targets:
ssh
Properties:
role = aucro
password = *****
Commands:
cd
set
show
-> show mylgc
/SP/users/mylgc
Targets:
ssh
Properties:
role = o
password = *****
Commands:
cd
set
show
->
# 存储这块是空的
-> show
/STORAGE/raid
Targets:
Properties:
Commands:
cd
show
->
-> ls
/SP/alertmgmt/rules/1
Targets:
Properties:
type = snmptrap
level = minor
destination = 192.168.1.2
destination_port = 162
community_or_username = public
snmp_version = 1
testrule = (Cannot show property)
Commands:
cd
set
show
/SP/alertmgmt/rules
# 警告管理
-> show 1
/SP/alertmgmt/rules/1
Targets:
Properties:
type = snmptrap
level = minor
destination = 192.168.1.2
destination_port = 162
community_or_username = public
snmp_version = 1
testrule = (Cannot show property)
Commands:
cd
set
show
-> show 3
/SP/alertmgmt/rules/3
Targets:
Properties:
type = snmptrap
level = disable
destination = 0.0.0.0
destination_port = 0
community_or_username = public
snmp_version = 1
testrule = (Cannot show property)
Commands:
cd
set
show
-> show 2
/SP/alertmgmt/rules/2
Targets:
Properties:
type = snmptrap
level = minor
destination = 000.000.000.104
destination_port = 162
community_or_username = public
snmp_version = 1
testrule = (Cannot show property)
Commands:
cd
set
show
# 应该是电压相关吧
-> show /SP/powermgmt
/SP/powermgmt
Targets:
budget
powerconf
Properties:
actual_power = 410
permitted_power = 841
allocated_power = 841
available_power = 2400
threshold1 = 0
threshold2 = 0
Commands:
cd
set
show
->
个人理解:ilom 是一体机的一个硬件的管理模块,利用他能够远程管理一体机的启动关闭等操作。!!
exadata(ilom) 练习