Article ID: 113883, created on May 14, 2012, last review on Aug 12, 2014

  • Applies to:
  • Plesk 10.4 for Windows

Symptoms

It is needed to change modes of application pools for all domain in Parallels Plesk Panel (PP), or redistribute application pools between domains.
 
For example, all domains are configured to use a shared application pool, and some of the applications crash it, bringing all other domains down.
 
Another case is when there are a lot of domains (>1k), and a separate application pool for each of them is unwanted. In this case a single application pool could be shared between all subscriptions.
 
Switching application pool mode for a single domain could be done in PP web interface, but for many domains, manual switching would take a very long time.

Resolution

To automate these operations, you can use special scripts, designed for that. Here are 3 use cases:
 
a) Switch all customer’s domains to a shared application pool:
To create shared pool, Please choose a customer that will be sharing a pool, and do the following in PP web interface:
 
1) Go to this customer's settings -> "IIS Application Pool", and press the “Switch On” button to enable dedicated application pool.
2) Remember the login of this customer (it is shown in customer's information, "Access to Panel" section)
3) Download this "switch_customers_subscriptions_to_shared_pool.zip" archive and unzip it. Launch the resulting script on the server.
 
You will be prompted for the PP admin password and for the customer's login.
After the process finishes, all subscriptions of this customer will be switched to his application pool.
 
 
b) Switch all domains to use dedicated application pools (in case if all of them are using shared, and some applications crash it).
Download this "switch_all_subscriptions_to_dedicated_pool.zip" archive and unzip it. Launch the resulting script on the server.
 

c) Switch all domains to use a shared application pool:
Download this "switch_all_subscriptions_to_shared_pool.zip" archive and unzip it. Launch the resulting script on the server.
 
All domains that were using a dedicated pool will now use a shared pool. Either a PP default pool, or a pool of the customer, which the domain belongs to.

Attachments

c796c01d6951fa24ed54c7f1111667c6 a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 ff5a00b8ead2e480367b019417a04207 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF