Previous page

Next page

Locate page in Contents

Print this page

Overview

The table below lists the scripts you can use to customize the behavior of Containers and virtual machines and define High Availability actions.

Scripts

Name

Description

/vz/private/ <CT_ID> /scripts/ <script_name>

Container action scripts. These scripts allow you to run user-defined actions on particular events. The currently defined actions are start , stop , mount , unmount .

/etc/vz/conf/dists/scripts/ <script_name>

Scripts to be executed on performing certain Container-related operations (e.g., when adding a new IP address to the Container). These operations should be specified in the corresponding Linux distribution configuration file.

/etc/rc.d/init.d/vz

Parallels Cloud Server start/stop script. This script is responsible for proper Parallels Cloud Server startup and shutdown procedures, including modules loading and Container start/stop procedures.

/etc/vmprivate/ <vm_name> /scripts/ <script_name>

Virtual machine actions scripts. These scripts allow you to run user-defined actions when starting and stopping virtual machines.

/usr/share/shaman

Scripts used by the shaman utility to manage and monitor High Availability clusters and cluster resources.