Probe Ports 59999, 59998 etc. RRS feed

  • Question

  • Hi 

    I'm really struggling to understand the probe port part of Azure Always-on.

    Where on the actual VM is this probe port set? I take it the probe port is different from the listener port?

    Many thanks, I'm under pressure to actually get this working

    Monday, June 17, 2019 5:06 PM

All replies

  • Hi,

    These ports are part of the AG Listener where 59999 is the Probe port and 59998 is the Listener port. The specific steps for this can be found in this section of the documentation. 

    # Create the AG listener
    # example: az sql vm group ag-listener create -n AGListener -g SQLVM-RG `
    #  --ag-name SQLAG --group-name Cluster --ip-address `
    #  --load-balancer sqlilb --probe-port 59999  `
    #  --subnet /subscriptions/a1a1-1a11a/resourceGroups/SQLVM-RG/providers/Microsoft.Network/virtualNetworks/SQLVMvNet/subnets/default `
    #  --sqlvms sqlvm1 sqlvm2
    az sql vm group ag-listener create -n <listener name> -g <resource group name> `
      --ag-name <availability group name> --group-name <cluster name> --ip-address <ag listener IP address> `
      --load-balancer <lbname> --probe-port <Load Balancer probe port, default 59999>  `
      --subnet <subnet resource id> `
      --sqlvms <names of SQL VM's hosting AG replicas ex: sqlvm1 sqlvm2>
    Please let us know if you have any additional questions or need more information.

    Tuesday, June 18, 2019 10:45 PM
  • OK so I needed to add the probe ports to the SQL cluster network and to each listener IP resource on the SQL servers by using the Set-ClusterParameter command

    That would have helped no end

    Friday, June 21, 2019 9:58 AM