wget https://dl.dell.com/FOLDER05920767M/1/DellEMC-iDRACTools-Web-LX-9.4.0-3732_A00.tar.gz tar zxvf DellEMC-iDRACTools-Web-LX-9.4.0-3732_A00.tar.gz cd iDRACTools/racadm/ ./install_racadm.sh find / -name racadm /opt/dell/srvadmin/sbin/racadm
공장 초기화
# /opt/dell/srvadmin/sbin/racadm racresetcfg The RAC configuration has initiated restoration to factory defaults. Please wait for a few minutes for this process to complete before accessing the RAC again.
# /opt/dell/srvadmin/sbin/racadm getsysinfo RAC Information: RAC Date/Time = Thu May 26 18:32:02 2022 Firmware Version = 1.40.40 Firmware Build = 17 Last Firmware Update = 12/31/1969 17:59:59 Hardware Version = 0.01 MAC Address = 5C:F9:DD:F3:4C:1E Common settings: Register DNS RAC Name = 0 DNS RAC Name = 13130519-2u-dell-r720-bmc Current DNS Domain = Domain Name from DHCP = Disabled IPv4 settings: Enabled = 1 Current IP Address = 192.168.0.205 Current IP Gateway = 192.168.0.1 Current IP Netmask = 255.255.255.0 DHCP Enabled = 1 Current DNS Server 1 = 0.0.0.0 Current DNS Server 2 = 0.0.0.0 DNS Servers from DHCP = Disabled IPv6 settings: Enabled = 0 Current IP Address 1 = :: Current IP Gateway = :: Autoconfig = 1 Link Local IP Address = :: Current IP Address 2 = :: Current IP Address 3 = :: Current IP Address 4 = :: Current IP Address 5 = :: Current IP Address 6 = :: Current IP Address 7 = :: Current IP Address 8 = :: Current IP Address 9 = :: Current IP Address 10 = :: Current IP Address 11 = :: Current IP Address 12 = :: Current IP Address 13 = :: Current IP Address 14 = :: Current IP Address 15 = :: DNS Servers from DHCPv6 = Disabled Current DNS Server 1 = :: Current DNS Server 2 = :: System Information: System Model = PowerEdge R720 System Revision = I System BIOS Version = 1.6.0 Service Tag = 7Y743Y1 Express Svc Code = 17305275385 Host Name = OS Name = OS Version = Power Status = ON Fresh Air Capable = Yes Watchdog Information: Recovery Action = None Present countdown value = 15 seconds Initial countdown value = 15 seconds Embedded NIC MAC Addresses: NIC.Integrated.1-3-1 Ethernet = F0:1F:AF:D0:F9:11 WWN = F0:1F:AF:D0:F9:11 NIC.Integrated.1-4-1 Ethernet = F0:1F:AF:D0:F9:12 WWN = F0:1F:AF:D0:F9:12 NIC.Integrated.1-1-1 Ethernet = F0:1F:AF:D0:F9:0F WWN = F0:1F:AF:D0:F9:0F NIC.Integrated.1-2-1 Ethernet = F0:1F:AF:D0:F9:10 WWN = F0:1F:AF:D0:F9:10
http://www.deltasys.co.kr/dell-idrac-racadm-cli-guide/
ipmitool lan set 1 ipsrc dhcp ipmitool user set name 2 kreonet ipmitool user set password 2 ipmitool lan print 1 ipmitool user list 1
# /opt/dell/srvadmin/sbin/racadm help help [subcommand] -- display usage summary for a subcommand arp -- display the networking ARP table clearasrscreen -- clear the last ASR (crash) screen closessn -- close a session clrraclog -- clear the RAC log clrsel -- clear the System Event Log (SEL) config -- Deprecated: modify RAC configuration properties coredump -- display the last RAC coredump coredumpdelete -- delete the last RAC coredump eventfilters -- Alerts configuration commands fwupdate -- update the RAC firmware get -- display RAC configuration properties getconfig -- Deprecated: display RAC configuration properties getled -- Get the state of the LED on a module. getniccfg -- display current network settings getraclog -- display the RAC log getractime -- display the current RAC time getsel -- display records from the System Event Log (SEL) getsensorinfo -- display system sensors getssninfo -- display session information getsvctag -- display service tag information getsysinfo -- display general RAC and system information gettracelog -- display the RAC diagnostic trace log getuscversion -- display the current USC version details getversion -- display the current version details ifconfig -- display network interface information inlettemphistory -- inlet temperature history operations krbkeytabupload -- upload kerberose keytab file to the RAC lclog -- LCLog operations localConRedirDisable -- disable the Virtual Console from a local Console frontpanelerror -- hide LCD errors - color amber to blue netstat -- display routing table and network statistics ping -- send ICMP echo packets on the network ping6 -- send ICMP echo packets on the network racdump -- display RAC diagnostic information racinternalversion -- Deprecated: Internal command for version exchange racreset -- perform a RAC reset operation racresetcfg -- restore the RAC configuration to factory defaults remoteimage -- make a remote ISO image available to the server serveraction -- perform system power management operations set -- modify RAC configuration properties setled -- Set the state of the LED on a module. setniccfg -- modify network configuration properties sshpkauth -- manage SSH PK authentication keys on the RAC sslcertupload -- upload an SSL certificate to the RAC sslcertdelete -- delete an SSL certificate on the iDRAC sslcertdownload -- download an SSL certificate from the RAC sslcertview -- view SSL certificate information sslcsrgen -- generate a certificate CSR from the RAC sslkeyupload -- upload an SSL key to the RAC sslresetcfg -- resets the web certificate to default and restarts the web server. testemail -- test RAC e-mail notifications testtrap -- test RAC SNMP trap notifications testalert -- test RAC SNMP - FQDN trap notifications traceroute -- print the route packets trace to network host traceroute6 -- print the route packets trace to network host usercertupload -- upload an user certificate to the DRAC vflashpartition -- manage partitions on the vFlash SD card vflashsd -- perform vFlash SD Card initialization vmdisconnect -- disconnect Virtual Media connections license -- License Manager commands debug -- Field Service Debug Authorization facility commands raid -- Monitoring and Inventory of H/W RAID connected to the server. hwinventory -- Monitoring and Inventory of H/W NICs connected to the server. nicstatistics -- Statistics for NICs connected to the server. fcstatistics -- Statistics for FCs connected to the server. update -- Platform Update of the devices on the server jobqueue -- Jobqueue of of the jobs currently scheduled systemconfig -- Backup &/or Restore of iDRAC Config and Firmware Groups idRacInfo -- Information about iDRAC being queried cfgRemoteHosts -- Properties for configuration of the SMTP server cfgUserAdmin -- Information about iDRAC users cfgEmailAlert -- Parameters to configure e-mail alerting capabilities cfgSessionManagement -- Information of the session Properties cfgSerial -- Provides configuration parameters for the iDRAC cfgOobSnmp -- Configuration of the SNMP agent and trap capabilities cfgRacTuning -- Configuration for various iDRAC properties. ifcRacManagedNodeOs -- Properties of the managed server OS cfgRacSecurity -- Configure SSL certificate signing request settings cfgRacVirtual -- Configuration Properties for iDRAC Virtual Media cfgActiveDirectory -- Configuration of the iDRAC Active Directory feature cfgLDAP -- Configuration properties for LDAP settings cfgLdapRoleGroup -- Configuration of role groups for LDAP cfgLogging -- Group Description for group cfgLogging cfgStandardSchema -- Configuration of AD standard schema settings cfgIpmiSerial -- Properties to configure the IPMI serial interface cfgIpmiSol -- Configuration the SOL capabilities of the system cfgIpmiLan -- Configuration the IPMI over LAN of the system cfgIpmiPef -- Configuration the platform event filters cfgServerPower -- Provides power management features cfgServerPowerSupply -- Provides information related to the power supplies cfgVFlashSD -- Configure the properties for the vFlash SD card cfgVFlashPartition -- Configure partitions on the vFlash SD Card cfgUserDomain -- Configure the Active Directory user domain names cfgSmartCard -- Properties to access iDRAC using a smart card cfgServerInfo -- Configuration of first boot device cfgSensorRedundancy -- Configure the power supply redundancy cfgLanNetworking -- Parameters to configure the iDRAC NIC cfgStaticLanNetworking -- Parameters to configure the iDRAC NIC cfgNetTuning -- Group Description for group cfgNetTuning cfgIPv6LanNetworking -- Configuration of the IPv6 over LAN networking cfgIPv6StaticLanNetworking -- Configuration of the IPv6 over LAN networking cfgIPv6URL -- Configuration of the iDRAC IPv6 URL. For Help on configuring the properties of a group - racadm help config