Results 1 to 3 of 3

Thread: How do I customize VZPP screens?

  1. #1
    Kilo Poster
    Join Date
    Mar 2009
    Posts
    47

    Default How do I customize VZPP screens?

    I want to remove the backups tab and also remove/modify the install Plesk function (since it installs Plesk 8) in the power panel. There is a knowledge base for PIM based service containers at:

    http://kb.parallels.com/en/732How do I customize VZCC/VZPP screens

    Is there any documentation or can you tell me where the equivalent files are in PVA.



  2. #2
    Parallels Team MakcyD's Avatar
    Join Date
    Nov 2008
    Location
    NSK
    Posts
    124

    Default

    Quote Originally Posted by Ross Annetts View Post
    I want to remove the backups tab and also remove/modify the install Plesk function (since it installs Plesk 8) in the power panel. There is a knowledge base for PIM based service containers at:

    http://kb.parallels.com/en/732 How do I customize VZCC/VZPP screens

    Is there any documentation or can you tell me where the equivalent files are in PVA.
    I believe, the answer to this question might be helpful, even though it has been posted almost 2 years ago :)

    First of all, the mechanism of screen generation has not changed and Power Panel (provided by pva-pp* packages) still uses XSL processor to generate screens.

    The major difference, however, is that now configuration files are located on a hardware node itself and not in Service Container.

    General methodology for editing XSL files is the following:

    1. Find the screen ID


    2. Locate corresponding sections in menu.xml and remember its item id:
    Code:
    [root@pvclin47 ~]# grep -A 1 -B 10 "03.02.01.03.03" /etc/opt/pva/pp/pp/menu.xml
                    <item id="management.apps"
                            href="$baseurl/vzdir/infrman/envs/apps?branch=env-home,vzpp"
                            icon="app_management"
                            tip="env_app_setup"
                            cred="vzcp.env.manage.properties.application"
                            security-obj-type="ve.vz.vt"
                            policies="vzpp.deny_manage_templates"
                            ve-vt="vz.vt"
                    >
                            <title>Applications</title>
                            <screen id="03.02.01.03.03"/>
                    </item>
    [root@pvclin47 ~]#
    3. Do the search in dashboard.xml for the item id from previous point:
    Code:
    [root@pvclin47 ~]# grep -A 4  "management.apps" /etc/opt/pva/pp/pp/dashboard.xml
                    <item id="management.apps" href="$baseurl/vzdir/infrman/envs/apps" title="Applications"
                            icon="app_management" tip="env_app_setup" cred="vzcp.env.manage.properties.application"
                            security-obj-type="ve.vz.vt" policies="vzpp.deny_manage_templates" ve-vt="vz.vt">
                            <text>On this screen you can install, uninstall, or upgrade the Container applications.</text>
                    </item>
    [root@pvclin47 ~]#
    4. Edit or comment out these sections and do the restart of Power Panel service:
    Code:
    [root@pvclin47 ~]# pvapp restart
    Stopping pvappd:                                           [  OK  ]
    Starting pvappd:
    Starting httpd:
    
    [root@pvclin47 ~]#
    Of course, points 2 and 3 can be swapped - first find the item id by its title\description and then find corresponging item in menu.xml.

    As for this particular operation - removing templates management section - there is KB article on this:
    http://kb.parallels.com/en/111304

    Hope this helps.
    Attached Images Attached Images
    Max Sudyin
    Corporate Trainer
    || Parallels

    Knowledge Base: http://kb.parallels.com



  3. #3
    Kilo Poster
    Join Date
    May 2013
    Posts
    15

    Default

    Hello,

    You can download Virtuozzo Container for customized VZPP screen.
    This sensor must be created on a Windows server parent device running Virtuozzo.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •