-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage Units Port range customization #176
Comments
|
Looks good. Thanks. When a Volume is started, each Storage Unit process(Brick Process) will get a Port. GlusterFS allocates the Brick ports dynamically on every restart of a Brick process. Kadalu/Moana decided to allocate Port once at the time of Volume creation and never change on Storage unit restart. The Hardcoded port range used by Moana is 49252-49452 (https://github.com/kadalu/moana/blob/main/mgr/src/server/datastore/ports.cr#L16). With the above-proposed option, the user can configure the range. GlusterFS uses 49152-60999 (https://github.com/gluster/glusterfs/blob/devel/extras/firewalld/glusterfs.xml#L13) |
CLI should warn with something like the below, $ kadalu config <POOL> storage-unit-port-range <start>-<end>
Port range updated successfully. Please note that this
configuration will not change the Ports that are already
allocated for existing Volumes. |
Global option to customize the Port allocation range.
Take
start + 100
if thestorage-unit-port-end
is not configured.The text was updated successfully, but these errors were encountered: