• Perry Whittle (2/20/2014)


    muthyala_51 (2/14/2014)


    I am facing the following issues while setting up alwayson.

    1) Not able to set the listener to the alwayson group. Error--

    The WSFC cluster could not bring the Network Name resource with DNS name 'MyAGListener' online. The DNS name may have been taken or have a conflict with existing name services, or the WSFC cluster service may not be running or may be inaccessible. Use a different DNS name to resolve name conflicts, or check the WSFC cluster log for more information.

    The attempt to create the network name and IP address for the listener failed. The WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator. (Microsoft SQL Server, Error: 19471)

    This is pretty descriptive, the virtual networkname and \or IP address supplied for the listener are not unique. Supply a unique name and IP

    muthyala_51 (2/14/2014)


    2) Also we are planning to have 3 replicas with one server acts as principal and the other two replicas one synchronous and other asynchronous setup. We kind of planning to achieve both HA + DR by using alwayson feature. But we cannot replicate system databases. Is there any way to achive this?

    No, this requires a failover cluster instance.

    muthyala_51 (2/14/2014)


    3) to setup transactional replication can we use listener virtual name or it asks for physical name? If it accepts physical server name we can't go with servername as it causes issues when failover happens.

    Never set it up myself.

    Section 2 of this link details

    MSDN-SQL Server


    Create a DNS listener for the availability group that will be used by the replication agents to connect to the current primary. The listener name that is specified will be used as the target of redirection for the original publisher/published database pair. For example, if you are using DDL to configure the availability group, the following code example can be used to specify an availability group listener for an existing availability group named MyAG:

    [Code="SQL"]

    ALTER AVAILABILITY GROUP 'MyAG'

    ADD LISTENER 'MyAGListenerName' (WITH IP (('10.120.19.155', '255.255.254.0')));[/code]

    muthyala_51 (2/14/2014)


    4) Also I have a table with identity column on in a database which is in alwayson group. For some reason the values jumped from 1,2,3,2002,2003? What could be the reason behind this?

    The only possible explanation is that the seed value changed, can't see how though

    Unfortunately This(restarting SQL Server(or Failover of AG) forces reseed of Identity) behavior is by design as per microsoft...:crazy:

    see below connect items for more information.

    http://connect.microsoft.com/SQLServer/feedback/details/743300/identity-column-jumps-by-seed-value

    https://connect.microsoft.com/SQLServer/feedback/details/739013/alwayson-failover-results-in-reseed-of-identity