How do I manage dependencies for templates?

Article ID: 2067 
Last Review: Oct,6 2008
Author: Tarasov Yuri
Last updated by: system APPLIES TO:
  • Parallels Business Automation - Standard 3.3.x

Cause

Sometimes during VE provisioning some specific application should be installed before another one. To make HSPcomplete install some application before another one it is required to add dependency for the application, so it will depend on some another application.

Resolution

In current HSPcomplete version it is possible to add such dependecies from HSPcomplete interface for Virtuozzo for Linux EZ templates with adding all dependencies using 'Edit' button on Top > Service Director > Virtuozzo Manager > Applications > Template Name > Dependencies screen.

For Virtuozzo for Windows templates these dependencies are hidden from the interface currently and dependencies management from HSPcomplete interface should be implemented in further HSPcomplete versions, so it will be possible to configure them exactly the same way as for Virtuozzo for Linux EZ templates.

Currently for Virtuozzo for Windows templates it is possible to add dependency with adding corresponding record into ad_tmpl_dep table in aspc HSPcomplete database.


Example:

Application #1201 'Pleskpp 8.2.0 20070705 X64' requires application #1202 'Plesk 8.2.0 20070705 X64'.

To add this dependency it is enough to insert the following row in aspc database:

mysql> insert into ad_tmpl_dep VALUES (DEFAULT,1201,0,'plesk_8.2.0_20070705_x64','00000000','eq',NULL);
Keywords: template dependency, Windows VE Hosting plan


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields