I am successfully configured ALWAYSON High availability feature.
First time when I manually stopped the service of primary SQL Server then automatic fail over is working properly and Secondary server now becomes a Primary server.
But when I manually stopping the service of new primary server then availability group is inresolving mode and database is in not synchronizing mode andautomatic fail over is not working. and then after restarting the SQL Server service all are working well??
But when I clicking on 'failover' button from availability group name and follow the next step then its works properly.
So can anyone tell me why automatic fail over is not working afterfirst time and why availability group is in resolving mode and database is in notsynchronizing mode??