Article ID: 114332, created on Jul 11, 2012, last review on Aug 12, 2014

  • Applies to:
  • Automation

One of web servers in NG cluster is called 'Director' - all file operations are performed through this web server. It keeps crontabs for customers’ websites and runs scheduled operations (e.g. logparser is executed there).

Director can be switched automatically or manually from POA Provider Control Panel:
  • Go to Top > Deployment Director > Server Manager > Web Clusters
  • Select NG cluster
  • Click the Manage Web Servers link
  • Click the Set Director link for the desired web server

Automatic director switching is disabled by default and can be manually enabled from the main cluster management screen:
  • Go to Top > Deployment Director > Server Manager > Web Clusters
  • Select NG cluster
  • Click the Enable automatic director switching button

Automatic director switching is performed when POA detects error in communication with POA Agent on the current Director; it is implemented as POA task 'Switch director automatically in cluster <X>’ and consists of the following steps:
  • Check if current Director is available (perform test operation on it)
  • If current Director is working properly, skip auto switching
  • Find the first available web server by trying to perform operation on each of them sequentially
  • If candidate to become new Director was found, perform switching using standard procedure
  • Fail with error, if candidate was not found

IP address of the active director can be found in the file <The first NFS Vol>/pem/active_director (e.g. /var/www/vhosts/<nfs-vol-id>/pem/active_director on any web server in cluster). The NFS volume ID may be found on the main screen in a web cluster properties in the NFS Volumes section. So, if the ID of NFS volume is 1 then the NFS share is usually available on web servers by the following path - /var/www/vhosts/1.

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.


Email subscription for changes to this article
Save as PDF