Add bonding example

This commit is contained in:
Denys Fedoryshchenko
2023-05-14 21:36:27 +03:00
parent 5c97587d64
commit 1df50d1c59
2 changed files with 32 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
# PPPoE management guide
## Adding new vlan interface
## VLAN operations
### Adding new vlan interface
```
interface=bond0.2529,{"services":["zone1","Flexnet","ferrari2","fi","rp","pr","dotnet"],"service-blank":1}
@@ -15,7 +18,7 @@ After updating accel-ppp config, you need to run script that will create vlans a
sh /etc/add_accel_vlans.sh
```
## Monitoring vlan utilization
### Monitoring vlan utilization
```
~ # accel-cmd pppoe interface show
@@ -48,7 +51,7 @@ This is not easy operation and will cause extended downtime due need to kill all
You can use raw interface del, wait until all users gone, then update accel-ppp.conf, and use shell script to add interface back.
**TODO** I have in development new version of pppoe that will allow to modify interface without downtime.
### Monitoring CPU usage
## Monitoring CPU usage
```
mpstat -P ALL 1
@@ -59,6 +62,8 @@ cpubalancerd --rebalance
```
**TODO** I have cpubalancerd in development that will do this automatically in daemon mode, still it is under testing
## Troubleshooting PPPoE
### How PPPoE session is established
0. Preliminary: you can find out MAC of server using ifconfig INTERFACENAME, for example: