Saturday, January 31, 2015

Windows authentication connection from Linux client to SQL Server Database

About the Kerberos integrated authentication and Linux.


Using Integrated Authentication

SQL Server 2014: while re-install sql server got an error "cannot find one or more components. please reinstall the application"

The  below error came while re-installaing SQL Server 2014 on Win 2012.

Error: "cannot find one or more components. please reinstall the application"

I tried different options but not working to install and finally found below solutiion.
Solution: 
Go to contrl-panel---->uninstall ---->

1.Remove/uninstall all SQL Server installed components
2. Import: Also remove all Visual Studio components also. Other wise you will get the above error message while installing the SQL Server 2014.


SQL Server 2012 Always ON: databases not connected if secondary server down?

Always on configured for SQL Server2012 (RTM version) on Windwos 2008
Node1: Primary server (DB name: TestDB1) Node2: Secondary server(configured always on for DB name TestDB1) Node3: Fileshare server(for automatic failover) Always on: Always on configured with automatic failover(move immediately if any failover scenario)

Testing Scenario: Node1 shutdown(primary shutdown) We did Node1 shutdown and node2 became primary. But TestDB1 database not able to access on NOde2(whichis beacme Primary after shut Node1 shut down).

we did below command as well net start clussvc /fq --on NOde2 (it showing that "requested service already started). in command line if we typ--> Cluster node ( status showing ---->Node1 down,Node2 UP)

Question: In order to access the TestDB1 database on Node2, what should we do? Is there any configuration change?
Note: After Node1 shutdown, Node2 instance is up and running, but not able to access the TestDB1 database.(TestDB1 database showin not synchronized)


Solution: Check below and modify accordingly in order to work it.
1. alter availability group [Test001AAG] set (failure_condition_level=5) (--previously it was 3)
    --select * from sys.availability_groups
2.Modified Availibility session timeout to 120(previously it was 10).
3.Cluster group properties
     max failover in specified period: 3
     Hours: 6



SSDT-BI for SQL Server 2014, Command line silent unattendant automatic installation script/steps

SSDT-BI for SQL Server 2014, Command line silent unattendant automatic installation script/steps

Note: While installing SQL Server 2014, you can not find the Feature like BIDS(SSDT Client tool for SSIS/SSRS/SSAS development).
For SQL Server 2014 version, need to separately down load the SSDT-BI tool and install it.


Downloaded SSDT-BI software and it's free tool
http://www.microsoft.com/en-us/download/details.aspx?id=42313


--Command line script to install SSDT-BI client tool
setup.exe /ACTION=INSTALL /FEATURES=SSDTBI /Q /IACCEPTSQLSERVERLICENSETERMS