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