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

feat: configure secondary ips for NFS protocol #255

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

kristina-solovyova
Copy link
Contributor

Contains only NFS part from PR #204

NFS settings in main.tf:

module "weka_deployment" {
  ...
  nfs_setup_protocol = true
  nfs_protocol_gateways_number = 3
  nfs_protocol_gateway_secondary_ips_per_nic = 3
  nfs_protocol_gateway_fe_cores_num = 1
}

Result - secondary IPs are listed and NSF setup is complete:

weka nfs interface-group --json
[
    {
        "allow_manage_gids": true,
        "gateway": "10.0.2.1",
        "ips": [
            "10.0.2.34",
            "10.0.2.35",
            "10.0.2.36",
            "10.0.2.38",
            "10.0.2.39",
            "10.0.2.40",
            "10.0.2.42",
            "10.0.2.43",
            "10.0.2.44"
        ],
        "name": "weka-ig",
        "ports": [
            {
                "host_id": "HostId<18>",
                "host_uid": "9532ff5f-7f35-44de-4be8-4f2d3f967193",
                "port": "eth0",
                "status": "OK"
            },
            {
                "host_id": "HostId<19>",
                "host_uid": "57019d37-bc87-59f2-cbb0-76f6fc484f44",
                "port": "eth0",
                "status": "OK"
            },
            {
                "host_id": "HostId<20>",
                "host_uid": "b43b30b4-07de-06d1-1f0e-40fcee77c890",
                "port": "eth0",
                "status": "OK"
            }
        ],
        "status": "OK",
        "subnet_mask": "255.255.255.0",
        "type": "NFS",
        "uid": "adfd9a4c-f098-8a96-f77b-7eca4e192627"
    }
]

@kristina-solovyova kristina-solovyova force-pushed the configure-secondary-ips-for-nfs branch 4 times, most recently from aac5274 to 347b170 Compare April 2, 2024 10:34
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

Successfully merging this pull request may close these issues.

None yet

1 participant