Действия
RACADM » История » Редакция 7
« Предыдущее |
Редакция 7/8
(Разница(diff))
| Следующее »
Константин Пильник, 2020-05-22 16:34
RACADM over SSH¶
Включение SNMPv3¶
iDRAC7¶
последовательность команд важна
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
управление питанием сервера¶
iDRAC6¶
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.
пример:
racadm serveraction powerstatus
логирование syslog¶
iDRAC6¶
racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable 1 racadm config -g cfgRemoteHosts -o cfgRhostsSyslogServer1 93.171.206.67 racadm config -g cfgRemoteHosts -o cfgRhostsSyslogPort 514
iDRAC7¶
racadm set idrac.syslog.Server1 93.171.206.67 racadm set idrac.syslog.Port 514 racadm set idrac.syslog.SysLogEnable 1
отключение всего, торчащего в интернет¶
iDRAC6¶
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
iDRAC7¶
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
Обновлено Константин Пильник больше 4 лет назад · 8 изменени(я, ий)