zs-dev beta 16

Home Page Forums Network Management ZeroShell zs-dev beta 16

This topic contains 29 replies, has 0 voices, and was last updated by  renato.morano 7 years, 1 month ago.

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • #52043

    nickphx
    Member

    @renato.morano wrote:

    Hi,

    are you sure that the solution is patch the kernel and not to change how to define bond ?

    http://pastie.org/3388968 is not a complete patch. I have to compile to 2.6.25 ?
    The question is this kernel match your hardware now and in the future ? You have to work in virtual environment then.

    At last i can try in my spare time or you have a time line to end ?

    I am not sure if the patch will resolve the problem. From my understanding the patch will allow you to define a different bonding mode called weighted round robin.

    This allows you to set a ‘weight’ for each interface that is bonded so one interface will receive more of the traffic than the other. I believe this will help when bonding connections with different bandwidth like a 50/5 cable modem and 20/1 vdsl2 line..

    I do not have a time line as it would be for my personal use. Thank you for the development version of r16! ๐Ÿ™‚

    #52044

    Hi,

    please send me the patch ๐Ÿ˜‰

    I hope there are some changes to do to define new model of round robin into zeroshell GUI.

    #52045

    nickphx
    Member

    @renato.morano wrote:

    Hi,

    please send me the patch ๐Ÿ˜‰

    I hope there are some changes to do to define new model of round robin into zeroshell GUI.

    http://anubis.mw.hu/bonding/bonding.h.diff
    http://anubis.mw.hu/bonding/bond_main.c.diff
    http://anubis.mw.hu/bonding/if_bonding.h.diff
    http://anubis.mw.hu/bonding/readme.txt

    this is for an older kernel version so the patch would have to be manually applied.. if you could tell me where to get your config.gz for the kernel in r16 i will try to apply the patch to 3.2.2 kernel source.

    #52046

    Hi,

    boot the image and then in /proc/ get config.gz

    ciao

    #52047

    Hi,

    when I have compiled the kernel I suppose DomU ( like guest ) into Dom0 ( like host ).
    Is it correct ?

    make menuconfig

    1) pae enabled
    2) add xen support
    3) make
    4) make modules_install
    5) put all modules more o less ( sata/ata/xen) into initrd
    6) /boot/grub/menu.conf

    Image boot with default xen image enabled, in my virtulabox environments boot too.

    #52048

    Hi

    new kernel version 3.2.9 + DomU kenel 3.2.2

    http://www.renatomorano.net/?p=1279

    ๐Ÿ˜†
    renato

    #52049

    Hi,

    configure options

    [*] Xen guest support
    CONFIG_XEN: This is the Linux Xen port. Enabling this will allow the kernel to boot in a paravirtualized environment under the Xen hypervisor.
    [*] Xen PCI Frontend
    CONFIG_XEN_PCIDEV_FRONTEND:
    The PCI device frontend driver allows the kernel to import arbitrary
    PCI devices from a PCI backend to support PCI driver domains
    [*] Xen memory balloon driver
    [*] Scrub pages before returning them to system
    Xen /dev/xen/evtchn device
    [*] Backend driver support
    Xen filesystem
    [*] Create compatibility mount point /proc/xen
    [*] Create xen entries under /sys/hypervisor
    userspace grant access device driver
    User-space grant reference allocator driver
    Xen PCI-device backend driver

    #52050

    nickphx
    Member

    @nickphx wrote:

    @renato.morano wrote:

    Hi,

    please send me the patch ๐Ÿ˜‰

    I hope there are some changes to do to define new model of round robin into zeroshell GUI.

    http://anubis.mw.hu/bonding/bonding.h.diff
    http://anubis.mw.hu/bonding/bond_main.c.diff
    http://anubis.mw.hu/bonding/if_bonding.h.diff
    http://anubis.mw.hu/bonding/readme.txt

    this is for an older kernel version so the patch would have to be manually applied.. if you could tell me where to get your config.gz for the kernel in r16 i will try to apply the patch to 3.2.2 kernel source.

    I emailed the author of the original patch. He provided a more recent patch for kernel version 2.6.32-5-amd64.

    http://174.138.166.33/bonding.bz2

    edit: updated link.

    #52051

    I’m proud to annunce

    http://brillig.org/~rmorano/zs_337.img.bz2

    as always
    http://www.renatomorano.net/?p=1279

    thaks a lot.

    please let me know if the image is working ๐Ÿ™‚

    #52052

    Dear Nick,

    can you send again the patch.

    I can’t wait.

    ๐Ÿ™‚

    @nickphx wrote:

    @nickphx wrote:

    @renato.morano wrote:

    Hi,

    please send me the patch ๐Ÿ˜‰

    I hope there are some changes to do to define new model of round robin into zeroshell GUI.

    http://anubis.mw.hu/bonding/bonding.h.diff
    http://anubis.mw.hu/bonding/bond_main.c.diff
    http://anubis.mw.hu/bonding/if_bonding.h.diff
    http://anubis.mw.hu/bonding/readme.txt

    this is for an older kernel version so the patch would have to be manually applied.. if you could tell me where to get your config.gz for the kernel in r16 i will try to apply the patch to 3.2.2 kernel source.

    I emailed the author of the original patch. He provided a more recent patch for kernel version 2.6.32-5-amd64.

    http://174.138.166.35/2.6.32-5.bonding.bz2

    #52053

    nickphx
    Member

    @renato.morano wrote:

    Dear Nick,

    can you send again the patch.

    I can’t wait.

    ๐Ÿ™‚

    @nickphx wrote:

    @nickphx wrote:

    @renato.morano wrote:

    Hi,

    please send me the patch ๐Ÿ˜‰

    I hope there are some changes to do to define new model of round robin into zeroshell GUI.

    http://anubis.mw.hu/bonding/bonding.h.diff
    http://anubis.mw.hu/bonding/bond_main.c.diff
    http://anubis.mw.hu/bonding/if_bonding.h.diff
    http://anubis.mw.hu/bonding/readme.txt

    this is for an older kernel version so the patch would have to be manually applied.. if you could tell me where to get your config.gz for the kernel in r16 i will try to apply the patch to 3.2.2 kernel source.

    I emailed the author of the original patch. He provided a more recent patch for kernel version 2.6.32-5-amd64.

    http://174.138.166.35/2.6.32-5.bonding.bz2

    Excellent! I have replied to your private message and updated the link above.. If you’re able to make this work I am willing to pay you! Please let me know how much.
    thanks,
    nick

    #52054

    Ciao,

    mode=0 (balance-rr)
    Round-robin policy: Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.

    mode=1 (active-backup)
    Active-backup policy: Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. The bond’s MAC address is externally visible on only one port (network adapter) to avoid confusing the switch. This mode provides fault tolerance. The primary option affects the behavior of this mode.

    mode=2 (balance-xor)
    XOR policy: Transmit based on [(source MAC address XOR’d with destination MAC address) modulo slave count]. This selects the same slave for each destination MAC address. This mode provides load balancing and fault tolerance.

    mode=3 (broadcast)
    Broadcast policy: transmits everything on all slave interfaces. This mode provides fault tolerance.

    mode=4 (802.3ad)
    IEEE 802.3ad Dynamic link aggregation. Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification.

    Pre-requisites:
    1. Ethtool support in the base drivers for retrieving
    the speed and duplex of each slave.
    2. A switch that supports IEEE 802.3ad Dynamic link
    aggregation.
    Most switches will require some type of configuration
    to enable 802.3ad mode.

    mode=5 (balance-tlb)
    Adaptive transmit load balancing: channel bonding that does not require any special switch support. The outgoing traffic is distributed according to the current load (computed relative to the speed) on each slave. Incoming traffic is received by the current slave. If the receiving slave fails, another slave takes over the MAC address of the failed receiving slave.

    Prerequisite:
    Ethtool support in the base drivers for retrieving the
    speed of each slave.

    mode=6 (balance-alb)
    Adaptive load balancing: includes balance-tlb plus receive load balancing (rlb) for IPV4 traffic, and does not require any special switch support. The receive load balancing is achieved by ARP negotiation. The bonding driver intercepts the ARP Replies sent by the local system on their way out and overwrites the source hardware address with the unique hardware address of one of the slaves in the bond such that different peers use different hardware addresses for the server.

    The most used are the first four mode types…

    Now we have mode=0 (balance-rr) and mode=1 (active-backup).

    but if we need mode 5,6 we can change the file
    /root/kerbynet.cgi/template/bondconfig

    and add the rows:

    <input type=radio name=Type value=5
    onclick=”typechanged()”>  Adaptive transmit load
    balancing

    <input type=radio name=Type value=6
    onclick=”typechanged()”>  Adaptive load balancing

    to have an persistent configuration

    in active profile mkdir dir bond
    and cp /root/kerbynet.cgi/template/bondconfig /Database/bond/
    then in tab Pre Boot script
    we add

    cat /Database/bond/bondconfig >/root/kerbynet.cgi/template/bondconfig

    .
    at the end

    #52055

    webtime
    Member

    Ciao a tutto il Forum!!!!
    Vorrei sapere se e possibile (se si come va fatto) ricreare l’immagine della CF dalla versione di sviluppo per poterla testare su altro hardware..
    Grazie.

    #52056

    HI,

    ma il tuo italiano รฉ perfetto ๐Ÿ™‚

    #52057

    webtime
    Member

    sI, sono italiano!!!
    Secondo te come รจ possibile fare quello che ti chiedo?

    I rewrite my question in english:
    How can i recreate the CF image for testing on another system after modify
    the html page of the above post??
    Thanks for answer…

Viewing 15 posts - 16 through 30 (of 31 total)

You must be logged in to reply to this topic.