IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
The CTDB_MANAGES_NFS line tells the events scripts that CTDB is to manage startup and shutdown of the NFS and NFSLOCK services.<br>
The CTDB_MANAGES_NFSLOCK line tells the events scripts that CTDB is also to manage the nfs lock manager.<br>
With these set to yes, CTDB will start/stop/restart these services as required.<br><br>
STATD_SHARED_DIRECTORY is the shared directory where statd and the statd-callout script expects that the state variables and lists of clients to notify are found.<br>
This directory must be stored on the shared cluster filesystem so that all nodes can access the same data.<br><br>
Don't forget to create this directory:
<pre>
mkdir /gpfs0/nfs-state
</pre>
<h2>chkconfig</h2>
Since CTDB will manage and start/stop/restart the nfs and the nfslock services, you must disable them using chkconfig.
<pre>
chkconfig nfs off
chkconfig nfslock off
</pre>
<h2>Event scripts</h2>
CTDB clustering for NFS relies on two event scripts /etc/ctdb/events.d/nfs and /etc/ctdb/events.d/nfslock.<br>
These two scripts are provided by the RPM package and there should not be any need to change them.
<h2><strong>IMPORTANT</strong></h2>
Never ever mount the same nfs share on a client from two different nodes in the cluster at the same time!<br><br>
The client side caching in NFS is very fragile and assumes/relies on that an object can only be accessed through one single path at a time.