RACADM » История » Версия 4
Константин Пильник, 2020-05-22 14:33
1 | 1 | Константин Пильник | h1. RACADM over SSH |
---|---|---|---|
2 | |||
3 | 2 | Константин Пильник | h2. управление питанием сервера |
4 | |||
5 | h3. iDRAC6 |
||
6 | |||
7 | <pre> |
||
8 | hardreset — Performs a force reset (reboot) operation on the managed system. |
||
9 | powercycle — Performs a power-cycle operation on the managed system. |
||
10 | powerdown — Powers down the managed system. |
||
11 | powerup — Powers up the managed system. |
||
12 | powerstatus — Displays the current power status of the server (ON or OFF). |
||
13 | graceshutdown — Performs a graceful shutdown of the server. |
||
14 | 3 | Константин Пильник | </pre> |
15 | 2 | Константин Пильник | |
16 | пример: |
||
17 | |||
18 | racadm serveraction powerstatus |
||
19 | |||
20 | 4 | Константин Пильник | h2. логирование syslog |
21 | |||
22 | h3. iDRAC6 |
||
23 | |||
24 | <pre> |
||
25 | racadm config -g cfgRemoteHosts -o cfgRhostsSyslogEnable 1 |
||
26 | racadm config -g cfgRemoteHosts -o cfgRhostsSyslogServer1 93.171.206.67 |
||
27 | racadm config -g cfgRemoteHosts -o cfgRhostsSyslogPort 514 |
||
28 | </pre> |
||
29 | |||
30 | 1 | Константин Пильник | h2. отключение всего, торчащего в интернет по максимуму |
31 | |||
32 | h3. iDRAC6 |
||
33 | |||
34 | <pre> |
||
35 | racadm config -g cfgRemoteHosts -o cfgRhostsFwUpdateTftpEnable 0 |
||
36 | racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0 |
||
37 | racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 80 |
||
38 | racadm config -g cfgRacTuning -o cfgRacTuneSshPort=22022 |
||
39 | racadm config -g cfgRacTuning -o cfgRacTuneWebserverEnable 0 |
||
40 | racadm config -g cfgRacTuning -o cfgRacTuneLocalServerVideo 0 |
||
41 | racadm config -g cfgRacTuning -o cfgRacTuneConRedirEnable 0 |
||
42 | racadm config -g cfgRacVirtual -o cfgLCDriveEnable 0 |
||
43 | racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 0 |
||
44 | racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 0 |
||
45 | </pre> |