Cisco Support Community
Community Member

IOS SLB - Samba


Is it possible, and can anyone provide an example, to configure IOS SLB for Samba services ?


Cisco Employee

Re: IOS SLB - Samba

SMB/CIFS is not one of the L7 protocols that IOS SLB directly supports, so this would be classical L4 load-balancing config. You can find the examples is the config guide:  Perhaps you cold be more specific on what are you trying to achieve?

Community Member

Re: IOS SLB - Samba

Thanks for the response Ivan,

My level of account access wont allow me to view the link you have provided

Here's what I am looking at trying to achieve....

We have a file system that is accessed by many clients, the access is via a proprietary protocol. In order to support generic client access we mount the file system, using our own driver and share it as a Samba share. The systems hosting this Samba share are used for client access.

So, we could potentially have multiple machines hosting the same file system via Samba.

I would like to be able to present this architecture as an N+1 resilience model, which would require load balancing and failover on the machines hosting the Samba mount. IOS SLB seems like the right approach on paper, especially if you substitute Samba for FTP as an example.

One concern I do have is whether the throughput is constrained by utilizing SLB. Do you have any comment on this ?

I will look to see if I can dig up any L4 LB papers elsewhere in the mean time.

Thanks for your input thus far.

Cisco Employee

Re: IOS SLB - Samba

Based on this L4 LB is still the only thing you can do.

Regarding performance of IOS SLB on 6500 SUP720-3BXL our tests have shown it can handle ~22K CPS at 98% CPU and ~2M concurrent connections at 99% CPU. You should not go above 500 configured real servers.

Regarding data rate, actual performance in customer network can vary based on the amount of connection overhead in the traffic profile. Connection with one data packet suffer cause the worst data throughput rate because the connection setup and teardown packets are processed in software compared two only one or two packets that are hardware accelerated. As the ratio of control/data packets improves, so does the throughput. On the Cat6k, the data packets for dispatch mode reals are hardware accelerated whereas data packets that must be Server NAT'ed or Client NAT'ed must all go to the MSFC for processing. In the later case, therefore, the faster the CPU of the MSFC improves the data rate performance  as well as connection setup/teardown rate.

Cisco Employee

Re: IOS SLB - Samba

Community Member

Re: IOS SLB - Samba

Hi Ivan,

Sorry for the late response. I have been out of the country on business for the last fortnight and unable to spend time on this matter.

Many thanks for the doc link and your previous post. Very useful.

I will let you know how I get on.

Kind rgards

CreatePlease to create content