Hi Kais and all,
Set the bandwith limit on the vnic of one of the guests to zero.
assuming the guest's automatically created vnic is called xvm1_0:
# dladm set-linkprop -p maxbw=0 xvm1_0
Great idea! I will try this tomorrow. Thank you!
Today is not the 16th of September, so my reply is a month late, but still this
doesn't seem to work for me as I'd expect:
- Little detail: Only setting maxbw to 0 temporarily seems to work:
r...@d0:~# dladm set-linkprop -t -p maxbw=0 xvm4_2
r...@d0:~# dladm show-linkprop xvm4_2
LINK PROPERTY PERM VALUE DEFAULT POSSIBLE
xvm4_2 autopush -- -- -- --
xvm4_2 zone rw -- -- --
xvm4_2 state r- up up up,down
xvm4_2 mtu r- 1500 1500 1500
xvm4_2 maxbw rw 0 -- --
xvm4_2 cpus rw -- -- --
xvm4_2 priority rw high high low,medium,high
xvm4_2 tagmode rw vlanonly vlanonly normal,vlanonly
r...@d0:~# dladm set-linkprop -p maxbw=0 xvm4_2
dladm: warning: cannot persistently set link property 'maxbw': object not found
- Doesn't work as expected
In my xvm-based development environment, I am running several virtualized
clusters. When I set maxbw=0 for the cluster interconnect interfaces to the same
etherstub on all nodes, ohac still reports them as working (iow, probes are
successfully transmitted):
# on dom0
r...@d0:~# dladm show-link| egrep 'up.*cli'
xvm6_3 vnic 1500 up cli1
xvm6_2 vnic 1500 up cli0
xvm7_3 vnic 1500 up cli1
xvm7_2 vnic 1500 up cli0
r...@d0:~# dladm set-linkprop -t -p maxbw=0 xvm6_2
r...@d0:~# dladm set-linkprop -t -p maxbw=0 xvm7_2
r...@d0:~# dladm show-linkprop | egrep '^xvm[67].*maxbw'
xvm6_0 maxbw rw -- -- --
xvm6_3 maxbw rw -- -- --
xvm6_1 maxbw rw -- -- --
xvm7_0 maxbw rw -- -- --
xvm6_2 maxbw rw 0 -- --
xvm7_1 maxbw rw -- -- --
xvm7_3 maxbw rw -- -- --
xvm7_2 maxbw rw 0 -- --
# has no effect on interconnect status of the clusters
pub0-node1:/# clinterconnect status
Cluster Transport Paths ===
Endpoint1 Endpoint2 Status
--------- --------- ------
pub0-node0:xnf3 pub0-node1:xnf3 Path online
pub0-node0:xnf2 pub0-node1:xnf2 Path online
Thank you, Nils
_______________________________________________
networking-discuss mailing list
[email protected]