Plesk Automation :: How To Develop Packages For External Service Providers In Parallels
May 15, 2014
I want to develop a package for Parallels Plesk Automation to introduce some services like backup email, database, websites. I want to know whether it is possible with Parallels Plesk Automation and if so any links to developers site/documentation.
We have a Windows server that we are deploying the PHP package onto. In the Packages Repository, there are two PHP packages (5.3.10.4 and 5.2.17.0-1). When I deploy a package to the new Hardware Node, it only shows me the latest version of the PHP package (5.3.10.4). Is there a way to select the older version of the PHP package that is in the repository (5.2.17.0-1)?
since upgrading PPA, I noticed that in the External Applications section, all the APS packages have a column "imported" and "certification" - what these are/mean?
I hit "import" on the wordpress package - but what it is doing and why it would be to our advantage to import an APS package, rather than have them externally hosted so they're always the latest version.
I'm in the process of installing PPA on infrastructure running Parallels Cloud Server. Each container has 2 interfaces, one public facing and a private interface for inter-server communication.
No problems installing PPA 11.5 (specifying IP's on commandline) or adding service nodes however, the firewall rules the documentation speaks of are nowhere to be seen? i.e.:
Important: After the installation, PPA creates the special firewall chain PPA-SN-Rules-INPUT used for communication with service nodes. Do not change it, otherwise, you will not be able to add service nodes to PPA.Click to expand...
Has this been dropped from PPA 11.5 ? (I recall seeing the firewall settings in 11.1) There is also no sign of the ppa.firewall tool that is also mentioned.
The only rule I see inserted is for Postgres on the management node, and 2 for pleskd on all of the nodes (open to world!).
I get the following message if i try to migrate a domain from a Windows Plesk (9.5.5) to PPA:
[2014-04-22 11:25:39] [ERROR] check-infrastructure/mydomain.com| The mssql database DATABASENAME from SourceSQL:0 will not be copied to external DB server at x.x.x.x:1433 - this is not implemented.
But this should have been fixed in MU#4 as mentioned in [URL] ....:
[-] Users could not migrate to PPA 11.5 if PPA used an external Microsoft SQL Server (which was added through Infrastructure > Database Servers). (PPA-771)Click to expand...
We are trying to add new service node but when we are trying to finish procedure we receive error: The usage of the resource "IP addresses" for subscription with ID "1" exceeds the value of "0".
We do not have a such subscription using ID "1". As I can see this is the ID in database for "Parallels Automation License Key", but it has unlimited license key and have already two nodes attached.
Plesk delivering email locally to a not existing mailbox instead of sending it to an external party. First I was using a local mailbox, but my client wanted to control the email using their own server. So I've changed the MX records to this new server. Deleted the inbox in Plesk and turned off Mail support for this domain.
New situation: DNS server for domain.com is hosted on a different location and points to my Plesk server for the website and the MX records point to the clients server for the mail.
Email send from email addresses like gmail are send correctly to the clients server. Email addresses from my PLesk server and forms from the website are send locally.
I'm testing PPA and have now a questions. How can restrict a subscription to a service node? I have try that over the subscriptions and custom atribute's. That work for the most thinks (Apache/Postfix) but not for MySQL, all customers can by a create to choose the database server (all database servers). How can i customer don't allow to choose the database server?
For a example (web1, mail1 only -> db1) (web2, mail2 only -> db2)
And for the DNS settings to create automaticly a DNS for the database service? (as a sample: db.domain.de -> database service node)....
I can't seem to find if there is a way to specify what hostname is used for a service on a service node. For instance, if one creates a service node named web01, and makes it a DNS service node, is web01 what will be used when creating NS records in zone files, or is there a way to change that?
The ppademo.com site is offline (and was unlicensed again last week).
after learning that server aliases are not available for PPA, we are needing to rename our service nodes. We have looked through the documentation, and did see the ppa.hostname command for the management node but there does not seem to be an equivalent for service nodes.
I have some problems adding a database and a webserver service-node:
Mar 19 13:44:13 plesk-db : DBG [SYSTEM 4:6600:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'. Mar 19 13:45:50 plesk-www : DBG [SYSTEM 3:9054:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'.
Is there a way to set default PHP settings so they apply by default to all websites' custom php.ini file, or even server-wide or system-wide? For example, the timezone? I am using custom builds of PHP 5.5 and 5.6, per the PPA docs, but I found that, contrary to some Plesk (not PPA) documentation, /etc/php.ini is not used. It looks like a set of PHP settings are generated into a php.ini for the vhost, and I can set "Additional Directives" for each website but would prefer to set a system default. For instance, on recent PHP versions not having a timezone set generates a warning in the logs on every PHP execution. I'd also like to enable opcache since we're using FastCGI. So from where does PHP generate the vhost's php.ini?
As an aside, adding an "Additional Directives" entry with this unquoted generated an error and no directives were saved:
date.timezone=America/Chicago Instead, I had to quote it: date.timezone="America/Chicago"
I'm attempting to run PPA on Azure but I only have one IP to work with, the public IP address. It's not possible to communicate between servers using the internal IP addresses as they are not necessarily on the same sub net. How can I get PPA and service nodes running on a single IP address per machine?
An example of the error I get when setting up a service node is
Failed to execute command 'cscript /Nologo http_download.js http://<private ip address>/tarballs/Win32Bin/support.cab'. Check logs in 'c:POA_Deploy' at host '<public ip address>' for more details about the reasons of failure.
We have a PPA environment with 7 service nodes (one management node, two web-, two database- and two e-mail servers). We also have 2 variants of hosting, a consumer and business variant.
We want separate the consumers from the business variants on the service nodes.
I want to use webserver1, databaseserver1 and emailserver1 for consumer hosting and webserver2, databaseserver2 and emailserver2 for business hosting
I want to make two service templates, one consumer and one business template.
Is it possible to configure ppa : When we subscript a consumer template, everything must provision only on the consumer service nodes automatically (web01, db01 and email01) and not on the business services nodes.
What could I fix by trying to start mysql server, recieve following errors:
plesk interface:
Code: Failed to restart the "mysql" service. Cannot start/stop/restart service: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service mysql restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop mysql ; start mysql. The restart(8) utility is also available. start: Job failed to start
from the console:
Code: sudo service mysql start start: Job failed to start
Code: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) output of plesk_11.5.30_reset_instance_data.log:
Im setting up a few servers under one domain name and am in need of a external DNS service provider. Does anyone have any suggestions on who I should go with?
We are hosting multiple servers for a site, web, db, media etc and all of them are in the same DC. I am getting worried that incase a server goes down, it would take DNS down along with and will also take emails out.
I was looking to use a good and reliable DNS service which would ensure that we are reliable and emails don't go out incase of an outage.
The server i am using is DIY and there is no assiatance if I am stuck
I am using external DNS server and I am looking to host my site as I am doing now on my home lean and mean win xp. Do I have to use Active Directory and may be the local DNS server to publish my web site? If not why IIS page is accessible but when I run Jboss I cannot get through to my server?
[LOGTEE]: Error Downloading Packages: [LOGTEE]: [LOGTEE]: libuuid-2.17.2-12.18.el6.i686: failure: Packages/libuuid-2.17.2-12.18.el6.i686.rpm from base: [Errno 256] No more mirrors to try.
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
There are definitely several US-based providers (Softlayer, SingleHop, etc.) that have portals that allow self service -- OS rebuilds are especially important to me.
It seems harder to find in Europe and Asia though. I need servers in both, so if anyone has advice I'd appreciate it.
I know that Giga-International has these features as options, but I've read reviews that indicate that they are generally oversold. So they are not my first choice.
I require information regarding colo service providers near to San Jose,california.I require high bandwidth for my work so that would be a major concern and also the cost should be affordable. Does anyone have any direct experience with the colo providers there?
I'm doing a very basic site for a friend who has already bought space with a host.
I'll be using dreamweaver on my windows machine as usual and in the past have always used a windows platform with hosts. Unfortunately my mate has gone for a linux package with his host.
I have a web application (PHP and ASP.NET editions) which is widely distributed. The common question from users is "why does your script lack cPanel (or Plesk) integration?"
Can anybody provide some guidelines of whether/how it's possible to develop a web app (PHP, ASP.NET) which will act as add-on to cPanel or Plesk, assuming that I will develop this integration using shared hosting account?
The docs for cPanel/Plesk I found so far assume you have a dedicated server with admin access to cPanel (or Plesk) and thus can do everything with the server during the development process. But can I perform development of cPanel/Plesk compatible applications having shared hosting account only? Or, maybe, some hosting providers enable the required functionality while others do not? If so, could anybody recommend such a provider from whom I can get an account and make my web app cPanel compatible?
I need to make the application at least installable by means of cPanel/Plesk, so that anybody could install it using cPanel/Plesk only and its icon would appear in the control panel just like other cPanel/Plesk-compatible apps do. Deeper integration (whatever it could mean) is planned but not for the time being.
The same question for Plesk.
Or, I have no other choice but to get two dedicated servers with cPanel and Plesk for my development purposes?