Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
cosmos
Advisor

Setting Critical Required Interfaces on a bond for all VS in VS

TIL setting the minimum required slaves for a bond in $FWDIR/conf/cpha_bond_ls_config.conf only applies to each VS, i.e. the config must be applied to each context. Modifying the file in VS0 is simply not enough.

So I made it easy. Vars are self-explanatory.

int=bond0
min=2
for vs in $(vsx stat -v | grep "| S " | awk '{print $1};'); do vsenv $vs; echo "$int $min" >> $FWDIR/conf/cpha_bond_ls_config.conf; done
 
to check:
for vs in $(vsx stat -v | grep "| S " | awk '{print $1};'); do vsenv $vs; cat $FWDIR/conf/cpha_bond_ls_config.conf; done
 
Enjoy 🙂
 
0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events