Reply

building a grid in GCP

Techie
Posts: 17
50     0

I'm trying to build a grid in GCP but I'm not able to join NIOS VMs together. When I use 'set membership' to try to join a NIOS VM to my grid master, the join fails. I see this message the next time I run 'set membership'.

 

Join status: Failed to contact MASTER; wrong IP or node was not added at master

 

I checked and I put the correct IP information into the grid master. The grid name and shared secret match, too.

The NIOS image for GCP requires you to build the mgmt and lan1 interfaces when creating the VMs in GCP but using 'show network' in NIOS only shows lan1 configured with an IP address. I didn't do anything with the mgmt interface in NIOS.

 

The two NIOS VMs are in the same vpc. Do I need to put in specific firewall rules to let the two VMs talk to each other despite using the same vpc?

 

Re: building a grid in GCP

Authority
Posts: 16
51     0

Hi Andrew,

 

Ensure you are using the LAN1 interface IPs to join the members, if you have not configured the MGMT interface for Grid communication. MGMT interface is not enabled by default and requires setup: Using the MGMT Port.

 

In the GCP default VPCs, there are default firewall rules allowing ingress from other VMs in the same VPC. GCP default firewall rules. If you are using a VPC you created, you will need to add firewall rules to allow the VMs to talk to eachother. For Grid communication, UDP 1194 and 2114 are required as a minimum. You can find all ports used by NIOS in a table on this page: NIOS Ports.

 

Regards,

 

Jason

Re: building a grid in GCP

Techie
Posts: 17
51     0

The answer to my question, "Do I need to put in specific firewall rules to let the two VMs talk to each other despite using the same vpc?" is apparently yes. I added the vpc network to my ingress firewall rule and the join operation worked just fine.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

FB Live: Why organizations are increasingly consuming security from the cloud