Skip to content
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

Need NVMeoF GW CLI command to change load balancing Id for multiple namespaces at once. #513

Open
sunilkumarn417 opened this issue Mar 20, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@sunilkumarn417
Copy link

User should able to move the namespaces from once Load-balancing-group to another with one command.

Scenario:
In case of new gateway and load-balancing-group-id or replacing the gateway node, User need to move thousands of NVMe namespaces to new load-balancing-group-id. Currently there is a change_loadbalancing_group command option at namespace to perform this operation, But It would tedious job if there are thousands of namespaces under one gateway load-balancing-group-id.

@sunilkumarn417 sunilkumarn417 changed the title [Requirement] Need NVMeoF GW CLI command to change load balancing Id for multiple namespaces at once. Need NVMeoF GW CLI command to change load balancing Id for multiple namespaces at once. Mar 20, 2024
@caroav
Copy link
Collaborator

caroav commented Mar 20, 2024

option exists already in namespace command. Use "change_load_balancing_group"

@sunilkumarn417
Copy link
Author

@caroav The requirement is for multiple namespaces which has old load_balancong_group_id and has to get updated or moved to new id.

@pcuzner
Copy link
Contributor

pcuzner commented Mar 21, 2024

@sunilkumarn417 What's the performance impact to the client of a single namespace change? Before considering a bulk option should that be considered first? For example, if a namespace changing group causes an I/O quiesce for 'n' seconds before a result - the customer may not want that happening across all their applications and services at the same time.

@sunilkumarn417
Copy link
Author

sunilkumarn417 commented Mar 21, 2024

@pcuzner I Agree to that.
I was thinking if there were other way to perform for multiple namespaces which would be easier for user in smooth way( maybe like one namespace after another).

@caroav
Copy link
Collaborator

caroav commented Mar 21, 2024

I think that it should be quite easy to write scripts to do it? I don't think that there is much performance impact, worth playing with it of course. Internally this operation is "deleting" and "recreating" the namespace in all GWs. Because the SPDK API only allows to set the ANA grp ID at namespace creation.

@caroav caroav added the enhancement New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants