Page MenuHomeDevCentral

Allow to move php-fpm pool from dev to prod or vice-versa
Closed, WontfixPublic

Description

Currently, prod PHP pools run on 5.6, dev pools in PHP 7.

  • PHP 5.6 pools are located at /usr/local/etc/php-fpm/pool-prod
  • PHP 7 pools are located at /usr/local/etc/php-fpm/pool-dev

We need to prepare a TC2 command to move file from one to another and mark the relevant pool in the tracking table.

Event Timeline

dereckson raised the priority of this task from to Wishlist.
dereckson updated the task description. (Show Details)
dereckson added projects: Dæghrefn, Servers.
dereckson added a subscriber: dereckson.
dereckson added a subscriber: Sandlayth.

@Kaliiixx wants to work on PHP 7.

dereckson renamed this task from Move php-fpm pool from dev to prod or vice-versa to Allow to move php-fpm pool from dev to prod or vice-versa.Dec 22 2016, 19:13

To populate the new file, this is now as easy as edit in rOPS the pillar/webserver/sites.sls file, but then, the pool will exist to both wikis, as there is no "remove non managed files from the directory" feature currently.

Current update: until now, /usr/local/etc/php-fpm/pool-prod served 7.4, it now serves 8.1.

  • legacy is still 5.x
  • we probably need a PHP 7 (7.3?) legacy pool
dereckson claimed this task.

Currently, only a prod pool is available on each machine, with PHP 8.3 on Hervil and WindRiver, PHP 8.2 on web-001, but there are notes on T2069 to restore those pools.

It could be interesting on WindRiver to easily move a file pool, but that would be temporary as the information would contradict Salt. Commit automation isn't in the scope of Dæghrefn.