RACADM » История » Редакция 7
Редакция 6 (Константин Пильник, 2020-05-22 16:31) → Редакция 7/8 (Константин Пильник, 2020-05-22 16:34)
h1. RACADM over SSH h2. Включение SNMPv3 h3. iDRAC7 _последовательность команд важна_ <pre> racadm set iDRAC.users.16.UserName zzzzzz racadm set iDRAC.users.16.Password xxxxxxxxxx racadm set iDRAC.users.16.SNMPv3AuthenticationType SHA racadm set iDRAC.users.16.SNMPv3PrivacyType AES racadm set iDRAC.users.16.SNMPv3Enable Enabled racadm set iDRAC.users.16.Enable 1 racadm set iDRAC.SNMP.SNMPProtocol SNMPv3 racadm set iDRAC.SNMP.AgentEnable 1 </pre> h2. управление питанием сервера h3. iDRAC6 <pre> hardreset — Performs a force reset (reboot) operation on the managed system. powercycle — Performs a power-cycle operation on the managed system. powerdown — Powers down the managed system. powerup — Powers up the managed system. powerstatus — Displays the current power status of the server (ON or OFF). graceshutdown — Performs a graceful shutdown of the server. </pre> пример: racadm serveraction powerstatus h2. логирование syslog h3. iDRAC6 <pre> racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable 1 racadm config -g cfgRemoteHosts -o cfgRhostsSyslogServer1 93.171.206.67 racadm config -g cfgRemoteHosts -o cfgRhostsSyslogPort 514 </pre> h3. iDRAC7 <pre> racadm set idrac.syslog.Server1 93.171.206.67 racadm set idrac.syslog.Port 514 racadm set idrac.syslog.SysLogEnable 1 </pre> h2. отключение всего, торчащего в интернет h3. iDRAC6 <pre> racadm config -g cfgRemoteHosts -o cfgRhostsFwUpdateTftpEnable 0 racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0 racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 80 racadm config -g cfgRacTuning -o cfgRacTuneSshPort=22022 racadm config -g cfgRacTuning -o cfgRacTuneWebserverEnable 0 racadm config -g cfgRacTuning -o cfgRacTuneLocalServerVideo 0 racadm config -g cfgRacTuning -o cfgRacTuneConRedirEnable 0 racadm config -g cfgRacVirtual -o cfgLCDriveEnable 0 racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 0 racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 0 </pre> h3. iDRAC7 <pre> racadm set idrac.IPMILan.enable 0 racadm set idrac.IPMISOL.enable 0 racadm set idrac.redfish.enable 0 racadm set idrac.telnet.enable 0 racadm set idrac.virtualconsole.enable 0 racadm set idrac.virtualmedia.enable 0 racadm set idrac.vncserver.enable 0 racadm set idrac.webserver.enable 0 </pre>