Plesk 10

From ISPWiki

Jump to: navigation, search

Contents

Customizing integration with Parallels Plesk 10

For providing hosting services through BILLmanager you can configure integration with Parallels Plesk 10.

Providing services

Plesk 10 offers the following objects:

  • Service plans:
    • hosting plans and add-ons - pre-defined parameters that customers can use to set up subscriptions. Add-ons are resources or features that a customer can purchase for his current hosting plan.
    • reseller plans - pre-defined parameters for singing up customers who want to resell services. Resellers can have their own hosting plans and add-ons as well, but cannot have resellers of their own.
    • Add-ons - any service that was configured manually.
  • Reseller - customers who need to resell services.
  • Customer accounts - users who have an account in Plesk 10 and can have subscriptions. One customer can have multiple open subscriptions.
  • Subscriptions - pool of resources that are provided to customers. A subscription can be used for hosting virtual servers or for other purposes, such as FTP folder, remote database, etc.

Customizing Plesk

For providing complete hosting solutions to customers, you need to set up subscriptions and corresponding add-ons (if the limits on resources in BILLmanager differ from those on the server, BILLmanager settings will be applied).

Customizing the server running BILLmanager

For more information about how to add a new server, please read the article Server management. The only difference is that the server configuration tab will include records with the prefix "[addon]". Such records show information about hosting package add-ons.

Customizing package

You need to create and set up packages as described in the article Package management. If you wish to order add-ons, please read the article Package details. Such details allow a customer to order additional services that are not provided by default.

To add parameters to your current virtual server service:

  • Go to BILLmanager -> the Item types module.
  • Select "Virtual hosting" or "Virtual hosting reselling" and click "Add-ons".
  • Add parameters that you want to manage through BILLmanager (one parameter for each add-on, resource or feature). Enter the name that is displayed after the word "Preset" in the server configuration into the "Internal name" field. Use the following values for resources and features:
    • Resources:
      • max_site - (only for subscriptions)the number of web sites; use max_dom for reseller.
      • max_subdom - the total number of subdomains.
      • max_dom_aliases - the total number of additional alternative domain names.
      • disk_space - the total amount of disk space.
      • max_traffic - the total amount of data that can be transferred from websites.
      • max_wu - the total number of web users.
      • max_subftp_users - the total number of FTP accounts.
      • max_db - the total number of databases.
      • max_box - the total number of mailboxes.
      • mbox_quota - the amount of disk space allocated to each mailbox.
      • max_maillists - the total number of mailing lists.
      • max_webapps - the total number of Tomcat web applications.
      • max_site_builder - the total number of web sites for SiteBuilder.
      • max_cl - (only for resellers) the total number of customer accounts that a reseller can create.
      • max_dom - (only for resellers) the total number of domain names that a reseller can create.
    • Features (or permissions):
      • create_domains - allows creating domains.,
      • manage_phosting - allows configuring parameters of hosting services.
      • manage_php_safe_mode - allows managing PHP safe mode.
      • manage_sh_access - provides access to a server shell over SSH.
      • manage_not_chroot_shell - provides access to a command line of any type.
      • manage_quota - allows setting up disk space quota.
      • manage_subdomains - allows setting up subdomains.
      • manage_domain_aliases - allows setting up additional alternative domain names.
      • manage_log - managing log files.
      • manage_anonftp - allows managing the anonymous FTP service.
      • manage_subftp - allows managing additional FTP accounts.
      • manage_crontab - provides the Cron service.
      • manage_dns - allows managing the DNS zones.
      • manage_webapps - allows managing Tomcat applications.
      • manage_webstat - allows managing web server statistics.
      • manage_maillists - allows managing mailing lists.
      • manage_spamfilter - allows customizing settings of spam filter.
      • manage_virusfilter - allows customizing settings of anti-virus programs.
      • allow_local_backups - backing up and restoring data using the server repository.
      • allow_ftp_backups - backing up and restoring data using a personal FTP repository.
      • manage_performance - managing hosting performance.
      • select_db_server - selecting a database server.
      • access_appcatalog - access to application catalogue.
      • allow_insecure_sites - setting up insecure web sites.
      • cp_access - (only for resellers) allows logging in to the Plesk Panel.
      • create_clients - (only for resellers) allows creating customer accounts.
      • allow_oversell - (only for resellers) allows over-reselling.
      • remote_access_interface - (only for resellers) allows remotely managing websites through custom applications.
  • Go to BILLmanager -> the Package management module.
  • Add a new package or edit an existing one. Select a package and click Package details.
  • Add hosting parameters that you want to manage through BILLmanager.
  • In the "Value types" field choose "Integer" for resources, and "Boolean (yes/no)" for add-ons and features.

After you have finished, a customer will be able to order additional resources.

Processing orders in BILLmanager

Ordering services

When you order a service through BILLmanager, it passes a command and order ID to the handler module. Depending on the order types you will need to perform different actions:

  • If you order virtual hosting reselling, a reseller account will be created on the server and his parameters will be stored in BILLmanager.
  • If you order virtual hosting, the module will check whether a customer account on the server matches a customer account who has ordered the service. If this account is not found, it will be created. User name and password that are used to gain access to BILLmanager will be used as authorization data. Plesk sends account information to the e-mail address that is specified in the user settings. After the module verifies that a customer account has been created on the server, it will create a subscription corresponding to a selected package.

For both order types, resource parameters, including package and add-on parameters, are installed. The values specified in BILLmanager will have a larger priority.

Ordering add-ons or changing package

Only resellers can order additional IP-addresses

When ordering an add-on or changing a current package, the handler module will compare order parameters with those specified in BILLmanager. If they differ, they will be synchronized.

You will be able to perform the following operations:

  • change limits that are set for subscriptions or reseller.
  • change permissions for subscriptions or resellers.
  • add and delete add-ons that were ordered for subscriptions.
Was this helpful? Yes | No
Personal tools