RACADM » История » Версия 6
Константин Пильник, 2020-05-22 16:31
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 | 5 | Константин Пильник | h3. iDRAC7 |
31 | |||
32 | <pre> |
||
33 | racadm set idrac.syslog.Server1 93.171.206.67 |
||
34 | racadm set idrac.syslog.Port 514 |
||
35 | racadm set idrac.syslog.SysLogEnable 1 |
||
36 | </pre> |
||
37 | |||
38 | 6 | Константин Пильник | h2. отключение всего, торчащего в интернет |
39 | 1 | Константин Пильник | |
40 | h3. iDRAC6 |
||
41 | |||
42 | <pre> |
||
43 | racadm config -g cfgRemoteHosts -o cfgRhostsFwUpdateTftpEnable 0 |
||
44 | racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0 |
||
45 | racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 80 |
||
46 | racadm config -g cfgRacTuning -o cfgRacTuneSshPort=22022 |
||
47 | racadm config -g cfgRacTuning -o cfgRacTuneWebserverEnable 0 |
||
48 | racadm config -g cfgRacTuning -o cfgRacTuneLocalServerVideo 0 |
||
49 | racadm config -g cfgRacTuning -o cfgRacTuneConRedirEnable 0 |
||
50 | racadm config -g cfgRacVirtual -o cfgLCDriveEnable 0 |
||
51 | racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 0 |
||
52 | racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 0 |
||
53 | 5 | Константин Пильник | </pre> |
54 | |||
55 | h3. iDRAC7 |
||
56 | |||
57 | <pre> |
||
58 | racadm set idrac.IPMILan.enable 0 |
||
59 | racadm set idrac.IPMISOL.enable 0 |
||
60 | racadm set idrac.redfish.enable 0 |
||
61 | racadm set idrac.telnet.enable 0 |
||
62 | racadm set idrac.virtualconsole.enable 0 |
||
63 | racadm set idrac.virtualmedia.enable 0 |
||
64 | racadm set idrac.vncserver.enable 0 |
||
65 | racadm set idrac.webserver.enable 0 |
||
66 | 1 | Константин Пильник | </pre> |