Logo

Personal Ops Runbook

Personal runbook covering infrastructure operations for Cloud, Kubernetes, OpenStack, and Ceph environments. Includes deployment and teardown procedures, node management, cluster monitoring setup, and incident response workflows compiled from day-to-day operational work. Intended strictly for personal reference — configurations and scripts are environment-specific and not guaranteed to work as-is elsewhere.

Clean old bond if need

nmcli -g UUID,NAME con show | grep enp1s0f | cut -d: -f1 | xargs -n1 nmcli con delete

Network config

# 1. Bond no IP, LACP fast, hash layer3+4, MTU 9000
nmcli con add type bond con-name bond0 ifname bond0 bond.options mode=802.3ad,miimon=100,lacp_rate=fast,xmit_hash_policy=layer3+4 ethernet.mtu 9000 ipv4.method disabled ipv6.method ignore autoconnect yes

# 2. Add 2 slave
nmcli con add type ethernet con-name enp1s0f0np0 ifname enp1s0f0np0 master bond0
nmcli con add type ethernet con-name enp1s0f1np1 ifname enp1s0f1np1 master bond0
nmcli con up bond0

# 3. VLAN 3194 — MTU 1500, have gateway + route 10/8 persistent
nmcli con add type vlan con-name vlan3194 ifname vlan3194 dev bond0 id 3194 ethernet.mtu 1500 autoconnect yes ipv4.method manual ipv4.addresses 10.237.94.101/24 ipv4.gateway 10.237.94.254 ipv4.routes "10.0.0.0/8 10.237.94.254" ipv6.method ignore

# 4. VLAN 3195 — MTU 9000, no gateway
nmcli con add type vlan con-name vlan3195 ifname vlan3195 dev bond0 id 3195 ethernet.mtu 9000 autoconnect yes ipv4.method manual ipv4.addresses 10.237.95.101/24 ipv6.method ignore

nmcli con up vlan3194; nmcli con up vlan3195

Verify

cat /proc/net/bonding/bond0 | head -25   # 802.3ad, layer3+4, fast, 2 slave up, ports: 2
ip -br a                                  # bond0 UP no IP, vlan3194/.101, vlan3195/.101
ip route                                  # default via 10.237.94.254 + 10.0.0.0/8
ping -c3 10.237.94.254                    # test gateway
ping -c3 10.237.95.102                    # test to oss-nvme-02 via storage vlan
ping -c3 -M do -s 8972 10.237.95.102      # test jumbo frame MTU 9000 on vlan3195

Set hostname and proxy for yum.conf

hostnamectl set-hostname oss-nvme-01
echo "proxy=http://10.237.7.250:3128" >> /etc/yum.conf

Note lab

nmcli con mod ens192 ipv4.method manual ipv4.addresses 10.237.7.31/24 && nmcli con ens192