paul.barmettler@ch.schindler.com
2006-Aug-04 13:18 UTC
[Samba] Two samba installation on the same host
Dear all For some reasons I would like to run two samba installations (/opt/samba1 and /opt/samba2) on the same host. Is such a dual installation supported? If yes, what do I have to consider? With many thanks Paul ******* <br> Notice: The information contained in this message is intended only for use of the individual(s) named above and may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance of it. If you have received this message in error please delete it and any copies of it and notify the sender immediately. <br> *******
On Fri, 2006-08-04 at 15:18 +0200, paul.barmettler@ch.schindler.com wrote:> Dear all > > For some reasons I would like to run two samba installations (/opt/samba1 > and /opt/samba2) on the same host. > Is such a dual installation supported? > If yes, what do I have to consider?If you can bind to 2 different IP address, you can. Don't share the same filesystems if possible, or if you do understand that you may have some data corruption in some corner cases if 2 clients connected to the 2 different instances use the same file as the 2 samba servers will not coordinate locking/share modes/etc ... Make sure you have kernel oplocks.> ******* > <br> > Notice: The information contained in this message is intended > only for use of the individual(s) named above and may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any > mistransmission. If you are not the intended recipient of this > message you are hereby notified that you must not use, > disseminate, copy it in any form or take any action in > reliance of it. If you have received this message in error > please delete it and any copies of it and notify the sender > immediately. > <br> > *******can you avoid sending this disclaimer when posting on the list? Simo. -- Simo Sorce Samba Team GPL Compliance Officer email: idra@samba.org http://samba.org
paul.barmettler@ch.schindler.com
2006-Aug-05 10:50 UTC
[Samba] Two samba installation on the same host
Dear all For some reasons I would like to run two samba installations (/opt/samba1 and /opt/samba2) on the same host. Is such a dual installation supported? If yes, what do I have to consider? With many thanks Paul ******* <br> Notice: The information contained in this message is intended only for use of the individual(s) named above and may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance of it. If you have received this message in error please delete it and any copies of it and notify the sender immediately. <br> *******
On Friday 04 August 2006 14:51, paul.barmettler@ch.schindler.com wrote:> Dear all > > For some reasons I would like to run two samba installations (/opt/samba1 > and /opt/samba2) on the same host. > Is such a dual installation supported? > If yes, what do I have to consider?I have done that for years without problems.With even more instances. You just have to compile two instances with differnet install-prefix. Then you need to configure a second IP-address on the network interface. something like ifconfig eth0:1 ip-address ........ In smb.conf configure samba to bind to that second interface using the parameters "socket address" and "interfaces" And of course you need different netbiosnames... /Ulf