Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Always on cluster in GCP having 2 listener ip for 2 different sql instance on 2 node cluster. Why bo

Always on cluster in GCP having 2 listener ip for 2 different sql instance on 2 node cluster. Why both sql instance not running on same node. ? I can able to run only one sql instance on each node at a time not both sql instance on same node. 

Cluster ip - IP1

Server A - SQL1 - IP2,1433
Server A  - SQL2 - IP2,1435

Server B - SQL1 - IP3,1433
Server B- SQL2 - IP3, 1435
Always on groups:

AGSQL1 -- Sql1 to sql 1 (listener IP 1 )
AGSQL2  -- Sql2 to sql2  (listener IP 2 )

question: AGSQL1  and AGSQL2 is not coming online together on single node. I can run one group on either of one node only. why? Is it not possible due to limitation in GCP?

 

 

 

 

0 1 486
1 REPLY 1

I assume you running Self managed SQL Server on GCE and you want to set up AlwaysOn. For this particular case you have to options either create a load balancer for your AlwaysOn Cluster 

https://cloud.google.com/compute/docs/instances/sql-server/configure-availability#create_an_internal...

or use a multi-subnet configuration

https://cloud.google.com/architecture/deploy-multi-subnet-sql-server