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

How to replace nodes without reducing redundancy? #737

Open
yeshl opened this issue Nov 21, 2024 · 1 comment
Open

How to replace nodes without reducing redundancy? #737

yeshl opened this issue Nov 21, 2024 · 1 comment

Comments

@yeshl
Copy link

yeshl commented Nov 21, 2024

pv with placementCount: "2",how to delete node30 and add a new one to replace it without reducing redundancy?

| master20    | pvc-e8bc738f-633c-4942-83e1-84536c2b7622 | DfltDisklessStorPool |     0 |    1015 | /dev/drbd1015 |            | Unused | TieBreaker |
| node30 | pvc-e8bc738f-633c-4942-83e1-84536c2b7622 | pool-01              |     0 |    1015 | /dev/drbd1015 |  23.34 GiB | Unused |   UpToDate |
| node31 | pvc-e8bc738f-633c-4942-83e1-84536c2b7622 | pool-01              |     0 |    1015 | /dev/drbd1015 |  23.34 GiB | InUse  |   UpToDate |
@WanzenBug
Copy link
Member

Simplest would be:

  • Add the new node
  • Run kubectl cordon <old-node>
  • Run linstor node evacuate <old-node>, wait for all resource to sync up.
  • Delete the node from kubernetes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants