dell 远程管理卡的使用racadm

尊重做者的劳动,转载请注明做者及原文地址 http://www.cnblogs.com/txwsqk/p/6522854.html html

能够直接在浏览器输入管理卡的地址-用户名-密码页面操做java

也能够经过命令行linux

下面说明下使用linux命令行的方法ios

安装

下载 https://www.dell.com/support/home/cn/zh/cndhs1/drivers/driversdetails?driverid=49t1mgit

yum -y install openssl-devel
解压后进入 linux/rac/RHEL7/x86_64
rpm -ivh *.rpmgithub

基本使用

主要就是 racadm命令浏览器

    1. 查看机器基本信息服务器

      racadm -r  10.11 . 1.30  -uroot -p password getsysinfo
    2. 修改远程管理卡的默认密码 (root/calvin)ui

      racadm -r  10.11 . 1.30  -uroot -p calvin config -g cfgUserAdmin -o cfgUserAdminPassword -i  2  NEW_PASSWORD


      更多用法参考spa

    3. 设置pxe启动

      racadm config -g cfgServerInfo -o cfgServerBootOnce  1
      racadm config -g cfgServerInfo -o cfgServerFirstBootDevice PXE
      racadm serveraction powercycle
    4. 设置硬盘non-raid
      dell的服务器默认硬盘是raid模式, 系统识别不出来,要在bios中转换成non-raid

      先获取服务器的硬盘fqdn
      racadm raid get pdisks     # 显示全部硬盘列表
      racadm raid get pdisks -o  # 这个命令是详细显示每块硬盘的信息
        
      # 最后一条命令jobqueue是让上面的操做实时生效的,因此不须要重启系统
      for  i in  10.11 . 1.48  10.11 . 1.101 ; do
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 0 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 1 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 2 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 3 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 4 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 5 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 6 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 7 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 8 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 9 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 10 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password raid converttononraid:Disk.Bay. 11 :Enclosure.Internal. 0 - 1 :RAID.Integrated. 1 - 1
      racadm -r $i -uroot -p password jobqueue create RAID.Integrated. 1 - 1  -s TIME_NOW --realtime
      done

      参考:
      http://docplayer.net/21786861-Raid-and-storage-configuration-using-racadm-commands-in-idrac7.html

      https://gist.github.com/skiane/60c7575c86dbe0d1fceb

相关文章
相关标签/搜索