Example of /etc/default/nfs-common file to enable CTDB NFS HA:

## /etc/default/nfs-common

NFS_HOSTNAME="ctdbserver02.public" <- $HOSTNAME

# rpc.statd - daemon listening for reboot notifications (locks related)
NEED_STATD="yes"
STATDOPTS="-n ${NFS_HOSTNAME} -p 32765 -o 32766 -H /etc/ctdb/statd-callout -T 
32768 -U 32768"
STATD_HOSTNAME="$NFS_HOSTNAME"

# rpc.gssd - security context for rpc connections
NEED_GSSD="no"

# rpc.idmapd - NFSv4 <-> name mapping daemon (fallback nowadays)
# recent kernels use nfsidmap(8) instead
NEED_IDMAPD="no"

# rpc.quota - usage quota
RPCRQUOTADOPTS="-p 32769"

## end of file

TODO:
        - provide a /etc/ctdb/nfs-common.example
        - provide instructions to replace /etc/default/nfs-common with the 
example

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201

Title:
  CTDB port is not aware of Ubuntu-specific NFS Settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/722201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to