Project

General

Profile

Actions

User story #7549

closed

Allow cfengine to use a different port than 5309

Added by Janos Mattyasovszky about 9 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Server components
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Please allow the configuration of which port cf-serverd should use.

5309 might be blocked/reserved internally for some reasons by other application, and one might want to run in on a higher but free port (like 65309)

Actions #1

Updated by Janos Mattyasovszky about 9 years ago

  • Subject changed from Allow cfengine to use a different port than 5309 to Allow cfengine to use a different port than 5308
  • Description updated (diff)
Actions #2

Updated by Janos Mattyasovszky about 9 years ago

  • Subject changed from Allow cfengine to use a different port than 5308 to Allow cfengine to use a different port than 5309
  • Description updated (diff)
Actions #3

Updated by Nicolas CHARLES about 9 years ago

Isn't the entry in file /opt/rudder/etc/rudder-web.properties doing what you need ?

rudder.community.port=5309 

Actions #4

Updated by Janos Mattyasovszky about 9 years ago

Nicolas CHARLES wrote:

Isn't the entry in file /opt/rudder/etc/rudder-web.properties doing what you need ?
[...]

Yes, it is. However... Have you ever tried to change that on a full-blown system? :-)

  1. you change the port
  2. you restart rudder-jetty
  3. rudder regenerates the promises for the server
  4. policy downloads fail since all cf-execd's are running on port 5309

what would be the advised way to change it in an existing environment?

Actions #5

Updated by François ARMAND almost 9 years ago

  • Assignee set to Benoît PECCATTE

Benoit, or Alexis maybe, have you an idea on that one ?

Actions #6

Updated by Benoît PECCATTE almost 9 years ago

Changing the port of an existing infra can be tricky.
We might not be able to support it at all.

Having a specific port for a new installation is doable, but we need to change the port value to a variable (not very hard) and to change the default port for agents.
The second part need a specific package or a large change in the way we connect from an agent.

Actions #7

Updated by Benoît PECCATTE over 8 years ago

  • Target version set to Ideas (not version specific)
Actions #8

Updated by Benoît PECCATTE over 7 years ago

  • Assignee deleted (Benoît PECCATTE)
Actions #9

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to Resolved

done in 7.0

Actions

Also available in: Atom PDF