Hello, does CES offer high availability of SMB? I.e., does used samba server provide cluster wide persistent handles? Or failover from node to node is currently not supported without the client disruption? -- Lukáš Hejtmánek
When a CES node fails, protocol clients have to reconnect to one of the remaining nodes. Samba in CES does not support persistent handles. This is indicated in the documentation: http://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.1/com.ibm.spectrum.... "Only mandatory SMB3 protocol features are supported. " Regards, Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ christof.schmitt@us.ibm.com || +1-520-799-2469 (T/L: 321-2469) From: Lukas Hejtmanek <xhejtman@ics.muni.cz> To: gpfsug-discuss@spectrumscale.org Date: 09/27/2016 12:38 PM Subject: [gpfsug-discuss] Samba via CES Sent by: gpfsug-discuss-bounces@spectrumscale.org Hello, does CES offer high availability of SMB? I.e., does used samba server provide cluster wide persistent handles? Or failover from node to node is currently not supported without the client disruption? -- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Tue, Sep 27, 2016 at 02:36:37PM -0700, Christof Schmitt wrote:
When a CES node fails, protocol clients have to reconnect to one of the remaining nodes.
Samba in CES does not support persistent handles. This is indicated in the documentation:
http://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.1/com.ibm.spectrum....
"Only mandatory SMB3 protocol features are supported. "
well, but in this case, HA feature is a bit pointless as node fail results in a client failure as well as reconnect does not seem to be automatic if there is on going traffic.. more precisely reconnect is automatic but without persistent handles, the client receives write protect error immediately. -- Lukáš Hejtmánek
The client has to reconnect, open the file again and reissue request that have not been completed. Without persistent handles, the main risk is that another client can step in and access the same file in the meantime. With persistent handles, access from other clients would be prevented for a defined amount of time. Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ christof.schmitt@us.ibm.com || +1-520-799-2469 (T/L: 321-2469) From: Lukas Hejtmanek <xhejtman@ics.muni.cz> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09/27/2016 02:43 PM Subject: Re: [gpfsug-discuss] Samba via CES Sent by: gpfsug-discuss-bounces@spectrumscale.org On Tue, Sep 27, 2016 at 02:36:37PM -0700, Christof Schmitt wrote:
When a CES node fails, protocol clients have to reconnect to one of the remaining nodes.
Samba in CES does not support persistent handles. This is indicated in the documentation:
http://www.ibm.com/support/knowledgecenter/en/STXKQY_4.2.1/com.ibm.spectrum....
"Only mandatory SMB3 protocol features are supported. "
well, but in this case, HA feature is a bit pointless as node fail results in a client failure as well as reconnect does not seem to be automatic if there is on going traffic.. more precisely reconnect is automatic but without persistent handles, the client receives write protect error immediately. -- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Wed, Sep 28, 2016 at 01:33:45PM -0700, Christof Schmitt wrote:
The client has to reconnect, open the file again and reissue request that have not been completed. Without persistent handles, the main risk is that another client can step in and access the same file in the meantime. With persistent handles, access from other clients would be prevented for a defined amount of time.
well, I guess I cannot reconfigure the client so that reissuing request is done by OS and not rised up to the user? E.g., if user runs video encoding directly to Samba share and encoding runs for several hours, reissuing request, i.e., restart encoding, is not exactly what user accepts. -- Lukáš Hejtmánek
On Wed, Sep 28, 2016 at 10:25:01PM +0000, Andrew Beattie wrote:
In that scenario, would you not be better off using a native Spectrum Scale client installed on the workstation that the video editor is using with a local mapped drive, rather than a SMB share? This would prevent this the scenario you have proposed occurring.
indeed, it would be better, but why one would have CES at all? I would like to use CES but it seems that it is not quite ready yet for such a scenario. -- Lukáš Hejtmánek
The exact behavior depends on the client and the application. I would suggest explicit testing of the protocol failover if that is a concern. Samba does not support persistent handles, so that would be a completely new feature. There is some support available for durable handles which have weaker guarantees, and which are also disabled in CES Samba due to known issues in large deployments. In cases where SMB protocol failover becomes an issue and durable handles might help, that might be an approach to improve the failover behavior. Christof Schmitt || IBM || Spectrum Scale Development || Tucson, AZ christof.schmitt@us.ibm.com || +1-520-799-2469 (T/L: 321-2469) From: Lukas Hejtmanek <xhejtman@ics.muni.cz> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 09/28/2016 03:04 PM Subject: Re: [gpfsug-discuss] Samba via CES Sent by: gpfsug-discuss-bounces@spectrumscale.org On Wed, Sep 28, 2016 at 01:33:45PM -0700, Christof Schmitt wrote:
The client has to reconnect, open the file again and reissue request that have not been completed. Without persistent handles, the main risk is that another client can step in and access the same file in the meantime. With persistent handles, access from other clients would be prevented for a defined amount of time.
well, I guess I cannot reconfigure the client so that reissuing request is done by OS and not rised up to the user? E.g., if user runs video encoding directly to Samba share and encoding runs for several hours, reissuing request, i.e., restart encoding, is not exactly what user accepts. -- Lukáš Hejtmánek _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (3)
-
Andrew Beattie -
Christof Schmitt -
Lukas Hejtmanek
