-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathipmitw.8
84 lines (84 loc) · 1.7 KB
/
ipmitw.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.\" This file is licensed under the CC\[hy]BY\[hy]SA license.
.\" See the AUTHORS and LICENSE files for more information.
.Dd November 20, 2015
.Dt IPMITW 8
.Os \" Current operating system.
.
.Sh NAME
.Nm ipmitw
.Nd a simple wrapper around
.Cm ipmitool .
.
.Sh SYNOPSIS
.Nm
.Op Fl h , Fl Fl help
.Op Fl V , Fl Fl version
|
.Ar machine_name
.Op ...
.Ar <ipmitool commands>
.Op ...
.
.Sh DESCRIPTION
.Nm
is a wrapper around
.Cm ipmitool .
It helps avoid some of the repetitive verbosity of
.Cm ipmitool
and simplifies running the same command on multiple machines.
.
.Sh COMMANDS
All arguments are considered target machine names until the first matching
top\-level
.Cm ipmitool
command or flag. This does mean that you can't target a machine with the same
name as those commands. However, most are pretty arcane
.Po except for
.Ar firewall
and
.Ar lan
.Pc .
.Pp
See
.Xr ipmitool 1
for more information.
.
.Sh EXIT STATUS
.Nm
exits 0 on success and 1 if an error occurs.
.
.Sh EXAMPLES
.Pp
Get available SoL ciphers:
.Dl ipmitw machine1-ipmi channel getciphers sol
.Pp
Restart machines. If your shell supports brace expansion (most do), use it to
define a range of machines:
.Dl ipmitw machine{1..20}-ipmi power reset
.Pp
Have servers boot directly to PXE on next boot:
.Dl ipmitw machine{1..20}-ipmi machine52-ipmi chassis bootdev pxe
.
.Sh BUGS
.Pp Hopefully none.
.
.Sh SEE ALSO
.Xr ipmitool 1
.Pp
The
.Nm
repository is available at
.Lk https://github.com/aqw/ipmitw
Bug reports, patches, and (constructive) input are always welcome.
.Sh AUTHOR
.Nm
was created by
.An Alex Waite
.Mt [email protected] .
See the AUTHORS file for more information.
.
.Sh COPYRIGHT
.Nm
is released under the
.Qq ISC License.
See the LICENSE file for more information.