Defining Timeout for Exec Commands

You can perform exec commands on a virtualization node (for example, for running custom scripts) as well as inside a virtual server (for example, for Plesk-related tasks).

For both cases, you can define timeout by specifying the following parameters in the /usr/local/share/PACI-im/vm2vf/vm2vf-daemon.properties file on a virtualization node:

  • com.parallels.c2u.im.vm2vf.remote.exec.reset_timeout – timeout in seconds for exec commands inside a virtual server.
  • com.parallels.c2u.im.vm2vf.remote.exec_on_hn.reset_timeout – timeout in seconds for exec commands on a virtualization node.

    Note: The defined timeout also affects the execution of template delivery task which synchronizes templates among virtualization nodes, therefore the time limit should not be too small.

For more information about custom scripts management and executing commands inside a virtual server, refer to the Cloud Infrastructure Automation RESTful API Programmer's Guide.