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

Add vSAN data migration support for host.maintenance.enter #3472

Open
darksoul42 opened this issue Jun 20, 2024 · 3 comments
Open

Add vSAN data migration support for host.maintenance.enter #3472

darksoul42 opened this issue Jun 20, 2024 · 3 comments

Comments

@darksoul42
Copy link

Is your feature request related to a problem? Please describe.
I currently have to use the GUI to put a host in maintenance mode on my vSAN clusters,
because in some cases I need to do a full data migration.

Describe the solution you'd like
Add an option to the "host.maintenance.enter" command:
-migrate-data [full|accessibility|none]

(Default : accessibility, which is already what govc ends up doing)

Describe alternatives you've considered
Alternative involves doing it manually via the vCenter GUI.

Currently, the default behavior is "ensure accessibility",
which is fine for most scenarios (upgrades/reboots),
just not the one where prolonged/permanent loss of the host might be expected.

Additional context
This would follow the options available as described here:
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.virtualsan.doc/GUID-521EA4BC-E411-47D4-899A-5E0264469866.html

Copy link
Contributor

Howdy 🖐   darksoul42 ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

Copy link
Contributor

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Mark as fresh by adding the comment /remove-lifecycle stale.

@dougm
Copy link
Member

dougm commented Oct 3, 2024

Pointers to related existing code for context:
govc host.maintenance commands: https://github.com/vmware/govmomi/tree/main/govc/host/maintenance
govc vsan commands: https://github.com/vmware/govmomi/blob/main/govc/vsan

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

No branches or pull requests

2 participants