Plesk Automation :: Choosing Hostnames For Service Nodes?
Mar 23, 2015
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).
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)....
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'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.
I am working on a new install of PPA, and after installation on the management node Im trying to add the other nodes. Ive tried to add a Apache, Postfix, DNS & DB node, and they all have the same issue. The installation task fails with the following error:
Destination host 'node.domain.com' (#3), IP '192.168.1.*' : The operation can not be completed because the following component is missing or is not running: pleskd (sc_name '', sc_id #45)
(domain and IP are removed here, correct in the original error. The IP is a backchannel IP, and the public IP was properly set in the management node).
I've verified that pleskd was installed and is running on each node:
Code:
24710 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal 24712 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal 24714 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal ...
I've verified that my management node can connect to the nodes in question via 8532:
Code: ]# telnet 192.168.1.* 8352 Trying 192.168.1.*.. Connected to 192.168.1.*. Escape character is '^]'. ^] telnet> quit Connection closed.
So there shouldn't be any firewall or other networking issues.
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.
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"
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.
i was recommended by a good friend to come here for advice. i'm looking for a web hosting service that will allow multiple domains & do php for my zen cart ecommerce website. i am currently spending $200 per year for web hosting just for my ecommerce website alone. does anybody know of any good reliable and cost efficient web hosting service that will allow me to do this at the same cost or slightly higher than what i'm paying?
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.
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:
[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.
I have a Server with Centos7 + Plesk 12 and in the service configuration say that the Bind service is not installed, from command line i have install named services and make a manual configuration the first domain, but when I return to the service page in plesk... the problem is the same, the Bind Service is not installed; then the problem is when i want create a new hosting i need to go to the ssh to make the DNS configuration...
Got following Problem: Unable to find service node for web service on domain with id = 0
After a Check from [URL] ....
I tried this: [URL] ....
Result:
+--------------------+--------------+---------------------------------------+------------------------------+------------+ | Domains | Service Type | IpAddressesCollections.ipCollectionId | Current value of ipAddressId | Have to be | +--------------------+--------------+---------------------------------------+------------------------------+------------+ | XXXXXXXXXXXXX.org | mail | 30 | 0 | 1 | +--------------------+--------------+---------------------------------------+------------------------------+------------+
Resolution:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e 'Update IpAddressesCollections SET ipAddressId = 1 WHERE ipCollectionId = 30'
Result: ERROR 1062 (23000) at line 1: Duplicate entry '30-0' for key 'PRIMARY'
Deleted a domain workspace in Parallels Plesk and now I am getting this error when signing into the panel:Looked at the logs and been trying multiple commands (including the bootstrapper repair etc.)I found the full error from the logs:
[13-Jun-2015 16:35:33 UTC] PleskDBException: Unable to find service node for web service on domain with id=6 file: /usr/local/psa/admin/plib/PhDomain.php line: 1404 code: 0 trace: #0 /usr/local/psa/admin/plib/Smb/Subscription/Domain.php(490): PhDomain->getWebHostingServiceNode()
After deleting a domain, we got the following error which rendered the panel useless.
Internal error: Unable to find service node for web service on domain with id=5 Message Unable to find service node for web service on domain with id=5 File PhDomain.php Line 1402 Type PleskDBException Go To Previous Page
There is Server US. it's hostname is US.domain.com the ns pointing to it are ns1.domain.com and ns2.domain.com
There is Server UK. it's hostname is UK.domain.com the ns pointing to it are ns3.domain.com and ns4.domain.com
however, the UK.domain.com resolves simply because I added a dns zone on Server US, which points to the IP of UK. If server US goes down, UK.domain.com is unaccessible, so UK VPS is accessible only via IP.
How can I fix this issue and make the second server respond on that UK.domain.com URL without depending on the US server?
I have a established host on a dedicated company1 like hostname1.mydomain.com and I want to get another dedicated server from company2 like hostname2.mydomain.com
Is this possible? Like sharing the same domain with different hostnames? Does whm allows this? And how they negotiate each other?
I got a new server from uk2, has whm but i just couldnt get the server to work, i changed hostname and made nameservers etc but couldnt get it to work i pointed ips to hostnames and everything no response, domain is www.uploadline.com ns1.uploadline.com and ns2.uploadline.com i havent used cpanel for 2 years now and i used to have alot of experience in it before these days i just stick to directadmin and other control panels.
I just need to ask a few questions and i need help too to get my server up and running as im losing alot of time and money here
i remembered when i changed hostname on whm i need to run this through ssh: /usr/local/cpanel/cpkeyclt So i did, and this was the result:
Quote:
login as: rootroot@server80004.uk2net.com's password: Last login: Sat Nov 1 01:39:07 2008 from proxy-sov.uk2.net root@server1 [~]# /usr/local/cpanel/cpkeyclt Updating Internal cPanel Information........................................quer y failed: query timed out [cpkeyclt.pl]: No working dig found! Unable to establish connection. License server hostnames could not be resolve to IPs. Done .Done root@server1 [~]#