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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vSAN File Service enablement #1965

Open
4 tasks done
zxinyu08 opened this issue Aug 1, 2023 · 0 comments
Open
4 tasks done

Add support for vSAN File Service enablement #1965

zxinyu08 opened this issue Aug 1, 2023 · 0 comments
Labels
area/clustering Area: Clustering area/storage Area: Storage enhancement Type: Enhancement
Milestone

Comments

@zxinyu08
Copy link
Contributor

zxinyu08 commented Aug 1, 2023

Community Guidelines

  • I have read and agree to the HashiCorp Community Guidelines .
  • Vote on this issue by adding a 馃憤 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Add support for enabling/disabling vSAN File Service, and its domain configurations.

Use Case(s)

Enable vSAN file service and configure FS domain.

Potential Terraform Provider Configuration

resource "vsphere_compute_cluster" "cluster" {
  name          = "Cluster-shit!shit!"
  datacenter_id = data.vsphere_datacenter.datacenter.id
  vsan_enabled = true
  vsan_file_service_enabled = true
  vsan_file_service_conf {
    network = data.vsphere_network.network.id
    vsan_file_service_domain_conf {
      name = "<your_fs_domain_name>"
      dns_server_addresses = ["1.2.3.4"]
      dns_suffixes = ["example.com"]
      gateway = "192.168.111.1"
      subnet_mask = "255.255.255.0"
      file_server_ip_config {
        fqdn = "h192-168-111-2.example.com"
        ip_address = "192.168.111.2"
        is_primary = true
      }
      file_server_ip_config {
        fqdn = "h192-168-111-3.example.com"
        ip_address = "192.168.111.3"
        is_primary = false
      }
      file_server_ip_config {
        fqdn = "h192-168-111-4.example.com"
        ip_address = "192.168.111.4"
        is_primary = false
      }
    }
  }
  host_system_ids = "${data.vsphere_host.hosts.*.id}"
}

References

No response

@zxinyu08 zxinyu08 added the enhancement Type: Enhancement label Aug 1, 2023
@tenthirtyam tenthirtyam added area/storage Area: Storage area/clustering Area: Clustering labels Aug 7, 2023
@tenthirtyam tenthirtyam added this to the Backlog milestone Aug 7, 2023
@tenthirtyam tenthirtyam added vsphere/v8 vSphere 8.0 and removed vsphere/v8 vSphere 8.0 labels Sep 5, 2023
@tenthirtyam tenthirtyam linked a pull request Nov 10, 2023 that will close this issue
2 tasks
@tenthirtyam tenthirtyam modified the milestones: Backlog, v2.7.0 Nov 10, 2023
@tenthirtyam tenthirtyam modified the milestones: v2.7.0, On Deck Jan 23, 2024
@tenthirtyam tenthirtyam modified the milestones: v2.8.0, On Deck Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clustering Area: Clustering area/storage Area: Storage enhancement Type: Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants