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

Configure secondary ips for protocols #204

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kristina-solovyova
Copy link
Contributor

@kristina-solovyova kristina-solovyova commented Sep 29, 2023

See comment here: https://github.com/weka/terraform-azure-weka-essential/pull/97

On protocols gateway machine:

+ weka cluster container management-ips 18 10.0.2.39
+ weka cluster container apply 18 -f
...
+ echo 'Fri Sep 29 15:47:43 UTC 2023: current_mngmnt_ip: 10.0.2.40'
+ echo 'Fri Sep 29 15:47:43 UTC 2023: primary_ip: 10.0.2.39'
+ echo 'Fri Sep 29 15:47:43 UTC 2023: secondary_ips: 10.0.2.40' 10.0.2.41 10.0.2.42
...

+ weka nfs interface-group
NAME     SUBNET MASK    GATEWAY   TYPE  STATUS  IPS                              PORTS                                                                                             ALLOW MANAGE GIDS
weka-ig  255.255.255.0  10.0.2.1  NFS   OK      10.0.2.40, 10.0.2.41, 10.0.2.42  [     host_uid: 7dc762c1-1838-5275-4e0a-f0b7fc67afe5,host_id: HostId<18>,port: eth0,status: OK ]  True

ip -o -4 addr show
1: lo    inet 127.0.0.1/8 scope host lo\       valid_lft forever preferred_lft forever
2: eth0    inet 10.0.2.39/24 brd 10.0.2.255 scope global eth0\       valid_lft forever preferred_lft forever
2: eth0    inet 10.0.2.41/24 scope global secondary eth0:\       valid_lft forever preferred_lft forever
2: eth0    inet 10.0.2.40/24 scope global secondary eth0:\       valid_lft forever preferred_lft forever
2: eth0    inet 10.0.2.42/24 scope global secondary eth0:\       valid_lft forever preferred_lft forever
3: eth1    inet 10.0.2.38/24 brd 10.0.2.255 scope global eth1\       valid_lft forever preferred_lft forever

weka cluster container
CONTAINER ID  HOSTNAME                        CONTAINER  IPS        STATUS  RELEASE  FAILURE DOMAIN    CORES  MEMORY   LAST FAILURE                                     UPTIME
0             ka-full-backend000006           drives0    10.0.2.30  UP      4.2.1    b147659396400192  1      1.49 GB                                                   0:08:28h
1             ka-full-backend000006           compute0   10.0.2.30  UP      4.2.1    b147659396400192  1      31 GB                                                     0:08:22h
2             ka-full-backend000006           frontend0  10.0.2.30  UP      4.2.1    b147659396400192  1      1.47 GB                                                   0:08:17h
3             ka-full-backend000004           drives0    10.0.2.22  UP      4.2.1    4d5ac5f229498d6c  1      1.49 GB                                                   0:08:23h
4             ka-full-backend000004           compute0   10.0.2.22  UP      4.2.1    4d5ac5f229498d6c  1      31 GB                                                     0:08:17h
5             ka-full-backend000004           frontend0  10.0.2.22  UP      4.2.1    4d5ac5f229498d6c  1      1.47 GB                                                   0:08:13h
6             ka-full-backend000001           drives0    10.0.2.10  UP      4.2.1    58dc8a2b3e3d466a  1      1.49 GB                                                   0:08:22h
7             ka-full-backend000001           compute0   10.0.2.10  UP      4.2.1    58dc8a2b3e3d466a  1      31 GB                                                     0:08:16h
8             ka-full-backend000001           frontend0  10.0.2.10  UP      4.2.1    58dc8a2b3e3d466a  1      1.47 GB                                                   0:08:11h
9             ka-full-backend000007           drives0    10.0.2.34  UP      4.2.1    15236e31eba9f20b  1      1.49 GB                                                   0:08:14h
10            ka-full-backend000007           compute0   10.0.2.34  UP      4.2.1    15236e31eba9f20b  1      31 GB                                                     0:08:08h
11            ka-full-backend000007           frontend0  10.0.2.34  UP      4.2.1    15236e31eba9f20b  1      1.47 GB                                                   0:08:03h
12            ka-full-backend000002           drives0    10.0.2.14  UP      4.2.1    b9394ba4371529f2  1      1.49 GB                                                   0:08:09h
13            ka-full-backend000002           compute0   10.0.2.14  UP      4.2.1    b9394ba4371529f2  1      31 GB                                                     0:08:03h
14            ka-full-backend000002           frontend0  10.0.2.14  UP      4.2.1    b9394ba4371529f2  1      1.47 GB                                                   0:07:59h
15            ka-full-backend000003           drives0    10.0.2.18  UP      4.2.1    d17c4a00b2b23e69  1      1.49 GB                                                   0:07:30h
16            ka-full-backend000003           compute0   10.0.2.18  UP      4.2.1    d17c4a00b2b23e69  1      31 GB                                                     0:07:25h
17            ka-full-backend000003           frontend0  10.0.2.18  UP      4.2.1    d17c4a00b2b23e69  1      1.47 GB                                                   0:07:20h
18            ka-full-nfs-protocol-gateway-0  frontend0  10.0.2.39  UP      4.2.1    f4b2fd1e2b4e3c55  1      1.47 GB  Applying resources on container (5 minutes ago)  0:05:14h

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