RACADM » История » Редакция 6
Редакция 5 (Константин Пильник, 2020-05-22 16:31) → Редакция 6/8 (Константин Пильник, 2020-05-22 16:31)
h1. RACADM over SSH 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>