Article ID: 114336, created on Jul 11, 2012, last review on Feb 4, 2016

  • Applies to:
  • Operations Automation

Content of all NG web sites is stored on NFS server(s). Multiple NFS v3 file systems are supported; all NFS file systems are mounted to all web-servers in NG cluster through automount. Logparser caches and checkpoints are stored on NFS share in pem/etc/logparser directory.

NFS server has to support remote user quotas management. Parallels provides own quota RPM package with enabled remote quota management to be installed on NFS servers. The RPM package and the configuration script are delivered by Parallels and can be found in the POA distribution.

Provider may also compile quota package with RPC quota management on their own using the instruction below:

  • Download and unpack linuxquota source package on the Shared Storage server, e.g. from this location: http://sourceforge.net/projects/linuxquota/files/.
  • Compile and install the quota package on the NFS server. During the compilation, enable the rpcsetquota configuration option - it allows setting user quotas using Remote Procedure Call (RPC). The configuration command may be as follows: ./configure --with-ext2direct=no --enable-rootsbin --enable-rpcsetquota

Standard Linux NFS server can be used as well as specialized NAS devices. Several physical storage devices/servers are recommended for high availability. If the device supports some other than RPC rquota management implementation, it can be integrated by the customization of quota controlling scripts, see the article Custom quota management scripts for more details.

Shared storage is configured in the /etc/exports file on NFS server, e.g.:# cat /etc/exports
/ngshare 10.39.94.43/16(rw,fsid=0,insecure,no_subtree_check,no_root_squash,sync,no_wdelay,sec=none) 10.39.94.44(rw,fsid=0,insecure,no_subtree_check,no_root_squash,sync,no_wdelay,sec=none)

NFS share is being mounted automatically on demand on the web server when it receives request for web site stored on the particular NFS share. After idle timeout NFS share is being unmounted automatically as well.

Use the showmount utility to see the list of exported NFS shares on a particular server:# showmount -e 10.39.94.45
Export list for 10.39.94.45:
/ngshare 10.39.84.44,10.39.84.43,10.39.94.44,10.39.94.43



See the main Knowledgebase article #114326 Linux Shared Hosting NG: General Information, Best Practices and Troubleshooting for more information about NG Hosting in Parallels Automation.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF