RACADM » История » Версия 2
Константин Пильник, 2020-05-22 14:28
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 | |||
15 | пример: |
||
16 | |||
17 | racadm serveraction powerstatus |
||
18 | </pre> |
||
19 | |||
20 | 1 | Константин Пильник | h2. отключение всего, торчащего в интернет по максимуму |
21 | |||
22 | h3. iDRAC6 |
||
23 | |||
24 | <pre> |
||
25 | echo ' |
||
26 | racadm config -g cfgRemoteHosts -o cfgRhostsFwUpdateTftpEnable 0 |
||
27 | racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0 |
||
28 | racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 80 |
||
29 | racadm config -g cfgRacTuning -o cfgRacTuneSshPort=22022 |
||
30 | racadm config -g cfgRacTuning -o cfgRacTuneWebserverEnable 0 |
||
31 | racadm config -g cfgRacTuning -o cfgRacTuneLocalServerVideo 0 |
||
32 | racadm config -g cfgRacTuning -o cfgRacTuneConRedirEnable 0 |
||
33 | racadm config -g cfgRacVirtual -o cfgLCDriveEnable 0 |
||
34 | racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 0 |
||
35 | racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 0 |
||
36 | exit |
||
37 | ' | ssh root@rmm.diana.rc-online.ru -p 22022 |
||
38 | </pre> |