-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d414df
commit 61e68b6
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,5 +203,6 @@ | |
- sg3_utils | ||
- nfs-utils | ||
- ipmitool | ||
- iperf3 | ||
tags: | ||
- misc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
# Check power status (on, off, cycle, soft, status) | ||
ipmitool -I lanplus -H $IPMI_ADDR -U $IPMI_USER -P $IPMI_PASS chassis power status | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
######### psosd1 ######### | ||
nmcli con add type bond ifname bond0 mode 802.3ad \ | ||
connection.id lacp-bond \ | ||
connection.autoconnect no \ | ||
connection.autoconnect-slaves 1 \ | ||
+bond.options "xmit_hash_policy=layer3+4" \ | ||
ipv4.method static \ | ||
ipv4.addresses 10.10.10.10/24 \ | ||
ipv6.method ignore | ||
|
||
nmcli con add type ethernet ifname enp2s0f0 master bond0 \ | ||
connection.id lacp-enp2s0f0 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
nmcli con add type ethernet ifname enp2s0f1 master bond0 \ | ||
connection.id lacp-enp2s0f1 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
######### psosd2 ######### | ||
nmcli con add type bond ifname bond0 mode 802.3ad \ | ||
connection.id lacp-bond \ | ||
connection.autoconnect no \ | ||
connection.autoconnect-slaves 1 \ | ||
+bond.options "xmit_hash_policy=layer3+4" \ | ||
ipv4.method static \ | ||
ipv4.addresses 10.10.10.11/24 \ | ||
ipv6.method ignore | ||
|
||
nmcli con add type ethernet ifname ens2f0 master bond0 \ | ||
connection.id lacp-ens2f0 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
nmcli con add type ethernet ifname enp2s0f1 master bond0 \ | ||
connection.id lacp-enp2s0f1 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
######### psosd3 ######### | ||
nmcli con add type bond ifname bond0 mode 802.3ad \ | ||
connection.id lacp-bond \ | ||
connection.autoconnect no \ | ||
connection.autoconnect-slaves 1 \ | ||
+bond.options "xmit_hash_policy=layer3+4" \ | ||
ipv4.method static \ | ||
ipv4.addresses 10.10.10.12/24 \ | ||
ipv6.method ignore | ||
|
||
nmcli con add type ethernet ifname enp2s0f0 master bond0 \ | ||
connection.id lacp-enp2s0f0 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
nmcli con add type ethernet ifname enp2s0f1 master bond0 \ | ||
connection.id lacp-enp2s0f1 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
########## ps6 ######### | ||
nmcli con add type bond ifname bond0 mode 802.3ad \ | ||
connection.id lacp-bond \ | ||
connection.autoconnect no \ | ||
connection.autoconnect-slaves 1 \ | ||
+bond.options "xmit_hash_policy=layer3+4" \ | ||
ipv4.method static \ | ||
ipv4.addresses 10.10.10.51/24 \ | ||
ipv6.method ignore | ||
|
||
nmcli con add type ethernet ifname enp2s0f0 master bond0 \ | ||
connection.id lacp-enp2s0f0 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 | ||
|
||
nmcli con add type ethernet ifname enp2s0f1 master bond0 \ | ||
connection.id lacp-enp2s0f1 \ | ||
connection.autoconnect no \ | ||
802-3-ethernet.mtu 9000 |