Contents
iMana network port information
IP address and subnet mask of the management network port Default IP address: 192.168.2.100 Default subnet mask: 255.255.255.0
BIOS password
Huawei12#$ # V3服务器BIOS系统的默认密码为“Huawei12#$”,V5服务器BIOS系统的默认密码为“Admin@9000”。 # BIOS系统只能修改默认iBMC用户的密码。V3服务器的iBMC默认用户为root,默认密码为Huawei12#$;V5服务器的iBMC默认用户为Administrator,默认密码为Admin@9000。
iMana login information
# Default user name and password Default user name: root Default password: Huawei12#$ or root
Storage network port information
IP address and subnet mask of the management network port https://172.31.128.101:8088 Default IP address: 172.31.128.101-102 admin/Admin@storage
iBMC
查询修改后的iBMC管理网口的IP信息
ipmcset -d ipaddr -v 10.129.3.21 255.255.255.0 10.129.3.254 ipmcget -d ipinfo
查询设备的版本信息
iBMC:/->ipmcget -d version
一键收集信息
iBMC:/->ipmcget -d diaginfo Download diagnose info to /tmp/ successfully.
查询服务器的设备序列号
ipmcget -d serialnumber
NTP
ipmcset -t ntp -d status -v enabled ipmcset -t ntp -d preferredserver -v dhcp1.com ipmcset -t ntp -d alternativeserver -v fc00::1234 Set NTP alternative server (fc00::1234) successfully. # 查询NTP信息。 iBMC:/->ipmcget -d ntpinfo Status : enabled Mode : manual Preferred Server : dhcp1.com Alternative Server : fc00::1234 Synchronize : sucessful Auth Enable : disabled Group Key : not imported
Timezone
设置iBMC时区为+8:00。 ipmcset -d timezone -v +8:00 # 设置iBMC时区为Asia/Shanghai。 ipmcset -d timezone -v Asia/Shanghai
查询服务器板载网卡 MAC 地址
iBMC:/->ipmcget -d macaddr
Type | Name | Mac Address LOM | Port1 | 20:0b:c7:2a:e6:0b LOM | Port2 | 20:0b:c7:2a:e6:0c LOM | Port3 | 20:0b:c7:2a:e6:0d LOM | Port4 | 20:0b:c7:2a:e6:0e
查询ID为0的RAID控制器的信息
ipmcget -t storage -d ctrlinfo -v 0
# 查询ID为0的RAID控制器下ID为0的逻辑盘的信息
iBMC:/->ipmcget -t storage -d ldinfo -v 0 0
- # 查询ID为0的RAID控制器下所有逻辑盘的信息。
iBMC:/->ipmcget -t storage -d ldinfo -v 0 all
# 查询所有物理盘的信息
iBMC:/->ipmcget -t storage -d pdinfo -v all
- # ID is 2
iBMC:/->ipmcget -t storage -d pdinfo -v 2 }}}
查询ID为0的控制器上ID为1的磁盘组的信息
iBMC:/->ipmcget -t storage -d arrayinfo -v 0 1
- # 查询ID为0的控制器上所有磁盘组的信息。
iBMC:/->ipmcget -t storage -d arrayinfo -v 0 all
# 在ID为0的RAID控制器下创建普通逻辑盘
ipmcset -t storage -d createld -v 1 -rl r1 -pd 36,37 -name ESXi-LOCAL -init quick
iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r1 -pd 0,1 -name example -size 100g -ss 512k -rp ra -wp wb -ap rw -iop cio -dcp enabled -init quick WARNING: The operation may have many adverse effects. Do you want to continue?[Y/N]:y
在ID为0的RAID控制器下创建Cachecade逻辑盘
iBMC:/-> ipmcset -t storage -d createld -v 0 -rl r0 -pd 0,1,2 -name cachecade -cachecade -wp wb
WARNING: The operation may have many adverse effects.
Do you want to continue?[Y/N]:y
# 删除ID为0的RAID控制器的逻辑盘1
iBMC:/-> ipmcset -t storage -d deleteld -v 1 0 WARNING: The operation may have many adverse eff
Power Control
- To power off the server gracefully, run the ipmcset -d powerstate -v 0 command.
- To power off the server forcibly, run the ipmcset -d powerstate -v 2 command.
