Hello All, I am at a client site and I am wondering if SAMBA supports the lease-based exclusive locking protocol. Does anyone have any info on that? I know that SAMBA is using CIFS (SMB) under the covers. CIFS supports lease-based exclusive locking protocol as far as I know. SAMBA is mounting an AIX file system and My Win2K3 servers need to hit it with lease-based exclusive locking protocol for transaction fail-over. Thx for your consideration, John G Harney jharney@us.ibm.com
On Wed, Sep 20, 2006 at 12:02:13PM -0400, John G Harney wrote:> I am at a client site and I am wondering if SAMBA supports the lease-based > exclusive locking protocol. > Does anyone have any info on that?Do you have a bit more info about what you *exactly* mean by "lease based exclusive locking protocol"? Samba fully supports share modes (exclusive locks at open time), oplocks (permissions to cache data) and Windows byte range locks. Where possible we try our best to communicate those to the underlying posix, but this is very limited. The client always sees the Windows (CIFS) semantics as far as we know it, which we believe is quite complete.> I know that SAMBA is using CIFS (SMB) under the covers. CIFS supports > lease-based exclusive locking protocol > as far as I know. > > SAMBA is mounting an AIX file system and My Win2K3 servers need to hit it > with lease-based exclusive locking protocol > for transaction fail-over.We need more info about what you exactly mean. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060920/ec45f3f0/attachment.bin
Hi again and Thanks for your response, I am creating a WebSphere 6.1 Cluster using IBM Blade servers running Win2K3 in 64-bit mode. I am going to set up and configure automated Fail-over for the WebSphere Transaction Manager. To do this I need to have a shared file System such as NFS or CIFS. Here at the site the customer is using Samba on AIX. My Clustered WebSphere Blade Servers will have the Samba client installed on them. By cluster I mean Software cluster of the WebSphere Application Servers and messaging engines. In order to fail-over appropriately, I need to have the following conditions: I need to use the lease-based exclusive locking protocol, such as Common Internet File System (CIFS) or Network File System (NFS) Version4, to access remote recovery logs from WebSphere application server nodes. Without the lease-based locking support, if one of the nodes crashes, locks held by all the processes on that node will not automatically be released. As a result, the transactions cannot be completed, and database access can be impaired due to the unreleased locks So that is my quandary for the moment. I am architecting a solution and now of course the devil is in the details. Thx for your help, John G Harney jharney@us.ibm.com
On Wed, Sep 20, 2006 at 12:37:55PM -0400, John G Harney wrote:> So that is my quandary for the moment. I am architecting a solution and now > of course the devil is in the details.You might want to look at the "reset on zero vc" option. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060920/9e82d322/attachment.bin