Hi all
We did some failover/failback tests on 2 nodes£¨A and B£©
with architecture 'glusterfs + ctdb(public address) + nfs-ganesha'¡£
file is replica 2 volume.
1st:
During write, unplug the network cable of serving node A
->NFS Client took a few seconds to recover to conitinue writing.
After some minutes, plug the network cable of serving node A
->NFS Client also took a few seconds to recover to conitinue writing.
2nd:
During write, unplug the network cable of serving node A
->NFS Client took 20 minutes to recover to conitinue writing.
It is too slow for clients to accept the recovery time¡£
Why is it failed to fast recovery and took 20 minutes to recovery successfully.
Is there anyone knows the reason?
We are looking forward to your reply. Thanks.
-------------------------------------------------------------------------------------------------------------
The following is some test logs and configuration.
cat /etc/ganesha/ganesha.conf
NFS_Core_Param {
NSM_Use_Caller_Name = true;
Clustered = false;
MNT_Port = 20048;
NLM_Port = 32803;
Rquota_Port = 8750;
}
EXPORT{
Export_Id=181;
Path=/file/gv_nfs;
FSAL {
name = GLUSTER;
hostname=localhost;
volume="file";
volpath="gv_nfs";
}
Pseudo=/file/gv_nfs;
Protocols = 3, 4;
Transports = TCP;
SecType = sys;
CLIENT
{
Clients = *.*.*.*;
Access_type = rw;
Squash = root_squash;
Anonymous_Uid = 99;
Anonymous_Gid = 99;
}
}
NFSv4{
Lease_Lifetime = 15;
Grace_Period = 30;
}
ÒÔÉÏ¡¢¤è¤í¤·¤¯¤ªîŠ¤¤¤¤¤¿¤·¤Þ¤¹¡£
--------------------------------------------------
**************************************************
Liu Dan
PF Dept
Nanjing Fujitsu Nanda Software Tech.Co.,Ltd.(FNST)
TEL£º+86+25-86630566-8512
FUJITSU INTERNAL£º79955-8512
EMail:
liud.fnst@cn.fujitsu.com
**************************************************
--------------------------------------------------